Cluster Server 8.0 Configuration Guide for SAP Web Application Server - Windows
- Section I. Getting Started
- Introducing the Veritas High Availability Agent for SAP Web Application Server
- About the Veritas High Availability agent for SAP Web Application Server
- How does the Veritas High Availability solution work
- Agent functions
- Installing and configuring the SAP Web Application Server for high availability
- Setting up SAP systems for clustering
- Configuring the Enqueue Replication Server
- Clustering an SAP instance
- Introducing the Veritas High Availability Agent for SAP Web Application Server
- Section II. Configuring the application for high availability
- Section III. Troubleshooting the Agent
- Troubleshooting the agent for SAP Web Application Server
- Troubleshooting common problems
- Reviewing SAP Web Application Server agent log files
- Reviewing error log files
- Troubleshooting the agent for SAP Web Application Server
- Appendix A. Sample Configurations
Executing a custom monitor program
The monitor function executes a custom monitor program to perform a user-defined SAP WebAS state check.
The monitor function executes the MonitorProgram if the following conditions are true:
The specified utility is a valid executable file.
The first level process check indicates that the SAP Web AS instance is online.
The SecondLevelMonitor attribute is either set to 0 or 1, and the second level check indicates that the SAP Web AS instance is online.
The SecondLevelMonitor attribute is set to greater than 1, but the second level check is deferred for this monitoring cycle
The monitor operation interprets the program exit code as follows:
110 or 0 | SAP server instance is ONLINE |
100 or 1 | SAP server instance is OFFLINE |
99 | SAP server instance is UNKNOWN |
Any other value | SAP server instance is UNKNOWN |
To ensure that the custom monitor program is always available to the agent application, Veritas recommends storing the file in a shared directory that is available on an online node.