Ronnie Sahlberg
e7738e9a4b
add some configure magic to make it configure and build properly on
...
linux and aix
(This used to be ctdb commit 6a422e53a60829c7c8d97e31e6ed14ee38cc2d2d)
2007-07-14 15:16:52 +10:00
Ronnie Sahlberg
217142d1e9
add some support for controlling Linux or AIX in the makefile
...
this should really be done by configure
(This used to be ctdb commit 5a855599288995659e81f1bdbed157bdb207f94a)
2007-07-14 10:58:51 +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
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
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
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
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
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
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
Andrew Tridgell
d706a9730f
added onnode manual page
...
(This used to be ctdb commit 6f4a1b4dbc9a5d48513477fb4f5e214a51f70941)
2007-06-12 13:44:01 +10:00
Andrew Tridgell
4e65cd005f
merge from ronnie
...
(This used to be ctdb commit 361f203c3c2a41eb974aba09b66eea0731387c3d)
2007-06-10 17:28:54 +10:00
Ronnie Sahlberg
04e90198b2
initial ctdbd man page
...
(This used to be ctdb commit efbe0e6900344eb056c2b8f12241f242fccd100b)
2007-06-10 10:45:52 +10:00
Andrew Tridgell
8389a1ce68
install man page
...
(This used to be ctdb commit 03f5254b6364376c196769088c67d44cd48363e9)
2007-06-09 15:21:30 +10:00
Ronnie Sahlberg
cd68b9aa8d
add an initial manpage for the ctdb tool
...
(This used to be ctdb commit 3d6fe2aae4584f53a2fcc11a3f3bc7ead4e9c3f3)
2007-06-09 08:41:36 +10:00
Andrew Tridgell
14c788f3cb
move more util code to lib/util
...
(This used to be ctdb commit de5ab0584c978a6be4afeacd80c84015b206a3c6)
2007-06-07 22:30:29 +10:00
Andrew Tridgell
b50096c835
more code rearrangement
...
(This used to be ctdb commit 2bcf3b16163041f03add2e5bf9f1f5fb3599ec24)
2007-06-07 22:16:48 +10:00
Andrew Tridgell
ae3d54094b
start splitting the code into separate client and server pieces
...
(This used to be ctdb commit 603cd77988c181525946cd5eb0f4d0d646b58059)
2007-06-07 22:06:19 +10:00
Andrew Tridgell
e16717eb01
added 40.vsftpd to Makefile.in
...
(This used to be ctdb commit 90260d0d362c6e2b58755724056fbe5e63bd29c9)
2007-06-06 10:41:13 +10:00
Andrew Tridgell
dbb2ec43dd
added tunables settable using ctdb command line tool
...
(This used to be ctdb commit 73d440f8cb19373cfad7a2f0f0ca4f963c57ff29)
2007-06-04 19:53:19 +10:00
Andrew Tridgell
a57991c0eb
remove some cruft thats not needed any more
...
(This used to be ctdb commit c4308805b997740b77e058c1a14b84cb400a7c30)
2007-06-04 17:23:55 +10:00
Andrew Tridgell
cc9f6d30d8
split out the basic interface handling, and run event scripts in a deterministic order
...
(This used to be ctdb commit 399e993a4a233a5953e1e7264141e5c7c8c8c711)
2007-06-04 15:09:03 +10:00
Andrew Tridgell
794d6dd59d
move config files to config/ directory
...
(This used to be ctdb commit f95de519b885c8e1f40df0cda70fd796e479a22a)
2007-06-02 19:40:07 +10:00
Andrew Tridgell
90158f7ad7
removed some old cruft
...
(This used to be ctdb commit 44040d5ecabcd32ee26c0285e3786dfb9b4f8126)
2007-06-02 19:23:48 +10:00
Andrew Tridgell
68963d865a
first step towards fixing "make test" with the new daemon system
...
(This used to be ctdb commit f95f7e4c93dea482e6cf0614b5415229a7c9f3fb)
2007-06-02 13:16:11 +10:00
Andrew Tridgell
21f6fa5359
put nfs events in spec and Makefile.in
...
(This used to be ctdb commit 07f03c61c621d8428ecdb56ee08ba895a57ed9c0)
2007-06-02 00:11:53 +10:00
Andrew Tridgell
dff9a6ecd1
make the packaging much more portable - tested on SLES9 and RHEL4
...
(This used to be ctdb commit 9521e3eee42b11303a2d6e0f5c05d0c0de4292d8)
2007-06-01 23:25:33 +10:00
Andrew Tridgell
1fa2600c8b
- make symlink relative in install
...
- include ctdb functions in samba and nfslock event scripts
(This used to be ctdb commit 08e2278069346b1fc49774603aa26c68222cf67f)
2007-06-01 21:20:05 +10:00
Andrew Tridgell
02bfa10daa
tidy up the install somewhat
...
(This used to be ctdb commit 07e202ae8451ffa67c40973625996224cfd4e158)
2007-06-01 21:10:49 +10:00
Andrew Tridgell
0f605ccdb2
more build tweaks
...
(This used to be ctdb commit d4c3380c7a9d332311c5d03ba151e7f2f90796a3)
2007-05-29 15:52:03 +10:00
Andrew Tridgell
873c3a5934
use autoconf for more paths
...
(This used to be ctdb commit b765a391632621dfe3b129b85782e87f586ae2eb)
2007-05-29 15:20:41 +10:00
Andrew Tridgell
ccf4d78e04
- renamed ctdb_control utility to ctdb
...
- use -n to specify node number in ctdb utility
- change 'ctdb status' to 'ctdb statistics'
- added 'ctdb status' which shows status
- added netmask to public IPs, so you don't try a takeover on a
foreign network
- cleaned up tools/ctdb_control.c a lot
- generate usage message at runtime
(This used to be ctdb commit 28de71c03ace7d32a9fd9882fabbd5d668b97656)
2007-05-29 12:16:59 +10:00
Andrew Tridgell
9838027ff8
rename ctdb_control utility to ctdb
...
(This used to be ctdb commit 7fc3868a1a49aa8b49b277793eede903606b4353)
2007-05-29 10:59:12 +10:00
jmcd@samba.org
3be6ed7d42
Inital rpm build files
...
(This used to be ctdb commit 8830592b9202d6edab16af5c717608096597c517)
2007-05-27 16:48:18 -04:00
Andrew Tridgell
56e3eed3d1
added IP takeover logic for public IPs to ctdb
...
(This used to be ctdb commit 374adb729472670f35cef41269b8719f49c0de0e)
2007-05-25 17:04:13 +10:00
Andrew Tridgell
ab66fb840e
removed obsolete ctdb_dump tool
...
(This used to be ctdb commit e3ed6fd65896f07fc76405acb2e16f50f04a0a3c)
2007-05-19 14:07:01 +10:00
Ronnie Sahlberg
db4c479568
add dead node detection so that if a node does not generate any
...
keepalive traffic for x seconds it is deemed dead
this triggers a recovery after a while if a ctdbd has been STOPPED
but it doesnt recover automatically when the node reappears
(This used to be ctdb commit d6324afe0d13b5e21d06e347caca433c6b36a32a)
2007-05-18 19:19:35 +10:00
Andrew Tridgell
a5198559c9
moved the recovery daemon into the main ctdbd and enable it by default
...
(This used to be ctdb commit 2a7d42124731f43d013cb76a798525eab4cc1ee0)
2007-05-15 15:13:36 +10:00
Andrew Tridgell
9cf77dd23f
separate out the freeze/thaw handling from recovery
...
(This used to be ctdb commit 0b0640bd8b8334961f240e0cf276ac112cd6e616)
2007-05-12 15:15:27 +10:00
Ronnie Sahlberg
92333fce03
change the name of the recovery daemon to ctdb_recoverd
...
(This used to be ctdb commit b0cf919e4f38961e5cf4e1e79a0cfe4bb4a96d76)
2007-05-09 09:31:53 +10:00
Andrew Tridgell
24ed74a454
use the new lib/events autoconf code
...
(This used to be ctdb commit fec779711e8c4d6e047d792aee744e60e5a9f67c)
2007-05-05 17:18:06 +10:00
Ronnie Sahlberg
ebc478749b
start working on a recovery daemon
...
change ctdb_control so it takes a timeval pointer as argument.
this is the timeout. if the node has not responded within hte timeout
ctdb_control will return an error instead of hanging.
if the timeval pointer is NULL then the call will block indefinitely if
there is no response.
this is used for now in the createdb control but all the helpers
ctdb_ctrl_* should probably be updated to take a timeout parameter as
well.
(This used to be ctdb commit 1fe64b04869b17dbf123851b0fe09df8d28a6211)
2007-05-04 08:30:18 +10:00
Andrew Tridgell
472b96d6d3
first stage of efficient non-blocking ctdb traverse
...
(This used to be ctdb commit 4c23e6f26bde421bb56b55de9d6cd3e319b2be40)
2007-05-03 12:16:03 +10:00
Ronnie Sahlberg
27880056db
break set/get vnn map out from ctdb_control and put it in ctdb_recover.c
...
for the time being
remove all the [de]marshalling and just pass a structure around instead
(This used to be ctdb commit b1169555ab7015976c0135ff51121cc238f5887c)
2007-05-03 11:06:24 +10:00
Andrew Tridgell
6c114bb1bd
enabled built in popt if system doesn't have it
...
(This used to be ctdb commit 30c8d69267a78e1d3dea0fcc936ee2939bb7a373)
2007-05-03 05:21:14 +10:00
Andrew Tridgell
169f129404
merge latest versions of lib/replace, lib/talloc, lib/tdb and lib/events into ctdb bzr tree
...
(This used to be ctdb commit eaea8a9fa8d2f5e08f3af619fa1008a663f39053)
2007-05-02 07:32:04 +10:00
Andrew Tridgell
5b8c4bba5a
auto-determine listen address by attempting to bind to each address in the cluster in turn
...
(This used to be ctdb commit 2fab9f96df2e5b5c51c860fd65caf0e926a63e34)
2007-05-01 06:34:55 +10:00
Andrew Tridgell
f455d3f44b
saner logfile code
...
testing of ctdbd
(This used to be ctdb commit 05789da5818f8b20f04779b0df5125914d9047f6)
2007-04-29 22:42:23 +02:00
Andrew Tridgell
d6977a714f
use rsync to avoid text busy on install
...
(This used to be ctdb commit d19be7ea56003faffcb3fb8a76fd804df0431242)
2007-04-28 17:13:02 +02:00