添加和删除VoteDisk:(版本10.2.0.1)
[root@rac1pub ~]# crsctl query css votedisk
0. 0 /dev/raw/votedisk1
1. 0 /dev/raw/votedisk3
2. 0 /dev/raw/votedisk2
located 3 votedisk(s).
[root@rac1pub ~]#
[root@rac1pub ~]# crsctl delete css votedisk /dev/raw/votedisk3
Cluster is not in a ready state for online disk removal
[root@rac1pub ~]#
[root@rac1pub ~]# crsctl delete css votedisk /dev/raw/votedisk3 -force
successful deletion of votedisk /dev/raw/votedisk3.
[root@rac1pub ~]#
[root@rac1pub ~]# crsctl query css votedisk
0. 0 /dev/raw/votedisk1
1. 0 /dev/raw/votedisk2
located 2 votedisk(s).
[root@rac1pub ~]#
[root@rac1pub ~]# crsctl add css votedisk /dev/raw/votedisk3
Cluster is not in a ready state for online disk addition
[root@rac1pub ~]#
[root@rac1pub ~]# crsctl add css votedisk /dev/raw/votedisk3 -force
Now formatting voting disk: /dev/raw/votedisk3
successful addition of votedisk /dev/raw/votedisk3.
[root@rac1pub ~]#
[root@rac1pub ~]# crsctl query css votedisk
0. 0 /dev/raw/votedisk1
1. 0 /dev/raw/votedisk3
2. 0 /dev/raw/votedisk2
located 3 votedisk(s).
[root@rac1pub ~]#
添加和删除OCR(版本10.2.0.1)
[root@rac1pub ~]# ocrcheck
Status of Oracle Cluster Registry is as follows :
Version : 2
Total space (kbytes) : 117656
Used space (kbytes) : 3832
Available space (kbytes) : 113824
ID : 1482568224
Device/File Name : /dev/raw/ocr1
Device/File integrity check succeeded
Device/File not configured
Cluster registry integrity check succeeded
[root@rac1pub ~]# ocrconfig -replace ocrmirror /dev/raw/ocr2
PROT-22: Storage too small
这是Bug 4411708造成的,要求新添加的OCR必须比原来的OCR要大。
以下为10.2.0.4版本的测试:
[root@10grac1 ~]# ocrcheck
Status of Oracle Cluster Registry is as follows :
Version : 2
Total space (kbytes) : 128276
Used space (kbytes) : 3860
Available space (kbytes) : 124416
ID : 1052640331
Device/File Name : /dev/raw/ocr1
Device/File integrity check succeeded
Device/File not configured
Cluster registry integrity check succeeded
[root@10grac1 ~]# ocrconfig -replace ocrmirror /dev/raw/ocr2
[root@10grac1 ~]# ocrcheck
Status of Oracle Cluster Registry is as follows :
Version : 2
Total space (kbytes) : 128276
Used space (kbytes) : 3860
Available space (kbytes) : 124416
ID : 1052640331
Device/File Name : /dev/raw/ocr1
Device/File integrity check succeeded
Device/File Name : /dev/raw/ocr2
Device/File integrity check succeeded
Cluster registry integrity check succeeded
[root@10grac1 ~]# ocrconfig -replace ocr
[root@10grac1 ~]# ocrcheck
Status of Oracle Cluster Registry is as follows :
Version : 2
Total space (kbytes) : 128276
Used space (kbytes) : 3860
Available space (kbytes) : 124416
ID : 1052640331
Device/File Name : /dev/raw/ocr2
Device/File integrity check succeeded
Device/File not configured
Cluster registry integrity check succeeded
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/228190/viewspace-506398/,如需转载,请注明出处,否则将追究法律责任。