How to start, shut down, and obtain installation information for Oracle Cloud control 12c _oracle

Source: Internet
Author: User
Tags server port sqlplus

Oracle Cloud Control 12c the entire installation is more complex, light installation path selection, login password, port number and many other configurations are confusing, dizzying. This article describes how to obtain installation after installation of the various port number, URL and how to start, close cloud control and so on, for your reference.

The installation configuration for Cloud control can refer to: Oracle Enterprise Manager Cloud Control 12c Release 3 installation

1, the current environment configuration

Copy Code code as follows:

[Oracle@oel63 ~]$ more ~/.bash_profile
#. Bash_profile
# get the aliases and functions
If [f ~/.BASHRC]; Then
. ~/.bashrc
Fi
# User specific environment and startup programs
Path= $PATH: $HOME/bin
Export PATH
# Oracle Settings
tmp=/tmp; Export TMP
Tmpdir= $TMP; Export Tmpdir
Oracle_hostname=oel63.ycdata.net; Export Oracle_hostname
oracle_unqname=ora11g; Export Oracle_unqname
oracle_base=/u01/ora11g; Export Oracle_base
Oracle_home= $ORACLE _base/db_1; Export Oracle_home
oracle_sid=ora11g; Export Oracle_sid
Path=/usr/sbin: $PATH; Export PATH
Path= $ORACLE _home/bin: $PATH; Export PATH
Ld_library_path= $ORACLE _home/lib:/lib:/usr/lib; Export Ld_library_path
Classpath= $ORACLE _home/jlib: $ORACLE _home/rdbms/jlib; Export CLASSPATH
Export Oms_home=/u01/oms12cr3/oms
Export agent_home=/u01/agent12cr2/core/12.1.0.3.0
[Oracle@oel63 ~]$ More/etc/issue
Oracle Linux Server Release 6.3
Kernel \ r \m
[Oracle@oel63 ~]$ Sqlplus-v
Sql*plus:release 11.2.0.3.0 Production

2, Start repository db and OMS

Copy Code code as follows:

#启动oms前, you need to first start repository db, which is used to store the monitored information that is collected
#启动DB时, also need to start the listener, otherwise receive failed to connect to repository database.
#不过OMS会自动重启, when the DB is detected and the monitor is up (OMS'll be automatically restarted once it identifies the database and listener up.)
[Oracle@oel63 ~]$ lsnrctl start
[Oracle@oel63 ~]$ Ps-ef | grep Pmon | Grep-v grep
[Oracle@oel63 ~]$ Sqlplus/as SYSDBA
Sql> Startup
Sql> exit

#使用以下的命令启动oms以及agent
[oracle@oel63 ~]$ $OMS _home/bin/emctl start OMS
[oracle@oel63 ~]$ $AGENT _home/bin/emctl start AGENT

3. View installation Information

Copy Code code as follows:

#通过查看之前的安装信息以及端口信息, and then connect to the Cloud control console
[oracle@oel63 ~]$ CD $OMS _home/install
[Oracle@oel63 install]$ more Eminstall.info
Install_type=noseed
Upgrade=false
ORACLE_MIDDLEWARE_HOME_LOCATION=/U01/OMS12CR3 #Weblogic安装位置
Oms_home=/u01/oms12cr3/oms #OMS安装位置
agent_home=/u01/agent12cr2/core/12.1.0.3.0 #Agent安装位置
Agent_base_dir=/u01/agent12cr2 #Agent基目录

#下面是一些重要的端口信息
[Oracle@oel63 install]$ more Portlist.ini
Enterprise Manager Upload Http port=4889
Enterprise Manager Upload Http SSL port=4903
Enterprise Manager the Console Http SSL port=7802
Node Manager Http SSL port=7403
Managed Server Http port=7202
Enterprise Manager the Console Http port=7788
Oracle Management Agent port=3872
Admin Server Http SSL port=7102
Managed Server Http SSL port=7301
[Oracle@oel63 install]$ more Setupinfo.txt
This information was also available at:
/u01/oms12cr3/oms/install/setupinfo.txt
Below for information pertaining to your Enterprise Manager installation:

#以下是登录到cloud control console and URLs that log on to WebLogic, and then manage them after logging on to this URL
Use the following URL to access:
1. Enterprise Manager Cloud Control url:https://oel63.ycdata.net:7802/em
2. Admin Server Url:https://oel63.ycdata.net:7102/console
The following details need to be provided during additional OMS:
1. Admin Server Hostname:oel63.ycdata.net
2. Admin Server port:7102
can find the ports details used by this deployment in:/u01/oms12cr3/oms/install/portlist.ini

Note:
An encryption key has been generated to encrypt sensitive data in the Management. The If this key is lost, all encrypted data in the Repository becomes unusable.
A Backup of the OMS configuration is available in/u01/gc_inst/em/emgc_oms1/sysman/backup on host oel63.ycdata.net. "Cloud control Administrators Guide for details on" how "back" up and recover a OMS.
Note:this The backup is valid the initial OMS configuration. For example, it won't reflect Plug-ins installed later, topology changes like the addition of a load balancer, or Chang Es to other properties made using Emctl or EMCLI. Backups should is created on a regular basis to ensure they the current capture OMS. Use the following command to backup the OMS configuration:
/u01/oms12cr3/oms/bin/emctl exportconfig Oms-dir <backup dir>

4. Close OMS and repository DB

Copy Code code as follows:

[oracle@oel63 ~]$ $OMS _home/bin/emctl Stop Oms-all
[oracle@oel63 ~]$ $AGENT _home/bin/emctl Stop AGENT
[Oracle@oel63 ~]$ Lsnrctl Stop
[Oracle@oel63 ~]$ Export oracle_sid=ora11g
[Oracle@oel63 ~]$ Sqlplus/as SYSDBA
sql> shutdown immediate;

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.