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

Exit Print View

Updated: July 2014, E39656–01

How to Create a Resource for a Scalable Device Group in a Zone Cluster

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 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 -Z zcname -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 \
  3. Register the SUNW.ScalDeviceGroup resource type.
    # clresourcetype register -Z zcname SUNW.ScalDeviceGroup
  4. For each scalable device group that you are using for Oracle Database 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 -Z zcname -t SUNW.ScalDeviceGroup -g scal-dg-rg \
    -p resource_dependencies=global:vucmm-svm-rs{local_node} \
    -p diskgroupname=disk-group \
    -p logicaldevicelist="dN[,dX…]"
    –p logicaldevicelist="dN[,dX…]"

    Specifies a comma-separated list of Solaris Volume Manager for Sun Cluster devices. Set this property if the devices that you want to use are a subset of all the devices in the metaset. When this property is set, storage validation is skipped for devices in the metaset that are not specified to this property. Otherwise, storage validation might fail.

  5. Bring online and in a managed state the resource group that you created in Step 2.
    # clresourcegroup online -Z zcname -M scal-dg-rg