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

Exit Print View

Updated: July 2014, E39656–01
 
 

How to Register and Configure the Framework Resource Groups in the Global Cluster by Using Oracle Solaris Cluster Maintenance Commands

Perform this procedure on only one node of 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 Support for Oracle RAC resource group.

    Note -  If you are performing the steps in this procedure to register and configure the Support for Oracle RAC resource framework in a zone cluster and Support for Oracle RAC support is not also required in the global cluster, you do not need to also create a Support for Oracle RAC framework resource group in the global cluster. In that case, skip this step and proceed to Step 6.

    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 maximum_primaries=num-in-list \
    -p desired_primaries=num-in-list \
    [-p rg_description="description"] \
    -p rg_mode=Scalable \
    rac-fmwk-rg
    –n nodelist=nodelist

    Specifies a comma-separated list of cluster nodes on which Support for Oracle RAC is to be enabled. The Support for Oracle RAC software packages must be installed on each node in this list.

    –p maximum_primaries=num-in-list

    Specifies the number of nodes on which Support for Oracle RAC is to be enabled. This number must equal the number of nodes in nodelist.

    –p desired_primaries=num-in-list

    Specifies the number of nodes on which Support for Oracle RAC is to be enabled. This number must equal the number of nodes in nodelist.

    –p rg_description="description"

    Specifies an optional brief description of the resource group. This description is displayed when you use Oracle Solaris Cluster maintenance commands to obtain information about the resource group.

    –p rg_mode=Scalable

    Specifies that the resource group is scalable.

    rac-fmwk-rg

    Specifies the name that you are assigning to the Support for Oracle RAC resource group.

  3. Register the SUNW.rac_framework resource type.
    # clresourcetype register SUNW.rac_framework
  4. Add an instance of the SUNW.rac_framework resource type to the resource group that you created in Step 2.
    # clresource create -g rac-fmwk-rg -t SUNW.rac_framework rac-fmwk-rs
    –g rac-fmwk-rg

    Specifies the resource group to which you are adding the resource. This resource group must be the resource group that you created in Step 2.

    rac-fmwk-rs

    Specifies the name that you are assigning to the SUNW.rac_framework resource.

  5. Bring online and in a managed state the Support for Oracle RAC framework resource group and its resources.
    # clresourcegroup online -eM rac-fmwk-rg]
    rac-fmwk-rg

    Specifies that the Support for Oracle RAC resource group that you created in Step 2 is to be moved to the MANAGED state and brought online.

    If you intend to create a multiple-owner volume-manager framework resource group, proceed to Step 6. Otherwise, creation of the Support for Oracle RAC framework resource group is completed.

  6. Create a scalable multiple-owner volume-manager framework resource group, if one does not already exist.
    # clresourcegroup create -n nodelist -S vucmm-fmwk-rg
    –n nodelist=nodelist

    Specifies the same node list that you configured for the scalable Support for Oracle RAC resource group.

    vucmm-fmwk-rg

    Specifies the name that you are assigning to the multiple-owner volume-manager framework resource group.

  7. Register the SUNW.vucmm_framework resource type.
    # clresourcetype register SUNW.vucmm_framework
  8. Add an instance of the SUNW.vucmm_framework resource type to the resource group that you created in Step 6.
    # clresource create -g vucmm-fmwk-rg -t SUNW.vucmm_framework vucmm-fmwk-rs
    –g vucmm-fmwk-rg

    Specifies the resource group to which you are adding the resource. This resource group must be the resource group that you created in Step 6.

    vucmm-fmwk-rs

    Specifies the name that you are assigning to the SUNW.vucmm_framework resource.

  9. Register and add an instance of the resource type that represents the Solaris Volume Manager for Sun Cluster volume manager that you are using for Oracle Database files.
    1. Register the resource type.
      # clresourcetype register SUNW.vucmm_svm
    2. Add an instance of the resource type to the resource group to contain the volume manager resource.

      Ensure that this instance depends on the framework resource that you created.

      # clresource create -g vucmm-fmwk-rg \
      -t SUNW.vucmm_svm \
      -p resource_dependencies=vucmm-fmwk-rs \
      vucmm-svm-rs
      –g vucmm-fmwk-rg

      Specifies the resource group that you created in Step 6.

      –p resource_dependencies=vucmm-fmwk-rs

      Specifies that this instance depends on the framework resource that you created in Step 8.

      vucmm-svm-rs

      Specifies the name that you are assigning to the SUNW.vucmm_svm resource.

  10. Bring online and in a managed state the multiple-owner volume-manager framework resource group and its resources.
    # clresourcegroup online -eM  vucmm-fmwk-rg
    vucmm-fmwk-rg

    Specifies that the multiple-owner volume-manager framework resource group that you created in Step 6 is to be moved to the MANAGED state and brought online.