Go to main content

Installing and Configuring an Oracle® Solaris Cluster 4.4 Environment

Exit Print View

Updated: September 2019
 
 

How to Unconfigure a Zone Cluster

  1. Assume the root role on a node of the global cluster.

    You perform all steps of this procedure from a node of the global cluster.

  2. Take offline each resource group in the zone cluster and disable its resources.

    Note -  The following steps are performed from a global-cluster node. To instead perform these steps from a node of the zone cluster, log in to the zone-cluster node and omit "–Z zone-cluster" from each command.
    1. Take each resource offline.
      phys-schost# clresource offline -Z zone-cluster resource-group
    2. List all enabled resources in the zone cluster.
      phys-schost# clresource show -Z zone-cluster -p Enabled
      === Resources ===
      
      Resource:                                       resource
      Enabled{nodename1}:                               True
      Enabled{nodename2}:                               True
      …
    3. Identify those resources that depend on other resources.
      phys-schost# clresource show -Z zone-cluster -p resource_dependencies
      === Resources ===
      
      Resource:                                       node
      Resource_dependencies:                           node

      You must disable dependent resources first before you disable the resources that they depend on.

    4. Disable each enabled resource in the cluster.
      phys-schost# clresource disable -Z zone-cluster resource

      See the clresource(8CL) man page for more information.

    5. Verify that all resources are disabled.
      phys-schost# clresource show -Z zone-cluster -p Enabled
      === Resources ===
      
      Resource:                                       resource
      Enabled{nodename1}:                               False
      Enabled{nodename2}:                               False
      …
    6. Move each resource group to the unmanaged state.
      phys-schost# clresourcegroup unmanage -Z zone-cluster resource-group
    7. Verify that all resources on all nodes are Offline and that all resource groups are in the Unmanaged state.
      phys-schost# cluster status -Z zone-cluster -t resource,resourcegroup
    8. Delete all resource groups and their resources from the zone cluster.
      phys-schost# clresourcegroup delete -F -Z zone-cluster +
  3. Halt the zone cluster.
    phys-schost# clzonecluster halt zone-cluster-name
  4. Uninstall the zone cluster.
    phys-schost# clzonecluster uninstall zone-cluster-name
  5. Unconfigure the zone cluster.
    phys-schost# clzonecluster delete zone-cluster-name