我们都知道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博客 ” ,链接:https://blog.itpub.net/7199859/viewspace-669399/ ,如需转载,请注明出处,否则将追究法律责任。