Oracle® Solaris Cluster Data Services Planning and Administration Guide

Exit Print View

Updated: September 2014, E39648–02
 
 

How to Add a Solaris ZFS Storage Pool to an Online HAStoragePlus Resource

When you add a Solaris ZFS storage pool to an online HAStoragePlus resource, the HAStoragePlus resource does the following:

  • Imports the ZFS storage pool.

  • Mounts all file systems in the ZFS storage pool.


Caution

Caution  -  If you are planning to manually import a pool that is already managed by the cluster, ensure that the pool is not imported on multiple nodes. Importing a pool on multiple nodes can lead to problems.


If you want to make configuration changes to a ZFS pool that is managed by cluster with an HAStoragePlus resource, see Changing a ZFS Pool Configuration That is Managed by an HAStoragePlus Resource.

  1. On any node in the cluster, assume the root role that provides solaris.cluster.modify RBAC authorization.
  2. Determine the ZFS storage pools that the HAStoragePlus resource already manages.
    # clresource show -g hasp-resource-group -p Zpools hasp-resource
    -g hasp-resource-group

    Specifies the resource group that contains the HAStoragePlus resource.

    hasp-resource

    Specifies the HAStoragePlus resource to which you are adding the ZFS storage pool.

  3. Add the new ZFS storage pool to the existing list of ZFS storage pools that the HAStoragePlus resource already manages.
    # clresource set -p Zpools="zpools-list" hasp-resource
    -p Zpools="zpools-list"

    Specifies a comma-separated list of existing ZFS storage pool names that the HAStoragePlus resource already manages and the new ZFS storage pool name that you want to add.

    hasp-resource

    Specifies the HAStoragePlus resource to which you are adding the ZFS storage pool.

  4. Compare the new list of ZFS storage pools that the HAStoragePlus resource manages with the list that you generated in Step 2.
    # clresource show -g hasp-resource-group -p Zpools hasp-resource
    -g hasp-resource-group

    Specifies the resource group that contains the HAStoragePlus resource.

    hasp-resource

    Specifies the HAStoragePlus resource to which you added the ZFS storage pool.

  5. Confirm that the HAStoragePlus resource is online and not faulted.

    If the HAStoragePlus resource is online but faulted, validation of the resource succeeded. However, an attempt by the HAStoragePlus resource to import and mount the ZFS file system failed. In this case, you need to repeat the preceding set of steps.

    # clresourcegroup status hasp-resource