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 Scalable Device Group 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 scalable device group resource.

    Set a strong positive affinity by the resource group for the Support for Oracle RAC framework resource group.


    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 -p nodelist=nodelist \
    -p desired_primaries=num-in-list \
    -p maximum_primaries=num-in-list \
    -p rg_affinities=++vucmm-fmwk-rg \
    [-p rg_description="description"] \
    -p rg_mode=Scalable \
    scal-dg-rg
  3. Register the SUNW.ScalDeviceGroup resource type.
    # clresourcetype register SUNW.ScalDeviceGroup
  4. For each scalable device group that you are using for Oracle files, add an instance of the SUNW.ScalDeviceGroup resource type to the resource group that you created in Step 2.

    Set a strong dependency for the instance of SUNW.ScalDeviceGroup on the resource in the Support for Oracle RAC framework resource group that represents the volume manager for the device group. Limit the scope of this dependency to only the node where the SUNW.ScalDeviceGroup resource is running.

    # clresource create -t SUNW.ScalDeviceGroup -g scal-dg-rg \
    -p resource_dependencies=global:vucmm-svm-rs{local_node} \
    -p diskgroupname=disk-group \
    scal-dg-rs
  5. Bring online and in a managed state the resource group that you created in Step 2.
    # clresourcegroup online -M scal-dg-rg