HP Serviceguard Toolkit for Integrity Virtual Servers User Guide

5 Configuring guest application monitoring service
HP Serviceguard VM guest application monitoring service is a program or an agent configured
within a VM guest that checks the status of applications configured within the same VM guest. HP
supports the monitoring and control of applications within a VM guest configured as an HP
Serviceguard package. This functionality is available for an application that runs on an HP-UX,
Linux or Windows guest using the JRE (Java Runtime Environment) and provides the following
benefits:
Checks the status of applications within VM guests from the VM Host under the control of
Serviceguard.
Provides startup and failure detection capabilities (restart, guest failover) for monitored VM
guest applications using the HP Serviceguard functionality.
Provides a supported application monitoring framework which does not depend on a
custom-written software.
The method used to monitor applications depends on the application being monitored. It varies
from verifying an existing process ID to checking application performance. In addition, the
application monitoring service performs a recovery action during failure of an application. Based
on the type of failure detected, recovery actions can vary, it might attempt to restart the application
for a specified number of times or halt the VM guest. This action might trigger HP Serviceguard to
failover the VM guest package to another adoptive VM Host cluster member.
Serviceguard VM Guest Application Monitoring architecture
Figure 2 Serviceguard VM Guest Application Monitoring architecture
In Figure 2 (page 15) the VM guest package is the Serviceguard package containing the cmappmgr
services and the guest service.
The key components of the HP Serviceguard guest application monitoring are as follows:
Application Manager cmappmgr (1 per VM guest application): This application runs as
services controlled by the VM guest package.
NOTE: Multiple cmappmgr services can be configured in one VM guest package; one for
each VM guest application to be monitored.
Application Server cmappserver (1 per VM guest): This application runs as a process in the
VM guest to monitor the applications assigned to an Application Manager.
15