Verify that the cluster status is normal before operation
1. Replace OCR
#./ocrconfig-replace ocrmirror/dev/rhdisk11
#./ocrcheck
Status of Oracle Cluster Registry is as follows:
Version:2
Total Space (Kbytes): 1048300
Used Space (Kbytes): 4628
Available Space (Kbytes): 1043672
id:2049932717
Device/file Name:/dev/rhdisk2
Device/file Integrity Check Succeeded
Device/file Name:/dev/rhdisk11
Device/file Integrity Check Succeeded
Cluster Registry Integrity Check succeeded
# cd/etc/oracle
# ls
Bin Ocr.loc Ocr.loc.bak Oprocd scls_scr
# more Ocr.loc
#Device/file getting replaced by device/dev/rhdisk11
Ocrconfig_loc=/dev/rhdisk2
Ocrmirrorconfig_loc=/dev/rhdisk11
Local_only=false
# CD-
/oracle/product/10.2.0/crs/bin
# pwd
/oracle/product/10.2.0/crs/bin
#
#./ocrconfig-replace OCR
#./ocrcheck
Status of Oracle Cluster Registry is as follows:
Version:2
Total Space (Kbytes): 1048300
Used Space (Kbytes): 4628
Available Space (Kbytes): 1043672
id:2049932717
Device/file Name:/dev/rhdisk11
Device/file Integrity Check Succeeded
Device/file Not Configured
Cluster Registry Integrity Check succeeded
#
2. Replace Votedisk
#./crsctl Query CSS Votedisk
0.0/dev/rhdisk3
Located 1 votedisk (s).
#./crsctl Add CSS Votedisk/dev/rhdisk12
Cluster is isn't in a ready state for online disk addition
#./crs_stat-t
#./crsctl Add CSS Votedisk/dev/rhdisk12-force
Now formatting voting disk:/dev/rhdisk12
Successful addition of VOTEDISK/DEV/RHDISK12.
#./crsctl Query CSS Votedisk
0.0/dev/rhdisk3
1.0/dev/rhdisk12
Located 2 votedisk (s).
#./crsctl Delete css Votedisk/dev/rhdisk3
Cluster is isn't in a ready state for online disk removal
#./crsctl Delete css Votedisk/dev/rhdisk3-force
Successful deletion of VOTEDISK/DEV/RHDISK3.
#./crsctl Query CSS Votedisk
0.0/dev/rhdisk12
Located 1 votedisk (s).
oracle10g RAC online replacement for OCR Votedisk