Go to main content

Administering an Oracle® Solaris Cluster 4.4 Configuration

Exit Print View

Updated: March 2019
 
 

How to Remove a Node From a Zone Cluster

You can remove a node from a zone cluster by halting the node, uninstalling it, and removing the node from the configuration. If you decide later to add the node back into the zone cluster, follow the instructions in Figure 14, Table 14, Task Map: Adding a Node to an Existing Global or Zone Cluster. Most of these steps are performed from the global-cluster node.


Note -  You can also use the Oracle Solaris Cluster Manager browser interface to shut down a zone-cluster node, but not to remove a zone-cluster node. For Oracle Solaris Cluster Manager log-in instructions, see How to Access Oracle Solaris Cluster Manager.
  1. Assume the root role on a node of the global cluster.
  2. Shut down the zone-cluster node you want to remove by specifying the node and its zone cluster.
    phys-schost# clzonecluster halt –n node zone-cluster-name

    You can also use the clnode evacuate and shutdown commands within a zone cluster.

  3. Remove the node from all resource groups in the zone cluster.
    phys-schost# clresourcegroup remove-node -n zone-hostname -Z zone-cluster-name rg-name

    If you use the procedure described in the Note in Step 2, the resource groups should be automatically removed so you might be able to skip this step.

  4. Uninstall the zone-cluster node.
    phys-schost# clzonecluster uninstall –n node zone-cluster-name

    If the zone cluster node you want to remove resides on a system that is inaccessible or unable to join the cluster, skip this step.

  5. Remove the zone-cluster node from the configuration.

    Use the following commands:

    phys-schost# clzonecluster configure zone-cluster-name
    clzc:sczone> remove node physical-host=node
    clzc:sczone> exit

    Note -  If the zone cluster node you want to remove resides on a system that is inaccessible or unable to join the cluster, remove the node with the clzonecluster interactive shell:
    clzc:sczone> remove -F node physical-host=node

    If you use this method to remove the last zone cluster node, you will be prompted to delete the zone cluster entirely. If you choose not to, the last node will not be removed. This deletion has the same effect as clzonecluster delete -F zone-cluster-name.


  6. Verify that the node was removed from the zone cluster.
    phys-schost# clzonecluster status