Oracle cloud control 12c startup and Shutdown

Source: Internet
Author: User

Oracle cloud control 12c startup and Shutdown

The entire installation of Oracle cloud control 12c is complicated. The installation path, logon password, port number, and many other configurations are confusing. This article describes how to obtain the various port numbers, URLs, and how to start and disable cloud control after the installation is complete for your reference.

For cloud control Installation configuration, see Oracle Enterprise Manager Cloud Control 12c Release 3 Installation.

1. Current Environment Configuration
[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:/usr/lib; export LD_LIBRARY_PATH
CLASSPATH = $ ORACLE_HOME/jlib: $ ORACLE_HOME/rdbms/jlib; export CLASSPATH

Export OMS_HOME =/u01/oms12375/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 on an \ m

[Oracle @ oel63 ~] $ Sqlplus-v

SQL * Plus: Release 11.2.0.3.0 Production

 

2. Start repository DB and OMS
# Before starting oms, you need to start the Repository DB, which is used to store the collected monitoring information
# Start the listener when starting the database. Otherwise, you will receive the Failed to connect to repository database.
# However, OMS will automatically restart. When the DB and listener are detected to be UP (OMS will be automatically restarted once it identifies that database and listener are up .)
[Oracle @ oel63 ~] $ Lsnrctl start
[Oracle @ oel63 ~] $ Ps-ef | grep pmon | grep-v grep
[Oracle @ oel63 ~] $ Sqlplus/as sysdba
SQL> startup
SQL> exit

 

# Use the following command to start oms and agent
[Oracle @ oel63 ~] $ OMS_HOME/bin/emctl start oms
[Oracle @ oel63 ~] $ AGENT_HOME/bin/emctl start agent

 

3. view the installation information
# View the previous installation information and port information, and connect to the cloud control console accordingly
[Oracle @ oel63 ~] $ Cd $ OMS_HOME/install
[Oracle @ oel63 install] $ more eminstall.info
INSTALL_TYPE = NOSEED
UPGRADE = false
ORACLE_MIDDLEWARE_HOME_LOCATION =/u01/oms12375 # Weblogic installation location
OMS_HOME =/u01/oms12301/oms # OMS installation location
AGENT_HOME =/u01/agent12cr2/core/12.1.0.3.0 # Agent installation location
AGENT_BASE_DIR =/u01/agent12cr2 # Agent base Directory

 

# The following are some important port information Author: Leshami Blog:

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.