Contained Within
Find More DocumentationFeatured Support Resources | Download this book in PDF (925 KB)
Chapter 4 Administering Sun Cluster Support for Oracle Real Application ClustersThis chapter explains how to administer Sun Cluster Support for Oracle Real Application Clusters on your Sun Cluster nodes.
Overview of Administration Tasks for Sun Cluster Support for Oracle Real Application ClustersTable 4–1 summarizes the administration tasks for Sun Cluster Support for Oracle Real Application Clusters. Perform these tasks whenever they are required. Table 4–1 Administration Tasks for Sun Cluster Support for Oracle Real Application Clusters
Tuning Sun Cluster Support for Oracle Real Application ClustersTo tune the Sun Cluster Support for Oracle Real Application Clusters data service, you modify the extension properties of the resources for this data service. For details about these extension properties, see Appendix A, Sun Cluster Support for Oracle Real Application Clusters Extension Properties. Typically, you use the command line scrgadm -x parameter=value to set extension properties when you create the Sun Cluster Support for Oracle Real Application Clusters resources. You can also use the procedures in Chapter 2, Administering Data Service Resources, in Sun Cluster Data Services Planning and Administration Guide for Solaris OS to configure the resources later. Guidelines for Setting TimeoutsMany of the extension properties for Sun Cluster Support for Oracle Real Application Clusters specify timeouts for steps in reconfiguration processes. The optimum values for most of these timeouts are independent of your cluster configuration. Therefore, you should not need to change the timeouts from their default values. Timeouts that depend on your cluster configuration are described in the subsections that follow. If timeouts occur during reconfiguration processes, increase the values of these timeout properties to accommodate your cluster configuration. SPARC: VxVM Component Reconfiguration Step 4 TimeoutThe time that is required for step 4 of a reconfiguration of the VxVM component of Sun Cluster Support for Oracle Real Application Clusters is affected by the size and complexity of your VERITAS shared-disk group configuration. If your VERITAS shared-disk group configuration is large or complex and the reconfiguration of the VxVM component times out, increase the timeout for step 4 of a reconfiguration of the VxVM component. To increase the timeout for step 4 of a reconfiguration of the VxVM component, increase the value of the Cvm_step4_timeout extension property of the SUNW.rac_cvm resource. For more information, see SPARC: SUNW.rac_cvm Extension Properties. Example 4–1 Setting the VxVM Component Reconfiguration Step 4 Timeout
This example sets the timeout for step 4 of a reconfiguration of the VxVM component to 1200 seconds. This example assumes that the VxVM component is represented by an instance of the SUNW.rac_cvm resource type that is named rac_cvm. Reservation Step TimeoutThe time that is required for reservation commands to run is affected by the following factors:
If the number of shared physical disks in the cluster is large, or if your cluster is heavily loaded, the reconfiguration of Sun Cluster Support for Oracle Real Application Clusters might time out. If such a timeout occurs, increase the reservation step timeout. To increase the reservation step timeout, increase the Reservation_timeout extension property of the appropriate resource for your storage management scheme.
Details of the extension properties of these resource types are available in the following sections: Example 4–2 Setting the Reservation Step Timeout
This example sets the timeout for the reservation step of a reconfiguration of Sun Cluster Support for Oracle Real Application Clusters to 350 seconds. In this example, the cluster uses hardware RAID support. This example assumes that the hardware RAID component is represented by an instance of the SUNW.rac_hwraid resource type that is named rac_hwraid. SPARC: Guidelines for Setting the Communications Port Range for the Oracle UDLMAn application other than the Oracle UDLM on a cluster node might use a range of communications ports that conflicts with the range for the Oracle UDLM. If such a conflict occurs, modify the range of communications ports that the Oracle UDLM uses. The range of communications ports that the Oracle UDLM uses is determined by the values of the following extension properties of the SUNW.rac_udlm resource type:
For more information, see SPARC: SUNW.rac_udlm Extension Properties. Example 4–3 Setting the Communications Port Number for the Oracle UDLM
This example sets the communications port number that the Oracle UDLM uses to 7000. The following assumptions apply to this example:
|
# scrgadm -c -j resource -x property=value |
Specifies the name of the resource for which you are modifying an extension property. If this resource was created by using the scsetup utility, the name depends on the resource type, as shown in Names Assigned to RAC Framework Resources by scsetup.
Specifies the name of the extension property that you are changing.
The new value of the extension property.
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 the name of the RAC framework resource group that is to be moved to the MANAGED state and brought online. If this resource group was created by using the scsetup utility, the name of the resource group is rac-framework-rg.
You can remove Sun Cluster Support for Oracle Real Application Clusters from the following entities:
A cluster. For more information, see How to Remove Sun Cluster Support for Oracle Real Application Clusters From a Cluster.
Selected nodes in a cluster. For more information, see How to Remove Sun Cluster Support for Oracle Real Application Clusters From Selected Nodes.
The cluster node from which you perform this task must be booted in cluster mode.
On one node of the cluster, become superuser.
Remove all RAC server resource groups in the cluster.
These resource groups were created as explained in How to Register and Configure Oracle RAC Server Resources.
Remove each RAC server resource group as follows:
Disable each RAC server resource in the resource group.
For each resource, type the following command:
# scswitch -n -j resource |
Specifies the resource that you are disabling
Remove each RAC server resource in the resource group.
For each resource, type the following command:
# scrgadm -r -j resource |
Specifies the resource that you are removing
Remove the RAC server resource group.
# scrgadm -r -g rac-server-rg |
Specifies the resource group that you are removing
Remove the RAC framework resource group.
The following instructions explain how to perform this operation by using the scsetup utility. For information about how to perform this operation by using the scrgadm utility, see How to Remove the RAC Framework Resource Group by Using the scrgadm Utility.
Start the scsetup utility.
# scsetup |
The scsetup main menu is displayed.
Type the number that corresponds to the option for data services.
The Data Services menu is displayed.
Type the number that corresponds to the option for configuring Sun Cluster Support for Oracle Real Application Clusters.
The Sun Cluster Support for Oracle RAC menu is displayed.
Type the number that corresponds to the option for removing the RAC framework resource group.
The scsetup utility displays a list of the cluster nodes on which the RAC framework resource group exists. The scsetup utility also asks you to confirm that the RAC framework resource group should be removed from these nodes.
To confirm that the scsetup utility should remove the RAC framework resource group from the listed nodes, type y.
The scsetup utility removes the RAC framework resource group and the resources that this resource group contains from the listed nodes.
Boot each node in the cluster in noncluster mode.
From each node in the cluster, uninstall the Sun Cluster Support for Oracle Real Application Clusters software packages for the storage management scheme that you are using for the Oracle Real Application Clusters database.
If you are using the x86 platform, ignore references to the SUNWudlm package and the SUNWudlm package in the commands that follow.
If you are using Solaris Volume Manager for Sun Cluster, type the following command:
# pkgrm SUNWscucm SUNWudlm SUNWudlmr SUNWscmd |
If you are using VxVM with the cluster feature, type the following command:
# pkgrm SUNWscucm SUNWudlm SUNWudlmr SUNWcvmr SUNWcvm |
If you are using hardware RAID, Sun StorEdge QFS, Network Appliance NAS devices, or ASM without a volume manager, run the following command:
# pkgrm SUNWscucm SUNWudlm SUNWudlmr SUNWschwr |
To prevent the userland cluster membership monitor (UCMM) daemon ucmmd from being started when the cluster is rebooted, you must uninstall the Sun Cluster Support for Oracle Real Application Clusters software packages.
Become superuser.
Boot in noncluster mode the nodes from which you are removing Sun Cluster Support for Oracle Real Application Clusters.
Remove the nodes from the RAC framework resource group.
The following instructions explain how to perform this operation by using the scsetup utility. For information about how to perform this operation by using the scrgadm utility, see How to Remove Nodes From the RAC Framework Resource Group by Using the scrgadm Utility.
Start the scsetup utility.
# scsetup |
Type the number that corresponds to the option for data services.
The Data Services menu is displayed.
Type the number that corresponds to the option for configuring Sun Cluster Support for Oracle Real Application Clusters.
The Sun Cluster Support for Oracle RAC menu is displayed.
Type the number that corresponds to the option for removing a node from the RAC framework resource group.
The scsetup utility responds as follows:
The list of nodes in the RAC framework resource group is displayed.
The scsetup utility prompts you for the list of nodes that you are removing.
Type a comma-separated list of the nodes that you removing from the RAC framework resource group.
(Optional) From each node that you removed, uninstall the Sun Cluster Support for Oracle Real Application Clusters software packages for the storage management scheme that you are using for the Oracle Real Application Clusters database.
If you are using the x86 platform, ignore references to the SUNWudlm package and the SUNWudlm package in the commands that follow.
If you are using Solaris Volume Manager for Sun Cluster, type the following command:
# pkgrm SUNWscucm SUNWudlm SUNWudlmr SUNWscmd |
If you are using VxVM with the cluster feature, type the following command:
# pkgrm SUNWscucm SUNWudlm SUNWudlmr SUNWcvmr SUNWcvm |
If you are using hardware RAID, Sun StorEdge QFS, Network Appliance NAS devices, or ASM without a volume manager, type the following command:
# pkgrm SUNWscucm SUNWudlm SUNWudlmr SUNWschwr |