How to Restore a Lost Voting Disk in 10g [ID 279793.1]
How to Restore a Lost Voting Disk in 10g [ID 279793.1]
PURPOSE
-------
To provide a method of restoring a lost Voting Disk.
SCOPE & APPLICATION
-------------------
This article is intended for DBAs and Support Engineers who need to correct
a lost Voting Disk.
WHY DO WE NEED A VOTING DISK
----------------------------
The Voting Disk is used by the Oracle cluster manager in various layers.
The Node Monitor (NM)uses the Voting Disk for the Disk Hearbeat, which is
essential in the detection and resolution of cluster "split brain".
NM monitors the Voting Disk for other competing sub-clusters and uses it for the
eviction phase. Hence the availability from the Voting Disk is critical for the
operation of the Oracle Cluster Manager.
The shared volumes created for the OCR and the voting disk should be configured
using RAID to protect against media failure. This requires the use of an external
cluster volume manager, cluster file system, or storage hardware that provides
RAID protection.
METHOD 1- RESTORING A LOST VOTING DISK
--------------------------------------
The recommended way to recover from a lost Voting Disk is to restore it from a
backup taken with 'dd'.
A backup taken via the 'dd' command can be done as a 'hot' backup, meaning
that the crs daemons do not need to be stopped in order to take this backup.
A new backup should be taken of the Voting Disk any time a new node is added,
or an existing node is removed.
As a general rule on most platforms, including Linux and Sun, the block size
for the 'dd' command should be 4k, to ensure that the backup of the
Voting Disk gets complete blocks.
On Windows platforms use 'ocopy' to create a backup of the voting disk.
Note that Re-running root.sh or parts thereof isn't safe once CSS is in
fatal mode (which happens when the last node's root.sh is run).
It could lead to one node or all nodes entering a reboot cycle which is
hard to recover from.
From 10.2 onwards the voting disk can get recovered with "crsctl add css votedisk". For more details
see note:428681.1
METHOD 2 - RE-INSTALL CRS
-------------------------
The only safe and sure way to re-create the voting disk in 10gR1 is to reinstall
CRS. The deinstallation procedure is the only way we have to undo the CSS fatal
mode, which in turn makes it safe to reinstall.
Only do this after consulting with Oracle Support Services and there is no reasonable
way to fix the inconsistency.
Once you re-install CRS, you can restore OCR from one of its automatic backups.
Then, you can back up the voting disk, and also back it up again after any node
addition or deletion operations.
1. Use Note 239998.1 to completely remove the CRS installation.
2. Re-install CRS
3. Run the CRS root.sh as prompted at the end of the CRS install.
4. Run the root.sh in the database $ORACLE_HOME to re-run VIPCA. This will re-
create the VIP, GSD, and ONS resources.
5. Use NETCA to re-add any listeners.
6. Add databases and instances with SRVCTL, syntax is in Note 259301.1
RELATED DOCUMENTS
-----------------
Oracle Clusterware Administration and Deployment Guide 11g Release 1 (11.1)
section 2 "Administering Voting Disks"
Note 259301.1 CRS and 10g Real Application Clusters
Note 239998.1 - 10g RAC How to Clean Up After a Failed CRS Install
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/17252115/viewspace-749689/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle 10g RAC下Voting disk和OCR的管理Oracle 10g
- Oracle 10G RAC下OCR和Voting disk的管理Oracle 10g
- Placement of Voting disk and OCR Files in Oracle RAC 10g and 11gR1 [ID 293819.1]Oracle
- 轉 Oracle 10G RAC下OCR和Voting disk的管理Oracle 10g
- 【轉載】Oracle 10G RAC下OCR和Voting disk的管理Oracle 10g
- Voting Disk - Oracle10gOracle
- How restore CBO statisticsREST
- How to restore raid after reinstall LinuxRESTAILinux
- 管理OCR,OLR,Voting Disk(筆記)筆記
- 關於oracle orc和voting diskOracle
- The Oracle Clusterware Voting Disk and Oracle Cluster RegistryOracle
- Oracle RAC 重建 OCR 和 Voting diskOracle
- How to restore ASM based OCRRESTASM
- How to Restore ASM Password File if Lost ( ORA-01017 ORA-15077 )_1644005.1RESTASM
- Oracle10g OCR及Voting Disk的Oracle
- voting disk 損壞解決方法---重建crs
- How to map device name to ASMLIB disk [ID 1098682.1]devASM
- How to move ASM spfile to a different disk group [ID 1082943.1]ASM
- OCR And Voting Disk In Oracle 10gR2 Clusterware (RAC) [ID 1092293.1]Oracle 10g
- HowTo Restore RMAN Disk backups of RACREST
- How to Create or Remove Restore Point on Standby database (文件 ID 1672977.1)REMRESTDatabase
- 【MOS】How to backup or restore OLR in 11.2/12c Grid InfrastructureRESTASTStruct
- 11g RAC OCR,VOTING DISK儲存全部損壞,利用自動備份,恢復OCR,VOTING DISK到新儲存。
- Oracle10g OCR及Voting Disk的備份Oracle
- restore archive logs toalternative location they already reside on disk_399894.1RESTHiveIDE
- 11g RAC 中 OCR 及Voting Disk 相關操作
- oracle crs voting disk損壞一例(asm+rac)OracleASM
- How to Restore CRS after accidentally run localconfig on RAC system_747415.1RESTIDE
- How to Restore the Database Using AMDU after Diskgroup CorruptionRESTDatabase
- How to restore and recover a database from an RMAN backup_881395.1RESTDatabase
- How To Search and Restore files from Site Collection Recycle BinREST
- HowTo Restore RMAN Disk backups of RAC Database to Single Instance On Another Node [ID 415579.1]RESTDatabase
- How To Change The Oracle Hidden Parameters In Oracle 10g [ID 315631.1]Oracle 10g
- How to Add a New Disk new partition in centos7CentOS
- How to restore ASM based OCR after complete loss of the CRS diskgroupRESTASM
- ORA-15096: lost disk write detected的解決與修復
- RAC ORA-15096: lost disk write detected錯誤解決方法
- Can you create a second voting disk in a different ASM diskgroup when using External Redundancy in 1ASM