By running rootcrs.bat -deconfig -force
on nodes where you encounter an installation error, you can unconfigure Oracle Clusterware on those nodes, correct the cause of the error, and then run rootcrs.bat
again to reconfigure Oracle Clusterware.
Running the rootcrs.bat
command with the options -deconfig -force
enables you to unconfigure Oracle Clusterware on one or more nodes without removing the installed software. This feature is useful if you encounter an error on one or more cluster nodes during installation, such as incorrectly configured shared storage.
Before unconfiguring Oracle Clusterware you must:
-
Stop any databases, services, and listeners that may be installed and running
-
Dismount ACFS file systems
-
Disable ADVM volumes
- Log in using a member of the Administrators group on a node where you encountered an error during installation.
- Stop any databases, services, and listeners currently running from the Grid home.
- If present, unmount all Oracle Automatic Storage Management Cluster File System (Oracle ACFS) file systems.
- Change directory to
Grid_home\crs\install
.
For example:
C:\> cd C:\app\12.1.0\grid\crs\install
- Run
rootcrs.bat
with the -deconfig -force
options.
For example:
C:\..\install> rootcrs.bat -deconfig -force
Note:
The
-force
option must be specified when running the
rootcrs.bat
script if there exist running resources that depend on the resources started from the Oracle Clusterware home you are deleting, such as databases, services, or listeners. You must also use the
-force
option if you are removing a partial, or failed installation.
- Repeat Step 1 through Step 5 on other nodes as required.
- If you are unconfiguring Oracle Clusterware on all nodes in the cluster, then on the last node, enter the following command:
C:\..\install> rootcrs.bat -deconfig -force -lastnode
The
-lastnode
option completes the unconfiguring of the cluster, including the Oracle Cluster Registry (OCR) and voting files.
Caution:
Run the
rootcrs.bat -deconfig -force -lastnode
command on a Hub Node. Deconfigure all Leaf Nodes before you run the command with the
-lastnode
flag.