HP Linux Server Management Software User Manual
Page 36
This will create keys named localhost.priv and localhost.pub in the directory
/var/opt/dsau/cfengine/ppkeys
.
2.
The public key, localhost.pub is then copied to root-package IP address.pub.
For example,
# cp localhost.pub root-192.10.25.12.pub
where 192.10.25.12 is the relocatable IP address of the csync package.
3.
This member’s localhost.pub is then used to create the member-specific keys for
each member:
# cp localhost.pub root-
# cp localhost.pub root-
# cp localhost.pub root-
…
# cp localhost.pub root-
4.
Finally, all the keys are copied to each member.
# ccp * /var/opt/dsau/cfengine/ppkeys
NOTE:
ccp
, a command-fanout command, performs a cluster copy, copying a
command to all cluster members.
•
Configure and start cfservd
1.
Configure the cfservd daemon to start at system startup. Edit /etc/rc.config.d/
cfservd
and change the line CSYNC_CONFIGURED=0 to CSYNC_CONFIGURED=1.
2.
Propagate this change clusterwide:
# ccp /etc/rc.config.d/cfservd /etc/rc.config.d/cfservd
3.
On the master server, start cfservd:
# etc/init.d/cfservd start
4.
Repeat for the remaining cluster members. If you have configured the cluster for use
with the DSAU command fanout tools, use the following command to start the daemons
clusterwide:
# cexec /etc/init.d/cfservd start
•
Create the csync Package
To create the configuration synchronization package, modify the default package template
files as appropriate for your Serviceguard environment. Note that the package must be
called csync. Failure to do so will cause the Serviceguard automated operations to fail. For
more information, refer to the section
“Serviceguard Automation Features” (page 27)
.
Start by making the following changes:
1.
Create the package directory clusterwide:
# ./etc/cmcluster.conf
# cexec mkdir $SGCONF/csync
2.
Copy the template package ASCII file and package control script to the $SGCONF/csync
directory on the current member:
# cd $SGCONF/csync
# cp /opt/dsau/share/serviceguard/templates/csync.conf.template
csync.conf
36
Configuration Synchronization