Top
PRIMECLUSTER  Cluster Foundation Configuration and Administration Guide 4.3
FUJITSU Software

7.4.1 Shutdown Daemon

To configure the Shutdown Daemon (SD), you will need to modify the file

/etc/opt/SMAW/SMAWsf/rcsd.cfg on every node in the cluster.

A file, rcsd.cfg.template, is provided under the /etc/opt/SMAW/SMAWsf directory, which is a sample configuration file for the Shutdown Daemon using fictitious nodes and agents.

Note

It is important that the rcsd.cfg file is identical on all cluster nodes; care should be taken in administration to ensure that this is true.

Here is the example of rcsd.cfg, which is created by editing an rcsd.cfg.template.

node1,weight=2,admIP=fuji2:agent=SA_mmbp,timeout=20:agent=SA_mmbr,timeout=20
node2,weight=2,admIP=fuji3:agent=SA_mmbp,timeout=20:agent=SA_mmbr,timeout=20

The configuration file must be created in the /etc/opt/SMAW/SMAWsf directory and must use rcsd.cfg as the file name.

The format of the configuration file is as follows:

cluster-node1 [,weight=w1][, admIP=admIP1]:agent=SA1, timeout=t1[:agent=SA2, timeout=T2]...
cluster-node2 [,weight=w2][,admIP=admIP2]:agent=SA1, timeout=t1[:agent=SA2, timeout=T2]...
...

The order of the SAs in the configuration file should be such that the first SA in the list is the preferred SA. If this preferred SA is issued a shutdown request and if its response indicates a failure to shut down, the secondary SA is issued the shutdown request. This request/response is repeated until either an SA responds with a successful shutdown, or all SAs have been tried. If no SA is able to successfully shut down a cluster node, then operator intervention is required and the node is left in the LEFTCLUSTER state.

The location of the log file will be /var/opt/SMAWsf/log/rcsd.log.