Storage Foundation for Oracle® RAC 8.0 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
- Upgrading Volume Replicator
- 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 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
- 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 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
- 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
- Appendix J. Configuring LLT over UDP
- Using the UDP layer for LLT
- Manually configuring LLT over UDP using IPv4
- Broadcast address in the /etc/llttab file
- The link command in the /etc/llttab file
- The set-addr command in the /etc/llttab file
- Selecting UDP ports
- Configuring the netmask for LLT
- Configuring the broadcast address for LLT
- Sample configuration: direct-attached links
- Sample configuration: links crossing IP routers
- Using the UDP layer of IPv6 for LLT
- Manually configuring LLT over UDP using IPv6
Configuring atleast resource dependency for OCR and voting disks
If you select for OCR and voting disks during the installation of Oracle RAC, ensure that you configure atleast resource dependency for high availability of the OCR and voting disk.
Figure: Atleast resource dependency for OCR and voting disks illustrates the atleast resource dependency for OCR and voting disks.
Note:
See the Oracle documentation to determine the minimum OCR (x) and voting disks (y) required by Oracle Clusterware/Grid.
Perform the steps in this procedure to configure atleast resource dependency for OCR and voting disks.
To configure atleast resource dependency for OCR and voting disks
- Create the OCR and voting disk disk groups:
# vxdg -s init ocrdg_1_name disk_name1 # vxdg -s init ocrdg_2_name disk_name2 # vxdg -s init ocrdg_3_name disk_name3 # vxdg -s init votedg_1_name disk_name4 # vxdg -s init votedg_2_name disk_name5 # vxdg -s init votedg_3_name disk_name6
- Create volumes for OCR and voting disk:
Note:
The size will vary depending on the Oracle RAC version you use.
# vxassist -g ocrdg_1_name make ocrvol_1_name 640M # vxassist -g ocrdg_2_name make ocrvol_2_name 640M # vxassist -g ocrdg_3_name make ocrvol_3_name 640M # vxassist -g votedg_1_name make votevol_1_name 640M # vxassist -g votedg_2_name make votevol_2_name 640M # vxassist -g votedg_3_name make votevol_3_name 640M
- From the CVM master, create a file system with the volumes:
# mkfs -F vxfs /dev/vx/rdsk/ocrdg_1_name/ocrvol_1_name # mkfs -F vxfs /dev/vx/rdsk/ocrdg_2_name/ocrvol_2_name # mkfs -F vxfs /dev/vx/rdsk/ocrdg_3_name/ocrvol_3_name # mkfs -F vxfs /dev/vx/rdsk/votedg_1_name/votevol_1_name # mkfs -F vxfs /dev/vx/rdsk/votedg_2_name/votevol_2_name # mkfs -F vxfs /dev/vx/rdsk/votedg_3_name/votevol_3_name
- On each system, create a directory on which to mount the file system containing the OCR and voting disks:
# mkdir /ocr_mnt_1 # mkdir /ocr_mnt_2 # mkdir /ocr_mnt_3 # mkdir /vote_mnt_1 # mkdir /vote_mnt_2 # mkdir /vote_mnt_3
- On each system, mount the file system containing OCR and voting disk:
# mount -F vxfs -o cluster /dev/vx/dsk/ocrdg_1_name/\ ocrvol_1_name /ocr_mnt_1 # mount -F vxfs -o cluster /dev/vx/dsk/ocrdg_2_name/\ ocrvol_2_name /ocr_mnt_2 # mount -F vxfs -o cluster /dev/vx/dsk/ocrdg_3_name/\ ocrvol_3_name /ocr_mnt_3 # mount -F vxfs -o cluster /dev/vx/dsk/votedg_1_name/\ votevol_1_name /vote_mnt_1 # mount -F vxfs -o cluster /dev/vx/dsk/votedg_2_name/\ votevol_2_name /vote_mnt_2 # mount -F vxfs -o cluster /dev/vx/dsk/votedg_3_name/\ votevol_3_name /vote_mnt_3
- From any system, change the permissions on the file system containing the OCR and voting disk:
# chown -R grid:oinstall /ocr_mnt_1 # chown -R grid:oinstall /ocr_mnt_2 # chown -R grid:oinstall /ocr_mnt_3 # chown -R grid:oinstall /vote_mnt_1 # chown -R grid:oinstall /vote_mnt_2 # chown -R grid:oinstall /vote_mnt_3
- Add the storage resources to the VCS configuration to make them highly available.
See “To add the storage resources to the VCS configuration”.
To add the storage resources to the VCS configuration
- Change the permission on the VCS configuration file to read-write mode:
# haconf -makerw
- Configure the CVM volumes under VCS:
# hares -add ocrvol_1_resname CVMVolDg cvm_grpname # hares -modify ocrvol_1_resname Critical 0 # hares -modify ocrvol_1_resname CVMDiskGroup ocrdg_1_name # hares -modify ocrvol_1_resname CVMVolume -add ocrvol_1_name # hares -modify ocrvol_1_resname CVMActivation sw # hares -add ocrvol_2_resname CVMVolDg cvm_grpname # hares -modify ocrvol_2_resname Critical 0 # hares -modify ocrvol_2_resname CVMDiskGroup ocrdg_2_name # hares -modify ocrvol_2_resname CVMVolume -add ocrvol_2_name # hares -modify ocrvol_2_resname CVMActivation sw # hares -add ocrvol_3_resname CVMVolDg cvm_grpname # hares -modify ocrvol_3_resname Critical 0 # hares -modify ocrvol_3_resname CVMDiskGroup ocrdg_3_name # hares -modify ocrvol_3_resname CVMVolume -add ocrvol_3_name # hares -modify ocrvol_3_resname CVMActivation sw # hares -add votevol_1_resname CVMVolDg cvm_grpname # hares -modify votevol_1_resname Critical 0 # hares -modify votevol_1_resname CVMDiskGroup votedg_1_name # hares -modify votevol_1_resname CVMVolume -add votevol_1_name # hares -modify votevol_1_resname CVMActivation sw # hares -add votevol_2_resname CVMVolDg cvm_grpname # hares -modify votevol_2_resname Critical 0 # hares -modify votevol_2_resname CVMDiskGroup votedg_2_name # hares -modify votevol_2_resname CVMVolume -add votevol_2_name # hares -modify votevol_2_resname CVMActivation sw # hares -add votevol_3_resname CVMVolDg cvm_grpname # hares -modify votevol_3_resname Critical 0 # hares -modify votevol_3_resname CVMDiskGroup votedg_3_name # hares -modify votevol_3_resname CVMVolume -add votevol_3_name # hares -modify votevol_3_resname CVMActivation sw
- Set up the file system under VCS:
# hares -add ocrmnt_1_resname CFSMount cvm_grpname # hares -modify ocrmnt_1_resname Critical 0 # hares -modify ocrmnt_1_resname MountPoint /ocr_mnt_1 # hares -modify ocrmnt_1_resname BlockDevice \ /dev/vx/dsk/ocrdg_1_name/ocrvol_1_name # hares -add ocrmnt_2_resname CFSMount cvm_grpname # hares -modify ocrmnt_2_resname Critical 0 # hares -modify ocrmnt_2_resname MountPoint /ocr_mnt_2 # hares -modify ocrmnt_2_resname BlockDevice \ /dev/vx/dsk/ocrdg_2_name/ocrvol_2_name # hares -add ocrmnt_3_resname CFSMount cvm_grpname # hares -modify ocrmnt_3_resname Critical 0 # hares -modify ocrmnt_3_resname MountPoint /ocr_mnt_3 # hares -modify ocrmnt_3_resname BlockDevice \ /dev/vx/dsk/ocrdg_3_name/ocrvol_3_name # hares -add votemnt_1_resname CFSMount cvm_grpname # hares -modify votemnt_1_resname Critical 0 # hares -modify votemnt_1_resname MountPoint /vote_mnt_1 # hares -modify votemnt_1_resname BlockDevice \ /dev/vx/dsk/votedg_1_name/votevol_1_name # hares -add votemnt_2_resname CFSMount cvm_grpname # hares -modify votemnt_2_resname Critical 0 # hares -modify votemnt_2_resname MountPoint /vote_mnt_2 # hares -modify votemnt_2_resname BlockDevice \ /dev/vx/dsk/votedg_2_name/votevol_2_name # hares -add votemnt_3_resname CFSMount cvm_grpname # hares -modify votemnt_3_resname Critical 0 # hares -modify votemnt_3_resname MountPoint /vote_mnt_3 # hares -modify votemnt_3_resname BlockDevice \ /dev/vx/dsk/votedg_3_name/votevol_3_name
- Link the parent and child resources:
# hares -link ocrvol_1_resname cvm_clus # hares -link ocrmnt_1_resname ocrvol_1_resname # hares -link ocrmnt_1_resname vxfsckd # hares -link ocrvol_2_resname cvm_clus # hares -link ocrmnt_2_resname ocrvol_2_resname # hares -link ocrmnt_2_resname vxfsckd # hares -link ocrvol_3_resname cvm_clus # hares -link ocrmnt_3_resname ocrvol_3_resname # hares -link ocrmnt_3_resname vxfsckd # hares -link votevol_1_resname cvm_clus # hares -link votemnt_1_resname votevol_1_resname # hares -link votemnt_1_resname vxfsckd # hares -link votevol_2_resname cvm_clus # hares -link votemnt_2_resname votevol_2_resname # hares -link votemnt_2_resname vxfsckd # hares -link votevol_3_resname cvm_clus # hares -link votemnt_3_resname votevol_3_resname # hares -link votemnt_3_resname vxfsckd
- Enable the resources:
# hares -modify ocrvol_1_resname Enabled 1 # hares -modify ocrvol_2_resname Enabled 1 # hares -modify ocrvol_3_resname Enabled 1 # hares -modify votevol_1_resname Enabled 1 # hares -modify votevol_2_resname Enabled 1 # hares -modify votevol_3_resname Enabled 1 # hares -modify ocrmnt_1_resname Enabled 1 # hares -modify ocrmnt_2_resname Enabled 1 # hares -modify ocrmnt_3_resname Enabled 1 # hares -modify votemnt_1_resname Enabled 1 # hares -modify votemnt_2_resname Enabled 1 # hares -modify votemnt_3_resname Enabled 1