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.

NOTE: Cluster configuration is described under “Configuring the Cluster ” (page 186).

Check the heartbeat configuration. CVM 4.1 and later versions require that the cluster have either multiple heartbeats or a single heartbeat with a standby, and do not allow the use of Auto Port Aggregation, Infiniband, or VLAN interfaces as a heartbeat subnet.

The CVM cluster volumes are managed by a Serviceguard-supplied system multi-node package which runs on all nodes at once, and cannot fail over. For CVM 4.1 and later, Serviceguard creates the SG-CFS-pkg.

The SG-CFS-pkgpackage has the following responsibilities:

Maintain Veritas configuration files /etc/llttab, /etc/llthosts, /etc/gabtab

Launch required services: cmvxd, cmvxpingd, vxfsckd

Start/halt Veritas process in the proper order: llt, gab, vxfen, odm, cvm, cfs

Use the cmapplyconf command to create the system multi-node package that communicates cluster information to CVM:

cmapplyconf -P /etc/cmcluster/cfs/SG-CFS-pkg.conf

Begin package verification ...

Modify the package configuration ([y]/n)? Y

Completed the cluster update

IMPORTANT: Do this only if you are using CVM without CFS. If you are using CFS, you set up CVM as part of CFS; see “Creating a Storage Infrastructure with Veritas Cluster File System (CFS)” (page 199).

Identifying the Master Node

If it is not already running, start the cluster. This will automatically activate the special CVM package:

cmruncl

When CVM starts up, it selects a master node, and this is the node from which you must issue the disk group configuration commands. To determine the master node, issue the following command from each node in the cluster:

vxdctl -c mode

One node will identify itself as the master. Create disk groups from this node.

Initializing Disks for CVM

You need to initialize the physical disks that will be employed in CVM disk groups. If a physical disk has been previously used with LVM, you should use the pvremove command to delete the LVM header data from all the disks in the volume group (this is not necessary if you have not previously used the disk with LVM).

220 Building an HA Cluster Configuration

Page 220
Image 220
HP Serviceguard manual Initializing the Veritas Volume Manager, Preparing the Cluster for Use with CVM