Encrypted Volume and File System v2.2 Administrator Guide (777846-001, April 2014)

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 4i: 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 4 (EFS only): Configuring EFS volumes on the adoptive nodes
On each adoptive node, configure the EVFS volumes using the following procedure:
a. Copy the appropriate EVFS configuration files and keys from the configuration node.
b. Import and activate the LVM volume group or VxVM disk group on the adoptive node.
c. Map the LVM or VxVM volumes to EVFS on the adoptive node.
d. Export or deport the LVM volume group or VxVM disk group so the group can be tested on
another adoptive node, or used on the configuration node.
e. Configure the autostart feature to ensure that the EVFS subsystem will be up when the
failover script runs.
Step 4a: Copying the EVFS configuration files and keys
Copy the following files and data from the configuration node:
The EVFS global configuration file, /etc/evfs/evfs.conf.
Copy the key pairs for the users of the encrypted files created in EFS volumes.
Determine the directories used for the key database by checking the priv_key and pass_key
attribute statements in the /etc/evfs/evfs.conf file. By default, EVFS stores user keys in the
/etc/evfs/pkey directory, with a subdirectory for each user.
The filenames use the following naming convention:
/etc/evfs/pkey/users/user/keyname.priv
/etc/evfs/pkey/users/user/keyname.pub
Step 4b: Activating the LVM volume group or VxVM group on the adoptive node
Use the following procedures to activate the LVM Volume Group or VxVM Group on the adoptive
node.
LVM
If you are using EVFS volumes created on LVM volumes, use the following vgchange command
to activate the LVM volume group that contains the LVM volumes used for EVFS:
vgchange -a y lvolgroup_device_file
VxVM
If you are using EVFS volumes created on VxVM volumes, use the following VxVM commands to
import the disk group and start the volumes on the adoptive node. Use the -tfC option while
importing:
vxdg import tfC group_name
vxvol -g group_name startall
Step 4 (EFS only): Configuring EFS volumes on the adoptive nodes 175