Cleanup steps for cluster node removal for following scenarios
- failed CRS install on a particular node
- cluster node was deleted and can’t be rebooted
- RAC/Clusterware installation files were deleted at OS level from a cluster node by running all or any or all of the following rm commands
rm -rf /u01/app/oraInventory/* rm -rf /u01/app/11203/grid/* rm -rf /u01/app/grid/* rm -rf /u01/app/oracle/product/11203/racdb/* rm -rf /etc/oracle/* rm /etc/oraInst.loc rm /etc/oratab rm /var/tmp/.oracle/*
Table of Contents
Cleanup steps to remove node grac3 from a three-node cluster
First deleting the related cluster VIP: ora.grac3.vip # $GRID_HOME/bin/crsctl stop resource ora.grac3.vip # $GRID_HOME/bin/crsctl delete resource ora.grac3.vip Update the installer repository ( remove grac3 node ) $ ./runInstaller -updateNodeList ORACLE_HOME=/u01/app/11203/grid "CLUSTER_NODES={grac1,grac2}" CRS=TRUE Verify current cluster nodes and delete the related cluster node $ olsnodes grac1 grac2 grac3 Drop grac3 from the cluster # $GRID_HOME/bin/crsctl delete node -n grac3 CRS-4661: Node grac3 successfully deleted. # $GRID_HOME/bin/olsnodes -t -s grac1 Active Unpinned grac2 Active Unpinned Verify node deletion with cluvfy $ cluvfy stage -post nodedel -n grac3 Performing post-checks for node removal Checking CRS integrity... Clusterware version consistency passed CRS integrity check passed Node removal check passed Post-check for node removal was successful.
Reference
- How to Proceed from Failed 11gR2 Grid Infrastructure (CRS) Installation (Doc ID 942166.1)