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
Ronnie Sahlberg
bf3745df28
merge from tridge
...
(This used to be ctdb commit 1a06ac66445ae0c3f18f5f0ed4fde959d235d03d)
2007-07-04 13:13:54 +10:00
Ronnie Sahlberg
597aa7ed59
initial version of a socketkiller tool
...
checked in so it is not lost
this tool takes a socketpair as arguments and will reset the tcp
connection
(This used to be ctdb commit bddd448740ef7f5a88b8549a3d184a94ac9fcd96)
2007-07-04 12:52:07 +10:00
Ronnie Sahlberg
1cd8bc0c64
add a tuneable to control how long we wait after a successful recovery
...
before we alow another recovery to be initiated
(This used to be ctdb commit f3b43519423b7a73e6a2dd986bdf11203b8653cf)
2007-07-04 08:36:59 +10:00
Ronnie Sahlberg
b65d814f20
add more command line parsing
...
add the PREEMPT service action for persistent reservation out so we
can delete someone elses registration from the lun and thus disable that
someone else from reading/writing the lun completely
(This used to be ctdb commit a31aa458f96cbe37a47af79c8d8b92c15198edaa)
2007-07-03 12:25:49 +10:00
Ronnie Sahlberg
1fd39224ec
merge from tridge
...
(This used to be ctdb commit 34f489c145ba5b717713c826df0f6cf98ec54eae)
2007-07-02 18:41:37 +10:00
Andrew Tridgell
65d23f9823
merge from ronnie
...
(This used to be ctdb commit 5950298254286271085b61f5b9cec065dfa52226)
2007-07-02 18:30:17 +10:00
Ronnie Sahlberg
5980f1f297
add GPL comment to scsi_io.c
...
(This used to be ctdb commit 747a8647862a2b915872f431a73398715208ba78)
2007-07-02 18:25:13 +10:00
Andrew Tridgell
18af44e37d
merge from ronnie
...
(This used to be ctdb commit a26e638fa13b6a0b9e2aea07a1712e2e1d5a6571)
2007-07-02 18:24:43 +10:00
Ronnie Sahlberg
c3884e1b29
start implementing command line parsing to scsi_io to make it take
...
parameters that control what operations to perform
(This used to be ctdb commit 6350b353bc436a2b5a1e4c1b0bc332e83932148d)
2007-07-02 17:52:57 +10:00
Ronnie Sahlberg
27ce064abd
get rid of some compiler warnings for the scsi tool
...
(This used to be ctdb commit 391657fe19f4359b1376a9aedb661271dfe0c542)
2007-07-02 16:13:31 +10:00
Ronnie Sahlberg
bf216f8faa
add incomplete code fragments to perform SCSI PERSISTENT RESERVATION
...
calls to a scsi device.
added to bzr so it will not be lost
we need access to an array that supports this optional cdb before we
can proceed and toolify it properly
(the idea is that ctdb should have a mechanism where it can shut out
nodes from accessing the LUNs when it has deemed a node as disconnected)
(This used to be ctdb commit 360573b505c6df8a32996efce3813fa95365a206)
2007-07-02 15:51:38 +10:00
Ronnie Sahlberg
027d40a5ee
rename tnode->queue to tnode->out_queue to indicate this queue is for
...
sending data out to the other node
(This used to be ctdb commit 0bc949c529094570da56c9007ff96b1f5ad02c59)
2007-07-02 14:26:50 +10:00
Ronnie Sahlberg
3a71dcf505
when accepting an incoming connection, verify that the source address is
...
from one of the configured nodes and reject the connection othervise
(This used to be ctdb commit ef290a6340eb1a1c0ae60c74b38c93396e388f73)
2007-07-02 14:10:20 +10:00
Ronnie Sahlberg
71eba6895e
merge from tridge
...
(This used to be ctdb commit b6fc1a137fcc777357022d03e1c8a0889b720b1e)
2007-06-27 08:44:42 +10:00
Andrew Tridgell
dfebca5f49
script version of install needs spaces after -m
...
(This used to be ctdb commit 7a0abba637f234dd28e776bc12682b07ac0fbe08)
2007-06-26 07:40:37 +10:00
Ronnie Sahlberg
f2f8ab4926
merge from tridge
...
(This used to be ctdb commit bc87b937b9f086861ff61265be07ed3f263f64d9)
2007-06-26 04:04:00 +10:00
Andrew Tridgell
6399cf9542
added code to kill registered clients on a IP release
...
(This used to be ctdb commit ca0243b544987ce0618a99ac87b4abf598991e93)
2007-06-19 03:54:06 +10:00
Ronnie Sahlberg
8d7e276c85
merge from tridge
...
(This used to be ctdb commit 659241fb261b9f225e9a3b3c8742c7f23c85acfa)
2007-06-18 03:15:28 +10:00
Andrew Tridgell
f532ada445
run smbstatus every 10 minutes to scrub databases
...
(This used to be ctdb commit cd119cdb9a1a7e0545f1c33a2a156a3d3c5d7645)
2007-06-18 03:15:08 +10:00
Ronnie Sahlberg
58e9fab5b2
merge from tridge
...
(This used to be ctdb commit adf87c42660b248dae144c2b21798627cbc6b7fb)
2007-06-18 03:14:06 +10:00
Andrew Tridgell
669a6b13f9
merge from ronnie
...
(This used to be ctdb commit 7bfc1be6dff5bd5acadfa8a3fd8f00a8ce87ca54)
2007-06-18 03:10:50 +10:00
Ronnie Sahlberg
d2ada57f60
add a mechanism to the samba event script to do periodic cleanup of the
...
databases once every 60 minutes
(This used to be ctdb commit 8762e08284343bf68bfed90838483e5d53db24ce)
2007-06-18 02:34:29 +10:00
Andrew Tridgell
732353de5f
- merged ctdb_store test from ronnie
...
- added DatabaseHashSize tunable
- added logging of events inside recovery (for timing)
(This used to be ctdb commit 3593cdb928b91e217faf1b3c537fa28dc82cdace)
2007-06-17 23:31:44 +10:00
Andrew Tridgell
9d0a595594
check winbind in monitoring event too
...
(This used to be ctdb commit bccba656c21d0edbd9840401a3c43a76b1b3bc05)
2007-06-17 12:05:29 +10:00
Andrew Tridgell
d683080b08
- wait for winbind on samba start
...
- use $PATH for ctdb status
(This used to be ctdb commit cf8d837cead1cbcb22c71ebbc3947970d1a565a3)
2007-06-17 11:57:42 +10:00
Ronnie Sahlberg
cddf988961
add a small test tool that can be used to create a massive amount of
...
records in the test database.
the tool first creates the number of records requested, then it will
loop infinitely reading the records out again.
(This used to be ctdb commit dca2497097a9cdff268b1e5d446f6feb71bfb389)
2007-06-17 11:13:42 +10:00
Ronnie Sahlberg
741af6a468
note that there is no link on the PUBLIC interface
...
(This used to be ctdb commit 3582f12f837dbd3c866cdffd2e7f5c20bae59d10)
2007-06-14 17:26:42 +10:00
Ronnie Sahlberg
b0b0773a79
merge from tridge
...
(This used to be ctdb commit c94dbb0c9fbb3e1dac3fc913dbeacaca66054df1)
2007-06-13 13:32:19 +10:00
Andrew Tridgell
97d5bea2eb
on startup release all IPs, in case we have any left over from a previous run
...
(This used to be ctdb commit 5eb2f8f5f70f567c264d6929e95899b70f0e4ec0)
2007-06-12 19:44:54 +10:00
Andrew Tridgell
bd42814371
make the pages scale a bit better
...
(This used to be ctdb commit da87f6c457a7314b02db24b970625da6a0cfca4d)
2007-06-12 14:50:30 +10:00