This section describes how to add the direct use of global storage devices by a zone cluster or add storage devices that are dedicated to a single zone-cluster node. Global devices are devices that can be accessed by more than one node in the cluster, either one node at a time or multiple nodes concurrently.
After a device is added to a zone cluster, the device is visible only from within that zone cluster.
You can also use the Oracle Solaris Cluster Manager GUI to add a storage device to a zone cluster. For GUI log-in instructions, see How to Access Oracle Solaris Cluster Manager in Oracle Solaris Cluster System Administration Guide .
This section contains the following procedures:
How to Add a Global Storage Device to a Zone Cluster (clsetup)
How to Add a Raw-Disk Device to a Specific Zone-Cluster Node (CLI)
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)
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).
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 Oracle Solaris Cluster System Administration Guide .
You perform all steps of this procedure from a node of the global cluster.
phys-schost# cldevicegroup status
phys-schost# cldevicegroup online device
phys-schost# clsetup
The Main Menu is displayed.
The Zone Cluster Tasks Menu is displayed.
The Select Zone Cluster menu is displayed.
The Storage Type Selection menu is displayed.
A list of the available devices is displayed.
You can also type e to manually specify properties for a storage device.
The Storage Device Property for the Zone Cluster menu is displayed.
When, finished, type d and press Return. The Review File Systems/Storage Devices for the Zone Cluster menu is displayed.
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.
phys-schost# clzonecluster show -v zoneclustername
Perform this procedure to add a DID device to a zone cluster.
You perform all steps of this procedure from a node of the global cluster.
The device you add must be connected to all nodes of the zone cluster.
phys-schost# cldevice list -v
phys-schost# clzonecluster configure zone-cluster-name clzc:zone-cluster-name> add device clzc:zone-cluster-name:device> set match=/dev/did/*dsk/dNs* clzc:zone-cluster-name:device> end clzc:zone-cluster-name> verify clzc:zone-cluster-name> commit clzc:zone-cluster-name> exit
Specifies the full device path of the DID device
The change becomes effective after the zone cluster reboots.
phys-schost# clzonecluster reboot zone-cluster-name
The following example adds the DID device d10 to the sczone zone cluster.
phys-schost-1# clzonecluster configure sczone clzc:sczone> add device clzc:sczone:device> set match=/dev/did/*dsk/d10s* clzc:sczone:device> end clzc:sczone> verify clzc:sczone> commit clzc:sczone> exit phys-schost-1# clzonecluster reboot sczone
Perform this procedure to add an entire Solaris Volume Manager disk set to a zone cluster.
You perform all steps of this procedure from a node of the global cluster.
phys-schost# cldevicegroup status
phys-schost# cldevicegroup online diskset
phys-schost# ls -l /dev/md/diskset lrwxrwxrwx 1 root root 8 Jul 22 23:11 /dev/md/diskset -> shared/set-number
You must use a separate add device session for each set match= entry.
phys-schost# clzonecluster configure zone-cluster-name clzc:zone-cluster-name> add device clzc:zone-cluster-name:device> set match=/dev/md/diskset/*dsk/* clzc:zone-cluster-name:device> end clzc:zone-cluster-name> add device clzc:zone-cluster-name:device> set match=/dev/md/shared/set-number/*dsk/* clzc:zone-cluster-name:device> end clzc:zone-cluster-name> verify clzc:zone-cluster-name> commit clzc:zone-cluster-name> exit
Specifies the full logical device path of the disk set
Specifies the full physical device path of the disk set number
The change becomes effective after the zone cluster reboots.
phys-schost# clzonecluster reboot zone-cluster-name
The following example adds the disk set oraset to the sczone zone cluster. The set number of the disk set is 3.
phys-schost-1# clzonecluster configure sczone clzc:sczone> add device clzc:sczone:device> set match=/dev/md/oraset/*dsk/* clzc:sczone:device> end clzc:sczone> add device clzc:sczone:device> set match=/dev/md/shared/3/*dsk/* clzc:sczone:device> end clzc:sczone> verify clzc:sczone> commit clzc:sczone> exit phys-schost-1# clzonecluster reboot sczone
Perform this procedure to add a raw-disk device to a specific zone-cluster node. This device would not be under Oracle Solaris Cluster control. Perform all steps of the procedure from a node of the global cluster.
You perform all steps of this procedure from a node of the global cluster.
phys-schost# clzonecluster configure zone-cluster-name clzc:zone-cluster-name> select node physical-host=baseclusternode clzc:zone-cluster-name:node> add device clzc:zone-cluster-name:node:device> set match=/dev/*dsk/cNtXdYs* clzc:zone-cluster-name:node:device> end clzc:zone-cluster-name:node> end clzc:zone-cluster-name> verify clzc:zone-cluster-name> commit clzc:zone-cluster-name> exit
Specifies the full device path of the raw-disk device
phys-schost# clzonecluster show -v zoneclustername
The following example adds the raw–disk device c1t1d0s0 for use by a node of the sczone zone cluster. This zone-cluster node is hosted on global—cluster node phys-schost-1.
phys-schost-1# clzonecluster configure sczone clzc:sczone> select node physical-host=phys-schost-1 clzc:sczone:node> add device clzc:sczone:node:device> set match=/dev/*dsk/c1t1d0s0 clzc:sczone:node:device> end clzc:sczone:node> end clzc:sczone> verify clzc:sczone> commit clzc:sczone> exit phys-schost-1# clzonecluster show -v sczone … --- Solaris Resources for phys-schost-1 --- … Resource Name: device name: /dev/*dsk/c1t1d0s0