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

Exit Print View

Updated: July 2014, E39656–01
 
 

How to Register and Configure Resources for the Sun QFS Metadata Server in the Global Cluster

Perform this task only if you are using the Sun QFS shared file system.

Perform this procedure on only one node of the cluster.

  1. Assume the root role or assume a role that provides solaris.cluster.admin and solaris.cluster.modify RBAC authorizations.
  2. Create a failover resource group to contain the resources for the Sun QFS metadata server.

    If you are also using 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=++scal-dg-rg] \
    [-p rg_description="description"] \
    qfs-mds-rg
  3. Register the SUNW.qfs resource type.
    # clresourcetype register SUNW.qfs
  4. For each Sun QFS shared file system that you are using, add an instance of the SUNW.qfs resource type to the resource group that you created in Step 2.

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