A-A+
移动OCR和voting disk
首先确保crs在两个节点运行正常:
bash-3.2$ crsctl check cluster -all ************************************************************** cadb1: CRS-4537: Cluster Ready Services is online CRS-4529: Cluster Synchronization Services is online CRS-4533: Event Manager is online ************************************************************** cadb2: CRS-4537: Cluster Ready Services is online CRS-4529: Cluster Synchronization Services is online CRS-4533: Event Manager is online **************************************************************
先镜像再删除进行ocr的移动:
bash-3.2# id uid=0(root) gid=0(root) bash-3.2# pwd /u01/crs/oracle/product/11.2.0/crs_1/bin bash-3.2# ./ocrcheck Status of Oracle Cluster Registry is as follows : Version : 3 Total space (kbytes) : 262120 Used space (kbytes) : 3104 Available space (kbytes) : 259016 ID : 511432260 Device/File Name : +DATA Device/File integrity check succeeded Device/File not configured Device/File not configured Device/File not configured Device/File not configured Cluster registry integrity check succeeded Logical corruption check succeeded bash-3.2# ./ocrconfig -add +ocr bash-3.2# ./ocrcheck Status of Oracle Cluster Registry is as follows : Version : 3 Total space (kbytes) : 262120 Used space (kbytes) : 3104 Available space (kbytes) : 259016 ID : 511432260 Device/File Name : +DATA Device/File integrity check succeeded Device/File Name : +ocr 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 bash-3.2# ./ocrconfig -delete +data bash-3.2# ./ocrcheck Status of Oracle Cluster Registry is as follows : Version : 3 Total space (kbytes) : 262120 Used space (kbytes) : 3104 Available space (kbytes) : 259016 ID : 511432260 Device/File Name : +ocr Device/File integrity check succeeded Device/File not configured Device/File not configured Device/File not configured Device/File not configured Cluster registry integrity check succeeded Logical corruption check succeeded
移动voting disk位置:
bash-3.2$ id uid=101(grid) gid=100(oinstall) bash-3.2$ crsctl query css votedisk ## STATE File Universal Id File Name Disk group -- ----- ----------------- --------- --------- 1. ONLINE 4d16aaaefe4b4f7dbf45a06842e68dc8 (/u01/home/grid/racdisk3) [DATA] Located 1 voting disk(s). bash-3.2$ crsctl replace votedisk +votingdisk Successful addition of voting disk 0a07d5f686bd4f78bf11aeb77ce139c3. Successful deletion of voting disk 4d16aaaefe4b4f7dbf45a06842e68dc8. Successfully replaced voting disk group with +votingdisk. CRS-4266: Voting file(s) successfully replaced bash-3.2$ crsctl query css votedisk ## STATE File Universal Id File Name Disk group -- ----- ----------------- --------- --------- 1. ONLINE 0a07d5f686bd4f78bf11aeb77ce139c3 (/u01/home/grid/rac_votingdisk1) [VOTINGDISK] Located 1 voting disk(s).