oracle10g RAC online replacement for OCR Votedisk

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.