Useful 11gR2 RAC Commands
Useful 11gR2 RAC Commands
Local Resources
ora.DATA.dg
ONLINE ONLINE rac1
ora.LISTENER.lsnr
ONLINE ONLINE rac1
ora.asm
ONLINE ONLINE rac1
ora.gsd
OFFLINE OFFLINE rac1
ora.net1.network
ONLINE ONLINE rac1
ora.ons
ONLINE ONLINE rac1
ora.registry.acfs
ONLINE ONLINE rac1
Cluster Resources
ora.LISTENER_SCAN1.lsnr
1 ONLINE ONLINE rac1
ora.cvu
1 ONLINE ONLINE rac1
ora.oc4j
1 ONLINE ONLINE rac1
ora.rac1.vip
1 ONLINE ONLINE rac1
ora.rac2.vip
1 OFFLINE OFFLINE
ora.scan1.vip
1 ONLINE ONLINE rac1
ora.testrac.db
1 OFFLINE OFFLINE Instance Shutdown
Stop crs on all nodes (only one node up in this example)
[root@rac1 bin]# ./crsctl stop cluster -all
CRS-2673: Attempting to stop ora.crsd on rac1
CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on rac1
CRS-2673: Attempting to stop ora.registry.acfs on rac1
CRS-2673: Attempting to stop ora.DATA.dg on rac1
CRS-2673: Attempting to stop ora.LISTENER.lsnr on rac1
CRS-2673: Attempting to stop ora.cvu on rac1
CRS-2673: Attempting to stop ora.oc4j on rac1
CRS-2673: Attempting to stop ora.LISTENER_SCAN1.lsnr on rac1
CRS-2677: Stop of ora.LISTENER.lsnr on rac1 succeeded
CRS-2673: Attempting to stop ora.rac1.vip on rac1
CRS-2677: Stop of ora.LISTENER_SCAN1.lsnr on rac1 succeeded
CRS-2673: Attempting to stop ora.scan1.vip on rac1
CRS-2677: Stop of ora.scan1.vip on rac1 succeeded
CRS-2677: Stop of ora.rac1.vip on rac1 succeeded
CRS-2677: Stop of ora.cvu on rac1 succeeded
CRS-2677: Stop of ora.registry.acfs on rac1 succeeded
CRS-2677: Stop of ora.oc4j on rac1 succeeded
CRS-2677: Stop of ora.DATA.dg on rac1 succeeded
CRS-2673: Attempting to stop ora.asm on rac1
CRS-2677: Stop of ora.asm on rac1 succeeded
CRS-2673: Attempting to stop ora.ons on rac1
CRS-2677: Stop of ora.ons on rac1 succeeded
CRS-2673: Attempting to stop ora.net1.network on rac1
CRS-2677: Stop of ora.net1.network on rac1 succeeded
CRS-2792: Shutdown of Cluster Ready Services-managed resources on rac1 has complet
ed
CRS-2677: Stop of ora.crsd on rac1 succeeded
CRS-2673: Attempting to stop ora.ctssd on rac1
CRS-2673: Attempting to stop ora.evmd on rac1
CRS-2673: Attempting to stop ora.asm on rac1
CRS-2677: Stop of ora.asm on rac1 succeeded
CRS-2673: Attempting to stop ora.cluster_interconnect.haip on rac1
CRS-2677: Stop of ora.evmd on rac1 succeeded
CRS-2677: Stop of ora.cluster_interconnect.haip on rac1 succeeded
CRS-2677: Stop of ora.ctssd on rac1 succeeded
CRS-2673: Attempting to stop ora.cssd on rac1
CRS-2677: Stop of ora.cssd on rac1 succeeded
CRS-2673: Attempting to stop ora.diskmon on rac1
CRS-2677: Stop of ora.diskmon on rac1 succeeded
Stop crs on specifc node
[root@rac1 bin]# ./crsctl stop has
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resourc
es on rac1
CRS-2673: Attempting to stop ora.crsd on rac1
CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on rac1
CRS-2673: Attempting to stop ora.cvu on rac1
CRS-2673: Attempting to stop ora.LISTENER.lsnr on rac1
CRS-2673: Attempting to stop ora.registry.acfs on rac1
CRS-2673: Attempting to stop ora.DATA.dg on rac1
CRS-2673: Attempting to stop ora.LISTENER_SCAN1.lsnr on rac1
CRS-2673: Attempting to stop ora.oc4j on rac1
CRS-2677: Stop of ora.LISTENER.lsnr on rac1 succeeded
Show OCR backup the voting file (disk) is also backed up with the OCR backup
[root@rac1 bin]# ./ocrconfig -showbackup
rac1 2012/07/17
rac1 2012/07/17
rac1 2012/07/16
rac1 2012/07/16
rac1 2012/07/16
rac1 2012/03/23
113019.ocr
07:47:17
03:47:15
23:47:13
19:47:11
19:47:11
11:30:19
/u01/app/11.2.0/grid/cdata/rac-cluster/backup00.ocr
/u01/app/11.2.0/grid/cdata/rac-cluster/backup01.ocr
/u01/app/11.2.0/grid/cdata/rac-cluster/backup02.ocr
/u01/app/11.2.0/grid/cdata/rac-cluster/day.ocr
/u01/app/11.2.0/grid/cdata/rac-cluster/week.ocr
/u01/app/11.2.0/grid/cdata/rac-cluster/backup_20120323_