Oracle Real Application Clusters (RAC) is an application that can run on more than one machine concurrently. On SolarisTM 1O OS, Oracle RAC can run either in the global-cluster voting nodes of the global cluster or in a zone cluster. An Oracle RAC installation is entirely contained within one cluster, either a global cluster or a specific zone cluster. Keeping the Oracle RAC installation in one cluster ensures the support of multiple independent Oracle RAC installations concurrently, where each Oracle RAC installation can be of a different version or use different options, such as storage. Sun Cluster Support for Oracle RAC enables you to run Oracle RAC on Sun Cluster nodes and to manage Oracle RAC by using Sun Cluster commands.
In earlier versions of Oracle, this application is referred to as Oracle Parallel Server. In this book, references to Oracle RAC also apply to Oracle Parallel Server unless this book explicitly states otherwise.
Configuring this data service involves configuring resources for the following components of an Oracle RAC installation with Sun Cluster software:
The RAC framework. These resources enable Oracle RAC to run with Sun Cluster software. The resources also enable reconfiguration parameters to be set by using Sun Cluster commands. You must configure resources for the RAC framework. For more information, see Registering and Configuring the RAC Framework Resource Group.
Storage for Oracle files. These resources provide fault monitoring and automatic fault recovery for volume managers and file systems that store Oracle files. Configuring storage resources for Oracle files is optional. For more information, see Registering and Configuring Storage Resources for Oracle Files.
Oracle RAC database instances. The features that these resources provide depend on the version of Oracle that you are using:
Oracle 10g Release 2 and 11g. These resource types enable Oracle Cluster Ready Services (CRS) and Sun Cluster software to interoperate. These resource types do not provide fault monitoring and automatic fault recovery for Oracle 10g Release 2 or 11g RAC. The Oracle CRS software provides this functionality. This statement is not applicable to Oracle 10g Release 1.
Oracle 9i. These resource types provide fault monitoring and automatic fault recovery for Oracle RAC. The automatic fault recovery that these resource types provide supplements the automatic fault recovery that the Oracle RAC software provides.
Configuring resources, which enable Sun Cluster software to administer Oracle RAC database instances, is optional. For more information, see Configuring Resources for Oracle RAC Database Instances.
When you use Oracle RAC in a zone cluster, ensure that the zone cluster is not configured with the /opt directory as an inherited read-only directory. For an Oracle RAC configuration in a zone cluster, the /opt file system must be writable and unique to each zone. If the zone cluster that you intended to use for Oracle RAC is configured with an inherit-pkg-dir resource for the /opt directory, destroy and recreate the zone cluster or create a new zone cluster to meet this requirement.
The following sections contain additional preinstallation information:
SPARC: Processor Architecture Requirements for Oracle Components
Using Oracle Data Guard With Sun Cluster Support for Oracle RAC
Using the Oracle Real Application Clusters Guard Option With Sun Cluster 3.2 11/09 Software
Before you begin the installation, note the hardware and software requirements in the subsections that follow.
Sun Cluster Support for Oracle RAC requires a functioning cluster with the initial cluster framework already installed. See Sun Cluster Software Installation Guide for Solaris OS for details about initial installation of cluster software.
Verify that you have obtained and installed the appropriate licenses for your software. If you install your licenses incorrectly or incompletely, the nodes might fail to boot correctly.
For example, if you are using VxVM with the cluster feature, verify that you have installed a valid license for the Volume Manager cluster feature by running the vxlicrep command.
Check with a Sun Enterprise Services representative for the current supported topologies for Sun Cluster Support for Oracle RAC, cluster interconnect, storage management scheme, and hardware configurations.
Ensure that you have installed all the applicable software patches for the Solaris OS, Sun Cluster, Oracle, and volume manager software. If you need to install any Sun Cluster Support for Oracle RAC patches, you must apply these patches after you install the data service packages.
This section provides the following information about storage management for Oracle RAC:
Sun Cluster Support for Oracle RAC enables you to use the storage management schemes for Oracle files that are listed in the following table. The table summarizes the types of Oracle files that each storage management scheme can store. Ensure that you choose a combination of storage management schemes that can store all types of Oracle files.
The meaning of each symbol in the table is as follows:
Indicates that the storage management scheme can store the type of Oracle file.
Indicates that the storage management scheme cannot store the type of Oracle file.
Oracle File Type |
Storage Management Scheme |
|||||||
---|---|---|---|---|---|---|---|---|
- |
- |
- |
+ |
+ |
- |
+ |
+ |
|
- |
- |
- |
+ |
+ |
- |
+ |
+ |
|
- |
- |
- |
+ |
+ |
- |
+ |
+ |
|
- |
- |
- |
+ |
+ |
+ |
+ |
- |
|
- |
- |
- |
+ |
+ |
- |
+ |
+ |
|
- |
- |
- |
+ |
+ |
- |
+ |
+ |
|
+ |
+ |
+ |
+ |
+ |
+ |
- |
- |
|
+ |
+ |
+ |
+ |
+ |
+ |
- |
- |
|
+ |
+ |
+ |
+ |
+ |
+ |
- |
- |
|
- |
- |
- |
+ |
+ |
+ |
+ |
- |
|
- |
- |
- |
+ |
+ |
+ |
+ |
- |
|
- |
- |
- |
+ |
+ |
+ |
- |
- |
|
+ |
+ |
+ |
+ |
+ |
- |
+ |
- |
|
+ |
+ |
+ |
+ |
+ |
- |
+ |
- |
Some types of files are not included in all releases of Oracle RAC. For information about which types of file are included in the release that you are using, see your Oracle documentation.
Oracle Clusterware disks such as Oracle cluster registry (OCR) and voting disks are supported on the following storage management schemes:
Solaris Volume Manager for Sun Cluster
Solaris Volume Manager for Sun Cluster is supported only with Oracle RAC. Solaris Volume Manager for Sun Cluster with Oracle Parallel Server is not supported.
Veritas Volume Manager (VxVM)
VxVM is supported only on the SPARC platform.
Hardware redundant array of independent disks (RAID) support
Sun QFS shared file system with hardware RAID support or with Solaris Volume Manager for Sun Cluster
Qualified network-attached storage (NAS)
You can use the following storage management schemes for the Oracle RAC database:
Solaris Volume Manager for Sun Cluster
Solaris Volume Manager for Sun Cluster is supported only with Oracle RAC. Solaris Volume Manager for Sun Cluster with Oracle Parallel Server is not supported.
Veritas Volume Manager (VxVM) with the cluster feature
VxVM is supported only on the SPARC platform.
Hardware redundant array of independent disks (RAID) support
Sun QFS shared file system with hardware RAID support or with Solaris Volume Manager for Sun Cluster
Qualified network-attached storage (NAS) devices
Oracle Automatic Storage Management (ASM)
You can install the Oracle binary files and Oracle configuration files on one of the following locations.
The local disks of each cluster node. See Using Local Disks for Oracle Binary Files and Oracle Configuration Files for additional information.
A shared file system from the following list:
A Sun QFS shared file system
A cluster file system
A file system on a qualified NAS device
See Using a Shared File System for Oracle Binary Files and Oracle Configuration Files for additional information.
Placing the Oracle binary files and Oracle configuration files on the individual cluster nodes enables you to upgrade the Oracle application later without shutting down the data service.
Some versions of Oracle require you to shut down the data service during an upgrade. To determine whether you can upgrade the Oracle application without shutting down the data service, see your Oracle documentation.
The disadvantage is that you then have several copies of the Oracle application binary files and Oracle configuration files to maintain and administer.
To simplify the maintenance of your Oracle installation, you can install the Oracle binary files and Oracle configuration files on a shared file system. The following shared file systems are supported:
The Sun QFS shared file system
The cluster file system
If you use the cluster file system, decide which volume manager to use:
Solaris Volume Manager
VxVM without the cluster feature
VxVM is supported only on the SPARC platform.
A file system on a qualified NAS device
If you put the Oracle binary files and Oracle configuration files on a shared file system, you have only one copy to maintain and manage. However, you must shut down the data service in the entire cluster to upgrade the Oracle application. If a short period of downtime for upgrades is acceptable, place a single copy of the Oracle binary files and Oracle configuration files on a shared file system.
You can use the following storage management schemes for running Oracle RAC in a zone cluster, depending on the version of Oracle RAC you are running.
If you are using Oracle RAC 10g or Oracle RAC 11g, the following storage management schemes are supported:
Sun QFS shared file system with Solaris Volume Manager
Sun QFS shared file system with hardware RAID support
Solaris Volume Manager for Sun Cluster
If you are using Oracle RAC 9i, the following storage management schemes are supported:
Sun QFS shared file system with Solaris Volume Manager
Sun QFS shared file system with hardware RAID support
Solaris Volume Manager for Sun Cluster
Before you decide which architecture to use for the Oracle UDLM (SPARC) and the Oracle relational database management system (RDBMS), note the following points.
The architecture of both Oracle components must match. For example, if you have 64-bit architecture for your Oracle UDLM, you must have 64-bit architecture for your RDBMS.
If you have 32-bit architecture for your Oracle components, you can boot the node on which the components reside in either 32-bit mode or 64-bit mode. However, if you have 64-bit architecture for your Oracle components, you must boot the node on which the components reside in 64-bit mode.
You must use the same architecture when you boot all the nodes. For example, if you boot one node to use 32-bit architecture, you must boot all the nodes to use 32-bit architecture.
You can use Sun Cluster Support for Oracle RAC with Oracle Data Guard. To configure Sun Cluster Support for Oracle RAC with Oracle Data Guard, perform the tasks in this guide. The tasks for clusters that are to be used in an Oracle Data Guard configuration are identical to the tasks for a standalone cluster.
For information about the installation, administration, and operation of Oracle Data Guard, see your Oracle documentation.
For information about the installation, administration, and operation of the Oracle Real Application Clusters Guard option, see your Oracle documentation. If you plan to use this product option with Sun Cluster 3.2 11/09 software, note the points in the subsections that follow before you install Sun Cluster 3.2 11/09 software.
This section describes the following restrictions when you use Oracle Real Application Clusters Guard in a Sun Cluster configuration:
If you use the Oracle Real Application Clusters Guard option with Sun Cluster 3.2 11/09 software, the following restrictions apply to hostnames that you use in your cluster:
Hostnames cannot contain special characters.
You cannot change the hostnames after you install Sun Cluster 3.2 11/09 software.
For more information about these restrictions and any other requirements, see the Oracle documentation.
If you use the Oracle Real Application Clusters Guard option with Sun Cluster 3.2 11/09 software, do not use Sun Cluster commands to perform the following operations:
Manipulating the state of resources that Oracle Real Application Clusters Guard installs. Using Sun Cluster commands for this purpose might cause failures.
Querying the state of the resources that Oracle Real Application Clusters Guard installs. This state might not reflect the actual state. To check the state of the Oracle Real Application Clusters Guard, use the commands that Oracle supplies.