Rev 650: merge from ronnie in http://samba.org/~tridge/ctdb
tridge at samba.org
tridge at samba.org
Mon Oct 15 04:17:52 GMT 2007
------------------------------------------------------------
revno: 650
revision-id: tridge at samba.org-20071015041749-u5y53e98q0qgcdrv
parent: tridge at samba.org-20071015033109-k6wxni60hrysaoyb
parent: sahlberg at ronnie-20071010215157-peawehft6g3i3e6e
committer: Andrew Tridgell <tridge at samba.org>
branch nick: tridge
timestamp: Mon 2007-10-15 14:17:49 +1000
message:
merge from ronnie
added:
config/events.d/90.ipmux 90.ipmux-20071008021847-vxcv0xkqd7kbgsez-1
utils/ipmux/ ipmux-20071008000130-dli3s00uaraama1y-1
utils/ipmux/ipmux.c ipmux.c-20071008000130-dli3s00uaraama1y-2
modified:
Makefile.in makefile.in-20061117234101-o3qt14umlg9en8z0-1
client/ctdb_client.c ctdb_client.c-20070411010216-3kd8v37k61steeya-1
config/ctdb.init ctdb.init-20070527204758-biuh7znabuwan3zn-6
config/ctdb.sysconfig ctdb.sysconfig-20070527204758-biuh7znabuwan3zn-7
config/events.d/10.interface 10.interface-20070604050809-s21zslfirn07zjt8-1
config/functions functions-20070601105405-gajwirydr5a9zd6x-1
configure.ac configure.ac-20061117234101-o3qt14umlg9en8z0-10
include/ctdb.h ctdb.h-20061117234101-o3qt14umlg9en8z0-11
include/ctdb_private.h ctdb_private.h-20061117234101-o3qt14umlg9en8z0-13
packaging/RPM/ctdb.spec ctdb.spec-20070527204758-biuh7znabuwan3zn-3
server/ctdb_control.c ctdb_control.c-20070426122724-j6gkpiofhbwdin63-1
server/ctdb_recoverd.c recoverd.c-20070503213540-bvxuyd9jm1f7ig90-1
server/ctdb_takeover.c ctdb_takeover.c-20070525071636-a5n1ihghjtppy08r-2
server/ctdbd.c ctdbd.c-20070411085044-dqmhr6mfeexnyt4m-1
tools/ctdb.c ctdb_control.c-20070426122705-9ehj1l5lu2gn9kuj-1
------------------------------------------------------------
revno: 432.1.312
revision-id: sahlberg at ronnie-20071010215157-peawehft6g3i3e6e
parent: sahlberg at ronnie-20071010213010-cedy1z8mxdbm96n5
committer: Ronnie Sahlberg <sahlberg at ronnie>
branch nick: ctdb
timestamp: Thu 2007-10-11 07:51:57 +1000
message:
use $CTDB_BASE in 90.ipmux instead of hardcoding it to /etc/ctdb
modified:
config/events.d/90.ipmux 90.ipmux-20071008021847-vxcv0xkqd7kbgsez-1
------------------------------------------------------------
revno: 432.1.311
revision-id: sahlberg at ronnie-20071010213010-cedy1z8mxdbm96n5
parent: sahlberg at ronnie-20071010212738-ux4fjvi5s02d7ndd
committer: Ronnie Sahlberg <sahlberg at ronnie>
branch nick: ctdb
timestamp: Thu 2007-10-11 07:30:10 +1000
message:
use kill_tcp_connections() to kill off all tcp connections to the
"single public ip" address when we do a recovery
modified:
config/events.d/90.ipmux 90.ipmux-20071008021847-vxcv0xkqd7kbgsez-1
------------------------------------------------------------
revno: 432.1.310
revision-id: sahlberg at ronnie-20071010212738-ux4fjvi5s02d7ndd
parent: sahlberg at ronnie-20071010211017-963qiukxwlcj7moj
committer: Ronnie Sahlberg <sahlberg at ronnie>
branch nick: ctdb
timestamp: Thu 2007-10-11 07:27:38 +1000
message:
move the kill_tcp_connections() function from 10.interfaces to functions
modified:
config/events.d/10.interface 10.interface-20070604050809-s21zslfirn07zjt8-1
config/functions functions-20070601105405-gajwirydr5a9zd6x-1
------------------------------------------------------------
revno: 432.1.309
revision-id: sahlberg at ronnie-20071010211017-963qiukxwlcj7moj
parent: sahlberg at ronnie-20071010201636-bmwzaw2nr50e555x
committer: Ronnie Sahlberg <sahlberg at ronnie>
branch nick: ctdb
timestamp: Thu 2007-10-11 07:10:17 +1000
message:
first check that recovery master is connected (we know this from our own
flags)
then pull the flags off recovery master before checking if it is banned
modified:
server/ctdb_recoverd.c recoverd.c-20070503213540-bvxuyd9jm1f7ig90-1
------------------------------------------------------------
revno: 432.1.308
revision-id: sahlberg at ronnie-20071010201636-bmwzaw2nr50e555x
parent: sahlberg at ronnie-20071010004955-yh0wh2rqugequoqr
committer: Ronnie Sahlberg <sahlberg at ronnie>
branch nick: ctdb
timestamp: Thu 2007-10-11 06:16:36 +1000
message:
simplify election handling
make sure we read and update the flags from all remote nodes before we
reach the first codepath that can call do_recovery()
since during do_recovery() we need to know what the flags are.
modified:
server/ctdb_recoverd.c recoverd.c-20070503213540-bvxuyd9jm1f7ig90-1
------------------------------------------------------------
revno: 432.1.307
revision-id: sahlberg at ronnie-20071010004955-yh0wh2rqugequoqr
parent: sahlberg at ronnie-20071009234232-4in9jxkdabqtk54g
parent: tridge at samba.org-20071010004522-256h49icxxzz7wcb
committer: Ronnie Sahlberg <sahlberg at ronnie>
branch nick: ctdb
timestamp: Wed 2007-10-10 10:49:55 +1000
message:
merge from tridge
modified:
server/ctdb_server.c ctdb.c-20061127094323-t50f58d65iaao5of-2
------------------------------------------------------------
revno: 432.1.306
revision-id: sahlberg at ronnie-20071009234232-4in9jxkdabqtk54g
parent: sahlberg at ronnie-20071009034542-2dy09faywyujzi3f
committer: Ronnie Sahlberg <sahlberg at ronnie>
branch nick: ctdb
timestamp: Wed 2007-10-10 09:42:32 +1000
message:
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
modified:
config/ctdb.init ctdb.init-20070527204758-biuh7znabuwan3zn-6
config/ctdb.sysconfig ctdb.sysconfig-20070527204758-biuh7znabuwan3zn-7
include/ctdb_private.h ctdb_private.h-20061117234101-o3qt14umlg9en8z0-13
server/ctdb_takeover.c ctdb_takeover.c-20070525071636-a5n1ihghjtppy08r-2
server/ctdbd.c ctdbd.c-20070411085044-dqmhr6mfeexnyt4m-1
------------------------------------------------------------
revno: 432.1.305
revision-id: sahlberg at ronnie-20071009034542-2dy09faywyujzi3f
parent: sahlberg at ronnie-20071009020012-fmlmqhmpsyoevzwm
committer: Ronnie Sahlberg <sahlberg at ronnie>
branch nick: ctdb
timestamp: Tue 2007-10-09 13:45:42 +1000
message:
remove some debug outputs
modified:
server/ctdb_takeover.c ctdb_takeover.c-20070525071636-a5n1ihghjtppy08r-2
------------------------------------------------------------
revno: 432.1.304
revision-id: sahlberg at ronnie-20071009020012-fmlmqhmpsyoevzwm
parent: sahlberg at ronnie-20071009015609-hjomlt747yaywvl4
committer: Ronnie Sahlberg <sahlberg at ronnie>
branch nick: ctdb
timestamp: Tue 2007-10-09 12:00:12 +1000
message:
send out gratious arps when we are starting up serving the "single
public ip" but before we start the ipmux tool
modified:
config/events.d/90.ipmux 90.ipmux-20071008021847-vxcv0xkqd7kbgsez-1
------------------------------------------------------------
revno: 432.1.303
revision-id: sahlberg at ronnie-20071009015609-hjomlt747yaywvl4
parent: sahlberg at ronnie-20071008040522-zpcnujwwyye30i9v
committer: Ronnie Sahlberg <sahlberg at ronnie>
branch nick: ctdb
timestamp: Tue 2007-10-09 11:56:09 +1000
message:
add a control to send gratious arps from the ctdb daemon
modified:
client/ctdb_client.c ctdb_client.c-20070411010216-3kd8v37k61steeya-1
include/ctdb_private.h ctdb_private.h-20061117234101-o3qt14umlg9en8z0-13
server/ctdb_control.c ctdb_control.c-20070426122724-j6gkpiofhbwdin63-1
server/ctdb_takeover.c ctdb_takeover.c-20070525071636-a5n1ihghjtppy08r-2
tools/ctdb.c ctdb_control.c-20070426122705-9ehj1l5lu2gn9kuj-1
------------------------------------------------------------
revno: 432.1.302
revision-id: sahlberg at ronnie-20071008040522-zpcnujwwyye30i9v
parent: sahlberg at ronnie-20071007234720-p0wj94ihsekn9yk6
committer: Ronnie Sahlberg <sahlberg at ronnie>
branch nick: ctdb
timestamp: Mon 2007-10-08 14:05:22 +1000
message:
add an initial test version of an ip multiplex tool that allows us
to have one single public ip address for the entire cluster.
this ip address is attached to lo on all nodes but only the recmaster
will respond to arp requests for this address.
the recmaster then runs an ipmux process that will pass any incoming
packets to this ip address onto the other node sin the cluster based on
the ip address of the client host
to use this feature one must
1, have one fixed ip address in the customers network attached
permanently attached to an interface
2, set CTDB_PUBLI_INTERFACE=
to specify on which interface the clients attach to the node
3, CTDB_SINGLE_PUBLI_IP=ip-address
to specify which ipaddress should be the "single public ip address"
to test with only one single client, attach several ip addresses to
the client and ping the public address from the client with different -I
options. look in network trace to see to which node the packet is
passed onto.
added:
config/events.d/90.ipmux 90.ipmux-20071008021847-vxcv0xkqd7kbgsez-1
utils/ipmux/ ipmux-20071008000130-dli3s00uaraama1y-1
utils/ipmux/ipmux.c ipmux.c-20071008000130-dli3s00uaraama1y-2
modified:
Makefile.in makefile.in-20061117234101-o3qt14umlg9en8z0-1
configure.ac configure.ac-20061117234101-o3qt14umlg9en8z0-10
packaging/RPM/ctdb.spec ctdb.spec-20070527204758-biuh7znabuwan3zn-3
------------------------------------------------------------
revno: 432.1.301
revision-id: sahlberg at ronnie-20071007234720-p0wj94ihsekn9yk6
parent: sahlberg at ronnie-20071005221124-iyqjdb2r6bmgu1ig
committer: Ronnie Sahlberg <sahlberg at ronnie>
branch nick: ctdb
timestamp: Mon 2007-10-08 09:47:20 +1000
message:
add a function in the ctdb tool to determine whether the local node is
the recmaster or not.
return 0 if the node is the recmaster and 1 (true) if it is not or if
we could not communicate with the ctdb daemon.
call it 'isnotrecmaster' to cope with that if the tool could not bind to
the socket to tyalk to the daemon, the tool will automatically return an
error and exit code 1
thus the tool will only return 0 if it could talk successfully to the
local daemon and if the local daemon confirms this node is the recmaster
modified:
tools/ctdb.c ctdb_control.c-20070426122705-9ehj1l5lu2gn9kuj-1
------------------------------------------------------------
revno: 432.1.300
revision-id: sahlberg at ronnie-20071005221124-iyqjdb2r6bmgu1ig
parent: sahlberg at ronnie-20070926042532-kx357dlfuhba4g0p
parent: tridge at samba.org-20071005035131-wb6hztn4jnypjsqi
committer: Ronnie Sahlberg <sahlberg at ronnie>
branch nick: ctdb
timestamp: Sat 2007-10-06 08:11:24 +1000
message:
merge from tridge
modified:
server/ctdb_recoverd.c recoverd.c-20070503213540-bvxuyd9jm1f7ig90-1
------------------------------------------------------------
revno: 432.1.299
revision-id: sahlberg at ronnie-20070926042532-kx357dlfuhba4g0p
parent: sahlberg at ronnie-20070925014342-1ve6pjbbkgqd3po9
committer: Ronnie Sahlberg <sahlberg at ronnie>
branch nick: ctdb
timestamp: Wed 2007-09-26 14:25:32 +1000
message:
change async.private to async.private_data since private is a reserved
work in c++
modified:
include/ctdb.h ctdb.h-20061117234101-o3qt14umlg9en8z0-11
server/ctdb_recoverd.c recoverd.c-20070503213540-bvxuyd9jm1f7ig90-1
------------------------------------------------------------
revno: 432.1.298
revision-id: sahlberg at ronnie-20070925014342-1ve6pjbbkgqd3po9
parent: sahlberg at ronnie-20070924005226-iu9m6tfxfvtgzy32
parent: tridge at samba.org-20070924052701-49dtutlsgg9ylbal
committer: Ronnie Sahlberg <sahlberg at ronnie>
branch nick: ctdb
timestamp: Tue 2007-09-25 11:43:42 +1000
message:
merge from tridge
modified:
packaging/RPM/ctdb.spec ctdb.spec-20070527204758-biuh7znabuwan3zn-3
Diff too large for email (1099, the limit is 200).
More information about the samba-cvs
mailing list