Information
See the format of the configuration file described below as a reference. How to configure the shutdown agent is described in "7.5 Configuring the Shutdown Facility."
Create a configuration file at /etc/opt/SMAW/SMAWsf directory and change the configuration file name to rcsd.cfg.
Here is the format of the configuration file.
CFName[,weight=weight][,admnIP=myadmnIP]:agent=SA_name,timeout=SA_timeout{:agent=SA_name2,timeout=SA_timeout2:]
Weight is an option keyword. If this option is not specified, assign the weight 1 to rcsd. This keyword is an option so that the existing configuration works without any change.
admIP is an option keyword. myadmIP is the IP address of the administrative LAN on the CFName machine. This keyword is also an option because this is the case of backward compatibility. However, the setting is required to avoid the inappropriate cluster partition. Set the address myadmIP, which does not exist on the CIP Interface.
CFName is the CF node name of the machine in the cluster.
agent and timeout are reserved words.
SA_name is the command name of the shutdown agent.
SA_timeout is the maximum time (second) during which the shutdown agent can work until a fault occurrence is detected.
The shutdown agent described first in the configuration file is the first priority SA. When the first priority SA sends a shutdown request and the response shows that the shutdown fails, the second priority SA sends a shutdown request. Requests and responses are continuously sent until a response shows the successful shutdown, or until a shutdown request is sent by all SAs. If SA fails to shut down the cluster node, operation by an operator is necessary, and the node remains in LEFTCLUSTER state.
The log file is stored in the /var/opt/SMAWsf/log/rcsd.log. Make sure to use the same rcsd.cfg file on all cluster nodes. This should be secured for administrative reasons.
The rcsd.cfg.template file exists in the /etc/opt/SMAW/SMAWsf directory. This file is the sample configuration file of the shutdown daemon configured by a dummy machine and an agent.