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 application availability is achieved in a physical environment
- How does the Veritas High Availability solution work
- Agent functions
- Agent attributes for SAP Web Application Server
- Installing the agent for SAP Web Application Server
- Installing and configuring the SAP Web Application Server for high availability
- Monitoring an SAP instance
- About installing SAP Web Application Server for high availability
- About configuring SAP Web Application Server for high availability
- Setting up SAP systems for clustering
- Installing SAP system using Virtual Hostname
- Configuring the agent for message server restart
- 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
- Starting the SAP Web Application Server outside a cluster
- Troubleshooting common problems
- Unable to see an entry in the SAP MMC for an SAP instance
- The agent for SAP Web Application Server fails to bring online an SAP instance resource through VCS
- SAP instance does not come online, and the startsap.exe command exits with exit code -1
- In case of an Enqueue server failure, the Enqueue server instance fails to take over the lock table from the Enqueue Replication server instance
- The ensmon.exe command returns exit code 4 for a Enqueue server instance
- The return code of the ensmon.exe command is 8 for an Enqueue Replication server instance
- The Enqueue server instance does not fail over to the correct Enqueue Replication server instance
- In case of a resource fault, the Service Group does not fail over
- Reviewing SAP Web Application Server agent log files
- Reviewing error log files
- Checks for an SAP Add-In Usage Types
- 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.