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

g. Modify the package configuration file to enable EVFS volumes and mount file systems on the
EVFS volumes.
h. Verify and distribute the package configuration.
Step 5a: Halting an existing package
You cannot re-configure an active package to use EVFS volumes. To re-configure an existing, active
package to use EVFS volumes, you must halt the package using the cmhaltpkg command. For
more information, see the Serviceguard product documentation.
Step 5b: Installing the EVFS attribute definition file
1. Create a subdirectory evfs under the /etc/cmcluster/modules directory for the package
as follows:
# mkdir /etc/cmcluster/modules/evfs
2. Change the evfs subdirectory permissions to write protect it as follows:
# chmod 555 /etc/cmcluster/modules/evfs
3. Copy the EVFS Attribute definition file /etc/evfs/opt/cmcluster/evfs.1 to the evfs
subdirectory with appropriate permissions, as follows:
# cp /etc/evfs/opt/cmcluster/evfs.1 /etc/cmcluster/modules/evfs/evfs.1
# chmod 444 /etc/cmcluster/modules/evfs/evfs.1
# chown root:root /etc/cmcluster/modules/evfs/evfs.1
4. Create a link to the ADF file as follows:
# umask 022
# ln -s /etc/cmcluster/modules/evfs/evfs.1
/etc/cmcluster/modules/evfs/evfs
# chown -h root:root /etc/cmcluster/modules/evfs/evfs
Step 5c: Copying the EVFS control and module scripts
1. Create a subdirectory evfs under the /etc/cmcluster/scripts directory as follows:
# mkdir /etc/cmcluster/scripts/evfs
2. Change the evfs subdirectory permissions to write protect it as follows:
# chmod 555 /etc/cmcluster/scripts/evfs
3. Copy the EVFS control script /etc/evfs/opt/cmcluster/evfs_sg.sh to the evfs
subdirectory as follows:
# cp /etc/evfs/opt/cmcluster/evfs_sg.sh
/etc/cmcluster/scripts/evfs/evfs_sg.sh
4. Copy the EVFS module script/etc/evfs/opt/cmcluster/evfs.sh to the evfs subdirectory
as follows:
# cp /etc/evfs/opt/cmcluster/evfs.sh
/etc/cmcluster/scripts/evfs/evfs.sh
Step 5d: Creating a modular package configuration file
Skip this step if you have an existing package configuration file.
If you do not already have a package configuration file, create a subdirectory evfs under the
/etc/cmcluster directory for the evfs package, and create the package configuration file using
the following cmmakepkg command:
# cmmakepkg -m evfs/evfs /etc/cmcluster/evfs/package_file_name.conf
For example, where new_evfs_pkg.conf is the ASCII file package created:
# cmmakepkg -m evfs/evfs /etc/cmcluster/evfs/new_evfs_pkg.conf
Step 5: Configuring HP Serviceguard using modular packages 177