Sun Cluster Data Service for SAP Web Application Server Guide for Solaris OS

Operation of the Fault Monitor for the SAP Message Server Resource Type

To determine whether the SAP Message Server is operating correctly, the fault monitor for theSAP Message Server resource type probes these resources periodically.

The probe uses the SAP utility msprot to check the health of the SAP Message Server.


# msprot -mshost localhost -msserv port -r probe_timeout/2
-mshost localhost

Specifies that the name of the host is localhost.

-msserv port

Specifies the message server port.

-r probe_timout/2

Specifies the time within which the msprot command should be executed. This value should be set to the probe_timeout value of the resource.

If this command is run on the command line, a return code is returned on the command line.

During a probe, the fault monitor determines whether the SAP Message Server is online by running the msprot command.


# msprot -mshost localhost -msserv port -r probe_timeout/2

The result of this command determines the action of the probe, as follows:

  1. If the command times out, the SAP Message Server issues a partial failure. If this time-out occurs one more time within the probe interval period, a failover occurs.

  2. If the command does not time out, the probe checks the value of the return code from the msprot command, as follows:

    • A return code value of 0 indicates that the command is successful, and no further action is taken until the next probe.

    • A return code value of 7 indicates that the message server is not responding, and the probe triggers a failover.

    • All other return codes are treated as a partial failure. If such a failure occurs three more times within the probe interval period, a failover occurs.

Note that the values for the number of timeouts and the probe interval period are assigned by the SAP Message Server fault monitor. You cannot change these values.