oracle 11gR2数据库如何对ocr和vote盘进行镜象
oracle 11gR2数据库如何对ocr和vote盘进行镜象
我们都知道11gR2环境中,ocr和vote盘都放在asm磁盘组中,那如何对ocr磁盘组进行
镜象,这篇文章会有介绍:
1.先建立好asm磁盘组,比如我们这建立了asm_dg磁盘组
2.检查配置[root@rac1 bin]# ./ocrcheckStatus of Oracle Cluster Registry is as follows :Version : 3Total space (kbytes) : 262120Used space (kbytes) : 3200Available space (kbytes) : 258920ID : 997463125Device/File Name : +DATADevice/File integrity check succeededDevice/File not configuredDevice/File not configuredDevice/File not configuredDevice/File not configuredCluster registry integrity check succeededLogical corruption check succeeded3.添加磁盘镜象[root@rac1 bin]# ./ocrconfig -add '+asm_dg';[root@rac1 bin]#4.检查修改后的配置[root@rac1 bin]# ./ocrcheckStatus of Oracle Cluster Registry is as follows :Version : 3Total space (kbytes) : 262120Used space (kbytes) : 3200Available space (kbytes) : 258920ID : 997463125Device/File Name : +DATADevice/File integrity check succeededDevice/File Name : +asm_dgDevice/File integrity check succeededDevice/File not configuredDevice/File not configuredDevice/File not configuredCluster registry integrity check succeededLogical corruption check succeeded建议asm磁盘组放在不同的raid组上