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.
If the cluster contains a SUNW.vucmm_framework based resource group, you add an instance of the SUNW.vucmm_svm or SUNW.vucmm_cvm resource type to that resource group.
Do not add an instance of the SUNW.rac_svm or SUNW.rac_cvm resource type to the SUNW.rac_framework based resource group when a SUNW.vucmm_framework based resource group exists in the cluster.
If the cluster does not contain a SUNW.vucmm_framework based resource group, you add an instance of the SUNW.rac_svm or SUNW.rac_cvm resource type to the SUNW.rac_framework based resource group.
This task requires downtime because you must disable the framework resource and reboot the nodes where Oracle RAC is running.
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.
Become superuser on any cluster node.
Disable the framework resource in the framework resource group and any other resources that depend on this resource.
# clresource disable -r fmwk-rs |
Specifies the name of the resource of type SUNW.vucmm_framework or SUNW.rac_framework that you are disabling.
Reboot all the nodes that are in the node list of the framework resource group.
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:
Register the Solaris Volume Manager for Sun Cluster resource type.
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 |
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.
Specifies the name of the Solaris Volume Manager for Sun Cluster resource type.
Specifies that this instance depends on the resource that you disabled in Step 2.
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.
Register the VxVM volume manager resource type.
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 |
Specifies the name of the framework resource group. This resource group contains the resource that you disabled in Step 2.
Specifies the name of the Solaris Volume Manager for Sun Cluster resource type.
Specifies that this instance depends on the resource that you disabled in Step 2.
Specifies the name that you are assigning to the resource of type SUNW.vucmm_cvm or SUNW.rac_cvm.
Bring online and in a managed state the framework resource group and its resources.
# clresourcegroup online -emM 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.
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 | |
SPARC: VxVM with the cluster feature |
How to Create a VxVM Shared-Disk Group for the Oracle RAC Database |