JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Solaris Cluster Data Service for Oracle Real Application Clusters Guide     Oracle Solaris Cluster 4.0
search filter icon
search icon

Document Information

Preface

1.  Installing Support for Oracle RAC

2.  Configuring Storage for Oracle Files

3.  Registering and Configuring the Resource Groups

4.  Enabling Oracle RAC to Run in a Cluster

5.  Administering Support for Oracle RAC

6.  Troubleshooting Support for Oracle RAC

7.  Modifying an Existing Configuration of Support for Oracle RAC

Overview of Tasks for Modifying an Existing Configuration of Support for Oracle RAC

Modifying Online the Resource for a Scalable Device Group

How to Modify Online the Resource for a Scalable Device Group

Extending an Existing Configuration of Support for Oracle RAC

How to Add Support for Oracle RAC to Selected Nodes

How to Add a Volume Manager Resource to the SUNW.vucmm_framework Resource Group

Removing an Oracle Grid Infrastructure Resource

How to Remove a Dependency

How to Delete the sun.resource Resource

Removing Support for Oracle RAC

How to Remove Support for Oracle RAC From a Cluster

How to Remove Support for Oracle RAC From Selected Nodes

A.  Sample Configurations of This Data Service

B.  Preset Actions for DBMS Errors and Logged Alerts

C.  Support for Oracle RAC Extension Properties

D.  Command-Line Alternatives

Index

Extending an Existing Configuration of Support for Oracle RAC

Extend an existing configuration of Support for Oracle RAC in any of the following situations:

How to Add Support for Oracle RAC to Selected Nodes

Perform this procedure if you are adding nodes to a cluster and you require Support for Oracle RAC to run on the nodes. Perform this procedure from only one node.

This task involves adding the selected nodes from the following resource groups in the following order:

Before You Begin

  1. Become superuser on any cluster node.
  2. Add the nodes to any resource groups that contain scalable file-system mount-point resources.

    If no resource groups that contain scalable file-system mount-point resources are configured, omit this step.

    For each resource group to which you are adding nodes, run the following command:

    # clresourcegroup add-node -S -n nodelist scal-mp-rg
    -n nodelist

    Specifies a comma-separated list of cluster nodes to which you are adding Support for Oracle RAC.

    scal-mp-rg

    Specifies the name of the resource group to which you are adding nodes.

  3. Add the nodes to the multiple-owner volume-manager framework resource group, if used.
    # clresourcegroup add-node -S -n nodelist vucmm-fmwk-rg
    -n nodelist

    Specifies a comma-separated list of cluster nodes to which you are adding the resource group.

    vucmm-fmwk-rg

    Specifies the name of the resource group to which you are adding nodes.

  4. Add the nodes to the Oracle RAC framework resource group.
    # clresourcegroup add-node -S -n nodelist rac-fmwk-rg
    -n nodelist

    Specifies a comma-separated list of cluster nodes to which you are adding Support for Oracle RAC.

    rac-fmwk-rg

    Specifies the name of the resource group to which you are adding nodes.

  5. Add the nodes to any scalable device groups that you are using for Oracle files.

    If you are not using any scalable device groups for Oracle files, omit this step.

    How to perform this step depends on the type of the scalable device group.

    • For each Solaris Volume Manager for Sun Cluster multi-owner disk set, type the following command:
      # metaset -s set-name -M -a -h nodelist
      -s set-name

      Specifies the Solaris Volume Manager for Sun Cluster multi-owner disk set to which you are adding nodes.

      -h nodelist

      Specifies a space-separated list of cluster nodes that you are adding to the multi-owner disk set.

  6. Add the nodes to any resource groups that contain scalable device group resources.

    If no resource groups that contain scalable device group resources are configured, omit this step.

    For each resource group to which you are adding nodes, run the following command:

    # clresourcegroup add-node -S -n nodelist scal-dg-rg
    -n nodelist

    Specifies a comma-separated list of cluster nodes to which you are adding Support for Oracle RAC.

    scal-dg-rg

    Specifies the name of the resource group to which you are adding nodes.

  7. Mount each shared file system that is to be accessed from the nodes that you are adding.

    If no shared file systems are to be accessed from the nodes that you are adding, omit this step.

    For each file system that you are mounting, type the following command:

    # mount mount-point
    mount-point

    Specifies the mount point of the file system that you are mounting.

  8. Bring online all resource groups to which you added nodes in Step 6.

    These resource groups contain scalable device group resources.

    If no resource groups that contain scalable device group resources are configured, omit this step.

    For each resource group that you are bringing online, type the following command:

    # clresourcegroup online scal-dg-rg
    scal-dg-rg

    Specifies the name of the resource group that you are bringing online.

  9. Start Oracle Grid Infrastructure.
    # /etc/init.d/init.crs start
    Startup will be queued to init within 30 seconds.
  10. Add the nodes to the resource group for each Oracle RAC database that is to run on the nodes.

    For each resource group to which you are adding nodes, run the following command:

    # clresourcegroup add-node -S -n nodelist rac-db-rg
    -n nodelist

    Specifies a comma-separated list of cluster nodes to which you are adding Support for Oracle RAC.

    rac-db-rg

    Specifies the name of the resource group to which you are adding nodes.

  11. For each node that you are adding, create the Oracle Grid Infrastructure resources that are required to represent Oracle Solaris Cluster resources.

    Create an Oracle Grid Infrastructure resource for each Oracle Solaris Cluster resource for scalable device groups and scalable file-system mount points on which Oracle components depend. For more information, see How to Create an Oracle Grid Infrastructure Resource for Interoperation With Oracle Solaris Cluster.

  12. Modify each resource for Oracle RAC databases to set a value of each per-node property for each node that you are adding.

    For each resource that you are modifying, perform these steps:

    1. Disable the resource.
      # clresource disable rac-db-rs
      rac-db-rs

      Specifies the name of the Oracle RAC database resource that you are disabling.

    2. Set a value of each per-node property for each node that you are adding.

      The per-node properties of each resource type for Oracle RAC databases are shown in the following table.


      Resource Type
      Properties
      SUNW.scalable_rac_server_proxy
      oracle_sid

      For information about extension properties of resource types for Oracle RAC databases, see the following sections:

      # clresource set \
      -p property{node}=value[…] \
      [-p property{node}=value[…]][…] \
      rac-db-rs
      property

      Specifies the name of a per-node property that you are setting.

      node

      Specifies the node for which you are setting a value for property.

      value

      Specifies the value to which you are setting property for node.

      rac-db-rs

      Specifies the name of the Oracle RAC database resource whose per-node properties you are setting.

    3. Enable the resource.
      # clresource enable rac-db-rs
      rac-db-rs

      Specifies the name of the Oracle RAC database resource that you are enabling.

  13. Bring online each resource group for Oracle RAC databases.

    For each resource group that you are bringing online, run the following command:

    # clresourcegroup online rac-db-rg
    rac-db-rg

    Specifies the name of the resource group that you are bringing online.

How to Add a Volume Manager Resource to the SUNW.vucmm_framework Resource Group

Perform this task if you are adding a volume manager to an existing configuration of Support for Oracle RAC. The SUNW.vucmm_framework resource group must contain a resource that represents the volume manager that you are adding. You can add a volume manager resource only if the framework resource is disabled and if the framework daemon is stopped on all cluster nodes.


Caution

Caution - This task requires downtime because you must disable the framework resource and reboot the nodes where Oracle RAC is running.


Before You Begin

Ensure that the volume manager for which you are adding a resource is installed and configured on all nodes where Oracle RAC is to run.

  1. Become superuser on any cluster node.
  2. Disable the framework resource in the framework resource group and any other resources that depend on this resource.
    # clresource disable -r fmwk-rs
    fmwk-rs

    Specifies the name of the resource of type SUNW.vucmm_framework that you are disabling.

  3. Reboot all the nodes that are in the node list of the framework resource group.
  4. Register and add an instance of the resource type that represents the volume manager that you are adding.
    • If you are adding Solaris Volume Manager for Sun Cluster, register and add the instance as follows:
      1. Register the Solaris Volume Manager for Sun Cluster resource type.
        # clresourcetype register SUNW.vucmm_svm
      2. Add an instance of the Solaris Volume Manager for Sun Cluster resource type to the framework resource group.

        Ensure that this instance depends on the resource that you disabled in Step 2.

        # clresource create -g fmwk-rg \
          -t svm-rt \
          -p resource_dependencies=fmwk-rs svm-rs
        -g fmwk-rg

        Specifies the name of the framework resource group. This resource group contains the resource of type SUNW.vucmm_framework that you disabled in Step 2.

        svm-rt

        Specifies the name of the Solaris Volume Manager for Sun Cluster resource type.

        -p resource_dependencies=fmwk-rs

        Specifies that this instance depends on the resource that you disabled in Step 2.

        svm-rs

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

  5. Bring online and in a managed state the framework resource group and its resources.
    # clresourcegroup online -emM fmwk-rg
    fmwk-rg

    Specifies that the framework resource group is to be moved to the MANAGED state and brought online. This resource group contains the resource that you disabled in Step 2.

Next Steps

Go to How to Create a Multi-Owner Disk Set in Solaris Volume Manager for Sun Cluster for the Oracle RAC Database.