Step 5g: Adding the EVFS Volumes to the Package Configuration File

Edit the package configuration file to configure the EVFS volumes that you want Serviceguard to enable when the package starts, and the file systems to be mounted on the EVFS volumes.

If the EVFS volumes are created on VxVM volumes, specify the VxVM disk groups in the vxvm_dg parameter in the package configuration file.

For packages that need to be mounted on EVFS volumes mapped on LVM volumes to filesystems, carry out the following tasks:

Specify the LVM volume groups in the vg parameters to be activated

Select the appropriate vgchange cmd

Use the fs options in the FILESYSTEMS portion of the package configuration file to specify the options for mounting and unmounting the filesystems.

Do not use the vxvm_dg parameters for LVM volume groups.

For more information, see the Serviceguard product documentation.

If you started with an existing package configuration file, remove the appropriate LVM or VxVM volumes from the fs_name and other fs_* entries, and replace them with EVFS volumes.

Serviceguard will enable the EVFS volumes when the package starts and disable the EVFS volumes when the package fails over.

LVM and VxVM Modular package example

LVM Example

#fs_name /dev/evfs/vg01/lvol1

#fs_directory /evfs

#fs_mount opt "-o rw"

#fs_umount_opt "-s"

#fs_fcsk_opt "-s"

#fs_type "vxfs"

VxVM Example

#vxvm_dg evfs_dg

:

:

#fs_name /dev/evfs/vx/dsk/evfs_dg/lvxvm_vol1

#fs_directory /tst

#fs_mount opt "-o rw"

#fs_umount_opt "-s"

#fs_fcsk_opt "-s"

#fs_type "vxfs"

Step 5h: Verifying the Script

Verify the package configuration using the cmcheckconf command. Build and distribute the cluster configuration as described in the Serviceguard product documentation.

166 Using EVFS with Serviceguard

Page 166
Image 166
HP UX Encrypted Volume and Filesystem (EVFS) manual Adding the Evfs Volumes to the Package Configuration File