4.Check the package configuration file: cmcheckconf -P /etc/cmcluster/ckpt1.ascii

cmcheckconf: Verification completed with no errors found. Use the cmapplyconf command to apply the configuration

5.Apply the package configuration file: cmapplyconf -P /etc/cmcluster/ckpt1.ascii

Modify the package configuration ([y]/n)? y Completed the cluster update

6.Run the checkpoint package: cmrunpkg ckpt1

Running package ckpt1 on node node1 Running package ckpt1 on node node2

Successfully started package ckpt1 on node node1 Successfully started package ckpt1 on node node2 cmrunpkg: All specified packages are running

7.Verify the modular package of mount point for the checkpoint package(s) running. Also, verify that the file system is mounted:

cmviewcl

CLUSTER

STATUS

 

 

 

cluster1

up

 

 

 

NODE

STATUS

STATE

 

 

node1

up

running

 

 

node2

up

running

 

 

MULTI_NODE_PACKAGES

 

 

 

PACKAGE

STATUS

STATE

AUTO_RUN

SYSTEM

SG-CFS-pkg

up

running

enabled

yes

cfspkg1

up

running

enabled

no

ckpt1

up

running

enabled

no

Mount Point Packages for Snapshot Images using Modular Style Packages

The following example illustrates how to create a snapshot image. Consider that cvm_dg3 is the disk group configured into a package dg2pkg.

1.Create local storage on which to place the snapshot: vxdg init cvm_dg3 c4t1d0

vxassist -g cvm_dg3 make vol1 100m vxvol -g cvm_dg3 startall

2.Create a package configuration file for the snapshot image:

cmmakepkg -m sg/cfs_all snap1.ascii

Package template is created. This file must be edited before it can be used.

3.Edit the following package parameters in the snap1.ascii package configuration file:

package_namesnap1

node_name

node1

snapshot_mount_point

/snap1

snapshot_name

cvm_dg3_node1/lvol3

snapshot_cfs_mount_point

/mnt2

snapshot_mount_options

"node1=ro"

Configuring the Cluster 209

Page 209
Image 209
HP Serviceguard manual Vxassist -g cvmdg3 make vol1 100m vxvol -g cvmdg3 startall, Cmmakepkg -m sg/cfsall snap1.ascii