ShaoLin Microsystems  
The Enterprise Linux Solutions Expert
Corporate Products Services Support Partners
Download  Contact Us
 

A.3. Serial heartbeat configuration information

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=).

*DEVICE=[TTY DEVICE]

The serial port device used for heartbeat (e.g. /dev/ttyS0 or /dev/ttyS1). This configuration parameter is required.

BAUDRATE=[9600|19200|38400|57600|115200]

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.

IS_CRITICAL=[yes|no]

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.

KEEP_ALIVE=N

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.

DIE_TIMEOUT