When you add a ZFS storage pool to an online HAStoragePlus resource, the HAStoragePlus resource does the following:
If the zpool is already imported on a node of the cluster, it exports the zpool. This is done regardless of HAStoragePlus resource being online, or offline.
Caution - Do not add zpools that are imported and in use. If the zpool being added to the HAStorgePlus resource is imported on any node of the cluster, this operation will export the zpool. If the zpool is in use, the running application is left without data in the zpool or if the zpool export operation fails due to application using it, the request to add this zpool to the HAStoragePlus resource fails for this reason. |
Imports the ZFS storage pool on a node where the HAStoragePlus resource is online.
Mounts all file systems in the ZFS storage pool.
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.
# clresource show -g hasp-resource-group -p Zpools hasp-resource
Specifies the resource group that contains the HAStoragePlus resource.
Specifies the HAStoragePlus resource to which you are adding the ZFS storage pool.
# clresource set -p Zpools="zpools-list" hasp-resource
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.
Specifies the HAStoragePlus resource to which you are adding the ZFS storage pool.
# clresource show -g hasp-resource-group -p Zpools hasp-resource
Specifies the resource group that contains the HAStoragePlus resource.
Specifies the HAStoragePlus resource to which you added the ZFS storage pool.
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