分类: Oracle
2013-08-30 11:32:54
yamsdb2#[/home/grid]crsctl check cluster -all
**************************************************************
yamsdb1:
CRS-4537: Cluster Ready Services is online
CRS-4529: Cluster Synchronization Services is online
CRS-4533: Event Manager is online
**************************************************************
yamsdb2:
CRS-4537: Cluster Ready Services is online
CRS-4529: Cluster Synchronization Services is online
CRS-4533: Event Manager is online
**************************************************************
yamsdb2#[/home/grid]ocrconfig -showbackup
yamsdb2 2013/08/29 09:09:53 /grid/11.2.0/grid/cdata/yamsdb-rac/backup00.ocr
yamsdb2 2013/08/29 05:09:36 /grid/11.2.0/grid/cdata/yamsdb-rac/backup01.ocr
yamsdb2 2013/08/29 01:09:35 /grid/11.2.0/grid/cdata/yamsdb-rac/backup02.ocr
yamsdb2 2013/08/27 17:09:26 /grid/11.2.0/grid/cdata/yamsdb-rac/day.ocr
yamsdb2 2013/08/19 13:08:23 /grid/11.2.0/grid/cdata/yamsdb-rac/week.ocr
# ./ocrconfig -manualbackup
yamsdb2 2013/08/29 11:16:03 /grid/11.2.0/grid/cdata/yamsdb-rac/backup_20130829_111603.ocr
# ./ocrconfig -showbackup
yamsdb2 2013/08/29 09:09:53 /grid/11.2.0/grid/cdata/yamsdb-rac/backup00.ocr
yamsdb2 2013/08/29 05:09:36 /grid/11.2.0/grid/cdata/yamsdb-rac/backup01.ocr
yamsdb2 2013/08/29 01:09:35 /grid/11.2.0/grid/cdata/yamsdb-rac/backup02.ocr
yamsdb2 2013/08/27 17:09:26 /grid/11.2.0/grid/cdata/yamsdb-rac/day.ocr
yamsdb2 2013/08/19 13:08:23 /grid/11.2.0/grid/cdata/yamsdb-rac/week.ocr
yamsdb2 2013/08/29 11:16:03 /grid/11.2.0/grid/cdata/yamsdb-rac/backup_20130829_111603.ocr
# ./ocrconfig -add +OCR2
# ./orccheck
sh: ./orccheck: not found.
# ./ocrcheck
Status of Oracle Cluster Registry is as follows :
Version : 3
Total space (kbytes) : 262120
Used space (kbytes) : 3360
Available space (kbytes) : 258760
ID : 943571883
Device/File Name : +OCRVOTE
Device/File integrity check succeeded
Device/File Name : +OCR2
Device/File integrity check succeeded
Device/File not configured
Device/File not configured
Device/File not configured
Cluster registry integrity check succeeded
Logical corruption check succeeded
yamsdb2#[/home/grid]crsctl query css votedisk
## STATE File Universal Id File Name Disk group
-- ----- ----------------- --------- ---------
1. ONLINE 8beedfff23614f42bfe70018d7abf99d (/dev/rdisk/disk1263) [OCRVOTE]
Located 1 voting disk(s).
yamsdb2#[/home/grid]crsctl replace votedisk +VOTE
Successful addition of voting disk 493661da9b614f36bfd78dfbec45b0d4.
Successful addition of voting disk 3f6d16d3f1754fbfbfdc7ed37aba98f9.
Successful addition of voting disk 3a146e9c587a4f26bf9c975957ae81e9.
Successful deletion of voting disk 8beedfff23614f42bfe70018d7abf99d.
Successfully replaced voting disk group with +VOTE.
CRS-4266: Voting file(s) successfully replaced
yamsdb2#[/home/grid]crsctl query css votedisk
## STATE File Universal Id File Name Disk group
-- ----- ----------------- --------- ---------
1. ONLINE 493661da9b614f36bfd78dfbec45b0d4 (/dev/rdisk/disk1604) [VOTE]
2. ONLINE 3f6d16d3f1754fbfbfdc7ed37aba98f9 (/dev/rdisk/disk1605) [VOTE]
3. ONLINE 3a146e9c587a4f26bf9c975957ae81e9 (/dev/rdisk/disk1606) [VOTE]
Located 3 voting disk(s).
yamsdb2#[/home/grid]crsctl status res -t
--------------------------------------------------------------------------------
NAME TARGET STATE SERVER STATE_DETAILS
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.ARC.dg
ONLINE ONLINE yamsdb1
ONLINE ONLINE yamsdb2
ora.LISTENER.lsnr
ONLINE ONLINE yamsdb1
ONLINE ONLINE yamsdb2
ora.MDWDATA.dg
ONLINE ONLINE yamsdb1
ONLINE ONLINE yamsdb2
ora.MDWINDEX.dg
ONLINE ONLINE yamsdb1
ONLINE ONLINE yamsdb2
ora.OCR2.dg
ONLINE ONLINE yamsdb1
ONLINE ONLINE yamsdb2
ora.OCRVOTE.dg
ONLINE ONLINE yamsdb1
ONLINE ONLINE yamsdb2
ora.REDOCTL1.dg
ONLINE ONLINE yamsdb1
ONLINE ONLINE yamsdb2
ora.REDOCTL2.dg
ONLINE ONLINE yamsdb1
ONLINE ONLINE yamsdb2
ora.VOTE.dg
ONLINE ONLINE yamsdb1
ONLINE ONLINE yamsdb2
ora.YMSDATA.dg
ONLINE ONLINE yamsdb1
ONLINE ONLINE yamsdb2
ora.YMSINDEX.dg
ONLINE ONLINE yamsdb1
ONLINE ONLINE yamsdb2
ora.asm
ONLINE ONLINE yamsdb1 Started
ONLINE ONLINE yamsdb2 Started
ora.gsd
OFFLINE OFFLINE yamsdb1
OFFLINE OFFLINE yamsdb2
ora.net1.network
ONLINE ONLINE yamsdb1
ONLINE ONLINE yamsdb2
ora.ons
ONLINE ONLINE yamsdb1
ONLINE ONLINE yamsdb2
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.LISTENER_SCAN1.lsnr
1 ONLINE ONLINE yamsdb2
ora.cvu
1 ONLINE ONLINE yamsdb2
ora.yamsdb.db
1 ONLINE ONLINE yamsdb1 Open
2 ONLINE ONLINE yamsdb2 Open
ora.yamsdb.mdw.svc
1 ONLINE ONLINE yamsdb2
ora.yamsdb.yms.svc
1 ONLINE ONLINE yamsdb1
ora.yamsdb1.vip
1 ONLINE ONLINE yamsdb1
ora.yamsdb2.vip
1 ONLINE ONLINE yamsdb2
ora.oc4j
1 OFFLINE OFFLINE
ora.scan1.vip
1 ONLINE ONLINE yamsdb2
yamsdb2#[/home/grid]
yamsdb2#[/home/grid]
yamsdb2#[/home/grid]
yamsdb2#[/home/grid]crsctl check cluster -all
**************************************************************
yamsdb1:
CRS-4537: Cluster Ready Services is online
CRS-4529: Cluster Synchronization Services is online
CRS-4533: Event Manager is online
**************************************************************
yamsdb2:
CRS-4537: Cluster Ready Services is online
CRS-4529: Cluster Synchronization Services is online
CRS-4533: Event Manager is online
**************************************************************