Linux-HA Logo

autojoin - enables automatic node joining

The autojoin directive enables nodes to join automatically just by communicating with the cluster, hence not requiring node[1] directives in the ha.cf[2] file. Since our communication is normally strongly authenticated, only nodes which know the cluster key can join (automatically or otherwise).

The general syntax of the autojoin directive is:

autojoin (none|other|any)

All legal autojoin directives are shown below:

autojoin none
autojoin other
autojoin any

The values you can give for the autojoin directive have the following meanings:

Note that the set of nodes currently considered part of the cluster is kept in the hostcache[3] file.

With autojoin enabled, the node[1] directive is no longer authoritative - the hostcache[3] file is.


References

[1]http://www.linux-ha.org/ha.cf/NodeDirective
[2]http://www.linux-ha.org/ha.cf
[3]http://www.linux-ha.org/HostcacheFile


This information provided courtesy of the Linux-HA project at http://linux-ha.org/