Start and Stop Steps for Oracle Enterprise Manager Cloud Control

Oracle Enterprise Manager Cloud Control Framework-г ямар алхамаар хэрхэн асаадаг болон унтраадаг талаар…

  • Oracle-н хувьд:
    - Oracle Enterprise Manager Database Express
    - Oracle Enterprise Manager Cloud Control гэсэн 2 төрлийн менежмент түүл байдаг.

Oracle Enterprise Manager Database Express нь тухайн oracle database server-н хувьд менежмент хийдэг.

Харин Oracle Enterprise Manager Cloud Control нь тухайн сloud control-д холбогдсон бүх oracle database server-үүдийг менежмент хийх боломжуудыг олгодог.

Enterprise Manager Cloud Control Framework асаахдаа дараах алхамаар асаана.

  1. Start the repository database listener:
    $ORACLE_HOME/bin/lsnrctl start

  2. Start the repository database instance:
    $ORACLE_HOME/bin/sqlplus / as sysdba
    SQL> startup

  3. Start OMS (includigin HS and WebLogic Managed Server)
    $OMS_HOME/bin/emctl start oms

  4. Start the agent (on OMS/repository host):
    $AGENT_HOME/bin/emctl start agent

  5. Start the agent on the managed servers:
    $AGENT_HOME/bin/emctl start agent


startup.sh

#!/bin/bash
export ORACLE_HOME=/u01/app/oracle/product/12.1.0/dbhome_1
export OMS_HOME=/u01/app/oracle/oms12cr5/oms
export AGENT_HOME=/u01/app/oracle/agent12c/agent_inst

$ORACLE_HOME/bin/lsnrctl start

$ORACLE_HOME/bin/dbstart $ORACLE_HOME

$OMS_HOME/bin/emctl start oms

$AGENT_HOME/bin/emctl start agent


Enterprise Manager Cloud Control Framework унтраахдаа дараах алхамаар унтраана.

  1. Stop the agent (on OMS/repository host):
    $AGENT_HOME/bin/emctl stop agent

  2. Stop OMS (includigin HS and WebLogic Managed Server)
    $AGENT_HOME/bin/emctl stop agent

  3. Stop OMS (includigin HS and WebLogic Managed Server)
    $OMS_HOME/bin/emctl stop oms

  4. Start the repository database instance:
    $ORACLE_HOME/bin/sqlplus / as sysdba
    SQL> shutdown immediate


shutdown.sh

#!/bin/bash
export ORACLE_HOME=/u01/app/oracle/product/12.1.0/dbhome_1
export OMS_HOME=/u01/app/oracle/oms12cr5/oms
export AGENT_HOME=/u01/app/oracle/agent12c/agent_inst

$AGENT_HOME/bin/emctl stop agent

$OMS_HOME/bin/emctl stop oms -all

$ORACLE_HOME/bin/dbshut $ORACLE_HOME