To start the Grid Control services one need to run the following sequence of activities:
- run database (first way)
- sh# export ORACLE_SID={sid}
- sh# sqlplus / as sysdba
- SQL# startup
- SQL# exit
- sh# lsnrctl start {listener_name}
- run database (second way; one needs properly configured /etc/oratab)
- sh# ORACLE_HOME/bin/dbstart
- run management services
- sh# OMS_HOME/opmnctl startall
- optionally run agent to monitor also management repository and services
- sh# AGENT_HOME/bin/emctl start agent
To stop the Grid Control services one need to do all the stuff above in reverse way:
- stop agent to monitor also management repository and services
- sh# AGENT_HOME/bin/emctl stop agent
- stop management services
- sh# OMS_HOME/opmnctl stopall
- stop database (first way)
- sh# export ORACLE_SID={sid}
- sh# sqlplus / as sysdba
- SQL# shutdown immediate
- SQL# exit
- sh# lsnrctl stop {listener_name}
- stop database (second way; one needs properly configured /etc/oratab)
- sh# ORACLE_HOME/bin/dbshut
No comments:
Post a Comment