Deconfigure and Reconfigure of Standalone Server (Oracle Restart):
To deconfigure:
As root, execute "$GRID_HOME/crs/install/roothas.pl -delete -force -verbose"
If it fails, please disable CRS, reboot the node and try the same command:
As root, reboot the node; once the node comes backup, execute above deconfigure command again.
To reconfigure:
As root, execute "$GRID_HOME/root.sh"
Deinstall of Grid Infrastructure Standalone Server:
As grid user, execute $GRID_HOME/deinstall/deinstall
Deconfigure and Reconfigure of Grid Infrastructure Cluster:
Identify cause of root.sh failure by reviewing logs in $GRID_HOME/cfgtoollogs/crsconfig and $GRID_HOME/log, once cause is identified, deconfigure and reconfigure with steps below - please keep in mind that you will need wait till each step finishes successfully before move to next one:
Step 0: For 11.2.0.2 and above, root.sh is restartable. Once cause is identified and fixed, root.sh can be executed again on the failed node, if it succeeds, you can continue with the installation, otherwise proceed to next step (Step 1) of the note.
Step1 and 2 can be skipped on node(s) which haven't execute root.sh yet.
Step 1: As root, run "$GRID_HOME/crs/install/rootcrs.pl -verbose -deconfig -force" on all nodes, except the last one.
Step 2: As root, run "$GRID_HOME/crs/install/rootcrs.pl -verbose -deconfig -force -lastnode" on last node. This command will zero out OCR and VD disk also.
Note: Step1 and 2 should remove checkpoint file. To verify:
ls -l $ORACLE_BASE/Clusterware/ckptGridHA_.xml
If it's still there, please remove it manually with "rm" command on all nodes
Step 3: As root, run $GRID_HOME/root.sh on first node
Step 4: As root, run $GRID_HOME/root.sh on all other node(s), except last one.
Step 5: As root, run $GRID_HOME/root.sh on last node.
Deinstall of Grid Infrastructure Cluster:
Case 1: "root.sh" never ran on this cluster, then as grid user, execute $GRID_HOME/deinstall/deinstall
Case 2: "root.sh" already ran, then follow the step below - please keep in mind that you will need wait till each step finishes successfully before move to next one:
Step 1: As root, run "$GRID_HOME/crs/install/rootcrs.pl -verbose -deconfig -force" on all node, except the last one.
Step 2: As root, run "$GRID_HOME/crs/install/rootcrs.pl -verbose -deconfig -force -lastnode" on last node. This command will zero out OCR and VD disk also.
Step 3: As grid user, run "$GRID_HOME/deinstall/deinstall" on any node.