Encrypted Volume and File System v2.2 Administrator Guide (777846-001, April 2014)
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.
• For EVFS volumes without a file system, use the EVFS attribute evfs_raw_vol.
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
This section offers LVM and VxVM modular package examples for EVS and EFS.
LVM for EVS
# 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"
LVM for EFS
# fs_name /dev/evfs/vg01/lvol1
# fs_directory /evfs
# fs_mount_opt "-o stackfs=sefs"
# fs_umount_opt "-s"
# fs_fcsk_opt "-s"
# fs_type "vxfs"
VxVM for EVS
# 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"
VxVM for EFS
# vxvm_dg evfs_dg
:
:
# fs_name /dev/evfs/vx/dsk/evfs_dg/lvxvm_vol1
Step 5: Configuring HP Serviceguard using modular packages 179