Sun Cluster Data Service for Oracle RAC Guide for Solaris OS

ProcedureHow to Add a Volume Manager Resource to the 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 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 or SUNW.rac_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.

        • For a SUNW.vucmm_framework based resource group, register the SUNW.vucmm_svm resource type.


          # clresourcetype register SUNW.vucmm_svm
          
        • For a SUNW.rac_framework based resource group, register the SUNW.rac_svm resource type.


          # clresourcetype register SUNW.rac_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 or SUNW.rac_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 or SUNW.rac_svm.

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

      1. Register the VxVM volume manager resource type.

        • For a SUNW.vucmm_framework based resource group, register the SUNW.vucmm_cvm resource type.


          # clresourcetype register SUNW.vucmm_cvm
          
        • For a SUNW.rac_framework based resource group, register the SUNW.rac_cvm resource type.


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

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


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

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

        cvm-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.

        cvm-rs

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

  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

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

SPARC: VxVM with the cluster feature 

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