Removing Oracle RAC

This procedure removes Oracle RAC software from the node you are deleting from the cluster and updates inventories on the remaining nodes.

  1. If there is a listener in the Oracle RAC home on the node you are deleting, then you must disable and stop it before deleting the Oracle RAC software. Run the following commands on any node in the cluster, specifying the name of the listener and the name of the node you are deleting:

    $ srvctl disable listener -l listener_name -n name_of_node_to_delete
    $ srvctl stop listener -l listener_name -n name_of_node_to_delete
  2. Run the following command from $ORACLE_HOME/oui/bin on the node that you are deleting to update the inventory on that node:

    $ ./runInstaller -updateNodeList ORACLE_HOME=Oracle_home_location
    "CLUSTER_NODES={name_of_node_to_delete}" -local

    Note:

    If you have a shared Oracle RAC home, then append the -cfs option to the preceding command and provide a complete path to the location of the cluster file system.

  3. Deinstall the Oracle home—only if the Oracle home is not shared—from the node that you are deleting by running the following command from the Oracle_home\deinstall directory:

    deinstall -local

    Caution:

    If the Oracle home is shared, then do not run this command because it will remove the shared software. Proceed to the next step, instead.

  4. Run the following command from the $ORACLE_HOME/oui/bin directory on any one of the remaining nodes in the cluster to update the inventories of those nodes, specifying a comma-delimited list of remaining node names and the name of the local node:

    $ ./runInstaller -updateNodeList ORACLE_HOME=Oracle_home_location
    "CLUSTER_NODES={remaining_node_list}" LOCAL_NODE=local_node_name

    Note:

    • Because all nodes may not have database software installed on an Oracle Flex Cluster, remaining_node_list must list only those nodes with installed database software homes.

    • If you have a shared Oracle RAC home, then append the -cfs option to the command example in this step and provide a complete path to the location of the cluster file system.