Using HP Serviceguard for Linux with VMware

14
a cluster that includes VMware guests MUST support persistent reservation. (Persistent reservation
becomes effective only when at least one node of the cluster is a Virtual Machine.)
Package parameter for a VM cluster
(from Serviceguard A.11.18.02 to later patches of Serviceguard A.11.18 )
Modular packages: All modular packages used in Serviceguard for Linux clusters that have at
least one VM node must include the persistent_res module This module cantains the parameter
sglx_vm, which you must set to “on” to ensure data integrity during package failover. (By default it is
“off”.)
Legacy packages: You need to modify the package control script to enable persistent reservation.
In the package control script, you will find a variable SGLX_VM, set to “off” by default. If any cluster
node is a VMware guest, you must set this variable to “on” for all packages.
For more information about modular and legacy packages, see the October 2007 revision of the HP
Serviceguard for Linux Version A.11.18 Release Notes, which you can find at http://docs.hp.com
-
> High Availability -> Serviceguard for Linux.
The sglx_vm variable has been removed from both Modular and Legacy packages in HP
Serviceguard A.11.19.
Migrating legacy packages to a VM cluster
You may want to migrate legacy packages to modular packages before deploying then on a
cluster consisting of VMs. The cmmigratepkg command can be used for this purpose.
# cmmigratepkg -p legacy_pkg -o upcc1.conf
If the legacy package was created on SG 11.18.02, you will get the following warning message:
Warning: at line: 533 function persist_reservation is not a Serviceguard function.
Warning: at line: 621 function persist_release is not a Serviceguard function.
(If the legacy package was created on an earlier release, you will not get this warning).
If you see the warning, you need to add the persistent_res module manually to the output
package using the following command.
# cmmakepkg -i upcc1.conf -m sg/persistent_res upcc2.conf
Now you can halt the legacy package and apply the newly generated UPCC style package.