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 SF Oracle RAC in secure mode
- Configuring a secure cluster node by node
- 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 the SF Oracle RAC components using the script-based installer
- Performing an automated SF Oracle RAC configuration
- 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
- Performing a phased upgrade of SF Oracle RAC from version 6.2.1 and later release
- Performing a rolling upgrade of SF Oracle RAC
- Upgrading SF Oracle RAC using Live Upgrade or Boot Environment upgrade
- Performing post-upgrade tasks
- Section IV. Installation and upgrade of Oracle RAC
- Before installing Oracle RAC
- Preparing to install Oracle RAC using the SF Oracle RAC installer or manually
- 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
- Installing Oracle RAC
- Performing an automated Oracle RAC installation
- Performing Oracle RAC post-installation tasks
- Configuring the CSSD resource
- Relinking the SF Oracle RAC libraries with Oracle RAC
- Configuring VCS service groups for Oracle RAC
- Upgrading Oracle RAC
- Before installing Oracle RAC
- Section V. Adding and removing nodes
- Adding a node to SF Oracle RAC clusters
- Adding a node to a cluster using the Veritas InfoScale installer
- Adding the node to a cluster manually
- Setting up the node to run in secure mode
- Configuring server-based fencing on 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
- Removing a node from SF Oracle RAC clusters
- Adding a node to SF Oracle RAC clusters
- Section VI. Configuration of disaster recovery environments
- Configuring disaster recovery environments
- Configuring disaster recovery environments
- Section VII. Installation reference
- Appendix A. Installation scripts
- Appendix B. Tunable files for installation
- Appendix C. Sample installation and configuration values
- SF Oracle RAC worksheet
- Appendix D. Configuration files
- Sample configuration files
- Sample configuration files for CP server
- Appendix E. Configuring the secure shell or the remote shell for communications
- 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
- CSSD agent
- VCS agents for Oracle
- Oracle agent functions
- Resource type definition for the Oracle agent
- Resource type definition for the Netlsnr agent
- Resource type definition for the ASMDG agent
- Oracle agent functions
- CRSResource agent
- Appendix I. SF Oracle RAC deployment scenarios
- Configuration diagrams for setting up server-based I/O fencing
Step 1: Performing pre-upgrade tasks on the first half of the cluster
Perform the following pre-upgrade steps on the first half of the cluster.
To perform the pre-upgrade tasks on the first half of the cluster
- Back up the following configuration files:
main.cf, types.cf, CVMTypes.cf, CFSTypes.cf, OracleTypes.cf, OracleASMTypes.cf, , PrivNIC.cf, MultiPrivNIC.cf, /etc/llttab, /etc/llthosts, /etc/gabtab, /etc/vxfentab, /etc/vxfendg, /etc/vxfenmode
For example:
# cp /etc/VRTSvcs/conf/config/main.cf \ /etc/VRTSvcs/conf/config/main.cf.save # cp /etc/VRTSvcs/conf/config/types.cf \ /etc/VRTSvcs/conf/config/types.cf.save # cp /etc/VRTSvcs/conf/config/OracleTypes.cf \ /etc/VRTSvcs/conf/config/OracleTypes.cf.save # cp /etc/VRTSvcs/conf/config/PrivNIC.cf \ /etc/VRTSvcs/conf/config/PrivNIC.cf.save # cp /etc/VRTSvcs/conf/config/MultiPrivNIC.cf \ /etc/VRTSvcs/conf/config/MultiPrivNIC.cf.save
The installer verifies that recent backups of configuration files in the VxVM private region are saved in
/etc/vx/cbr/bk
.If not, the following warning message is displayed: Warning: Backup /etc/vx/cbr/bk directory.
- Stop all applications that are not configured under VCS but dependent on Oracle RAC or resources controlled by VCS. Use native application commands to stop the application.
- If you plan to continue using Storage Checkpoint or storage tiering policies you created with a 5.0x or earlier version of Storage Foundation for Oracle RAC, complete the following preparatory step before migrating the SFDB repository database to 7.4.1.
Stop the applications configured under VCS. Stop the Oracle database:
If the Oracle RAC instance is managed by VCS:
# hagrp -offline oracle_group -sys sys1 # hagrp -offline oracle_group -sys sys2
If the Oracle RAC instance is not managed by VCS, log in as the Oracle user on one of the nodes in the first half of the cluster and shut down the instances:
For Oracle RAC 12c or later:
$ srvctl stop instance -db db_name \ -node node_name
For Oracle RAC 11.2.0.2 and later versions of 11g Release 2:
$ srvctl stop instance -d db_name \ -n node_name
For Oracle RAC 11.2.0.1 and earlier versions:
$ srvctl stop instance -d db_name \ -i instance_name
If the Oracle database is managed by VCS, set the AutoStart value to 0 to prevent the database service group from starting automatically when VCS starts:
# haconf -makerw # hagrp -modify oracle_group AutoStart 0 # haconf -dump -makero
If the Oracle database is not managed by VCS, change the management policy for the database to manual:
For Oracle RAC 11g:
$ srvctl modify database -d db_name -y manual
For Oracle RAC 12c or later:
$ srvctl modify database -db db_name -policy manual
- Unmount the CFS file systems that are not managed by VCS.
Make sure that no processes are running which make use of mounted shared file system. To verify that no processes use the CFS mount point:
# mount | grep vxfs | grep cluster
# fuser -cu /mount_point
Unmount the CFS file system:
# umount /mount_point
- Stop the parallel service groups and switch over failover service groups on each of the nodes in the first half of the cluster:
# hastop -local -evacuate
- Unmount the VxFS file systems that are not managed by VCS.
Make sure that no processes are running which make use of mounted shared file system. To verify that no processes use the VxFS mount point:
# mount | grep vxfs
# fuser -cu /mount_point
Unmount the VxFS file system:
# umount /mount_point
- Verify that no VxVM volumes (other than VxVM boot volumes) remain open. Stop any open volumes that are not managed by VCS.
# vxvol -g diskgroup stopall # vxprint -Aht -e v_open
- Verify that only ports a, b, d, and o are open:
# gabconfig -a GAB Port Memberships ======================================================= Port a gen 79c302 membership 0123 Port b gen 79c307 membership 0123 Port d gen 79c306 membership 0123 Port o gen 79c304 membership 0123
- If you plan to upgrade the operating system, stop all ports.
For versions up to 7.0:
# /opt/VRTS/install/installsfrac<version> -stop sys1 sys2
Where <version> is the specific release version.
For 7.0 and later versions:
# /opt/VRTS/install/installer -stop sys1 sys2