How to configure a node ...
When strike HA is installed, you have to edit some configuration files ...
/etc/ha/ha.conf : main configuration file
PRIVATE_ADDR is the ip address to use for listening heartbeats
PRIVATE_BCAST is the address to broadcast heartbeats
PRIVATE_IF is the interface used for heartbeats
SERVICE_ADDR is the ip ressource you want to be always available
SERVICE_IF is the interface on which you want to provide this ip
SERVICE_MAC is the MAC address to use when doing MAC Take Over
/etc/ha/key : secret key file
put in this file the secret key phrase that you will share with
other nodes to sign packets. Beware of setting right permissions
on it (not world readable).
/etc/ha/scripts/monitor.d/alias.conf
enter here all interfaces you want to check up
one interface per line
/etc/ha/scripts/monitor.d/ping.conf
enter here all ip you want to ckeck up
one ip per line
/etc/ha/scripts/monitor.d/telnet.conf
in this file, you can configure checks on services.
a line configure a check for one service like that :
<ip of server> <port to connect to> <"command to path to service"> <"response waited"> <"command to logout from service">
example, we want to check if the ssh service of server 10.1.0.14 correctly responds:
10.1.0.14 22 "" "SSH-2.0" ""
How to start strike HA ...
striked -h
