1. startup
$ORACLE_HOME/bin/emctl start oms
2. check status
$ORACLE_HOME/bin/emctl status oms
for details (need sysman password)
$ORACLE_HOME/bin/emctl status oms -details
3. shut down
$ORACLE_HOME/bin/emctl stop oms
4. start agent
$ORACLE_AGENT_HOME/agent_inst/bin/emctl start agent
5. check agent status
$ORACLE_AGENT_HOME/agent_inst/bin/emctl status agent
6. stop agent
$ORACLE_AGENT_HOME/agent_inst/bin/emctl stop agent
7. manage server logs
OMS Log File Log File Location
emctl log file:
$INSTANCE_HOME/sysman/log/emctl.log file
Managed Server log files:
$INSTANCE_HOME/user_projects/domains<DOMAIN_NAME>/servers/EMGC_OMS<n>/logs/EMGC_OMS<n>.log
$INSTANCE_HOME/user_projects/domains<DOMAIN_NAME>/servers/EMGC_OMS<n>/logs/EMGC_OMS<n>.out
OMS log files
$INSTANCE_HOME/sysman/log/emoms_pbs.log
$INSTANCE_HOME/sysman/log/emoms_pbs.trc
$INSTANCE_HOME/sysman/log/emoms.trc
$INSTANCE_HOME/sysman/log/emoms.log
reference:
http://docs.oracle.com/cd/E24628_01/doc.121/e24473/emctl.htm
thanks
ReplyDelete