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

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

Setting Support for Oracle RAC Extension Properties

Registering and Configuring the Framework Resource Groups by Using Oracle Solaris Cluster Maintenance Commands

Overview of the Framework Resource Groups

Oracle RAC Framework Resource Group

Multiple-Owner Volume-Manager Framework Resource Group

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

Registering and Configuring Oracle ASM Resource Groups (CLI)

How to Register and Configure Oracle ASM Resource Groups in the Global Cluster (CLI)

How to Register and Configure Oracle ASM Resource Groups in a Zone Cluster (CLI)

Creating Storage Management Resources by Using Oracle Solaris Cluster Maintenance Commands

Resources for Scalable Device Groups and Scalable File-System Mount Points

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

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

How to Create a Resource for a File-System Mount Point in the Global Cluster

Creating Resources for Interoperation With Oracle Grid Infrastructure by Using Oracle Solaris Cluster Maintenance Commands

How to Create an Oracle Grid Infrastructure Resource for Interoperation With Oracle Solaris Cluster

How to Create Oracle Solaris Cluster Resources in the Global Cluster for Interoperation With Oracle Grid Infrastructure

How to Create Oracle Solaris Cluster Resources in a Zone Cluster for Interoperation With Oracle Grid Infrastructure

Index

How to Create an Oracle Grid Infrastructure Resource for Interoperation With Oracle Solaris Cluster

For Oracle RAC without Oracle ASM, perform this procedure to manually create an Oracle Grid Infrastructure resource that proxies the Oracle Solaris Cluster SUNW.ScalDeviceGroup or SUNW.ScalMountPoint resource.

This Oracle Grid Infrastructure resource ensures that the corresponding Oracle database is not started until the Oracle Grid Infrastructure resource is online. The resource comes online only if the corresponding SUNW.ScalDeviceGroup or SUNW.ScalMountPoint resource is online. And the SUNW.ScalDeviceGroup or SUNW.ScalMountPoint resource only comes online if the actual volume-manager disk set or disk group or the mount point is online.

  1. Become superuser on one node of the cluster.
  2. Create the Oracle Grid Infrastructure sun.storage_proxy.type resource type.
    # Grid_home/bin/crsctl \ add type sun.storage_proxy.type \ -basetype cluster_resource \ -attr \ "ATTRIBUTE=ACTION_SCRIPT,TYPE=string", \ "ATTRIBUTE=HOSTING_MEMBERS,TYPE=string", \ "ATTRIBUTE=CARDINALITY,TYPE=string", \ "ATTRIBUTE=PLACEMENT,TYPE=string", \ "ATTRIBUTE=SCRIPT_TIMEOUT,TYPE=int", \ "ATTRIBUTE=RESTART_ATTEMPTS,TYPE=int", \ "ATTRIBUTE=ACL,TYPE=string", \ "ATTRIBUTE=VERSION,TYPE=string"
  3. Create the Oracle Solaris Cluster sun.resource resource of type sun.storage_proxy.type.

    The Oracle Grid Infrastructure resource name uses the form sun.sc-resource, where sc-resource is the name of the SUNW.ScalDeviceGroup or SUNW.ScalMountPoint resource.

    # Grid_home/bin/crsctl add resource sun.sc-resource \ -type sun.storage_proxy.type \ -attr "ACTION_SCRIPT='/opt/SUNWscor/dsconfig/bin/scproxy_crs_action' \ CARDINALITY='number-nodes' \ SCRIPT_TIMEOUT='20' \ PLACEMENT='restricted' \ RESTART_ATTEMPTS='60' \ HOSTING_MEMBERS='nodelist' \ VERSION='1' "
    CARDINALITY

    The number of nodes in the cluster membership

    HOSTING_MEMBERS

    The space-separated list of nodes in the cluster membership

  4. Determine the DBA group of the Oracle Grid Infrastructure installation.
    # Grid_home/bin/osdbagrp
    griddba-group
  5. Set the primary group of the Oracle Grid Infrastructure storage proxy resource to the group determined in Step 4.
    # Grid_home/bin/crsctl setperm resource sun.sc-resource -g "griddba-group"
  6. Determine the DBA group of the Oracle Database Software installation.
    # oracle_home/bin/osdbagrp
    dba-group
  7. Set the group permissions of the Oracle Grid Infrastructure storage proxy resource to the group determined in Step 6.

    Omit this step if the Oracle Grid Infrastructure installation DBA group griddba-group, determined in Step 4, and the Oracle Database Software installation DBA group dba-group, determined in Step 6, are the same DBA group.

    # Grid_home/bin/crsctl setperm resource sun.sc-resource -u "group:dba-group:r-x"
  8. Bring online the Oracle Grid Infrastructure storage proxy resource.
    # Grid_home/bin/crsctl start resource sun.sc-resource

See Also

If you need to remove an Oracle Grid Infrastructure resource, perform procedures in Removing an Oracle Grid Infrastructure Resource.