Managing Serviceguard 14th Edition, June 2007
Migrating from LVM to VxVM Data Storage
Customizing Packages for CVM
Appendix G 501
Customizing Packages for CVM
NOTE CVM (and CFS - Cluster File System) are supported on some, but not all
current releases of HP-UX. Check the latest Release Notes for your
version of Serviceguard for up-to-date information
(http://www.docs.hp.com -> High Availability ->
Serviceguard).
After creating the CVM disk group, you need to customize the
Serviceguard package that will access the storage. Use the following
procedure to modify a legacy package to use Cluster Volume Manager
(CVM) disk groups. If you are using the Veritas Volume Manager
(VxVM), use the procedure in the previous section. If you decide to create
a new package, see Chapter 6, “Configuring Packages and Their
Services,” on page 271.
1. Rename the old package control script as follows:
# mv Package.ctl Package.ctl.bak
2. Create a new package control script with the same name as the old
one:
# cmmakepkg -s Package.ctl
3. Edit the new script to include the names of the new CVM disk groups
and logical volumes.
The new portions of the package control script that are needed for
CVM use are as follows:
•The CVM_DG[] array. This defines the CVM disk groups that are
used for this package. The first CVM_DG[] entry should be in
index 0, the second in 1, etc. For example:
CVM_DG[0]="dg01"
CVM_DG[1]="dg02"