oracle 11gR2 如何對ocr和vote盤進行鏡象

paulyibinyi發表於2010-07-25

   我們都知道11gR2環境中,ocr和vote盤都放在asm磁碟組中,那如何對ocr磁碟組進行

鏡象,這篇文章會有介紹:

1.先建立好asm磁碟組,比如我們這建立了asm_dg磁碟組

 

2.檢查配置

[root@rac1 bin]# ./ocrcheck

Status of Oracle Cluster Registry is as follows :

         Version                  :          3

         Total space (kbytes)     :     262120

         Used space (kbytes)      :       3200

         Available space (kbytes) :     258920

         ID                       :  997463125

         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

 

3.新增磁碟鏡象

[root@rac1 bin]# ./ocrconfig -add '+asm_dg';

 

[root@rac1 bin]#

 

4.檢查修改後的配置

[root@rac1 bin]# ./ocrcheck

Status of Oracle Cluster Registry is as follows :

         Version                  :          3

         Total space (kbytes)     :     262120

         Used space (kbytes)      :       3200

         Available space (kbytes) :     258920

         ID                       :  997463125

         Device/File Name         :      +DATA

                                    Device/File integrity check succeeded

         Device/File Name         :    +asm_dg

                                    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

 

建議asm磁碟組放在不同的raid組上

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/7199859/viewspace-669399/,如需轉載,請註明出處,否則將追究法律責任。

相關文章