Cluster Server 7.4.2 Database Agent for Oracle Configuration Guide - Windows
- Introducing the VCS agent for Oracle
- Installing the product and configuring VCS
- Installing and configuring Oracle
- Prerequisites for installing Oracle
- Managing Storage using SFW
- Configuring Oracle on the first node
- Associating the database with the listener
- Configuring the Oracle database
- Configuring the Oracle service group
- Administering the Oracle service group
- Troubleshooting
- Appendix A. Resource type definitions
- Appendix B. Sample configuration
- Appendix C. Oracle Enterprise Manager 10g Grid Control with VCS
- Making the additional agent highly available
Configuring Oracle on failover nodes
Complete the following steps to configure Oracle on failover nodes.
To configure Oracle on failover nodes
- Verify that the volumes or LUNs created for the Oracle database, control files, log files, bdump, cdump, udump files, flash recovery area and archive location are mounted or connected on the node where you run the installer.
- Bring the temporary service group online on the node where you run the installer.
- Verify that the Oracle log files and the background_dump_dest (bdump), core_dump_dest (cdump), and user_dump_dest (udump) files are on the same volume on the shared storage.
- Type the following on the command prompt:
C:\>set ORACLE_SID= <SID NAME>
The variable SID represents the database instance.
- Run the oradim utility with the parameters as specified.
Type the following on the command prompt:
C:\> <ORACLE_HOME> \bin\oradim -new -sid SID -pfile "pfile_location_on_shared_disk" -startmode auto -timeout 100 -shuttype srvc,inst -shutmode i
The variable SID represents the database instance.
This command performs the following tasks:
Sets the -startmode parameter to start the database instance automatically when Oracle service is started.
Sets the -timeout parameter to 100. The timeout parameter specifies the maximum wait time (in seconds) for the database shutdown to complete before the service for a particular SID stops.
Sets the -shuttype parameter to stop both the database instance and the service while shutting the database.
Sets the -shutmode parameter to shut the database instance as soon as the VCS database agent for Oracle requests.
- Create a listener service using the Oracle Net Configuration Assistant. Refer to the Oracle documentation for instructions.
- Stop the listener service and make a backup copy of the original files, tnsnames.ora and listener.ora, from the first node.
- Copy the files, tnsnames.ora and listener.ora from the first node to the current node, at the same directory as that on the first node.
The path for tnsnames.ora and listener.ora must be the same on all failover nodes.
- From the Windows Services console, set the startup type of the Listener service to Manual and then restart the Listener and the Oracle service for the database instance on the node.
In the Services snap-in, the names of Oracle services appear as OracleServiceSID, where SID represents the database instance.
- Verify access to the database by connecting to it and running a select query.
Repeat these tasks on all the remaining nodes that will participate in the Oracle service group.
More Information