OracleOCROracleOCROCR/
[grid
@rac1 rac1]$ ocrcheck
Status of Oracle Cluster Registry is as follows :
Version : 3
Total space (kbytes) : 262120
Used space (kbytes) : 3288
Available space (kbytes) : 258832
ID : 785902757
Device/File Name : +OCR[root
@rac1 ~]# /oracle/grid/crs_1/bin/crsctl query css votedisk## STATE File Universal Id File Name Disk group1. ONLINE 5d0d201e0ab24f66bf24bfd4a88f2f30 (/dev/asm-disk2) [OCR]2. ONLINE 9免费云主机域名520d9d3ab8d4fefbfe5d05b62dac9cf (/dev/asm-disk3) [OCR]3. ONLINE 361f26ddd0b34feabfeba6a1123533d7 (/dev/asm-disk4) [OCR]Located 3 voting disk(s).
[root
@rac1 ~]# /oracle/grid/crs_1/bin/ocrconfig -add /dev/asm-disk5[root
@rac1 ~]# /oracle/grid/crs_1/bin/ocrcheck
Status of Oracle Cluster Registry is as follows :
Version : 3
Total space (kbytes) : 262120
Used space (kbytes) : 3288
Available space (kbytes) : 258832
ID : 785902757
Device/File Name : +OCR
Device/File integrity check succeeded
Device/File Name : /dev/asm-disk5
Device/File integrity check succeeded[root
@rac1 ~]# /oracle/grid/crs_1/bin/ocrconfig -delete /dev/asm-disk5OCR(1)create diskgroup OCR2 normal redundancy disk /dev/asm-disk6,/dev/asm-disk7 ,/dev/asm-disk8 ATTRIBUTE compatible.asm=11.2.0.0.0;//OCR2mount(2)OCR[root
@rac1 ~]# /oracle/grid/crs_1/bin/ocrconfig -add +OCR2(3)ocrcheckOCR[grid
@rac1 ~]$ ocrcheck
Status of Oracle Cluster Registry is as follows :
Version : 3
Total space (kbytes) : 262120
Used space (kbytes) : 3304
Available space (kbytes) : 258816
ID : 785902757
Device/File Name : +OCR
Device/File integrity check succeeded
Device/File Name : +OCR2
Device/File integrity check succeeded[grid
@rac1 ~]$ crsctl query css votedisk## STATE File Universal Id File Name Disk group1. ONLINE 5d0d201e0ab24f66bf24bfd4a88f2f30 (/dev/asm-disk2) [OCR]2. ONLINE 9520d9d3ab8d4fefbfe5d05b62dac9cf (/dev/asm-disk3) [OCR]3. ONLINE 361f26ddd0b34feabfeba6a1123533d7 (/dev/asm-disk4) [OCR]replace[root
@rac1 ~]# /oracle/grid/crs_1/bin/crsctl replace votedisk +OCR2
Successful addition of voting disk 3a6ec9fdcf4b4f3ebf8efebcbd5b748c.
Successful addition of voting disk 06963edca0eb4f3ebf78a5695cea1bc1.
Successful addition of voting disk 90dab584c1a24fc0bffa1c20b0aaf1d0.
Successful deletion of voting disk 5d0d201e0ab24f66bf24bfd4a88f2f30.
Successful deletion of voting disk 9520d9d3ab8d4fefbfe5d05b62dac9cf.
Successful deletion of voting disk 361f26ddd0b34feabfeba6a1123533d7.
Successfully replaced voting disk group with +OCR2.
CRS-4266: Voting file(s) successfully replaced//deletion[grid
@rac1 ~]$ crsctl query css votedisk## STATE File Universal Id File Name Disk group1. ONLINE 3a6ec9fdcf4b4f3ebf8efebcbd5b748c (/dev/asm-disk6) [OCR2]2. ONLINE 06963edca0eb4f3ebf78a5695cea1bc1 (/dev/asm-disk7) [OCR2]3. ONLINE 90dab584c1a24fc0bffa1c20b0aaf1d0 (/dev/asm-disk8) [OCR2]Located 3 voting disk(s).
OCR2SQL> alter diskgroup ocr2 add disk /dev/asm-disk5;crsctl[grid
@rac1 ~]$ crsctl query css votedisk## STATE File Universal Id File Name Disk group1. ONLINE 3a6ec9fdcf4b4f3ebf8efebcbd5b748c (/dev/asm-disk6) [OCR2]2. ONLINE 06963edca0eb4f3ebf78a5695cea1bc1 (/dev/asm-disk7) [OCR2]3. ONLINE 90dab584c1a24fc0bffa1c20b0aaf1d0 (/dev/asm-disk8) [OCR2]
SQL> select name,path,voting_file from v$asm_disk;NAME PATH VOCR2_0000 /dev/asm-disk6 Y
OCR_0000 /dev/asm-disk2 N
OCR_0001 /dev/asm-disk3 N
OCR_0002 /dev/asm-disk4 N
OCR2_0001 /dev/asm-disk7 Y
OCR2_0002 /dev/asm-disk8 Y
OCR2_0003 /dev/asm-disk5 N
DATA_0000 /dev/asm-disk1 N/dev/asm-disk6
SQL> alter diskgroup ocr2 drop disk OCR2_0000;
/dev/asm-disk6ASMname Diskgroup altered.[grid
@rac1 ~]$ crsctl query css votedisk## STATE File Universal Id File Name Disk group1. ONLINE 6b0b1252344a4f5fbf56d18ba7b4b49f (/dev/asm-disk7) [OCR2]2. ONLINE 78057d6e288c4f73bf4df35b12bc0686 (/dev/asm-disk8) [OCR2]3. ONLINE 30dbcc684e724ff5bf2e2e5e8279c2ab
(/dev/asm-disk5) [OCR2]select name,path,voting_file from v$asm_disk where path=/dev/asm-disk5;NAME PATH VOCR2_0003 /dev/asm-disk5 YOracleOCROracleOCR
MongoDB数据库的配置是怎样的,相信很多没有经验的人对此束手无策,为此本文总结了问题出现的原因和解决方法,通过这篇文章希望你能解决这个问题。启动MongoDB有2种方式直接指定配置参数指定配置文件。配置如下:verbose:日志信息冗余。默认false。提…
免责声明:本站发布的图片视频文字,以转载和分享为主,文章观点不代表本站立场,本站不承担相关法律责任;如果涉及侵权请联系邮箱:360163164@qq.com举报,并提供相关证据,经查实将立刻删除涉嫌侵权内容。