To stop all cluster services,ASMm, database and instance:
Login as root export GRID_HOME=/oradata/oracle/TSTDB/bin/ cd $GRID_HOME [root@rac01 ]# ./crsctl stop cluster
To start all cluster services,ASM, database and instance:
Login as root export GRID_HOME=/oradata/oracle/TSTDB/bin/ cd $GRID_HOME [root@rac01 ]# ./crsctl start cluster
Login as root export GRID_HOME=/oradata/oracle/TSTDB/bin/ cd $GRID_HOME$ ./crsctl check cluster -all [verify cluster status on all nodes] $ ./crsctl stop cluster -all [stop cluster on all nodes] $ ./crsctl start cluster -all [start cluster on all nodes] $ ./crsctl check cluster -n <nodename> [verify the cluster status on a particular remote node]
To check CRS (Cluster ready service) status:
Login as root export GRID_HOME=/oradata/oracle/TSTDB/bin/ cd $GRID_HOME [root@rac01 ]# ./crsctl check crs
To check status of node apps - where node is the name of the node where the applications are running:
Login as root cd /oradata/oracle/db/tech_st/11.2.0/bin/ [root@rac01 ]# ./srvctl status nodeapps -n node
crs_stat: Displays CRS resource status:
Login as root export GRID_HOME=/oradata/oracle/TSTDB/bin/ cd $GRID_HOME [root@rac01 ]# ./crs_stat -t
To start particular resource:
Login as root export GRID_HOME=/oradata/oracle/TSTDB/bin/ cd $GRID_HOME [root@rac01 ]# ./crsctl start resource ora.oc4j
No comments:
Post a Comment