HP Process Resource Manager User's Guide

Appendix E 249
E Using PRM with Serviceguard
The optional HP product Serviceguard provides users and applications
with a high availability environment. Serviceguard makes this
environment possible by moving applications from one server to another
when the original server or application session is unable to complete the
desired jobs. You can set up PRM to control applications on the primary
server and on a secondary server in the event of a failover. Such a set up
requires a Serviceguard package control script that consists of the
applications that PRM controls and a customer-defined function to
control PRM.
Specify applications that PRM should control using the SERVICE_CMD[]
variable in the package control script. When specifying an application, be
sure to launch the application under PRM control using the prmrun
command. For example, the following line launches application in the
PRM group math_dept.
SERVICE_CMD[0]=”/opt/prm/bin/prmrun -g math_dept
application
NOTE If application records in your PRM configuration reference executable
files that are unavailable due to being on a filesystem that is part of a
Serviceguard package that is not available, PRM ignores the application
records. Reload the PRM configuration with prmconfig when the
filesystem is present for the application records to take effect. To
automate the reload, you could place the prmconfig command toward
the end of the Serviceguard package script.