User manual

Network Setup
69
Enabling high availability
On each of the devices, select the Failover & H/A, then the High Availability tab.
You may use either the supplied script, /bin/highavaild, to manage the shared address,
or you may write your own script, possibly based on /bin/highavaild.
Note
/bin/highavaild is a Tcl script. The SG unit uses TinyTcl, which provides a fairly extensive
subset of regular Tcl’s features. Documentation is available from:
http://tinytcl.sourceforge.net/
If you are using the supplied /bin/highavaild script, enter a command similar to the
following as the Start Command on both devices. Stop Command and Test
Command are not required in the basic scenario.
/bin/highavaild [-d] [-n] [-a alias] ipaddr &
ipaddr is the floating IP address. You do not need to manually configure this address on
either unit, the script handles this internally.
alias is an alias interface name, such as eth0:9, on which to configure ipaddr when this
device is the master. If you do not specify an alias, the script automatically selects the
eth0:9.
-d enables extra debug output to the sytem log.
-n disables the High Availability or HA LED, if it is present on your SG unit.
Note
Normally the script controls the HA LED to indicate the status of HA, however if two or
more highavaild scripts are used for different interfaces, only one is able to control the
LED.