How to Add a ZFS Storage Pool to a Zone Cluster (CLI)
Perform this procedure to add a ZFS storage pool to a zone cluster.
Note:
Alternatively, you can use theclsetup
utility to perform this task. See How to Add a ZFS Storage Pool to a Zone Cluster (clsetup).
To configure a ZFS storage pool to be highly available in a zone cluster, see How to Set Up the HAStoragePlus Resource Type to Make a Local ZFS File System Highly Available in Planning and Administering Data Services for Oracle Solaris Cluster 4.4.
Example 6-4 Adding a ZFS Storage Pool to a Zone Cluster (CLI)
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> verify clzc:sczone> commit clzc:sczone> exit phys-schost-1# clzonecluster show -v sczone … Resource Name: dataset name: zpool1 …
Next Steps
Configure the ZFS storage pool to be highly available by using an HAStoragePlus resource. The HAStoragePlus resource manages the mounting of file systems in the pool on the zone-cluster node that currently hosts the applications that are configured to use the file system. See Enabling Highly Available Local File Systems in Planning and Administering Data Services for Oracle Solaris Cluster 4.4.