add a --single-public-ip argument to ctdbd to specify the ip address
authorRonnie Sahlberg <sahlberg@ronnie>
Tue, 9 Oct 2007 23:42:32 +0000 (09:42 +1000)
committerRonnie Sahlberg <sahlberg@ronnie>
Tue, 9 Oct 2007 23:42:32 +0000 (09:42 +1000)
commit5661ba17b91f62821dec1c76056c78b99752a90b
treecba28ea3b49647c2587334553e1bdf45f7ef7da6
parentf29c0b52df1f455909ba133e3ad3bc462dc32929
add a --single-public-ip argument to ctdbd to specify the ip address
used in single public ip address mode.
when using this argument, --public-interface must also be used.

add a vnn structure to the ctdb context to describe the single public ip
address

update the killtcp control in the daemon that if a socketpair that is to
be killed does not match a normal public address it checks if the
destination address maches the single public ip address and if so uses
that vnn structure from the ctdb context

this allows killtcp to kill also connections to the single public ip
instead of only normal public addresses
config/ctdb.init
config/ctdb.sysconfig
include/ctdb_private.h
server/ctdb_takeover.c
server/ctdbd.c