Go to main content

Oracle® Solaris Cluster Data Service for Oracle Real Application Clusters Guide

Exit Print View

Updated: April 2016
 
 

How to Register and Configure Resources for the StorageTek QFS Metadata Server for a Zone Cluster

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.

  1. Assume the root role or assume a role that provides solaris.cluster.admin and solaris.cluster.modify RBAC authorizations.
  2. 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 \
    zc-wait-rg
  3. Register the SUNW.wait_zc_boot resource type.
    # clresourcetype register SUNW.wait_zc_boot
  4. 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
  5. Bring online and in a managed state the resource group that you created in Step 2.
    # clresourcegroup online -M zc-wait-rg
  6. Create a failover resource group to contain the resources for the StorageTek QFS metadata server.

    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
  7. Register the SUNW.qfs resource type.
    # clresourcetype register SUNW.qfs
  8. Add an instance of the SUNW.qfs resource type to the resource group that you created in Step 6 for each StorageTek QFS shared file system that you are using.

    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
  9. Bring online and in a managed state the resource group that you created in Step 6.
    # clresourcegroup online -M qfs-mds-rg