Professional Documents
Culture Documents
CRS Status
CRS Status
Verify the RAC Cluster & Database Configuration Status of all instances and services
$ srvctl status database -d prod Instance prod1 is running on node rac1 Instance prod2 is running on node rac2
$ srvctl status instance -d prod -i prod1 Instance prod1 is running on node rac1
$ srvctl status nodeapps -n rac1 VIP is running on node: rac1 GSD is running on node: rac1 Listener is running on node: rac1 ONS daemon is running on node: rac1
$ srvctl status asm -n rac1 ASM instance +ASM1 is running on node rac1
$ srvctl config database -d prod rac1 prod1 /u01/app/oracle/product/10.2.0/db_1 rac2 prod2 /u01/app/oracle/product/10.2.0/db_1
Display the configuration for node applications - (VIP, GSD, ONS, Listener)
rac1-> crs_stat -t
rac1-> crsctl check crs CSS appears healthy CRS appears healthy EVM appears healthy
rac2-> crsctl check crs CSS appears healthy CRS appears healthy EVM appears healthy Execute crsctl on the command line to check out all the available options.
Check connectivity.
Verify that you are able to connect to the instances and service on each node.
Stop application resources First Stop Enterprise Manager Database console ->Stop the Oracle Instance -> Down the ASM Instance -> Down the node application (Virtual IP, GSD, TNS Listener, and ONS).
$ emctl stop dbconsole$ srvctl stop instance -d prod -i prod1 $ srvctl stop instance d prod i prod2 $ srvctl stop asm -n rac1 $ srvctl stop asm n rac2 $ srvctl stop nodeapps -n rac1 $srvctl stop nodeapps n rac2
Start application resources First start the node applications (Virtual IP, GSD, TNS Listener, and ONS) -> Start ASM instance >Start the Oracle instance (and related services) -> Start Enterprise Manager Database console.
$ srvctl start nodeapps -n rac1 $ srvctl start nodeapps -n rac2 $ srvctl start asm -n rac1 $ srvctl start asm -n rac2 $ srvctl start instance -d prod -i prod1
crs_relocate change where resource is active $ORA_CRS_HOME/bin/crsctl stop crs crsctl enable crs enables startup for all CRS daemons crsctl disable crs disables startup for all CRS daemons crsctl start crs starts all CRS daemons. crsctl stop crs stops all CRS daemons. Stops CRS resources in case of cluster.
The disabling works! dont forget the change the autostart back when problem gets resolved. repeat steps 2)-4) Adds-on: if you want to stop the autostart for css daemon either, then do this: /etc/init.d/init.cssd stop If you want to stop it from autostarting after bootup; [root@vanpgprodb06 rc3.d]# /etc/init.d/init.crs disable Automatic startup disabled for system boot. As Root Can you stop/start crs on this node? # cd $CRS_HOME/bin # ./crsctl stop crs # ./crsctl start crs