Managing Serviceguard 13th Edition, February 2007
Building an HA Cluster Configuration
Creating a Storage Infrastructure with VERITAS Cluster File System (CFS)
Chapter 5 241
operations can be performed from that node. The snapshot of a cluster
file system is accessible only on the node where it is created; the
snapshot file system itself cannot be cluster mounted.
For details on creating snapshots on cluster file systems, see the
VERITAS Storage Foundation Cluster File System Installation and
Administration Guide posted at http://docs.hp.com:.
The following example illustrates how to create a snapshot of the
/tmp/logdata/log_files file system.
1. Create local storage on which to place the snapshot.
# vxdg init dg1 c4t1d0
# vxassist -g dg1 make vol1 100m
# vxvol -g dg1 startall
2. Associate it with the cluster.
# cfsmntadm add snapshot dev=/dev/vx/dsk/dg1/vol1 \
/tmp/logdata/log_files /local/snap1 ftsys9=ro
Package name SG-CFS-SN-1 was generated to control the resource.
Mount point /local/snap1 was associated to the cluster.
# cfsmount /local/snap1
# cmviewcl
CLUSTER STATUS
cfs-cluster up
NODE STATUS STATE
ftsys9 up running
ftsys10 up running
MULTI_NODE_PACKAGES
PACKAGE STATUS STATE AUTO_RUN SYSTEM
SG-CFS-pkg up running enabled yes
SG-CFS-DG-1 up running enabled no
SG-CFS-MP-1 up running enabled no
SG-CFS-SN-1 up running disabled no
The snapshot file system /local/snap1 is now mounted and
provides a point in time view of /tmp/logdata/log_files.