|
| ||||||||||||||||
| ShaoLin HA Cluster 1.0 Installation Manual and Operations Guide | ||
|---|---|---|
| Prev | Appendix A. Supplementary Software Information | Next |
The configuration of a serial port heartbeat channel is localed in /etc/shaolin-ha/khnd.d/serial-ttySX . Where X is the serial port device number (e.g. ttyS0, ttyS1). If the configuration file of a serial port exists, heartbeat will be automatically started for the corresponding serial port with the given serial port device (see the following DEVICE=).
The serial port device used for heartbeat (e.g. /dev/ttyS0 or /dev/ttyS1). This configuration parameter is required.
Specifies the serial port baud rate to use. Modern serial ports with UART 16550A supports up to 115200bps. The default value is 9600. Notice this value effects the KEEP_ALIVE parameter, as the speed of serial port is much slower than Ethernet devices, using a low baud rate with small KEEP_ALIVE cycle will cause buffer congestions.
If this heartbeat channel is set to IS_CRITICAL=yes, once this channel is timed out, it will cause the standby server to failover the system. Default is set to no if it is not given.
The heartbeat keep alive cycle in Nmilli seconds for this heartbeat channel. The default is to use the global KEEP_ALIVE settings, specifying a KEEP_ALIVE parameter in the heartbeat configuration file will override the global settings for this channel only. For serial devices, the KEEP_ALIVE settings also depends on the BUADRATE settings of the serial port.