Cluster Server 7.4 Agent for Oracle Installation and Configuration Guide - Linux
- Introducing the Cluster Server agent for Oracle
- About the Cluster Server agent for Oracle
- Supported software for VCS agent for Oracle
- Changes introduced in the 7.4 release
- How the agent makes Oracle highly available
- About Cluster Server agent functions for Oracle
- Oracle agent functions
- Startup and shutdown options for the Oracle agent
- 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
- How the agent handles Oracle error codes during detail monitoring
- Info entry point for Cluster Server agent for Oracle
- Action entry point for Cluster Server agent for Oracle
- How the Oracle agent supports health check monitoring
- Netlsnr agent functions
- ASMInst agent functions
- ASMDG agent functions
- Oracle agent functions
- Typical Oracle configuration in a VCS cluster
- About setting up Oracle in a VCS cluster
- Installing and configuring Oracle
- About installing Oracle in a VCS environment
- Before you install Oracle in a VCS environment
- About VCS requirements for installing Oracle
- About Oracle installation tasks for VCS
- Installing ASM binaries for Oracle 11gR2 or 12c in a VCS environment
- Configuring Oracle ASM on the first node of the cluster
- Configuring and starting up ASM on remaining nodes for 11gR2 or 12c
- Installing Oracle binaries on the first node of the cluster
- Configuring the Oracle database
- Copying the $ORACLE_BASE/admin/SID directory
- Copying the Oracle ASM initialization parameter file
- Verifying access to the Oracle database
- Installing and removing the agent for Oracle
- Configuring VCS service groups for Oracle
- About configuring a service group for Oracle
- Configuring Oracle instances in VCS
- Before you configure the VCS service group for Oracle
- Configuring the VCS service group for Oracle
- Setting up detail monitoring for VCS agents for Oracle
- Enabling and disabling intelligent resource monitoring for agents manually
- Configuring VCS service groups for Oracle using the Veritas High Availability Configuration wizard
- Typical VCS cluster configuration in a virtual environment
- About configuring application monitoring using the High Availability solution for VMware
- Getting ready to configure VCS service groups using the wizard
- Before configuring application monitoring
- Launching the High Availability Configuration wizard
- Configuring the agent to monitor Oracle
- Understanding service group configurations
- Understanding configuration scenarios
- High Availability Configuration wizard limitations
- Troubleshooting
- Sample configurations
- Administering VCS service groups for Oracle
- Pluggable database (PDB) migration
- Troubleshooting Cluster Server agent for Oracle
- About troubleshooting Cluster Server agent for Oracle
- Error messages common to the Oracle and Netlsnr agents
- Error messages specific to the Oracle agent
- Error messages specific to the Netlsnr agent
- Error messages specific to the ASMInst agent
- Error messages specific to the ASMDG agent
- Troubleshooting issues specific to Oracle in a VCS environment
- Verifying the Oracle health check binaries and intentional offline for an instance of Oracle
- Disabling IMF for a PDB resource
- Appendix A. Resource type definitions
- About the resource type and attribute definitions
- Resource type definition for the Oracle agent
- Resource type definition for the Netlsnr agent
- Resource type definition for the ASMInst agent
- Resource type definition for the ASMDG agent
- Appendix B. Sample configurations
- About the sample configurations for Oracle enterprise agent
- Sample single Oracle instance configuration
- Sample multiple Oracle instances (single listener) configuration
- Sample multiple instance (multiple listeners) configuration
- Sample Oracle configuration with shared server support
- Sample Oracle ASM configurations
- Sample configuration of Oracle pluggable database (PDB) resource in main.cf
- Sample configuration of migratable Oracle pluggable database (PDB) resource in main.cf
- Sample Configuration of Oracle supported by systemD
- Sample configuration of ASMInst supported by systemD
- Appendix C. Best practices
- Appendix D. Using the SPFILE in a VCS cluster for Oracle
- Appendix E. OHASD in a single instance database environment
Configuring the VCS service group for Oracle using the command-line
The Cluster Server agent for Oracle comes with a sample configuration file that can be used as reference to directly modify your present configuration file. When you use this method, you must stop and restart VCS to implement the configuration.
The Cluster Server agent for Oracle also includes sample configuration files for ASM configurations in a VCS environment.
To configure the service group using the sample configuration file
- Log in as superuser on the system where oracle is running.
- Ensure that all changes to the existing configuration have been saved and that further changes are prevented while you modify main.cf:
# haconf -dump -makero
- To ensure that VCS is not running while you edit main.cf, issue the following command to stop the VCS engine on all systems and leave the resources available:
# hastop -all -force
- Make a backup copy of the main.cf file:
# cd /etc/VRTSvcs/conf/config # cp main.cf main.cf.orig
- Edit the main.cf file.
You can use the file /etc/VRTSagents/ha/conf/Oracle/sample_main.cf for reference.
Do the following:
Create the Oracle and Netlsnr resources.
For ASM instances and disk groups, create the ASMInst and ASMDG resources.
Edit the default attributes to match the parameters in your configuration.
Assign dependencies to the newly created resources.
See the Cluster Server Administrator’s Guide for more information on assigning dependencies.
- Save and close the file.
- Verify the syntax of the file /etc/VRTSvcs/conf/config/main.cf:
# cd /etc/VRTSvcs/conf/config/ # hacf -verify .
- Start the VCS engine:
# hastart
- Verify that all Oracle service group resources are brought online:
# hagrp -state
- Take the service group offline and verify that all resources are stopped:
# hagrp -offline service_group -sys system_name # hagrp -state
- Bring the service group online again and verify that all resources are available:
# hagrp -online service_group -sys system_name # hagrp -state
- Start the VCS engine on all remaining nodes in the cluster:
# hastart
- (Optional) Switch the Oracle service group to to one of the cluster node to verify that it has been configured correctly for failover:
# hagrp -switch service_group -to any
Verify that all Oracle service group resources are brought online on the system:
# hagrp -state
- On all the nodes, look at the following log files for any errors or status:
/var/VRTSvcs/log/engine_A.log /var/VRTSvcs/log/Oracle_A.log /var/VRTSvcs/log/Netlsnr_A.log
/var/VRTSvcs/log/ASMInst_A.log /var/VRTSvcs/log/ASMDG_A.log