Start and Stop OEM 12c
Startup
Start the listener
start database
.bash_profile
export ORACLE_HOME=/oracle/db/product/11.2.0/db_11.2.0.3
export OMS_HOME=/oracle/db/product/middleware/oms
export AGENT_HOME=/oracle/db/product/agent/core/12.1.0.2.0/
$OMS_HOME/bin/emctl start oms
$AGENT_HOME/bin/emctl start agent
Shutdown
$OMS_HOME/bin/emctl stop oms -all
$AGENT_HOME/bin/emctl stop agent
stop the database
stop listener
check status
$AGENT_HOME/emctl status agent
$OMS_HOME/bin/emctl status oms
Start the listener
start database
.bash_profile
export ORACLE_HOME=/oracle/db/product/11.2.0/db_11.2.0.3
export OMS_HOME=/oracle/db/product/middleware/oms
export AGENT_HOME=/oracle/db/product/agent/core/12.1.0.2.0/
$OMS_HOME/bin/emctl start oms
$AGENT_HOME/bin/emctl start agent
Shutdown
$OMS_HOME/bin/emctl stop oms -all
$AGENT_HOME/bin/emctl stop agent
stop the database
stop listener
check status
$AGENT_HOME/emctl status agent
$OMS_HOME/bin/emctl status oms
No comments:
Post a Comment