How to Add a Raw-Disk Device to a Specific Zone-Cluster Node (CLI)

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.

Note:

To add a raw-disk device for use by the full zone cluster, go instead to How to Add a Global Storage Device to a Zone Cluster (clsetup) or How to Add a DID Device to a Zone Cluster (CLI).
  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 (cNtXdYsZ) to add to the zone cluster and determine whether it is online.
  3. Add the device to the zone-cluster configuration in the node scope.

    Note:

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

    Specifies the full device path of the raw-disk device

  4. Verify the addition of the device.
    phys-schost# clzonecluster show -v zoneclustername

Example 6-12 Adding a Raw-Disk Device to a Specific Zone-Cluster Node (CLI)

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