Encrypted Volume and File System v2.0 Administrator Guide HP-UX 11i v3

#cmmakepkg -s /etc/cmcluster/my_pkg/my_pkg.sh
where /etc/cmcluster/my_pkg/my_pkg.sh is the new package control script.
For more information, see the Serviceguard product documentation
Step 6d: Converting a package control script
Converting a package control script
You must convert the package control script to execute EVFS control script. Convert the package
control script using the evfssgconv utility. The syntax is:
/etc/evfs/opt/cmcluster/evfssgconv source_package > new_package
where:
source_package Specifies the existing package control script file, such as /etc/
cmcluster/my_pkg/my_pkg.sh.
new_package Specifies the name for the new package control script file, such as /etc/
cmcluster/my_pkg/my_pkg_evfs.sh.
Modifying the package configuration file
You must modify the RUN_SCRIPT and HALT_SCRIPT variables in the package configuration
file to use the converted package control script. For example:
RUN_SCRIPT /etc/cmcluster/my_pkg/my_pkg_evfs.sh
:
:
HALT_SCRIPT /etc/cmcluster/my_pkg/my_pkg_evfs.sh
Step 6e: Adding the EVFS volumes to the package control script
Edit the package control script 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[] parameters in the package control script.
Specify the EVFS volumes that you want Serviceguard to enable in the LV[] parameters
Specify the file systems you want Serviceguard to mount on the EVFS volumes in the FS[]
parameters
Specify the appropriate file system type in the FS_TYPE[] parameters
If you started with an existing package control script, remove the appropriate LVM or VxVM volumes
from the LV[] and 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.
The following are examples of LVM and VxVM legacy package examples for EVS and EFS:
LVM for EVS
LV[0]="/dev/evfs/vg02/lvol5"; FS[0]="/opt/crypto"; FS_MOUNT_OPT[0]=
"-o rw"
#FS_TYPE[0]="vxfs"
LVM for EFS
LV[0]="/dev/evfs/vg02/lvol5"; FS[0]="/opt/crypto"; FS_MOUNT_OPT[0]=
"-o stackfs=sefs"
#FS_TYPE[0]="vxfs"
VxVM for EVS
VXVM_DG[0]="evfsdg"
:
Step 6: Configuring HP Serviceguard using legacy packages 177