In Grid Control 10g, we use opmnctl utility to stop, start and get status of Oracle Application Server 10g and OMS (Oracle Management Service). In new Grid Control (11g), OMS is deployed on weblogic server so we need to use emctl instead of opmnctl to start OMS.
To start the OMS and the necessary weblogic processes needed:
|
1 2 |
export OMS_HOME=/u02/oracle/Middleware/oms11g
$OMS_HOME/bin/emctl start oms |
To stop the OMS and the Weblogic processes:
|
1 |
$OMS_HOME/bin/emctl stop oms |
To get status of OMS:
|
1 |
$OMS_HOME/bin/emctl status oms |
If you want to get detailed status of OMS, you can use “-details” parameter (it will ask you the password of SYSMAN):
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
$OMS_HOME/bin/emctl status oms -details
Oracle Enterprise Manager 11g Release 1 Grid Control
Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved.
Enter Enterprise Manager Root (SYSMAN) Password :
Console Server Host : xxxxxxxxxx
HTTP Console Port : 7788
HTTPS Console Port : 7799
HTTP Upload Port : 4889
HTTPS Upload Port : 1159
OMS is not configured with SLB or virtual hostname
Agent Upload is locked.
OMS Console is locked.
Active CA ID: 1 |
Opmnctl can still be used to get status of the HTTP_Server component:
|
1 2 3 4 5 6 7 8 |
export ORACLE_INSTANCE=/u02/oracle/gc_inst/WebTierIH1
$ORACLE_INSTANCE/bin/opmnctl status
Processes in Instance: instance1
---------------------------------+--------------------+---------+---------
ias-component | process-type | pid | status
---------------------------------+--------------------+---------+---------
ohs1 | OHS | 6603 | Alive |

