Go to main content

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

Exit Print View

Updated: April 2016
 
 

How to Create a Resource for a File-System Mount Point in the Global Cluster

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 scalable resource group to contain the resource for a scalable file-system mount point.

    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.


    Tip  -  If you require Support for Oracle RAC to run on all cluster nodes, specify the –S option in the command that follows and omit the options –n, –p maximum_primaries, –p desired_primaries, and –p rg_mode.
    # clresourcegroup create -n nodelist \
    -p desired_primaries=num-in-list \
    -p maximum_primaries=num-in-list \
    [-p rg_affinities=++scal-dg-rg] \
    [-p rg_description="description"] \
    -p rg_mode=Scalable \
    scal-mp-rg
  3. Register the SUNW.ScalMountPoint resource type.
    # clresourcetype register SUNW.ScalMountPoint
  4. For each shared file system that requires a scalable file-system mount point resource, add an instance of the SUNW.ScalMountPoint resource type to the resource group that you created in Step 2.
    • For each StorageTek QFS shared file system, type the following command:

      Set a strong dependency by the instance of SUNW.ScalMountPoint on the resource for the StorageTek QFS metadata server for the file system. The resource for the StorageTek QFS metadata server set is created in How to Register and Configure Resources for the StorageTek QFS Metadata Server in the Global Cluster.

      If you are also using a volume manager, set an offline-restart dependency by the instance of SUNW.ScalMountPoint 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.ScalMountPoint -g scal-mp-rg \
      -p resource_dependencies=qfs-mds-rs \
      [-p resource_dependencies_offline_restart=scal-dg-rs] \
      -p mountpointdir=mp-path \
      -p filesystemtype=s-qfs \
      -p targetfilesystem=fs-name qfs-mp-rs
    • For each file system on a qualified NAS device, type the following command:
      # clresource create -t SUNW.ScalMountPoint -g scal-mp-rg \
      -p mountpointdir=mp-path \
      -p filesystemtype=nas \
      -p targetfilesystem=nas-device:fs-name \
      nas-mp-rs
  5. Bring online and in a managed state the resource group that you created in Step 2.
    # clresourcegroup online -eM scal-mp-rg