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-CK-1

up

running

disabled

no

/tmp/check_logfiles now contains a point-in-time view of /tmp/logdata/log_files,

and it is persistent.

bdf

 

 

 

 

 

Filesystem

kbytes

used

avail %used

Mounted on

/dev/vg00/lvol3

544768

352240

180540

66%

/

/dev/vg00/lvol1

307157

80196

196245

29%

/stand

/dev/vg00/lvol5

1101824

678124

398216

63%

/var

/dev/vg00/lvol7

2621440 1702848

861206

66%

/usr

/dev/vg00/lvol4

4096

707

3235

18%

/tmp

/dev/vg00/lvol6

2367488 1718101

608857

74%

/opt

/dev/vghome/varopt 4194304

258655 3689698

7%

/var/opt

/dev/vghome/home

2097152

17167 1949993

1%

/home

/tmp/logdata/log_files

 

 

 

 

 

102400

1898

94228

2%

/tmp/logdata/log_files

/tmp/logdata/log_files:check2

 

 

 

 

102400

1898

94228

2%

/tmp/check_logfiles

Mount Point Packages for Snapshot Images using Legacy Style Packages

A snapshot is a frozen image of an active file system that does not change when the contents of target file system changes. On cluster file systems, snapshots can be created on any node in the cluster, and backup 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://www.hp.com/go/hpux-core-docs->HP-UX 11i Volume Management (LVM/VxVM) Software..

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

218 Building an HA Cluster Configuration

Page 218
Image 218
HP Serviceguard It is persistent, Vxassist -g dg1 make vol1 100m vxvol -g dg1 startall, Associate it with the cluster