Use OUI to remove a node from an Oracle Clusterware home

In Oracle® Clusterware Administration and Deployment Guide 11g Release 2 (11.2) , the section, Deleting a Cluster Node on Linux and UNIX Systems , lists the following steps:

  1. Ensure that Grid_home correctly specifies the full directory path for the Oracle Clusterware home on each node, where Grid_home is the location of the installed Oracle Clusterware software.
  2. If Cluster Synchronization Services (CSS) is not running on the node you are deleting, then the crsctl unpin css command in this step fails. Before you run the crsctl unpin css command, run the following command as either root or the user that installed Oracle Clusterware:
  3. $ olsnodes -s -t

    This command shows whether the node is active and whether it is pinned. If the node is unpinned, then you do not need to run the crsctl unpin css command.

  4. Stop the EMAGENT
  5. Disable the Oracle Clusterware applications and daemons running on the node. Run the rootcrs.pl script as root from the Grid_home /crs/install directory on the node to be deleted, as follows:
  6. # ./rootcrs.pl -deconfig -force

    If you are deleting multiple nodes, then run this script on each node that you are deleting.

    If this is the last node in a cluster that you are deleting, then append the -lastnode option to the preceding command, as follows:

    # ./rootcrs.pl -deconfig -force -lastnode

  7. From any node that you are not deleting, run the following command from the Grid_home /bin directory as root to delete the node from the cluster:
  8. # crsctl delete node -n node_to_be_deleted

  9. On the node that you are deleting, run the runInstaller command as the user that installed Oracle Clusterware. Depending on whether you have a shared or non-shared Oracle home, complete one of the following procedures:
    • If you have a shared home, then run the following command from the Grid_home /oui/bin directory on the node you want to delete:
    • $ ./runInstaller -detachHome ORACLE_HOME= Grid_home

    • For a non-shared home, deinstall the Oracle Clusterware home from the node that you want to delete, as follows, by running the following command, where Grid_home is the path defined for the Oracle Clusterware home:
    • $ Grid_home /deinstall/deinstall –local

  10. On any node other than the node you are deleting, run the following command from the Grid_home /oui/bin directory where remaining_nodes_list is a comma-delimited list of the nodes that are going to remain part of your cluster:
  11. $ ./runInstaller -updateNodeList ORACLE_HOME= Grid_home "CLUSTER_NODES={ remaining_nodes_list }" CRS=TRUE

  12. Run the following CVU command to verify that the specified nodes have been successfully deleted from the cluster:
  13. $ cluvfy stage -post nodedel -n node_list [-verbose]