Ronnie Sahlberg
d5f60b58f8
merge from tridge
...
(This used to be ctdb commit fffe94f22f58027bdf2b465d252f41e7b8689399)
2007-07-10 19:07:23 +10:00
Andrew Tridgell
f97f2946d2
minor back-merge from samba4
...
(This used to be ctdb commit c591f9b2d2847f440702e7264c7da2fd6d69f4be)
2007-07-10 18:13:47 +10:00
Ronnie Sahlberg
2b68a5293a
merge from tridge
...
(This used to be ctdb commit 6aecb65883eb902375f85b70a1512db4339833eb)
2007-07-10 17:45:04 +10:00
Andrew Tridgell
a4c96397f5
more merges for GPLv3 update
...
(This used to be ctdb commit b7be4ee6c9a670cdf148fd36b092c3991a554964)
2007-07-10 15:46:05 +10:00
Andrew Tridgell
a78752eae4
update lib/events from samba4 (If->if)
...
(This used to be ctdb commit 770d1665011af0359aadb2175e9e3440e2effbf5)
2007-07-10 15:34:00 +10:00
Andrew Tridgell
3973b415be
update lib/tdb from samba4
...
(This used to be ctdb commit 96a39ccee38bcfd64d614fe4670766e59ef246b6)
2007-07-10 15:32:27 +10:00
Andrew Tridgell
32de198fd3
update lib/replace from samba4
...
(This used to be ctdb commit f0555484105668c01c21f56322992e752e831109)
2007-07-10 15:29:31 +10:00
Andrew Tridgell
9fe446f231
merge from ronnie
...
(This used to be ctdb commit 6975042fca832aae07f84c0e9ac7fa4773b8cb51)
2007-07-10 14:59:23 +10:00
Ronnie Sahlberg
ed1a52b293
use the socketkiller to kill off all lock manager sessions as well
...
(This used to be ctdb commit 980b090001ed3a77001e2a3bfc1b03833498f434)
2007-07-10 13:09:35 +10:00
Ronnie Sahlberg
26fc2ebd4b
update the documentation for NFS to mention that the lock manager must
...
run on the same port on all nodes.
remove the CTDB_MANAGES_NFSLOCK variable that is no longer used
(This used to be ctdb commit 389a503c44c999e46caa344c4bc073336e797909)
2007-07-10 12:43:46 +10:00
Ronnie Sahlberg
d81bca2072
make it possible to specify how many times ctdb killtcp will try to RST
...
the tcp connection
change the 60.nfs script to run ctdb killtcp in the foreground so we
dont get lots of these running in parallel when there are a lot of tcp
connections to rst
(This used to be ctdb commit d81616214752882242f2886e94681972a790db80)
2007-07-10 10:24:20 +10:00
Ronnie Sahlberg
1c32f65ee0
run the ctdb killtcp in the background
...
(This used to be ctdb commit d6a514c2b3d427099ed669eef104146608378fa8)
2007-07-10 10:07:26 +10:00
Ronnie Sahlberg
dbc66d054b
dont restart the tcp service after a ip takeover, it is more efficient
...
to just kill off the tcp connections
(This used to be ctdb commit bc481c3f1a44c50648488c4f8a7f15ec395d446f)
2007-07-10 09:45:14 +10:00
Ronnie Sahlberg
a859723912
nicer handling of DISCONNECTED flag when we update the node flags from
...
a remote message
(This used to be ctdb commit 9a50ad22be61a09761ffda89de91ef3221917c84)
2007-07-09 17:40:15 +10:00
Ronnie Sahlberg
69f3a09e6f
when a remote node has sent us a message to update the flags for a node,
...
dont let those messages modify the DISCONNECTED flag.
the DISCONNECTED flag must be managed locally since it describes whether
the local node can communicate with the remote node or not
(This used to be ctdb commit 5650673205d335a32d4f27f66847ea66752a00f0)
2007-07-09 13:21:17 +10:00
Ronnie Sahlberg
b871c3e365
a better way to fix the DISCONNECT|BANNED vs DISCONNECT bug
...
(This used to be ctdb commit 5c638d7731c5a268de02d3a37828ac7aec9a12de)
2007-07-09 12:55:15 +10:00
Ronnie Sahlberg
3499c8c673
when checking the nodemap flags for consitency while monitoring the
...
cluster, we cant check that both the BANNED and the DISCONNECTED flags
are both set at the same time since if a node becomes banned just
before it is DISCONNECTED there is no guarantee that all other nodes
will have seen the BANNED flag.
So we must first check the DISCONNECTED flag only and only if the
DISCONNECTED flag is not set should we check the BANNED flag.
othervise this can cause a recovery loop while some nodes thing the
disconnected node is DISCONNECTED|BANNED and other think it is just
DISCONNECTED
(This used to be ctdb commit 0967b2fff376ead631d98e78b3a97253fc109c69)
2007-07-09 12:33:00 +10:00
Ronnie Sahlberg
55a4a5def3
merge from tridge
...
(This used to be ctdb commit edb05db513a55ebde0ff4d9a2cb3aaebb92dc5a1)
2007-07-09 08:38:01 +10:00
Andrew Tridgell
f1db15ffe1
fixed sense of inet_aton test
...
(This used to be ctdb commit ed5cf9b43c49312d3736e85077863d23990acce8)
2007-07-08 21:09:09 +10:00
Andrew Tridgell
056d3c35a4
call kill_clients when releasing all IPs, as well as for individual IPs
...
(This used to be ctdb commit ad68904720eb69757601589b06726190321685ac)
2007-07-08 20:45:12 +10:00
Andrew Tridgell
af5ee9981e
we do tell banned nodes to release IPs
...
(This used to be ctdb commit 381dc0421d4d825398c03dcff4e79e3f76c3c981)
2007-07-08 20:24:03 +10:00
Andrew Tridgell
a55c03b31b
log the generation numbers to give a hint about this bug
...
(This used to be ctdb commit 12018494baa33c5f6c52e6eae94ac77a56d3e5a0)
2007-07-08 19:36:55 +10:00
Andrew Tridgell
031347e83d
increment rpm release number
...
(This used to be ctdb commit 2c3399f1388fdcb993d235814d59df163f501d03)
2007-07-08 10:41:30 +10:00
Andrew Tridgell
a8cb3ed49f
merge from ronnie - we have an official port number, yay!
...
(This used to be ctdb commit 68f9b8ea27a2fb2093fb85b8bf1a25accf69af4c)
2007-07-06 16:17:31 +10:00
Ronnie Sahlberg
e1f774a95b
use the official iana number for ctdb and not 9001
...
(This used to be ctdb commit f72aeb5eadb0bda97d882b5a27562bfa1bb5f5a2)
2007-07-06 15:29:03 +10:00
Ronnie Sahlberg
34e2c73020
use 'ctdb tickle' instead of sendip to tickle nfs clients.
...
(This used to be ctdb commit 2204cc77ce6b1dd6bb0118f57cfa05f0c8826c3e)
2007-07-06 11:51:34 +10:00
Ronnie Sahlberg
72265dd5bd
remove 59.nfslock and fold this into 60.nfs
...
add a 61.nfstickle script to make nfs failover faster
(This used to be ctdb commit da71fa874d49346d229307d424f889994a205c89)
2007-07-06 10:54:42 +10:00
Ronnie Sahlberg
5b7a0734a8
merge from tridge
...
(This used to be ctdb commit 1385198344abb55c811edb955fbbc06bf72a1fb5)
2007-07-06 10:48:46 +10:00
Andrew Tridgell
b96795c39f
merge from ronnie (with spelling fixes)
...
(This used to be ctdb commit 079a5509da961503583b5d0c1e3c7bb6fff1a700)
2007-07-05 15:06:42 +10:00
Ronnie Sahlberg
a840602cd8
break the tickle description into two paragraphs
...
(This used to be ctdb commit 3bde3c68b965e704281c5a8c57505a7f76cd4612)
2007-07-05 10:17:46 +10:00
Ronnie Sahlberg
084720facc
update the manpage for ctdb to describe killtcp and tickle
...
(This used to be ctdb commit 4b4566ab05997c5df8ff342af223b07982b6f366)
2007-07-05 10:16:11 +10:00
Ronnie Sahlberg
8df14ced22
merge from tridge
...
(This used to be ctdb commit edf6b476f995737fdaa8ce6b053d63286e49ced3)
2007-07-05 10:01:35 +10:00
Andrew Tridgell
871ef93b82
fixed help layout
...
(This used to be ctdb commit ee8acf166961838a3a82d658a66407ba5ccb4939)
2007-07-05 10:00:51 +10:00
Andrew Tridgell
3b4fa64dd9
fixed error message on bad IP/port
...
(This used to be ctdb commit ad2d8615c028d55bc5e94c9d7bd8432cafde4a69)
2007-07-05 09:59:45 +10:00
Andrew Tridgell
854a601bb5
merge from ronnie
...
(This used to be ctdb commit 04fced509451018b8bb1c825b93ce344a22daacd)
2007-07-05 09:59:11 +10:00
Ronnie Sahlberg
71ba917444
add a command to ctdb to send tickle-ack's
...
(This used to be ctdb commit 83ddb6eaa269fbc5f235d606ee21239a7e0e23d2)
2007-07-05 08:56:02 +10:00
Ronnie Sahlberg
295fe500a8
merge from tridge
...
(This used to be ctdb commit 35d32876b41216cead039c9cd28ba9ace8cdcd61)
2007-07-04 17:53:16 +10:00
Andrew Tridgell
006227e80a
forgot to add this
...
(This used to be ctdb commit 30fc56b7489e42633532964096e53faee1319dde)
2007-07-04 17:45:46 +10:00
Ronnie Sahlberg
9a78208de6
merge from tridge
...
(This used to be ctdb commit a2f3925906ba4d00e48edf87dbb57046b0430d49)
2007-07-04 17:37:26 +10:00
Ronnie Sahlberg
12d454eb7f
merge from tridge
...
(This used to be ctdb commit 39b7b8d42632a1cc78178f547d018178f3fe8313)
2007-07-04 17:35:16 +10:00
Andrew Tridgell
1e00d1d39e
removed unused makefile var
...
(This used to be ctdb commit 4f397c5edf4206aa33c4fe19a24557541c2f8929)
2007-07-04 16:52:38 +10:00
Andrew Tridgell
bdf01ed7c0
- neaten up the command line for killtcp
...
- split out the event script code into a separate module
- get rid of the separate takeover directory
(This used to be ctdb commit 8ea2c923a3e2464200ff79bf2c3f1f89e6a93ad4)
2007-07-04 16:51:13 +10:00
Andrew Tridgell
19d2fc0aa6
more careful checking of lengths
...
(This used to be ctdb commit 45662f2152a152b7160b66a857d8215348c28dc5)
2007-07-04 16:22:09 +10:00
Andrew Tridgell
59a16765c5
merge from ronnie
...
(This used to be ctdb commit 17158a79795abe85ea57f3dc6062751dd8856f75)
2007-07-04 14:51:33 +10:00
Ronnie Sahlberg
5ad7f642f3
we dont need socketkiller anymore now that the
...
kill-tcp-connection code is available from the ctdb tool
(This used to be ctdb commit c24890ad44b535c989bd21e83d619a1bd4825834)
2007-07-04 14:16:28 +10:00
Ronnie Sahlberg
ab6564c83d
add a killtcp command to the ctdb tool
...
(This used to be ctdb commit 01987b51fed0dc0b9a5e254fa734bdeb19debf6f)
2007-07-04 14:14:48 +10:00
Ronnie Sahlberg
a52f6760f3
add a new ctdb_sys_kill_tcp() function that kills (RST) the specified
...
connection
(This used to be ctdb commit 11a972f37d4ca7daf052b3b502620af05699bec4)
2007-07-04 13:53:22 +10:00
Ronnie Sahlberg
8f0a00b72b
change the signature for ctdb_sys_send_ack() to ctdb_sys_send_tcp()
...
to make it possible to provide which seq/ack numbers to use and also
whether the RST flag should be set.
update all callers to the new signature
(This used to be ctdb commit b694d7d4a6f3865a18bea8f484ba690e4ae7546c)
2007-07-04 13:32:38 +10:00
Ronnie Sahlberg
edcab7e068
ETH_P_IP does not work on my ubuntu system so changing it back to the
...
slightly less efficient ETH_P_ALL
(This used to be ctdb commit 84b8c77654b6c24928f63c801b183390824a3f6f)
2007-07-04 13:27:08 +10:00
Andrew Tridgell
2014d3959f
merge from ronnie
...
(This used to be ctdb commit b5510446073d6a058d11dabf92bef0e9721cd861)
2007-07-04 13:14:45 +10:00