Sun Cluster Data Service for Oracle RAC Guide for Solaris OS

ProcedureHow to Add a Volume Manager Resource to the RAC Framework Resource Group

Perform this task if you are adding a volume manager to an existing configuration of Sun Cluster Support for Oracle RAC. The RAC 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 RAC framework resource is disabled and if the UCMM daemon is stopped on all cluster nodes.


Caution – Caution –

This task requires downtime because you must disable the RAC framework resource and boot 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 resource of type SUNW.rac_framework in the RAC framework resource group and any other resources that depend on this resource.


    # clresource disable -r rac-fmwk-rs
    
    rac-fmwk-rs

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

  3. Reboot all the nodes that are in the node list of the RAC 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 SUNW.rac_svm resource type.


        # clresourcetype register SUNW.rac_svm
        
      2. Add an instance of the SUNW.rac_svm resource type to the RAC framework resource group.

        Ensure that this instance depends on the resource of type SUNW.rac_framework that you disabled in Step 2.


        # clresource create -g rac-fmwk-rg \
          -t SUNW.rac_svm \
          -p resource_dependencies=rac-fmwk-rs rac-svm-rs
        
        -g rac-fmwk-rg

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

        -p resource_dependencies=rac-fmwk-rs

        Specifies that this instance depends on the resource of type SUNW.rac_framework that you disabled in Step 2.

        rac-svm-rs

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

    • If you are adding VxVM with the cluster feature, register and add the instance as follows.

      1. Register the SUNW.rac_cvm resource type.


        # clresourcetype register SUNW.rac_cvm
        
      2. Add an instance of the SUNW.rac_cvm resource type to the resource group that you disabled in Step 2.

        Ensure that this instance depends on the resource of type SUNW.rac_framework that you disabled in Step 2.


        # clresource create -g rac-fmwk-rg \
          -t SUNW.rac_cvm \
          -p resource_dependencies=rac-fmwk-rs rac-cvm-rs
        
        -g rac-fmwk-rg

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

        -p resource_dependencies=rac-fmwk-rs

        Specifies that this instance depends on the resource of type SUNW.rac_framework that you disabled in Step 2.

        rac-cvm-rs

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

  5. Bring online and in a managed state the RAC framework resource group and its resources.


    # clresourcegroup online -emM rac-fmwk-rg
    
    rac-fmwk-rg

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

Next Steps

The next step depends on the volume manager that you are adding, as shown in the following table.

Volume Manager 

Next Step 

Solaris Volume Manager for Sun Cluster 

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

VxVM with the cluster feature 

How to Create a VxVM Shared-Disk Group for the Oracle RAC Database