Managing Serviceguard Seventeenth Edition, First Reprint December 2009

NOTE: You must use CFS if you want to configure file systems on your CVM disk
groups; see “Creating a Storage Infrastructure with Veritas Cluster File System (CFS)”
(page 237).
The two sets of procedures — with and without CFS — use many of the same
commands, but in a slightly different order.
Before you start, make sure the directory in which VxVM commands are stored, /usr/
lib/vxvm/bin, is in your path. Once you have created the root disk group with
vxinstall, you can use VxVM commands or the Veritas Storage Administrator GUI,
VEA, to carry out configuration tasks. Instructions for running vxinstall are in the
Veritas Installation Guide for your version. For more information, refer to the Veritas
Volume Manager Administrators Guide for your version.
You need to do the tasks described in the following sections:
“Initializing the Veritas Volume Manager ” (page 245)
“Preparing the Cluster for Use with CVM ” (page 245)
“Identifying the Master Node” (page 246)
“Initializing Disks for CVM” (page 246)
“Creating Disk Groups” (page 247)
“Creating Volumes ” (page 247)
Adding Disk Groups to the Package Configuration ” (page 248)
For more information, including details about configuration of plexes (mirrors),
multipathing, and RAID, refer to the HP-UX documentation for the Veritas Volume
Manager. See the documents for HP Serviceguard Storage Management Suite posted
at http://docs.hp.com.
Initializing the Veritas Volume Manager
If you are about to create disk groups for the first time, you need to initialize the Volume
Manager.
Use the following command after installing VxVM/CVM on each node:
vxinstall
This displays a menu-driven program that steps you through the VxVM/CVM
initialization sequence.
Preparing the Cluster for Use with CVM
In order to use the Veritas Cluster Volume Manager (CVM), you need a cluster that is
running with a Serviceguard-supplied CVM system multi-node package, SG-CFS-pkg.
This means that the cluster must already be configured and running before you create
disk groups.
Configuring the Cluster 245