Encrypted Volume and File System v2.2 Administrator Guide (777846-001, April 2014)
# 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 4 (EVS only): Configuring EVS Volumes on the adoptive nodes
On each adoptive node, configure the EVFS volumes using the following procedure:
a. Configure the EVFS Volume EMD backup from emd_backup directory in the EVFS configuration
file /etc/evfs/evfs.conf.
b. Restore the cluster key pair files on the adoptive node.
c. Create a local passphrase file for the cluster private key.
d. Import and activate the LVM volume group or VxVM disk group on the adoptive node.
e. Map the LVM or VxVM volumes to EVFS on the adoptive node.
f. Modify entries in the /etc/evfstab file so Serviceguard can enable the EVFS volumes.
g. Verify that you can enable the EVFS volume using the cluster key pair.
h. 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.
i. 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.
• Cluster key pair files. 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 file names use the following naming convention:
/etc/evfs/pkey/users/user/keyname.priv
/etc/evfs/pkey/users/user/keyname.pub
Step 4b: Restoring the cluster key pair files
Restore the cluster key pair files as follows using the procedure described in “Restoring user keys”
(page 67).
Step 4c: Creating a local passphrase file
Use the following evfspkey passgen command to create a stored passphrase file for the cluster
private key on the local system:
evfspkey passgen -f -u user -k keyname
The evfspkey utility will prompt you for the current passphrase.
Step 4d: 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:
Step 4 (EVS only): Configuring EVS Volumes on the adoptive nodes 173