Perform the steps in this procedure to register and configure resources for the StorageTek QFS metadata server for a zone cluster.
Perform these steps in the global cluster.
# clresourcegroup create -n nodelist \ -p rg_mode=Scalable \ -p maximum_primaries=num-in-list \ -p desired_primaries=num-in-list \ zc-wait-rg
# clresourcetype register SUNW.wait_zc_boot
# clresource create -g zc-wait-rg -t SUNW.wait_zc_boot \ -p ZCName=zcname zc-wait-rs
# clresourcegroup online -M zc-wait-rg
Set a strong positive affinity by the resource group for the resource group that contains the SUNW.wait_zc_boot resource that is configured for the zone cluster.
If you also use a volume manager, 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=++wait-zc-rg[,++scal-dg-rg] \ [-p rg_description="description"] \ qfs-mds-rg
# clresourcetype register SUNW.qfs
Each instance of SUNW.qfs represents the metadata server of the file system.
Set a strong dependency by the instance of SUNW.qfs on the SUNW.wait_zc_boot resource that is configured for the zone cluster.
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=zc-wait-rs[,scal-dg-rs] \ qfs-mds-rs
# clresourcegroup online -M qfs-mds-rg