Académique Documents
Professionnel Documents
Culture Documents
In this Document
Purpose
Scope
Details
Pre-requisites
Starting, Stopping, and Checking the Status of the 12c OMS
List of Operating System Processes Started by 12c OMS
Enabling or disabling the automatic startup of the OMS at the Server start
Log / Trace files Generated during the 12c OMS Startup
References
APPLIES TO:
PURPOSE
This document provides details about the commands that can be used for controlling (start /
stop / status) the 12c OMS and the OS level processes which get started.
For details of the directory structure and useful locations in the 12c OMS home, refer to
Note 1368503.1 : 12c Cloud Control: Details of the Directory Structure and Commonly Used
Locations in a 12c OMS Installation.
SCOPE
12c Cloud Control Administrators who need to understand the steps involved in the OMS
process control.
DETAILS
Pre-requisites
The 12c Enterprise Manager Cloud Control setup consists of these components:
The Repository Database and the Listener servicing this database should be up and
running.
USERNAME ACCOUNT_STATUS
--------------- ---------------
SYSMAN OPEN
SYSMAN_OPSS OPEN
SYSMAN_MDS OPEN
The passwords for the sysman, sysman_opss, sysman_mds should not have been
manually modified in the Repository database. Any password change should be
performed via the emctl utility using the steps in Note 1365930.1: 12c Cloud Control:
How to Modify the Password for SYSMAN and other Enterprise Manager Users at the
OMS Level and Repository Database?
o From the OMS machine, the hostname lookup must succeed and IP address of the
database machine must be reachable.
The OMS should be started by the same OS user who has installed the Cloud Control
software in the machine.
The OMS must be started using the Enterprise Manager Control utility - emctl located
in <OMS_HOME>/bin. emctl is a command-line utility to start, stop, or check the status of the
EM components. It is a shell script which sets all the right environment (to launch perl, java,
etc.) for starting the OMS and then invokes the emctl.pl script with appropriate arguments (start /
stop / status).
Set these environment variables:
cd <OMS_HOME>/bin
./emctl start|stop|status oms
Command Options
IS_ADMIN_HOST=true
Note:
1. emctl can control / manage local processes on that machine only, there is no option to start /
stop an OMS on a remote machine.
2. Any additional products that are installed with 12c Cloud Console like the ADP Manager,
JVMD Manager, BIP need to be started manually using the WLS Admin Console.
5. If any environment or Java related parameters need to be set for the OMS, they can be added
to
the <EM_INSTANCE_BASE>/user_projects/domains/GCDomain/servers/bin/startEMServer.sh f
ile.
7.
The <EM_INSTANCE_BASE>/em/NodeManager/emnodemanager/nodemanager.properties has
the following set:
StartScriptName=startEMServer.sh
StartScriptEnabled=true
8. The emctl script controls the Webtier (opmn and http_server) components by using
the opmnctl utility.
- It starts the Webtier using:
<EM_INSTANCE_BASE>/WebTierIH1/bin/opmnctl startall
This command can be executed independently at the command line if only the Webtier needs to
be started.
<EM_INSTANCE_BASE>/WebTierIH1/bin/opmnctl stopall
<EM_INSTANCE_BASE>/WebTierIH1/bin/opmnctl status
There are two main processes: opmn and Java (NodeManager) both with a ppid of 1. These start
other processes as listed below:
1. opmn
||
opmn
||
|| ---> httpd.worker (for HTTP server)
The opmn process spawns another opmn process which is responsible for starting and
monitoring the HTTP server. Can be viewed on Unix using:
<MW_HOME>/Oracle_WT/ohs/bin/httpd.worker -DSSL
2. Java (Nodemanager)
||
||
||---> startEMServer.sh
|| ||
|| || ---> startWebLogic.sh
|| ||
|| || ---> EMGC_ADMINSERVER
||
||---> startEMServer.sh
||
|| ---> startWebLogic.sh
||
|| ---> EMGC_OMSn
The NodeManager java process is responsible for starting and monitoring the Admin
Server and the EM Managed Server.
Can be viewed on Unix using:
This further spawns two shells, each running the startEMServer.sh script.
The other shell running the startWebLogic.sh script starts the EM Managed Server. Can
be viewed on Unix using:
You can also view the entire list of processes using other OS tools like:
where <OS user> is the Operating system user who has installed and started the OMS.
Enabling or disabling the automatic startup of the OMS at the Server start
The following log/trace files are updated during the OMS startup:
These files should be checked when the oms fails to start or when any Cloud Control component
fails to start.
To troubleshoot the OMS startup / shutdown failure, emctl.log file is the starting point to look at.
Based on each component that is being started, you can then look at the Webtier, Nodemanager,
Admin server and EM Managed server logs.