OCR和VD的转移

来源:互联网 发布:重庆大学网络自服务 编辑:程序博客网 时间:2024/04/30 16:49
添加磁盘组TMP:[root@rac1 bin]# ./ocrconfig -add +TMP检查:[root@rac1 bin]# ./ocrcheckStatus of Oracle Cluster Registry is as follows :         Version                  :          3         Total space (kbytes)     :     262120         Used space (kbytes)      :       2760         Available space (kbytes) :     259360         ID                       :  729466762         Device/File Name         :    +OCRNEW                                    Device/File integrity check succeeded         Device/File Name         :       +TMP                                    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直接删掉原有磁盘组:OCRNEW[root@rac1 bin]# ./ocrconfig -delete +OCRNEW 检查:[root@rac1 bin]# ./ocrcheckStatus of Oracle Cluster Registry is as follows :         Version                  :          3         Total space (kbytes)     :     262120         Used space (kbytes)      :       2760         Available space (kbytes) :     259360         ID                       :  729466762         Device/File Name         :       +TMP                                    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检查vd:[root@rac1 bin]# ./crsctl query css votedisk##  STATE    File Universal Id                File Name Disk group--  -----    -----------------                --------- --------- 1. ONLINE   9165379e7a5b4f6fbf83e3142e81b59e (/dev/raw/raw2) [OCRNEW] 2. ONLINE   a672291e1df44f31bf1bdd39df0f2858 (/dev/raw/raw3) [OCRNEW] 3. ONLINE   0b752643e4df4fc7bf580538d82e713c (/dev/raw/raw4) [OCRNEW]Located 3 voting disk(s).转移vd到新的磁盘组TMP:[root@rac1 bin]# ./crsctl replace votedisk +TMPSuccessful addition of voting disk 25a12cfab1d14f98bfc14d7214baed6f.Successful deletion of voting disk 9165379e7a5b4f6fbf83e3142e81b59e.Successful deletion of voting disk a672291e1df44f31bf1bdd39df0f2858.Successful deletion of voting disk 0b752643e4df4fc7bf580538d82e713c.Successfully replaced voting disk group with +TMP.CRS-4266: Voting file(s) successfully replaced检查vd:[root@rac1 bin]# ./crsctl query css votedisk##  STATE    File Universal Id                File Name Disk group--  -----    -----------------                --------- --------- 1. ONLINE   25a12cfab1d14f98bfc14d7214baed6f (/dev/raw/raw7) [TMP]Located 1 voting disk(s).

0 0