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
Performing a rolling upgrade using the product installer
Before you start the rolling upgrade, make sure that Cluster Server (VCS) is running on all the nodes of the cluster.
Note:
SF Oracle RAC does not support rolling upgrades between major versions of the operating system.
To perform a rolling upgrade
- Phase 1 of rolling upgrade begins on the first subcluster. Complete the preparatory steps on the first subcluster.
- Log in as superuser and mount the SF Oracle RAC 7.4.1 installation media.
- From root, start the installer.
# ./installer
- From the menu, select Upgrade a Product and from the sub menu, select Rolling Upgrade.
- The installer suggests system names for the upgrade. Press Enter to upgrade the suggested systems, or enter the name of any one system in the cluster on which you want to perform a rolling upgrade and then press Enter.
- The installer checks system communications, release compatibility, version information, and lists the cluster name, ID, and cluster nodes. Type y to continue.
- The installer inventories the running service groups and determines the node or nodes to upgrade in phase 1 of the rolling upgrade. Type y to continue. If you choose to specify the nodes, type n and enter the names of the nodes.
- The installer performs further prechecks on the nodes in the cluster and may present warnings. You can type y to continue or quit the installer and address the precheck's warnings.
- Review the end-user license agreement, and type y if you agree to its terms.
- If the boot disk is encapsulated and mirrored, you can create a backup boot disk.
If you choose to create a backup boot disk, type y. Provide a backup name for the boot disk group or accept the default name. The installer then creates a backup copy of the boot disk group.
- After the installer detects the online service groups, the installer prompts the user to do one of the following:
Manually switch service groups
Use the CPI to automatically switch service groups
The downtime is the time that it normally takes for the service group's failover.
Note:
It is recommended that you manually switch the service groups. Automatic switching of service groups does not resolve dependency issues if any dependent resource is not under VCS control.
- The installer prompts you to stop the applicable processes. Type y to continue.
The installer evacuates all service groups to the node or nodes that are not upgraded at this time. The installer stops parallel service groups on the nodes that are to be upgraded.
- The installer stops relevant processes, uninstalls old kernel packages, and installs the new packages. The installer asks if you want to update your licenses to the current version. Select Yes or No. Veritas recommends that you update your licenses to fully use the new features in the current release.
- If the cluster has configured Coordination Point Server based fencing, then during upgrade, installer may ask the user to provide the new HTTPS Coordination Point Server.
The installer performs the upgrade configuration and starts the processes. If the boot disk is encapsulated before the upgrade, installer prompts the user to reboot the node after performing the upgrade configuration.
Note:
The Oracle service group is offline as the AutoStart attribute is set to 0 to prevent the service group from starting automatically. The service group is started later in the process.
- Reboot the nodes on the subcluster being upgraded.
If some processes fail to start, you may need to reboot the nodes and manually check the cluster's status.
If the installer reboots the nodes, restart the installer.
Perform the following steps if the subcluster has non-global zones.
Take the zone service groups in the subcluster offline:
# hagrp -offline zone_group -sys sys_name
Update the zone configuration.
For instructions, see the topic "Preparing to install non-global zones" in the document Storage Foundation and High Availability Solutions Virtualization Guide.
From the global zone, run the following command for each non-global zone in the subcluster:
# zoneadm -z zone_name attach -u
Bring the zone service group on the subcluster online:
# hagrp -online zone_group -sys sys_name
- Manually mount the VxFS and CFS file systems that VCS does not manage.
- Relink the SF Oracle RAC libraries with Oracle by choosing the option Relink Oracle Database Binary from the program menu.
Note:
If the subcluster has non-global zones, you need to relink only the ODM library.
See Relinking Oracle RAC libraries with the SF Oracle RAC libraries.
- If the boot disk is encapsulated, the installer strongly recommends a restart of the nodes. Restart the nodes as prompted by the installer.
Note:
Before you restart the nodes, ensure that the boot device is set to the disk containing the upgraded version of the product.
# eeprom
Bring the Oracle database service group online.
If VCS manages the Oracle database:
# hagrp -online oracle_group -sys node_name
If VCS does not manage the Oracle database:
For Oracle RAC 12c or later:
$ srvctl start instance -db db_name \ -node node_name
For Oracle RAC 11.2.0.2 and later versions of 11g Release 2:
$ srvctl start instance -d db_name \ -n node_name
For Oracle RAC 11.2.0.1 and earlier versions:
$ srvctl start instance -d db_name \ -i instance_name
- Start all applications that are not managed by VCS. Use native application commands to start the applications.
- Complete the preparatory steps on the nodes that you have not yet upgraded.
- Complete updates to the operating system, if required, on the nodes that you have not yet upgraded. For instructions, see the operating system documentation.
The nodes are restarted after the operating system update.
Restart the nodes again manually. Failing to perform this additional restart prevents the upgrade from proceeding further.
# shutdown -g0 -y -i6
- The installer begins phase 1 of the upgrade on the remaining node or nodes. Type y to continue the rolling upgrade. If the installer was invoked on the upgraded (rebooted) nodes, you must invoke the installer again.
Note:
In case of an FSS environment, phase 1 of the rolling upgrade is performed on one node at a time.
The installer repeats step 7 through step 21.
For clusters with larger number of nodes, this process may repeat several times. Service groups come down and are brought up to accommodate the upgrade.
This completes phase 1 of the upgrade.
If VCS manages the Oracle database, reset the AutoStart value to 1 to enable VCS to bring the database service group online when VCS starts:
# haconf -makerw # hagrp -modify oracle_group AutoStart 1 # haconf -dump -makero
If VCS does not manage the Oracle database, change the management policy for the database to automatic:
For Oracle RAC 12c or later:
$ srvctl modify database -db db_name -policy AUTOMATIC
For Oracle RAC 11g:
$ srvctl modify database -d db_name -y AUTOMATIC
- Migrate the SFDB repository database.
- Phase 2 of the upgrade begins here. This phase includes downtime for the VCS engine (HAD), which does not include application downtime. Type y to continue.
- The installer determines the remaining packages to upgrade. Press Enter to continue.
- The installer displays the following question before the installer stops the product processes. If the cluster was configured in secure mode and version is prior to 6.2 before the upgrade, these questions are displayed.
Do you want to grant read access to everyone? [y,n,q,?]
To grant read access to all authenticated users, type y.
To grant usergroup specific permissions, type n.
Do you want to provide any usergroups that you would like to grant read access?[y,n,q,?]
To specify usergroups and grant them read access, type y
To grant read access only to root users, type n. The installer grants read access read access to the root users.
Enter the usergroup names separated by spaces that you would like to grant read access. If you would like to grant read access to a usergroup on a specific node, enter like 'usrgrp1@node1', and if you would like to grant read access to usergroup on any cluster node, enter like 'usrgrp1'. If some usergroups are not created yet, create the usergroups after configuration if needed. [b]
- The installer stops Cluster Server (VCS) processes but the applications continue to run. Type y to continue.
The installer performs prestop, uninstalls old packages, and installs the new packages. It performs post-installation tasks, and the configuration for the upgrade.
- If you have network connection to the Internet, the installer checks for updates.
If updates are discovered, you can apply them now.
- A prompt message appears to ask if the user wants to read the summary file. You can choose y if you want to read the install summary file.
- Upgrade Oracle RAC to the supported version.
Note:
All Oracle RAC versions starting from Oracle 11g Release 2 and later are supported.
For instructions, see the chapter Upgrading Oracle RAC in this document.