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

IMPORTANT: Additional changes must be made to the new package configuration file before it can be used. For more information, see the Serviceguard product documentation

Continue to “Step 5g: Adding the EVFS Volumes to the Package Configuration File” (page 166).

Step 5e: Migrating a Legacy Package Configuration File

Skip this step if you have an existing modular package configuration file.

If you already have a package configuration file configured for legacy packages, migrate it to a modular package configuration file.

IMPORTANT: To use the cmmigratepkg tool, you must install the following patches: PHSS_37601 For Serviceguard on 11i v2 Update 2

PHSS_37602 For Serviceguard on 11i v3

Use the cmmigratepkg command to migrate a legacy package configuration file to a modular package configuration as follows:

#cmmigratepkg –p pkg_name –o outputfile.conf where:

pkg_name

Specifies the package

outputfile.conf

Specifies the file that contains the modular package configuration for

 

the package.

For example, where evfs_pkg.conf is the new modular package configuration file created:

#cmmigratepkg –p evfs –o /etc/cmcluster/evfs/evfs_pkg.conf

For more information on the cmmigratepkg tool, see the Serviceguard product documentation.

Step 5f: Adding the EVFS package to the Configuration File

Add the EVFS package to the modular package configuration file using the cmmakepkg command as follows:

#cmmakepkg –i outputfile.conf –m evfs/evfs /etc/cmcluster/pkg_name/new_outputfile.conf

where:

 

outputfile.conf

Specifies the existing modular package configuration file

new_outputfile.conf

Specifies the new package configuration file

For example, where my_mod_pkg.conf is the existing modular package configuration file, and new_evfs_pkg.conf is the new modular package configuration file created:

#cmmakepkg –i /etc/cmcluster/evfs/my_mod_pkg.conf –m evfs/evfs /etc/cmcluster/evfs/new_evfs_pkg.conf

Step 5: Configuring Serviceguard using Modular packages 165

Page 165
Image 165
HP UX Encrypted Volume and Filesystem (EVFS) manual Creating a Modular Package Configuration File