Managing Systems and Workgroups: A Guide for HP-UX System Administrators

Configuring a System
Using Distributed Systems Administration Utilities
Chapter 3168
1. Start by obtaining an IP address for the package. This address is
typically registered in DNS to simplify management of remote
clients. If you are using cfengine for intra-cluster use only, it is
sufficient to make sure the address is added to each member’s
/etc/hosts file.
2. Next, create the storage infrastructure required for a new
package. The instructions for doing this are documented in the
Managing Serviceguard book, under “Building an HA Cluster
Configuration”, “Creating a Storage Infrastructure.” For
example. if using an LVM storage infrastructure, that would
include the following steps:
a. Create the LVM volume group (VG) and logical volumes (LV)
(for example, /dev/vgcsync/lvol1).
b. Exporting/importing the VG cluster-wide.
c. Setting up a filesystem on the LV.
d. Creating the the filesystem’s mount point (for example,
/csync) cluster-wide.
The default templates assume you are using LVM-based storage.
To use VxVM or other cluster-wide storage and filesystems, make
the appropriate changes to the package templates described
below.
3. Make sure the filesystem for the package is mounted on the
current member. For example, if using LVM do the following:
# vgchange -a e /dev/vgcsync
# mount -o rw,largefiles /dev/vgcsync/lvol1 /csync
Initial Policy File Customization
1. Create a subdirectory for the master policy files and reference
files. For example:
# mkdir -p /csync/dsau/cfengine_master/master_files
These example directories are those used by the csync_wizard.
2. Copy the default templates into the master inputs directory:
# cd /csync/dsau/cfengine_master/inputs
# cp /opt/dsau/share/cfengine/templates/cf.main.template cf.main