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

Step 4c: Mapping the LVM or VxVM volumes to EVFS
Start the EVFS subsystem using the evfsadm start command if you have not already done so.
Use the evfsadm map command with the -f option to map the LVM or VxVM volumes to EVFS
in EFS mode (EVFS must add the volumes to the kernel registry on the adoptive node). The evfsadm
map syntax is as follows:
evfsadm map -f volume_path
where:
-f Specifies the EFS mode. The EVS mode is used if this option is not specified.
volume_path Specifies the absolute path of the block device file for the underlying LVM or
VxVM volume, such as /dev/vx/dsk/rootdg/vol01 or /dev/vg01/lvol5.
Step 4d: Deactivating the volumes
After you have verified that you can enable the EVFS volumes configured properly on the adoptive
node, use the following procedure to deactivate them so they can be tested on other adoptive
nodes, or activated on the configuration node:
i. For data consistency, stop all applications accessing the data. You can use the fuser -cu
command to determine the processes accessing files, and the fuser -cku command to
terminate the processes. See fuser(1M) for more information.
If the data is used by system processes, you might need to terminate the processes by changing
the system runlevel to single-user level by running the shutdown utility. See shutdown(1M)
for more information.
ii. (Optional) Create a cleartext backup copy of the data, or copy the cleartext data from the
EVFS volume to another disk device using a utility such as fbackup, cp or tar.
iii. If you have a file system mounted on the EVFS volume, use the umount command to unmount
the file system. See umount(1M) for more information.
iv. If you are using EVFS volumes created on LVM volumes, use the following vgchange command
to deactivate the LVM volume group on the configuration node:
vgchange -a n lvolgroup_device_file
For example:
vgchange -a n /dev/vg02
If you are using EVFS volumes created on VxVM volumes, use the following vxdg command
to deport the VxVM disk group on the configuration node:
vxdg deport vxvm_group
For example:
vxdg deport evfsdg
Step 4e: Configuring the autostart feature
Configure the autostart feature to ensure that the EVFS subsystem is started when the adoptive
node starts. Enable EVFS in the /etc/rc.config.d/evfs file. Change the value for
EVFS_ENABLED to 1 as follows:
EVFS_ENABLED = 1
Step 5: Configuring HP Serviceguard using modular packages
Use the following procedure to modify or create Serviceguard package configuration files.
a. Halt the package if you want to reconfigure an existing package to use EVFS volumes.
b. Install EVFS Attribute definition file in the modules directory.
c. Copy the EVFS Control and Module Scripts.
d. Create a modular package configuration file if you do not already have one.
e. Migrate an existing legacy package configuration file if you have one.
f. Add the EVFS package to the modular configuration file
172 Using EVFS with HP Serviceguard