Sun Cluster Data Service for Oracle RAC Guide for Solaris OS

ProcedureHow to Create a Resource for a Scalable Device Group in the Global Cluster

This procedure provides the long forms of the Sun Cluster maintenance commands. Most commands also have short forms. Except for the forms of the command names, the commands are identical. For a list of the commands and their short forms, see Appendix A, Sun Cluster Object-Oriented Commands, in Sun Cluster Data Services Planning and Administration Guide for Solaris OS.

Perform this procedure on only one node of the cluster.

  1. Become superuser 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 RAC framework resource group.


    Tip –

    If you require Sun Cluster 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=++rac-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 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=fm-vol-mgr-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 -emM scal-dg-rg