Designing High-Availability for Xen Virtual Machines with HP Serviceguard for Linux

Appendix Section I
Xen Legacy Configuration File (xenhost.cnf)
The file “xenhost.cnf” defines a set of configuration parameters for the Xen Legacy Control Script and
Xen Legacy Monitor Script.
The file “xenhost.cnf” along with the control script “xenhost.sh” and the monitor script “cmxenvmd” is
used to package Xen VMs as SG/LX packages in Legacy Mode.
####################################################################
# (C) Copyright 2008 Hewlett-Packard Development Company, L.P.
# @(#) Serviceguard for Linux Attribute Definition File
# @(#) Product Name : HP Serviceguard for Linux
# @(#) Product Version : A.11.18.02
# @(#) Patch Name :
#
# *** Note: This file MUST NOT be edited. *****
#
# Any changes made to it will be overwritten when you upgrade to the
# next release of HP Serviceguard for Linux.
#
# Changing this file may lead to unrecoverable package configuration
# problems.
#
###################################################################
#"XEN_BIN" is the path of the Xen Management Binary.
SG_XEN_BIN=/usr/sbin/xm
#"XEN_VM_PATH" is the path to the Xen Configuration File.
SG_XEN_VM_PATH=
#"XEN_VM_NAME" is the name of the Xen Configuration File.
SG_XEN_VM_NAME=
#"XEN_VM_PID_STATUS" is the absolute path to the Xen VM PID file. This file can be probed and
may be useful for monitoring the VM.
SG_XEN_VM_PID_STATUS=
#"XEN_RETRY_INTERVAL" is the time gap, the Xen Control Script waits to check if the Xen VM has
halted completely.
SG_XEN_RETRY_INTERVAL=10
# "XEN_PROBE_TIMEOUT" The amount of time that must elapse before the VM probe function
attempts a forced shutdown on the VM
SG_XEN_PROBE_TIMEOUT=20
16