How to Add a Global Storage Device to a Zone Cluster (clsetup)

Perform this procedure to add one of the following types of storage devices in cluster scope:

  • Raw-disk devices

  • Solaris Volume Manager disk sets (not including multi-owner)

Note:

Alternatively, you can use either the command line or the Oracle Solaris Cluster Manager browser interface to perform this task. To use the command line to perform this task, see the following procedures: To add a raw-disk device to a specific zone-cluster node, go instead to How to Add a Raw-Disk Device to a Specific Zone-Cluster Node (CLI). To use the Oracle Solaris Cluster Manager browser interface to perform this task, click Zone Clusters, click the zone cluster name to go to its page, click the Solaris Resources tab, then in the Storage Devices section click Add to start the storage device wizard. For Oracle Solaris Cluster Manager log-in instructions, see How to Access Oracle Solaris Cluster Manager in Administering an Oracle Solaris Cluster 4.4 Configuration.

The clsetup utility discovers and displays the available storage devices that are configured on the cluster nodes where the selected zone cluster is configured. After you use the clsetup utility to add a storage device to an existing zone cluster , use the clzonecluster command to modify the configuration. For instructions on using the clzonecluster command to remove a storage device from a zone cluster, see How to Remove a Storage Device From a Zone Cluster in Administering an Oracle Solaris Cluster 4.4 Configuration.

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

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

  2. Identify the device to add to the zone cluster and determine whether it is online.
    phys-schost# cldevicegroup status
  3. If the device that you are adding is not online, bring it online.
    phys-schost# cldevicegroup online device
  4. Start the clsetup utility.
    phys-schost# clsetup

    The Main Menu is displayed.

    Tip:

    To return to a previous screen, type the < key and press Return.
  5. Choose the Zone Cluster menu item.

    The Zone Cluster Tasks Menu is displayed.

  6. Choose the Add File System/Storage Device to a Zone Cluster menu item.

    The Select Zone Cluster menu is displayed.

  7. Choose the zone cluster where you want to add the storage device.

    The Storage Type Selection menu is displayed.

  8. Choose the Device menu item.

    A list of the available devices is displayed.

  9. Choose a storage device from the list.

    You can also type e to manually specify properties for a storage device.

    The Storage Device Property for the Zone Cluster menu is displayed.

  10. Add or change any properties for the storage device you are adding.

    Note:

    An asterisk (*) is used as a wildcard character in the path name.

    When, finished, type d and press Return. The Review File Systems/Storage Devices for the Zone Cluster menu is displayed.

  11. Type c to save the configuration change.

    The results of your configuration change are displayed. For example:

     >>> Result of Configuration Change to the Zone Cluster(sczone) <<<
    
    Adding file systems or storage devices to sczone zone cluster...
    
    The zone cluster is being created with the following configuration
    
    /usr/cluster/bin/clzonecluster configure sczone
    add device
    set match=/dev/md/ddg/*dsk/*
    end
    add device
    set match=/dev/md/shared/1/*dsk/*
    end
    
    Configuration change to sczone zone cluster succeeded.
    The change will become effective after the zone cluster reboots.
  12. When finished, exit the clsetup utility.
  13. Verify the addition of the device.
    phys-schost# clzonecluster show -v zoneclustername