Use the detail monitoring capability of VCS database agent for Oracle to monitor the status of a database. Before setting up detail monitoring, you must have the agent running at the basic level of monitoring, that is, the DetailMonitor attribute must be set to False.
The Oracle agent uses a script to monitor the status of the database. A sample SQL script, located at %VCS_HOME%\bin\Oracle\check.sql
, is provided with the agent for the purpose. If the script is successfully executed during monitoring, the agent considers the database instance available. If the execution fails, the database instance is considered not available and the service group faults and fails over to the failover nodes. You can customize the script to meet your configuration requirements.
Note: |
You must use a separate script for each Oracle service group that exists in the cluster. The script must exist on all the nodes in the service group. |
Veritas recommends that before configuring detail monitoring, you must ensure that Oracle is configured correctly and you are able to connect to the database.
The section below describes how to enable detail monitoring using the configuration wizard.
To enable detail monitoring
or
Launch the Solutions Configuration Center (SCC) from Start > All Programs > Veritas > Veritas Cluster Server > Solutions Configuration Center or, on Windows 2012 operating systems, from the Apps menu in the Start screen. In the SCC, click the Solutions tab, expand High Availability Configuration Wizards, and click the Launch button for the Oracle Agent Configuration Wizard.
Enter the appropriate information in the following fields:
The section below describes how to disable detail monitoring using the Oracle Configuration Wizard.
To disable detail monitoring
or
Start the Solutions Configuration Center (SCC) from Start > All Programs > Veritas > Veritas Cluster Server > Solutions Configuration Center or, on Windows 2012 operating systems, from the Apps menu in the Start screen. In the SCC, click the Solutions tab, expand High Availability Configuration Wizards, and click the Launch button for the Oracle Agent Configuration Wizard.