Storage Foundation for Oracle® RAC 7.4.1 Configuration and Upgrade Guide - Solaris
- Section I. Configuring SF Oracle RAC
- Preparing to configure SF Oracle RAC
- Configuring SF Oracle RAC using the script-based installer
- Configuring the SF Oracle RAC components using the script-based installer
- Configuring the SF Oracle RAC cluster
- Configuring the cluster name
- Configuring private heartbeat links
- Configuring the virtual IP of the cluster
- Configuring SF Oracle RAC in secure mode
- Configuring a secure cluster node by node
- Adding VCS users
- Configuring SMTP email notification
- Configuring SNMP trap notification
- Configuring global clusters
- Creation of SF Oracle RAC configuration files
- Stopping and starting SF Oracle RAC processes
- Configuring the SF Oracle RAC cluster
- Setting up disk-based I/O fencing using installer
- Setting up server-based I/O fencing using installer
- Configuring SFDB
- Configuring the SF Oracle RAC components using the script-based installer
- Performing an automated SF Oracle RAC configuration
- Configuring SF Oracle RAC using response files
- Response file variables to configure SF Oracle RAC
- Sample response file for configuring SF Oracle RAC
- Configuring I/O fencing using response files
- Response file variables to configure disk-based I/O fencing
- Sample response file for configuring disk-based I/O fencing
- Configuring CP server using response files
- Response file variables to configure CP server
- Sample response file for configuring the CP server on SFHA cluster
- Response file variables to configure server-based I/O fencing
- Sample response file for configuring server-based I/O fencing
- Section II. Post-installation and configuration tasks
- Verifying the installation
- Performing additional post-installation and configuration tasks
- Section III. Upgrade of SF Oracle RAC
- Planning to upgrade SF Oracle RAC
- Performing a full upgrade of SF Oracle RAC using the product installer
- Performing an automated full upgrade of SF Oracle RAC using response files
- Performing a phased upgrade of SF Oracle RAC
- About phased upgrade
- Performing a phased upgrade of SF Oracle RAC from version 6.2.1 and later release
- Step 1: Performing pre-upgrade tasks on the first half of the cluster
- Step 2: Upgrading the first half of the cluster
- Step 3: Performing pre-upgrade tasks on the second half of the cluster
- Step 4: Performing post-upgrade tasks on the first half of the cluster
- Step 5: Upgrading the second half of the cluster
- Step 6: Performing post-upgrade tasks on the second half of the cluster
- Performing a rolling upgrade of SF Oracle RAC
- Upgrading SF Oracle RAC using Live Upgrade or Boot Environment upgrade
- Performing post-upgrade tasks
- Relinking Oracle RAC libraries with the SF Oracle RAC libraries
- Setting or changing the product license level
- Resetting DAS disk names to include host name in FSS environments
- Upgrading disk layout versions
- CVM master node needs to assume the logowner role for VCS managed VVR resources
- Switching on Quotas
- Upgrading the disk group version
- Section IV. Installation and upgrade of Oracle RAC
- Before installing Oracle RAC
- Important preinstallation information for Oracle RAC
- About preparing to install Oracle RAC
- Preparing to install Oracle RAC using the SF Oracle RAC installer or manually
- Identifying the public virtual IP addresses for use by Oracle
- Setting the kernel parameters
- Verifying that packages and patches required by Oracle are installed
- Verifying the user nobody exists
- Launching the SF Oracle RAC installer
- Creating users and groups for Oracle RAC
- Creating storage for OCR and voting disk
- Configuring private IP addresses for Oracle RAC 11.2.0.1
- Configuring private IP addresses for Oracle RAC 11.2.0.2 and later versions
- Verifying that multicast is functional on all private network interfaces
- Creating Oracle Clusterware/Grid Infrastructure and Oracle database home directories manually
- Setting up user equivalence
- Verifying whether the Veritas Membership library is linked to Oracle libraries
- Installing Oracle RAC
- Performing an automated Oracle RAC installation
- Performing Oracle RAC post-installation tasks
- Adding Oracle RAC patches or patchsets
- Configuring the CSSD resource
- Preventing automatic startup of Oracle Clusterware/Grid Infrastructure
- Relinking the SF Oracle RAC libraries with Oracle RAC
- Creating the Oracle RAC database
- Configuring VCS service groups for Oracle RAC
- Preventing automatic database startup
- Removing existing PrivNIC or MultiPrivNIC resources
- Removing permissions for communication
- Upgrading Oracle RAC
- Before installing Oracle RAC
- Section V. Adding and removing nodes
- Adding a node to SF Oracle RAC clusters
- About adding a node to a cluster
- Before adding a node to a cluster
- Adding a node to a cluster using the Veritas InfoScale installer
- Adding the node to a cluster manually
- Starting Veritas Volume Manager (VxVM) on the new node
- Configuring cluster processes on the new node
- Setting up the node to run in secure mode
- Starting fencing on the new node
- After adding the new node
- Configuring server-based fencing on the new node
- Configuring Cluster Volume Manager (CVM) and Cluster File System (CFS) on the new node
- Configuring the ClusterService group for the new node
- Preparing the new node manually for installing Oracle RAC
- Adding a node to the cluster using the SF Oracle RAC response file
- Configuring private IP addresses for Oracle RAC 11.2.0.2 and later versions on the new node
- Adding the new node to Oracle RAC
- Adding nodes to a cluster that is using authentication for SFDB tools
- Updating the Storage Foundation for Databases (SFDB) repository after adding a node
- Sample configuration file for adding a node to the cluster
- Removing a node from SF Oracle RAC clusters
- About removing a node from a cluster
- Removing a node from a cluster
- Modifying the VCS configuration files on existing nodes
- Modifying the Cluster Volume Manager (CVM) configuration on the existing nodes to remove references to the deleted node
- Removing the node configuration from the CP server
- Removing security credentials from the leaving node
- Updating the Storage Foundation for Databases (SFDB) repository after removing a node
- Sample configuration file for removing a node from the cluster
- Adding a node to SF Oracle RAC clusters
- Section VI. Configuration of disaster recovery environments
- Configuring disaster recovery environments
- Disaster recovery options for SF Oracle RAC
- Hardware requirements for campus cluster
- Supported replication technologies for global clusters
- About setting up a campus cluster for disaster recovery
- About setting up a global cluster environment for SF Oracle RAC
- About configuring a parallel global cluster using Volume Replicator (VVR) for replication
- Configuring disaster recovery environments
- Section VII. Installation reference
- Appendix A. Installation scripts
- Appendix B. Tunable files for installation
- About setting tunable parameters using the installer or a response file
- Setting tunables for an installation, configuration, or upgrade
- Setting tunables with no other installer-related operations
- Setting tunables with an un-integrated response file
- Preparing the tunables file
- Setting parameters for the tunables file
- Tunables value parameter definitions
- Appendix C. Sample installation and configuration values
- About the installation and configuration worksheets
- SF Oracle RAC worksheet
- Oracle RAC worksheet
- Replicated cluster using VVR worksheet
- Replicated cluster using SRDF worksheet
- Required installation information for Oracle Clusterware/Grid Infrastructure
- Required installation information for Oracle database
- Appendix D. Configuration files
- About VCS configuration file
- About the LLT and GAB configuration files
- About I/O fencing configuration files
- Packaging related SMF services on Solaris 11
- Sample configuration files
- sfrac02_main.cf file
- sfrac03_main.cf file
- sfrac04_main.cf file
- sfrac05_main.cf file
- sfrac06_main.cf file
- sfrac07_main.cf and sfrac08_main.cf files
- sfrac09_main.cf and sfrac10_main.cf files
- sfrac11_main.cf file
- sfrac12_main.cf and sfrac13_main.cf files
- sfrac14_main.cf file
- sfrac15_main.cf and sfrac16_main.cf files
- sfrac17_main.cf file
- Sample configuration files for CP server
- Appendix E. Configuring the secure shell or the remote shell for communications
- About configuring secure shell or remote shell communication modes before installing products
- Manually configuring passwordless ssh
- Setting up ssh and rsh connection using the installer -comsetup command
- Setting up ssh and rsh connection using the pwdutil.pl utility
- Restarting the ssh session
- Enabling and disabling rsh for Solaris
- Appendix F. Automatic Storage Management
- Appendix G. Creating a test database
- Appendix H. High availability agent information
- About agents
- CVMCluster agent
- CVMVxconfigd agent
- CVMVolDg agent
- CFSMount agent
- CFSfsckd agent
- PrivNIC agent
- MultiPrivNIC agent
- Managing high availability of private interconnects
- Functions of the MultiPrivNIC agent
- Required attributes of the MultiPrivNIC agent
- States of the MultiPrivNIC agent
- Sample service group configuration with the MultiPrivNIC agent
- Type definition of the MultiPrivNIC resource
- Sample configuration of the MultiPrivNIC resource
- CSSD agent
- VCS agents for Oracle
- Oracle agent functions
- Startup and shutdown options for the pluggable database (PDB)
- Recommended startup modes for pluggable database (PDB) based on container database (CDB) startup modes
- Monitor options for the Oracle agent in traditional database and container database
- Monitor for the pluggable database
- Info entry point for Cluster Server agent for Oracle
- Action entry point for Cluster Server agent for Oracle
- Resource type definition for the Oracle agent
- Netlsnr agent functions
- Resource type definition for the Netlsnr agent
- ASMDG agent functions
- Resource type definition for the ASMDG agent
- Oracle agent functions
- CRSResource agent
- Appendix I. SF Oracle RAC deployment scenarios
- SF Oracle RAC cluster with UDP IPC and PrivNIC agent
- SF Oracle RAC cluster for multiple databases with UDP IPC and MultiPrivNIC agent
- SF Oracle RAC cluster with isolated Oracle traffic and MultiPrivNIC agent
- SF Oracle RAC cluster with NIC bonding, UDP IPC, and PrivNIC agent
- Configuration diagrams for setting up server-based I/O fencing
Oracle RAC worksheet
This section provides a worksheet with sample values for installing and configuring Oracle RAC.
Note:
Italicized text in parenthesis indicates the corresponding variable that is used in procedures. When you perform the steps in the procedures, ensure that you replace the variables with the values that are assigned to them in this worksheet.
Table: Required information for Oracle RAC displays the sample worksheets that may be used as reference when you perform the corresponding tasks.
Table: Required information for Oracle RAC
Sample value sheet | Go to |
|---|---|
Oracle user and group | |
Public IP addresses and host names | See Table: Sample value sheet - Public IP addresses and host names. |
PrivNIC and MultiPrivNIC | |
Oracle High Availability IP (HAIP) [For Oracle RAC 11.2.0.2 and later versions] | See Table: Sample value sheet - Oracle HAIP [Oracle RAC 11.2.0.2 and later versions]. |
Oracle RAC home directories | See Table: Sample value sheet - Oracle RAC home directories. |
OCR and voting disk | |
CSSD and Oracle database configuration | See Table: Sample value sheet - CSSD and Oracle database configuration. |
Table: Sample value sheet - Oracle user and group displays sample values that may be used when you create Oracle users and groups.
Table: Sample value sheet - Oracle user and group
Information | Sample value | Assigned value |
|---|---|---|
Oracle user name (user_name) |
| |
Oracle user ID (user_id) | 1000 | |
Oracle group name - Primary group (grp_name) | oinstall (for inventory group as primary group) | |
Oracle group name - Secondary group (grp_name_sec) | dba (for dba group as secondary group) | |
Oracle group ID - Primary group ID (grp_id) | 1000 (for inventory group as primary group) | |
Oracle group ID - Secondary group ID (grp_id_sec) | 1001 (for dba group as secondary group) | |
Oracle user home directory (usr_home_ora) | /home/oracle | |
Grid user home directory (usr_home_grid) | /home/grid |
Table: Sample value sheet - Public IP addresses and host names displays sample values for public IP addresses and host names.
Table: Sample value sheet - Public IP addresses and host names
Information | Sample value | Assigned value |
|---|---|---|
Name of a node in the cluster (node_name1) (node_name2) | For a two-node cluster:
| |
Name of a new node added to the cluster (nodenew_name) | sys5 | |
Virtual IP address | 10.10.10.10 | |
Virtual IP alias | sys1-vip | |
SCAN IP addresses (only for Oracle RAC 11g Release 2) | A minimum of three addresses is recommended. 10.10.10.20 10.10.10.21 10.10.10.22 | |
SCAN name (only for Oracle RAC 11g Release 2) | clus1_scan |
Table: Sample value sheet - PrivNIC and MultiPrivNIC displays sample values that may be used when you configure PrivNIC or MultiPrivNIC.
Table: Sample value sheet - PrivNIC and MultiPrivNIC
Information | Sample value | Assigned value |
|---|---|---|
Private IP address for first node in the cluster - PrivNIC (privnic_ip_node1) | 192.168.12.1 (on sys1) Note: The IP addresses must not contain leading zeroes in any of the octets that comprise the address for example 0X.X.X.X or X.0X.X.X, or X.X.0X.X, or X.X.X.0X. Make sure that the private IP addresses have a format as displayed in the above examples for sys1 and sys2. | |
Private IP address for second node in the cluster - PrivNIC (privnic_ip_node2) | 192.168.12.2 (on sys2) Note: The IP addresses must not contain leading zeroes in any of the octets that comprise the address for example 0X.X.X.X or X.0X.X.X, or X.X.0X.X, or X.X.X.0X. Make sure that the private IP addresses have a format as displayed in the above examples for sys1 and sys2. | |
Private IP address when you add a node in the cluster - PrivNIC (privnic_ip_newnode) | 192.168.12.5 (on sys2) Note: The IP addresses must not contain leading zeroes in any of the octets that comprise the address for example 0X.X.X.X or X.0X.X.X, or X.X.0X.X, or X.X.X.0X. Make sure that the private IP addresses have a format as displayed in the above examples for sys1 and sys2. | |
NIC address for network on first node in the cluster (nic1_node1) (nic2_node1) | You have to choose an LLT device as a device for the Oracle Clusterware heartbeat. The interfaces specified should be exactly the same in name and total number as those which have been used for LLT configuration. For example, if the LLT devices on sys1 are net1, net2: net1, net2 Then the PrivNIC or MultiPrivNIC device names will be as follows: Device@sys1= { net1 = 0, net2 = 1 } If aggregated device names are configured under LLT, then the aggregated names must be used in PrivNIC or MultiPrivNIC agent. Note: If you configured aggregated interfaces for LLT, then you must set the Device attribute value to use the same aggregated interface names that you configured for LLT. For example, if LLT device name on sys1 is: aggr1 Then the Device Attribute for the MultiPrivNIC agent would be as follows: Device@sys1 = { aggr1 = 0 } | |
NIC address for network on second node in the cluster (nic1_node2) (nic2_node2) | You have to choose an LLT device as a device for the Oracle Clusterware heartbeat. The interfaces specified should be exactly the same in name and total number as those which have been used for LLT configuration. For example, if the LLT devices on sys2 are net1, net2: net1, net2 (on sys2) Then the PrivNIC or MultiPrivNIC device names will be as follows: Device@sys2= { net1 = 0, net2 = 1 } If aggregated device names are configured under LLT, then the aggregated names must be used in PrivNIC or MultiPrivNIC agent. Note: If you configured aggregated interfaces for LLT, then you must set the Device attribute value to use the same aggregated interface names that you configured for LLT. For example, if LLT device name on sys2 is: aggr1 (on sys2) Then the Device Attribute for the MultiPrivNIC agent would be as follows: Device@sys2 = { aggr1 = 0 } | |
VCS resource name for PrivNIC (priv_resname) | ora_priv | |
VCS resource name for MultiPrivNIC (multipriv_resname) | multi_priv | |
Private IP addresses for first node in the cluster - MultiPrivNIC (multipriv_ip1_node1) (multipriv_ip2_node1) (multipriv_ip3_node1) | On sys1:
Note: The IP addresses must not contain leading zeroes in any of the octets that comprise the address for example 0X.X.X.X or X.0X.X.X, or X.X.0X.X, or X.X.X.0X. Make sure that the private IP addresses have a format as displayed in the above examples for sys1 and sys2. Veritas recommends that all Oracle Clusterware and UDP cache-fusion links be LLT links. | |
Private IP addresses for second node in the cluster - MultiPrivNIC (multipriv_ip1_node2) (multipriv_ip2_node2) (multipriv_ip3_node2) | On sys2:
Note: The IP addresses must not contain leading zeroes in any of the octets that comprise the address for example 0X.X.X.X or X.0X.X.X, or X.X.0X.X, or X.X.X.0X. Make sure that the private IP addresses have a format as displayed in the above examples for sys1 and sys2. Veritas recommends that all Oracle Clusterware and UDP cache-fusion links be LLT links. | |
Private IP addresses when you add a new node in the cluster - MultiPrivNIC (multipriv_ip1_newnode) (multipriv_ip2_newnode) | On sys2:
Note: The IP addresses must not contain leading zeroes in any of the octets that comprise the address for example 0X.X.X.X or X.0X.X.X, or X.X.0X.X, or X.X.X.0X. Make sure that the private IP addresses have a format as displayed in the above examples for sys1 and sys2. Veritas recommends that all Oracle Clusterware and UDP cache-fusion links be LLT links. | |
Private hostnames (set in /etc/hosts) for first node in the cluster (ip_node1) | On sys1:
| |
Private hostnames (set in /etc/hosts) for second node in the cluster (ip_node2) | On sys2:
| |
Netmask for cluster (netmask_ip) | 255.255.255.0 |
Table: Sample value sheet - Oracle HAIP [Oracle RAC 11.2.0.2 and later versions] displays sample values that may be used when you use Oracle HAIP for Oracle RAC 11.2.0.2 and later versions.
Table: Sample value sheet - Oracle HAIP [Oracle RAC 11.2.0.2 and later versions]
Information | Sample value | Assigned value |
|---|---|---|
Private IP address for first node in the cluster (sys1) | 192.168.12.2 | |
Hostname alias for first node in the cluster (sys1) | sys1-haip1 | |
Private IP address for second node in the cluster (sys2) | 192.168.12.2 | |
Hostname alias for second node in the cluster (sys2) | sys2-haip1 | |
Netmask | 255.255.255.0 |
Table: Sample value sheet - Oracle RAC home directories displays sample values that may be used when you create the Oracle RAC home directories.
Table: Sample value sheet - Oracle RAC home directories
Information | Sample value | Assigned value |
|---|---|---|
Disk for each node that contains the Oracle Clusterware and database binaries disk_name | Disk_1 | |
VxVM local disk group name dg_name |
| |
CVM disk group name cvm_dg | bindg | |
Volume name for Oracle Clusterware binaries clus_volname | For Oracle Grid Infrastructure gridbinvol | |
Oracle Clusterware home directory clus_home | For Oracle Grid Infrastructure, path to grid_home /u01/app/grid/product/11.2.0/gridhome | |
Volume name for Oracle Database binaries ora_volname | orabinvol | |
VCS resource name for disk groups containing the Oracle Clusterware/Grid Infrastructure and Oracle Database home directories dg_resname | bin_dg | |
Oracle Clusterware binary mount point resource name clusbin_mnt_resname | For Oracle Grid Infrastructure gridbin_mnt | |
Oracle Database binary mount point resource name orabin_mnt_resname | orabin_mnt | |
Oracle base directory for Oracle Clusterware oracle_base | /u01/app/oracle | |
Oracle base directory for Oracle Grid Infrastructure grid_base | /u01/app/grid | |
Oracle base directory for Database oracle_base | /u01/app/oracle | |
Oracle Database home directory db_home | /u02/app/oracle/product/11.2.0/dbhome_1 | |
Oracle Grid Infrastructure home directory grid_home | /u01/app/11.2.0/grid |
Table: Sample value sheet - OCR and voting disk displays sample values that may be used when you create the storage for OCR and voting disk.
Table: Sample value sheet - OCR and voting disk
Information | Sample value | Assigned value |
|---|---|---|
Disks for creating a shared disk group for OCR and voting disk disk_name2 disk_name3 | Disk_2 Disk_3 | |
Shared disk group for OCR and voting disk ocrvote_dgname | ocrvotedg | |
OCR volume on CVM raw volumes ocr_volname | ocrvol | |
Voting disk volume on CVM raw volumes vote_volname | votevol | |
OCR and voting disk volume on CFS ocrvote_volname | ocrvotevol | |
Volume options for OCR and voting disk | nmirror=2 | |
File system on shared volume (CFS) | /dev/vx/rdsk/ocrvotedg/ocrvotevol | |
Mount point for shared file system ocrvote_mnt | /ocrvote | |
CVMVolDg resource name for OCR and voting disk ocrvotevol_resname | ocrvote_voldg_ocrvotedg | |
CFSMount resource name for OCR and voting disk ocrvotemnt_resname | ocrvote_mnt_ocrvotedg | |
Mount point for archive logs | /oradata | |
CVM group name cvm_grpname | cvm |
Table: Sample value sheet - CSSD and Oracle database configuration displays sample values that may be used when you configure the CSSD agent and the Oracle database.
Table: Sample value sheet - CSSD and Oracle database configuration
Information | Sample value | Assigned value |
|---|---|---|
CVM group name cvm_grpname | cvm | |
CSSD group name cssd_grpname | cssd | |
VCS service group for Oracle Database oradb_grpname | oradb_grp | |
VCS resource name for Oracle db_resname | oradb | |
Oracle database name db_name | db | |
Global Database Name | db.example.com (database name.domain) | |
Disk group name for Oracle Database oradb_dgname | oradatadg (Shared) | |
Volume name for Oracle Database oradb_volname | oradatavol | |
Mount point for Oracle Database oradb_mnt | /oradata (Shared) | |
CVMVolDg resource for Oracle Database oradbdg_resname | oradata_voldg | |
CFSMount resource for Oracle Database oradbmnt_resname | oradata_mnt | |
SID prefix for policy-managed databases oradb_sid_prefix | db | |
SID on first node in the cluster oradb_sid_node1 | db1 | |
SID on second node in the cluster oradb_sid_node2 | db2 |