ctdb-scripts: New eventscript 10.external
commit3b25face87b01c3013cf40f4b54be0c58aff5b4b
authorMartin Schwenke <martin@meltin.net>
Mon, 11 May 2015 05:29:34 +0000 (11 15:29 +1000)
committerAmitay Isaacs <amitay@samba.org>
Wed, 13 May 2015 04:42:13 +0000 (13 06:42 +0200)
treefc4f0f52514e042c27a1e00ecd8138a1ffbbde76
parenta1d6b3fb4bff4251facd52bfe7c03d68562a81a7
ctdb-scripts: New eventscript 10.external

This is an alternative to 10.interface and is installed as disabled by
default.  It should only be used with DisableIPFailover=yes and when
IP failover is being handled externally.  In this mode CTDB can be
informed of public IP address movements using "ctdb moveip".

During the "startup" event, this eventscript currently finds any
public IP addresses configured in $CTDB_PUBLIC_ADDRESSES and tells
CTDB which node they are on using "ctdb moveip".  This allows CTDB to
send ARPs and tickle-ACKs.

Pair-programmed-with: Amitay Isaacs <amitay@gmail.com>
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/config/events.d/10.external [new file with mode: 0644]
ctdb/packaging/RPM/ctdb.spec.in