Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to replace OCR votedisk online by Oracle10g RAC

2025-01-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)05/31 Report--

Editor to share with you how to replace Oracle10g RAC OCR votedisk online, I believe that most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!

Confirm 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 not 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 not 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).

The above is all the contents of the article "how to replace Oracle10g RAC OCR votedisk online". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report