Managing Serviceguard 12th Edition, March 2006

Building an HA Cluster Configuration
Creating the Storage Infrastructure and Filesystems with VERITAS Cluster Volume Manager (CVM)
Chapter 5256
Verify the configuration with the following command:
# vxdg list
Mirror Detachment Policies with CVM
The default CVM disk mirror detachment policy is global, which means
that as soon as one node cannot see a specific mirror copy (plex), all
nodes cannot see it as well. The alternate policy is local, which means
that if one node cannot see a specific mirror copy, then CVM will
deactivate access to the volume for that node only.
The global policy is recommended, because it can ensure all nodes are
accessing the same current data. If you use local, it can cause problems if
one node cannot update one of the mirror copies and the data on that
copy goes stale. If any of the other nodes tries to read from that mirror
copy, they would read the stale data. This can be avoided with the global
option, because all nodes will only use the current mirror copy, so they
will all read consistent data.
This policy can be re-set on a disk group basis by using the vxedit
command, as follows:
# vxedit set diskdetpolicy=[global|local] <
DiskGroupName
>
NOTE The specific commands for creating mirrored and multi-path storage
using CVM are described in the HP-UX documentation for the VERITAS
Volume Manager, posted at http://docs.hp.com.
Creating File Systems
If your installation uses filesystems, create them next. Use the following
commands to create a filesystem for mounting on the logical volume just
created:
1. Create the filesystem on the newly created volume:
# newfs -F vxfs /dev/vx/rdsk/logdata/log_files
2. Create a directory to mount the volume:
# mkdir /logs
3. Mount the volume: