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 Zone Cluster

Perform the steps in this procedure to create a resource for a file-system mount point in a zone cluster. For Oracle RAC configurations with the StorageTek QFS shared file system on Solaris Volume Manager for Sun Cluster and the StorageTek QFS shared file system on hardware RAID, you create a scalable resource group to contain all the scalable mount point resources in a zone cluster.


Note -  The node list is the list of zone-cluster nodes.

Perform this procedure from 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 resource for a scalable file-system mount point in zone cluster.

    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 -Z zcname zcnodelist \
    -p desired_primaries=num-in-list \
    -p maximum_primaries=num-in-list \
    [-p rg_affinities=++global:scal-dg-rg] \
    [-p rg_description="description"] \
    -p rg_mode=Scalable scal-mp-rg
  3. Register the SUNW.ScalMountPoint resource type.
    # clresourcetype register -Z zcname SUNW.ScalMountPoint
  4. For each StorageTek QFS 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.
    # clresource create -Z zcname -t SUNW.ScalMountPoint -d -g scal-mp-rg \
    -p resource_dependencies=global:qfs-mds-rs \
    [-y resource_dependencies_offline_restart=global:scal-dg-rs \]
    -p mountpointdir=mp-path \
    -p filesystemtype=s-qfs \
    -p targetfilesystem=fs-name qfs-mp-rs
  5. Bring online and in a managed state the resource group that you created in Step 2.
    # clresourcegroup online -Z zcname -M scal-mp-rg

Creating Resources for Interoperation With Oracle Grid Infrastructure by Using Oracle Solaris Cluster Maintenance Commands

The tasks in this section are an alternative for the resource-configuration steps in How to Enable Oracle Solaris Cluster and Oracle Grid Infrastructure to Interoperate. The following information is in this section:

Resources for interoperation with Oracle Grid Infrastructure enable you to administer Oracle RAC database instances by using Oracle Solaris Cluster interfaces. These resources also ensure that dependencies by Oracle Grid Infrastructure resources on Oracle Solaris Cluster resources are met. These resources enable the high-availability frameworks that are provided by Oracle Solaris Cluster software and Oracle Grid Infrastructure to interoperate.

    The following resources for interoperation are required:

  • An Oracle Solaris Cluster resource to act as a proxy for the Support for Oracle RAC database

  • An Oracle Solaris Cluster resource to represent the Oracle Grid Infrastructure framework

  • Oracle Grid Infrastructure resources to represent scalable device groups

  • Oracle Grid Infrastructure resources to represent scalable file-system mount points

You must assign to an Oracle Grid Infrastructure resource that represents an Oracle Solaris Cluster resource a name in the following form:

sun.node.sc-rs

node

Specifies the name of the node where the Oracle Grid Infrastructure resource is to run.

sc-rs

Specifies the name of the Oracle Solaris Cluster resource that the Oracle Grid Infrastructure resource represents.

For example, the name of the Oracle Grid Infrastructure resource for node pclus1 that represents the Oracle Solaris Cluster resource scal-dg-rs must be as follows:

sun.pclus1.scal-dg-rs

Figure 13  Proxy Resources for Configurations With a Volume Manager

image:Diagram showing proxy resources for configurations with a volume manager

Figure 14  Proxy Resources for Configurations With a Shared File System

image:Diagram showing proxy resources for configurations with a shared file system