Perform the steps in this procedure to register and configure resources for the Sun StorageTek QFS metadata server for a zone cluster. You must perform these steps in the global cluster.
Become superuser or assume a role that provides solaris.cluster.admin and solaris.cluster.modify RBAC authorizations.
Create a scalable resource group to contain the SUNW.wait_zc_boot resource in the global cluster.
# clresourcegroup create -n nodelist \ -p rg_mode=Scalable \ -p maximum_primaries=num-in-list \ -p desired_primaries=num-in-list \ [-p rg_mode=Scalable \ zc-wait-rg |
Register the SUNW.wait_zc_boot resource type.
# clresourcetype register SUNW.wait_zc_boot |
Add an instance of the SUNW.wait_zc_boot resource type to the resource group that you created in Step 2.
# clresource create -g zc-wait-rg -t SUNW.wait_zc_boot \ -p ZCName=zcname zc-wait-rs |
Bring online and in a managed state the resource group that you created in Step 2.
# clresourcegroup online -emM zc-wait-rg |
Create a failover resource group to contain the resources for the Sun StorageTek QFS metadata server.
Set a strong positive affinity by the resource group for the resource group that contains the volume manager's scalable device-group resource. This resource group is created in How to Create a Resource for a Scalable Device Group in the Global Cluster.
# clresourcegroup create -n nodelist \ [-p rg_affinities=++scal-dg-rg \] [-p rg_description="description" \] |
Register the SUNW.qfs resource type.
# clresourcetype register SUNW.qfs |
Add an instance of the SUNW.qfs resource type to the resource group that you created in Step 6 for each Sun StorageTek QFSshared file system that you are using.
Each instance of SUNW.qfs represents the metadata server of the file system.
If you are also using a volume manager, set a strong dependency by the instance of SUNW.qfs on the resource for the scalable device group that is to store the file system. This resource is created in How to Create a Resource for a Scalable Device Group in the Global Cluster.
# clresource create -t SUNW.qfs -g qfs-mds-rg \ -p qfsfilesystem=path \ [-p resource_dependencies=scal-dg-rs,zc-wait-rs, \ qfs-mds-rs] |
Bring online and in a managed state the resource group that you created in Step 6.
# clresourcegroup online -emM qfs-mds-rg |