Sun Cluster Software Installation Guide for Solaris OS

ProcedureHow to Add a ZFS Storage Pool to a Zone Cluster

Perform this procedure to add a ZFS storage pool for use by a zone cluster.

  1. Configure the ZFS storage pool on the global cluster.


    Note –

    Ensure that the pool is connected on shared disks that are connected to all nodes of the zone cluster.


    See Solaris ZFS Administration Guide for procedures to create a ZFS pool..

  2. Become superuser on a node of the global cluster that hosts the zone cluster.

  3. Add the pool to the zone-cluster configuration.


    phys-schost# clzonecluster configure zoneclustername
    clzc:zoneclustername> add dataset
    clzc:zoneclustername:dataset> set name=ZFSpoolname
    clzc:zoneclustername:dataset> end
    clzc:zoneclustername> exit
    
  4. Verify the addition of the file system.


    phys-schost# clzonecluster show -v zoneclustername
    

Example 6–5 Adding a ZFS Storage Pool to a Zone Cluster

The following example shows the ZFS storage pool zpool1 added to the zone cluster sczone.


phys-schost-1# clzonecluster configure sczone
clzc:sczone> add dataset
clzc:sczone:dataset> set name=zpool1
clzc:sczone:dataset> end
clzc:sczone> exit

phys-schost-1# clzonecluster show -v sczone
…
  Resource Name:                                dataset
    name:                                          zpool1
…