Startup and shutdown of Oracle cloud control 12c

Source: Internet
Author: User
Tags server port

The entire installation of Oracle cloud control 12c is more complex, just the choice of installation path, login password, port number and many other configurations are confusing, dizzying. This article describes how to get installed after the installation of the various types of port number, URL and how to start, close the cloud control and so on for your reference.
For the installation configuration of cloud control, refer to:Oracle Enterprise Manager Cloud Control 12c Release 3 installation

1, the current environment configuration
[Email protected] ~]$ 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

[Email protected] ~]$ more/etc/issue
Oracle Linux Server Release 6.3
Kernel \ r on an \m

[Email protected] ~]$ sqlplus-v

Sql*plus:release 11.2.0.3.0 Production

2. Start Repository db and OMS
#启动oms前, you need to start repository db, which is used to store the collected monitoring information
#启动DB时, you need to start the listener at the same time, 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 that database and listener is up.)
[[email protected] ~]$ lsnrctl start
[Email protected] ~]$ Ps-ef | grep Pmon | Grep-v grep
[Email protected] ~]$ Sqlplus/as SYSDBA
Sql> Startup
Sql> exit

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

#通过查看之前的安装信息以及端口信息 and then connect to the Cloud control console
[[[email protected] ~]$ cd $OMS _home/install
[[ Email protected] 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基目录

#下面是一些重要的端口信息 author:leshami Blog: Http://blog.csdn.net/leshami
[Email protected] install]$ more Portlist.ini
Enterprise Manager Upload Http port=4889
Enterprise Manager Upload Http SSL port=4903
Enterprise Manager Central Console Http SSL port=7802
Node Manager Http SSL port=7403
Managed Server Http port=7202
Enterprise Manager Central Console Http port=7788
Oracle Management Agent port=3872
Admin Server Http SSL port=7102
Managed Server Http SSL port=7301

[Email protected] install]$ more Setupinfo.txt

This information are also available at:

/u01/oms12cr3/oms/install/setupinfo.txt

See below for information pertaining to your Enterprise Manager installation:

#以下是登录到cloud control console and the URL to log in to WebLogic, which is managed after you log in 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 the additional OMS install:

1. Admin Server Hostname:oel63.ycdata.net
2. Admin Server port:7102

You can find the ports details used by this deployment at:/u01/oms12cr3/oms/install/portlist.ini


Note:
An encryption key had been generated to encrypt sensitive data in the Management Repository. If This key was 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. See the Cloud Control Administrators Guide for details on how to back up and recover an OMS.

Note:this Backup is valid only for 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 capture the current OMS configuration. 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
[Email protected] ~]$ $OMS _home/bin/emctl Stop Oms-all

[[email protected] ~]$ $AGENT _home/bin/emctl Stop AGENT
[[email protected] ~]$ Lsnrctl stop
[Email protected] ~]$ export oracle_sid=ora11g
[Email protected] ~]$ Sqlplus/as SYSDBA
sql> shutdown immediate;


Startup and shutdown of Oracle cloud control 12c

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.