On one node of the cluster, become superuser.
Create a scalable resource group.
# scrgadm -a -g resource-group \ -y nodelist=nodelist \ -y maximum_primaries=num-in-list \ -y desired_primaries=num-in-list \ -y RG_mode=Scalable |
Specifies the name that you are assigning to the resource group.
Specifies a comma-separated list of cluster nodes on which Sun Cluster Support for Oracle Real Application Clusters is to be enabled. The Sun Cluster Support for Oracle Real Application Clusters software packages must be installed on each node in this list.
Specifies the number of nodes on which Sun Cluster Support for Oracle Real Application Clusters is to be enabled. This number must equal the number of nodes in nodelist.
Specifies the number of nodes on which Sun Cluster Support for Oracle Real Application Clusters is to be enabled. This number must equal the number of nodes in nodelist.
Specifies that the resource group is scalable.
Register the SUNW.rac_framework resource type.
# scrgadm -a -t SUNW.rac_framework |
Add an instance of the SUNW.rac_framework resource type to the resource group that you created in Step 2.
# scrgadm -a -j fmwk-resource \ -g resource-group \ -t SUNW.rac_framework |
Specifies the name that you are assigning to the SUNW.rac_framework resource.
Specifies the resource group to which you are adding the resource. This resource group must be the resource group that you created in Step 2.
Register the SUNW.rac_udlm resource type.
# scrgadm -a -t SUNW.rac_udlm |
Add an instance of the SUNW.rac_udlm resource type to the resource group that you created in Step 2.
Ensure that this instance depends on the SUNW.rac_framework resource that you created in Step 4.
# scrgadm -a -j udlm-resource \ -g resource-group \ -t SUNW.rac_udlm \ -y resource_dependencies=fmwk-resource |
Specifies the name that you are assigning to the SUNW.rac_udlm resource.
Specifies the resource group to which you are adding the resource. This resource group must be the resource group that you created in Step 2.
Specifies that this instance depends on the SUNW.rac_framework resource that you created in Step 4.
Register and add instances of the resource types that are required for the storage management scheme that you are using for the Oracle Real Application Clusters database.
If you are using Solaris Volume Manager for Sun Cluster, register and add an instance of the SUNW.rac_svm resource type to the resource group that you created in Step 2.
Ensure that this instance depends on the rac_framework resource that you created in Step 4.
# scrgadm -a -t SUNW.rac_svm |
# scrgadm -a -j svm-resource \ -g resource-group \ -t SUNW.rac_svm \ -y resource_dependencies=fmwk-resource |
Specifies the name that you are assigning to the SUNW.rac_svm resource.
Specifies the resource group to which you are adding the resource. This resource group must be the resource group that you created in Step 2.
Specifies that this instance depends on the SUNW.rac_framework resource that you created in Step 4.
If you are using VxVM with the cluster feature, register and add an instance of the SUNW.rac_cvm resource type to the resource group that you created in Step 2.
Ensure that this instance depends on the rac_framework resource that you created in Step 4.
# scrgadm -a -t SUNW.rac_cvm |
# scrgadm -a -j cvm-resource \ -g resource-group \ -t SUNW.rac_cvm \ -y resource_dependencies=fmwk-resource |
Specifies the name that you are assigning to the SUNW.rac_cvm resource.
Specifies the resource group to which you are adding the resource. This resource group must be the resource group that you created in Step 2.
Specifies that this instance depends on the SUNW.rac_framework resource that you created in Step 4.
If you are using hardware RAID support, register and add an instance of the SUNW.rac_hwraid resource type to the resource group that you created in Step 2.
Ensure that this instance depends on the rac_framework resource that you created in Step 4.
# scrgadm -a -t SUNW.rac_hwraid |
# scrgadm -a -j raid-resource \ -g resource-group \ -t SUNW.rac_hwraid \ -y resource_dependencies=fmwk-resource |
Specifies the name that you are assigning to the SUNW.rac_hwraid resource.
Specifies the resource group to which you are adding the resource. This resource group must be the resource group that you created in Step 2.
Specifies that this instance depends on the SUNW.rac_framework resource that you created in Step 4.
If you are using Sun StorEdge QFS shared file system with hardware RAID support, you must register and add an instance of the resource type for hardware RAID support.
No resource instance that represents Sun StorEdge QFS shared file system is required in the RAC framework resource group. Although a resource that represents each Sun StorEdge QFS shared file system is required, these resources are not contained in the RAC framework resource group. For information about these resources, see Configuration Planning Questions.
Bring the RAC framework resource group and its resources online.
# scswitch -Z -g resource-group |
Enables the resource and monitor, moves the resource group to the MANAGED state, and brings the resource group online
Specifies that the resource group that you created in Step 2 is to be moved to the MANAGED state and brought online