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

Configuring a System
Using Distributed Systems Administration Utilities
Chapter 3 167
This example allows all the hosts in the listed domains to access
files on the master server. You also can specify lists of specific
hosts, IP address ranges, etc. Please see the cfengine reference
manual for additional information
10. On the master server, start cfservd:
# /sbin/init.d/cfservd start
This is repeated for each managed client.
11. Test the configuration by performing the following steps:
a. On a managed client, use the command:
# cfagent --no-lock --verbose --no-splay
The verbose output will display the client checking for updated
copies of the master policy files, copying them down to
/var/opt/cfengine/inputs if needed, and then executing the
contents of cfagent.conf/cf.main.
b. On the master server, test the cfrun command:
# cfrun -- --inform
The --inform syntax instructs the remote cfagent to use the
--inform flag which will produce messages for all changes
cfengine performs on the system. For additional information,
the --verbose can also be helpful:
# cfrun -v -- --verbose
The -v instructs cfrun itself to be more verbose and the
--verbose is passed on to the remote cfagent.
For additional troubleshooting information, refer to “cfengine
Troubleshooting” on page 182.
Manually Configuring a Serviceguard Cluster Synchronization
Server Configuring cfengine for high availability in a Serviceguard
cluster is similar to configuring it for a standalone machine, which is
described in section “Using the Wizard to Configure a Standalone
Synchronization Server” on page 151. The primary differences are the
creation of the Serviceguard package and the mechanism used to
distribute cfengine’s security keys. Follow all the steps described below.
Initial Serviceguard Package Preparation