Managing Systems and Workgroups: A Guide for HP-UX System Administrators
Configuring a System
Using Distributed Systems Administration Utilities
Chapter 3 163
Keys have been created, now distributing....
The client <new client> has been added to the cfengine domain
The wizard configures each new client to run cfservd so it can respond to
cfrun requests and adds the client to master’s cfrun.hosts file.
Manual Configuration
The following sections describe the steps required to manually configure
cfengine master configuration synchronization servers or managed
clients. Note that it typically easier to start by using the csync_wizard
(see csync_wizard (1m)) and then modifying the resulting configuration
instead of starting from scratch. This is especially true in a Serviceguard
cluster where the wizard helps set up the package and takes care of
propagating the correct configuration files to all members of the cluster.
When performing manual configurations, it is possible to create
configurations that cannot subsequently be managed by the
csync_wizard. For example, the wizard supports only single DNS
domain configurations. When manually configuring multi-domain
configurations, you cannot use the wizard to add and remove clients.
NOTE You can use csshsetup to configure a trust relationship between the
master server and the managed clients. This will allow you to use
command fanout commands such as cexec and ccp (see cexec (1) and
ccp (1)). Using these commands can simplify the configuration steps
described below when files need to be distributed to managed clients.
Manually Configuring a Standalone Synchronization Server
Perform the following one-time steps to configure a standalone system as
a cfengine master server:
1. Start by creating the master copies of the cfengine configuration
files. These files are placed in a well known directory and are
distributed to each managed client. The default directory is
/var/opt/dsau/cfengine_master/inputs, referenced in the
default templates. Start by creating the directory:
# mkdir -p /var/opt/dsau/cfengine_master/inputs
2. Copy the default templates files to the following directories: