Managing Serviceguard 11th Edition, Version A.11.16, Second Printing June 2004

Building an HA Cluster Configuration
Creating a Storage Infrastructure with VxVM
Chapter 5 211
# pvremove /dev/rdsk/c0t3d2
# pvcreate -f /dev/rdsk/c0t3d2
Then, use the vxdiskadm program to initialize multiple disks for VxVM,
or use the vxdisksetup command to initialize one disk at a time, as in
the following example:
# /usr/lib/vxvm/bin/vxdisksetup -i c0t3d2
Creating Disk Groups
Use vxdiskadm, or use the vxdg command, to create disk groups, as in
the following example:
# vxdg init logdata c0t3d2
Verify the configuration with the following command:
# vxdg list
NAME STATE ID
rootdg enabled 971995699.1025.node1
logdata enabled 972078742.1084.node1
Creating Volumes
Use the vxassist command to create logical volumes. The following is
an example:
# vxassist -g logdata make log_files 1024m
This command creates a 1024 MB volume named log_files in a disk
group named logdata. The volume can be referenced with the block
device file /dev/vx/dsk/logdata/log_files or the raw (character)
device file /dev/vx/rdsk/logdata/log_files. Verify the configuration
with the following command:
# vxprint -g logdata
The output of this command is shown in the following example:
TY NAME ASSOC KSTATE LENGTH PLOFFS STATE
TUTILO PUTILO