My Oracle Support Banner

CRS on Windows: How To Reinitialize (Accidentally Deleted) OCR and Vote Disk (without a full reinstall of Oracle Clusterware) (Doc ID 557178.1)

Last updated on DECEMBER 25, 2019

Applies to:

Oracle Database - Enterprise Edition - Version 10.1.0.2 to 11.1.0.7 [Release 10.1 to 11.1]
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Microsoft Windows x64 (64-bit)
Microsoft Windows (32-bit)
Oracle Server Enterprise Edition - Version: 10.1.0.2 to 11.1.0.7


Goal

This document presents a step by step approach to reinitialize the OCR and Vote Disks without performing a full reinstallation of the 10gR2 or 11Gr1 Oracle Clusterware binaries on Windows platforms. 

Note that the procedure in this document is only useful in cases where the Oracle Clusterware Services (including:  OracleCSService, OracleEVMService, OracleCRService are intact). If any of these services are missing (such as in the case during a failed upgrade attempt to a higher clusterware version), Oracle Clusterware reinstall will be required.

 

These steps may be necessary in the following scenarios:

1.  To troubleshoot an installation where the Cluster Configuration Assistant (which calls crssetup.config.bat ) has errored out

OR

2.  For a cluster that was running fine, but the OCR and/or Vote disks have become damaged or unusable

 

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
 1.  Stop all CRS managed resources
 2.  Stop all CRS services
 3.  Reformat ALL partitions for OCR and voting disk files
 4.  Set TEMP and TMP variables
 5.  Start the OracleObjectService (if using RAW partitions) and/or OracleClusterVolumeService (if using OCFS partitions) on all nodes
 6.   Locate the crssetup.config.bat script
 7.  Execute racgons from $CRS_HOME\bin
 8.  Run oifcfg to configure public and cluster_interconnect
 9.  Run  Virtual IP Configuration Assistant (VIPCA)
 10.  Run Cluster Verification Uitility (cluvfy)
 11.  Create an export copy of the OCR file
 12.  Check for Oracle Process Manager
 13.  Reboot all nodes in the cluster, if possible. 
 14.  Run netca to create listener
 15.  Recreate all necessary CRS managed resources
 16.  Start all CRS managed resources
 17.  Run crs_stat -t
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.