How to Add a DID Device to a Zone Cluster (CLI)

Perform this procedure to add a DID device to a zone cluster.

Note:

Alternatively, you can use the clsetup utility to perform this task. See How to Add a Global Storage Device to a Zone Cluster (clsetup).
  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 DID device to add to the zone cluster.

    The device you add must be connected to all nodes of the zone cluster.

    phys-schost# cldevice list -v
  3. Add the DID device for use by the zone cluster.

    Note:

    An asterisk (*) is used as a wildcard character in the path name.
    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
    match=/dev/did/*dsk/dNs*

    Specifies the full device path of the DID device

  4. Reboot the zone cluster.

    The change becomes effective after the zone cluster reboots.

    phys-schost# clzonecluster reboot zone-cluster-name

    Note:

    To reduce downtime, you can reboot the zone cluster nodes one by one. See Shutting Down and Booting a Single Node in a Cluster in Administering an Oracle Solaris Cluster 4.4 Configuration.

Example 6-10 Adding a DID Device to a Zone Cluster (CLI)

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