Managing Serviceguard Sixteenth Edition, March 2009
Initializing the Veritas Cluster Volume Manager 3.5
NOTE: Check the Serviceguard/SGeRAC/SMS/Serviceguard Manager Plug-in Compatibility
and Feature Matrix and the latest Release Notes for your version of Serviceguard for
up-to-date information about support for CVM (and CFS — Cluster File System):
http://www.docs.hp.com -> High Availability -> Serviceguard.
If you are using CVM 3.5 and you are about to create disk groups for the first time, you
need to initialize the Volume Manager. This is done by creating a disk group known
as rootdg that contains at least one disk. Use the following command once only,
immediately after installing VxVM on each node:
vxinstall
This displays a menu-driven program that steps you through the VxVM initialization
sequence. From the main menu, choose the “Custom” option, and specify the disk you
wish to include in rootdg.
IMPORTANT: The rootdg for the Veritas Cluster Volume Manager 3.5 is not the same
as the HP-UX root disk if an LVM volume group is used for the HP-UX root disk
filesystem. Note also that rootdg cannot be used for shared storage. However, rootdg
can be used for other local filesystems (e.g., /export/home), so it need not be wasted.
(CVM 4.1 and later do not require you to create rootdg.)
Note that you should create a rootdg disk group only once on each node.
Converting Disks from LVM to VxVM
You can use the vxvmconvert(1m) utility to convert LVM volume groups into VxVM
disk groups. Before you can do this, the volume group must be deactivated, which
means that any package that uses the volume group must be halted. Follow the
conversion procedures outlined in the Veritas Volume Manager Migration Guide for
your version of VxVM. Before you start, be sure to create a backup of each volume
group’s configuration with the vgcfgbackup command, and make a backup of the
data in the volume group. See “Migrating from LVM to VxVM Data Storage ” (page 427)
for more information about conversion.
Initializing Disks for VxVM
You need to initialize the physical disks that will be employed in VxVM disk groups.
To initialize a disk, log on to one node in the cluster, then use the vxdiskadm program
to initialize multiple disks, or use the vxdisksetup command to initialize one disk
at a time, as in the following example:
/usr/lib/vxvm/bin/vxdisksetup -i c0t3d2
Preparing Your Systems 213