Administrator's Guide

Step 4: Configuring EVFS 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. 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/user/keyname.priv
/etc/evfs/pkey/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 84).
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:
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:
vxdg import group_name
vxvol -g group_name startall
Step 4: Configuring EVFS Volumes on the Adoptive Nodes 161