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
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
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
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
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
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
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
Andrew Tridgell
006227e80a
forgot to add this
...
(This used to be ctdb commit 30fc56b7489e42633532964096e53faee1319dde)
2007-07-04 17:45:46 +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
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
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
5980f1f297
add GPL comment to scsi_io.c
...
(This used to be ctdb commit 747a8647862a2b915872f431a73398715208ba78)
2007-07-02 18:25:13 +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
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
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
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
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
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
Andrew Tridgell
4911a82791
move all the headers into header.html
...
(This used to be ctdb commit 1da7a171a54b3561b76a8dfc0e362bef3c04f189)
2007-06-12 14:43:26 +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
c64a914687
fixed rendering in IE
...
(This used to be ctdb commit dc7fdbf1de76b0e3081ca9f311e028bc8d959233)
2007-06-12 13:22:39 +10:00
Andrew Tridgell
10fc2684cc
make the web site pass the w3c validator
...
(This used to be ctdb commit 08aa5455f6cfcca2877c8da948cf1900fd09c9da)
2007-06-12 13:04:52 +10:00
Andrew Tridgell
1bf776bb52
minor doc updates
...
(This used to be ctdb commit 20c824dbce877575c423cb08943c5b9ff6d0c4a1)
2007-06-12 12:27:45 +10:00
Andrew Tridgell
a0e827fe33
- tidied up some of the web page text
...
- added volker to the list of developers
(This used to be ctdb commit 1d531c4f9c53fe9b1dc0ccadf5788c0d657cbb1c)
2007-06-12 11:30:30 +10:00
Andrew Tridgell
91362083a1
make sure we start the freeze process quickly on all nodes when we are going to do recovery - this prevents serialisation of freeze, which can take a long time
...
(This used to be ctdb commit 52675c19e420d83d9556a3e73d9a4b490078aa9c)
2007-06-11 23:03:23 +10:00
Andrew Tridgell
031e205832
raise the default keepalive limit
...
(This used to be ctdb commit 4776a187a183bd129ded70e9c018c197b3d618be)
2007-06-11 22:27:23 +10:00
Andrew Tridgell
1ac8a52891
simpler handling of -n all in ctdb tool
...
(This used to be ctdb commit 68c7c33c2863d4073e5129b24eb79454643dc65f)
2007-06-11 22:25:26 +10:00
Andrew Tridgell
a31ece536c
more detail in recovery message
...
(This used to be ctdb commit bc18a39efcf1fa5edfadc4c2f842f7cf035e4fbd)
2007-06-11 21:37:09 +10:00
Andrew Tridgell
8120da0e9d
fixed testparm calls
...
(This used to be ctdb commit 0835abffc0caa2a04cb717a636e77c71355f3c80)
2007-06-11 13:56:50 +10:00
Andrew Tridgell
18f56be75c
layout copyright using a literal
...
(This used to be ctdb commit 8da2a419604964983cda158d4b6d00a18141fe9c)
2007-06-11 12:50:38 +10:00
Andrew Tridgell
a45666039c
use gzip --rsyncable for ctdb packages
...
(This used to be ctdb commit 3102d4b8b9e47e9bffab1b6847b5f57a0aa71064)
2007-06-11 12:30:32 +10:00
Andrew Tridgell
2703ba210d
merge from ronnie
...
(This used to be ctdb commit 1a0bd55dd27939110385e00dad73726a8ba66747)
2007-06-11 09:43:23 +10:00
Ronnie Sahlberg
47edceec09
when public interface is not set, print this to the logfile before
...
exiting the script
(This used to be ctdb commit 79f4a9faea7583aad6f39733d019ba416a4be6e5)
2007-06-11 08:42:51 +10:00
Ronnie Sahlberg
1b8dd06002
minor man page update
...
(This used to be ctdb commit 7e49f4ee4f9aa42d182882c610946fe3f0500a32)
2007-06-11 08:38: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
e6065742c0
add descriptions of the options for the ctdb command
...
(This used to be ctdb commit 8a64dbab0433e3b6190581daf42376a5029d63c6)
2007-06-10 14:46:42 +10:00
Ronnie Sahlberg
5bbcded322
merge from tridge
...
(This used to be ctdb commit 60f929273bd18d4afbaf9b27becd7644fe606a14)
2007-06-10 14:28:50 +10:00
Ronnie Sahlberg
98bdb247e4
add a link to the ctdbd man page
...
(This used to be ctdb commit a0b3a77336a29d75adb95883f42c720d2c9c2901)
2007-06-10 11:03:29 +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
dc29399f6a
fixed valgrind error
...
(This used to be ctdb commit 77de040539ba0c5b10f94aec9d286c6d1f2be15f)
2007-06-10 09:54:27 +10:00
Andrew Tridgell
044a2e04c4
- send tcp info to all connected nodes, not just vnnmap nodes
...
- use a non-blocking freeze when banned
- release all IPs when banned
(This used to be ctdb commit 070e85e532b33b792f85c3e72eee205d906aaf85)
2007-06-10 08:46:33 +10:00
Andrew Tridgell
18ae6e56f0
propogate flag changes to all connected nodes
...
(This used to be ctdb commit 711d1f7e20f1e98caaf08a57df0b1825ff6e97a0)
2007-06-09 21:58:50 +10:00
Andrew Tridgell
12c0f5ba5a
ignore arp on loopback
...
(This used to be ctdb commit eb8d3949e28802f114f29df95b631ef93d4b8e66)
2007-06-09 21:57:47 +10:00
Andrew Tridgell
2b91099585
support up takeover in testing when root
...
(This used to be ctdb commit df409156e685373ea98986511149c9fba3a8c812)
2007-06-09 21:47:06 +10:00
Andrew Tridgell
4e0b95ec9c
newer versions of ip need the mask on del
...
(This used to be ctdb commit b5b13125506256f9ef6599498ee046e73b52df66)
2007-06-09 21:46:42 +10:00
Andrew Tridgell
dfe501c2c8
merge from ronnie
...
(This used to be ctdb commit b92bfe97999e110915e10070bdbd389a92d40404)
2007-06-09 21:31:59 +10:00
Ronnie Sahlberg
40585aed37
should be sufficient to unban nodes when we unbecome recmaster
...
(This used to be ctdb commit 8a6c4e675b4b877a9d0a7a3701973573ff0b71e8)
2007-06-09 20:13:25 +10:00
Ronnie Sahlberg
5458196b3f
unban all nodes when we release recmaster role or when we win an
...
election
(This used to be ctdb commit 48fb7483b3fe391e2d0b78718af29f69a641525e)
2007-06-09 20:11:51 +10:00
Ronnie Sahlberg
c873c7d4da
remove rht unban code from when we take recmaster role. we can not
...
send control broadcasts yet
(This used to be ctdb commit 39a05dc1d74d49685e6daf929df169d936585208)
2007-06-09 19:49:28 +10:00
Ronnie Sahlberg
9a0d7a688f
add code to unban when we become/unbecome recmaster
...
(This used to be ctdb commit a22cf9b8a6fd46128faca958f33a75cb3fc1ee12)
2007-06-09 19:42:41 +10:00
Ronnie Sahlberg
bbcf144d45
capitalize some links
...
(This used to be ctdb commit aa74442dae6cf1e2358946542fd1426369ce2030)
2007-06-09 17:45:24 +10:00
Ronnie Sahlberg
0c5ee58511
add a tiny prerequisites page stating that you need a cluster filesystem
...
first before you install CTDB
(This used to be ctdb commit b0207d6599ded38f608b045e425f23d149c274ad)
2007-06-09 17:24:44 +10:00
Ronnie Sahlberg
2da56defe5
create a separate list of links for the manpages
...
(This used to be ctdb commit a870d60f67bf5163a731da2aab69b3274e59207f)
2007-06-09 17:16:59 +10:00
Ronnie Sahlberg
b2dd5ea436
replace the list of documentation links on the front page with a link to
...
the documentations page
(This used to be ctdb commit 440b89978c17adcb0d3536e330d3fc78218355d7)
2007-06-09 17:15:26 +10:00
Andrew Tridgell
289b8eecca
fixed manaul install dir for rpms
...
(This used to be ctdb commit 7d3694e86fd9fe3695795dc55b7ea32ee62e26d5)
2007-06-09 15:28:32 +10:00
Andrew Tridgell
8389a1ce68
install man page
...
(This used to be ctdb commit 03f5254b6364376c196769088c67d44cd48363e9)
2007-06-09 15:21:30 +10:00
Andrew Tridgell
de693b4e61
doc updates
...
(This used to be ctdb commit 0e6a0b2d377a48eba9ba313e4e63c3ee4cd6722a)
2007-06-09 15:11:05 +10:00
Andrew Tridgell
718b1eaede
new logo, fixed links
...
(This used to be ctdb commit a1b9817c864d0a9642380189eb2522a96b68ecd7)
2007-06-09 15:04:37 +10:00
Andrew Tridgell
b272704834
added documentation page
...
(This used to be ctdb commit b8a3d8180ebec0d8393b8661cf2c3a6768573662)
2007-06-09 14:59:36 +10:00
Ronnie Sahlberg
c62cd904d6
typo
...
(This used to be ctdb commit 167a66247e39c4c134b8e1fbac521579647689fc)
2007-06-09 13:55:31 +10:00
Ronnie Sahlberg
dab3429109
show how to start the newly configured vsftpd service by disabling and
...
enabling the nodes one by one instead of restarting the cluster.
(This used to be ctdb commit 6ef3ef377787b691fed747053a0e1d30bcfa9549)
2007-06-09 13:54:07 +10:00
Ronnie Sahlberg
906d3435ee
add instructions on how to set up HA-FTP using vsftpd and ctdb
...
(This used to be ctdb commit 908ab29272ff88dde5a3964c704b97c329f2a75c)
2007-06-09 13:36:33 +10:00
Ronnie Sahlberg
e59def72e5
add links to how to configure samba/nfs in the samba/nfs sections
...
(This used to be ctdb commit 6db9f913d9ebce3f5d9b471528376ac26e223b2c)
2007-06-09 13:24:42 +10:00
Ronnie Sahlberg
2c5d3b0456
fix typo
...
(This used to be ctdb commit de2413fa7d1d544cf76a05a65ce7b68977c845c6)
2007-06-09 13:17:24 +10:00
Ronnie Sahlberg
1789fecf0c
add the generated manpage for ctdb so that it is available also for
...
people that do not intend to rebuild the docs
(This used to be ctdb commit 867caaa712dab6402fdaf94d4ac1b154b0f0842c)
2007-06-09 10:40:35 +10:00
Ronnie Sahlberg
365019ab80
add a page on how to configure clustered nfs
...
(This used to be ctdb commit c7a76f94d965b902f3378699adcf14cacd40e3c5)
2007-06-09 09:44:05 +10:00
Ronnie Sahlberg
8279eab9d8
add a page for configuring samba
...
(This used to be ctdb commit d615d09e174af0b680ad9039f29169dbb07b6f9e)
2007-06-09 09:31:56 +10:00
Ronnie Sahlberg
f19fed3bfa
put the text in "generation" inside a para block
...
(This used to be ctdb commit 5261d3203e8471e370bf59a89e1dc1c792254f75)
2007-06-09 09:23:52 +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
Ronnie Sahlberg
6613396ad5
update the blurb for the setmonmode control it takes 0 or 1 as a
...
parameter depending on whether one wants to disabel or enable monitoring
(This used to be ctdb commit 849a1cce6cc3e145925dd4a8a38b2698be0ce8d5)
2007-06-09 07:54:37 +10:00
Andrew Tridgell
4eda38ed21
more web tweaks
...
(This used to be ctdb commit d98a504c4194d3428a00a09ced493797222cc3be)
2007-06-08 14:40:28 +10:00
Andrew Tridgell
cd913ba129
balance the layout
...
(This used to be ctdb commit dba5d9cdfa05076fddc10ee045d3c6ce5522ff4f)
2007-06-08 14:37:11 +10:00
Andrew Tridgell
b925e9e668
convert rest of pages to new format
...
(This used to be ctdb commit c111fb4fdfbc657bc715337003febbd0313870d1)
2007-06-08 14:35:26 +10:00
Andrew Tridgell
d523c48d6d
crop logo
...
(This used to be ctdb commit 844a768c30530261b0b7ddb7e55d8ae029c566b1)
2007-06-08 14:28:31 +10:00
Andrew Tridgell
f82961f777
added logo
...
(This used to be ctdb commit b7a1e9f996a7fcb148dc003a082214984bd339bf)
2007-06-08 14:25:44 +10:00
Andrew Tridgell
044f1adf6d
web tweaks
...
(This used to be ctdb commit 2e77cf049cfe9b1b4db994f87dbc85aa08136d8f)
2007-06-08 14:09:50 +10:00
Andrew Tridgell
bf1df8e2fa
web tweaks
...
(This used to be ctdb commit 68f037a8deeb5302e9d5c0d9ab7e08cc69026ce5)
2007-06-08 14:08:57 +10:00
Andrew Tridgell
8e64c1085d
new web page layout
...
(This used to be ctdb commit 2d863a9152fae3823dcf08268b9f10dc815e198b)
2007-06-08 13:58:53 +10:00
Ronnie Sahlberg
ca88e271c0
add a page for starting and (basic) testing of ctdb based on the
...
wiki
(This used to be ctdb commit e7cdb57ac8ba454421748455c67ddc238f7c0a5d)
2007-06-08 12:57:30 +10:00
Ronnie Sahlberg
ea29fb20ff
remove CTDB_MANAGES_SAMBA from the config page. this should be in
...
the samba-config page instead
(This used to be ctdb commit a52842e52aeaae32daa2fed24711f4684dc679ec)
2007-06-08 12:28:17 +10:00
Ronnie Sahlberg
3c66405164
update the names of envvars to use the CTDB_ prefix
...
(This used to be ctdb commit 79365f5a83fc355bb4e3068600231a4bffe5cf7a)
2007-06-08 12:22:33 +10:00
Ronnie Sahlberg
ecc21cb84c
add a page on how to configure CTDB based on the wiki
...
(This used to be ctdb commit 7c17ded610948893d04fc4b915a21303d202bae4)
2007-06-08 12:17:01 +10:00
Ronnie Sahlberg
5471c6ebf6
add a page (based on the wiki) on how to build samba3 and ctdb
...
(This used to be ctdb commit 4abbf1b75f3c3d7b5c220078d5adb5b4fec43db1)
2007-06-08 11:08:39 +10:00
Ronnie Sahlberg
c0a34e287c
add a webpage for hot to get the code. based on the wikipage
...
(This used to be ctdb commit fbf93efd154112957a17f16351858dc370486b35)
2007-06-08 10:59:58 +10:00
Andrew Tridgell
08ac2fafe1
remove the test commit
...
(This used to be ctdb commit 2a29694e62fab4a57dafcfbe825bdec709a7ef89)
2007-06-07 22:40:56 +10:00
Andrew Tridgell
42d4a4a241
update configure.ac for new code layout
...
(This used to be ctdb commit fe819a241f3bf841e72d5df9cbaba6fc306d5abb)
2007-06-07 22:35:14 +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
06a71762a4
some #include cleanups
...
(This used to be ctdb commit 1a07d87122d51a40cd8ad5fe13533298c26857cb)
2007-06-07 22:26:27 +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
3d75c9a51d
later times are a lower priority, not a higher priority
...
(This used to be ctdb commit e96424e7d366df29767c4eeaccdcc0cc975cb8ae)
2007-06-07 19:21:55 +10:00
Andrew Tridgell
dbb803e6af
choose the most connected node first
...
(This used to be ctdb commit c7c17a79fa4f28509e34b6f635fa62517dc458c2)
2007-06-07 19:17:27 +10:00
Andrew Tridgell
df6439d796
formatting fixes
...
(This used to be ctdb commit ed63a2057698aed3931762605b2ea2368681af2b)
2007-06-07 18:39:37 +10:00
Andrew Tridgell
d774192737
use a priority time for the election data, not just the vnn
...
(This used to be ctdb commit a691f9c5cd77194005f0d98483da94b07a48d57d)
2007-06-07 18:37:27 +10:00
Andrew Tridgell
c42ddcda23
validate vnn on node flags change
...
(This used to be ctdb commit 5628ebbcc2aa61b63c761783c70fe4d8a0070607)
2007-06-07 18:13:14 +10:00
Andrew Tridgell
96861466b7
there are now far too many controls for the controls statistics fields to be useful
...
(This used to be ctdb commit f5e188fc7e13b55b6b4081dcc74ea9614a76f9bb)
2007-06-07 18:07:38 +10:00
Andrew Tridgell
3e4d7bef23
get all the tunables at once in recovery daemon
...
(This used to be ctdb commit 8e60be6c22aab145e68b16ede5f32f4430c2af93)
2007-06-07 18:05:25 +10:00
Andrew Tridgell
cb4c33cc68
handle CTDB_CURRENT_NODE in ban commands
...
(This used to be ctdb commit fefb53f1d22c5458a1e107f8352818aee87983de)
2007-06-07 16:48:31 +10:00
Andrew Tridgell
23bf62fe30
added admin commands to ban/unban nodes
...
(This used to be ctdb commit 4dad04172e7e4955b5bf6444a85b19901c9683ad)
2007-06-07 16:34:33 +10:00
Andrew Tridgell
59e74ac6eb
increase rpm release number
...
(This used to be ctdb commit e8d321186b383e60782694a980b0d339b9df88fa)
2007-06-07 15:25:36 +10:00
Andrew Tridgell
2ed57a9ae1
implement a scheme where nodes are banned if they continuously caused the cluster
...
to start a recovery session. The node is banned from the cluster for the RecoveryBanPeriod (default of 5 minutes)
(This used to be ctdb commit 4ad43dd07f526b6002477177fbf55483246c2c0c)
2007-06-07 15:18:55 +10:00
Andrew Tridgell
9754d16d48
merged admin enable/disable change from ronnie
...
(This used to be ctdb commit df17b69dfd83a98f9c711994c7dd51ad2cc0ab8a)
2007-06-07 11:15:22 +10:00
Ronnie Sahlberg
e0fbd04697
distribute the takenover nodes more evenly among the surviving nodes
...
(This used to be ctdb commit 25d18b8bab399cc5d9def081086925896f8de3e9)
2007-06-07 10:19:24 +10:00
Ronnie Sahlberg
d93c6f8db2
show the disabled/permanently disabled status in the machinereadble
...
output for 'ctdb status'
(This used to be ctdb commit a9e920a492e1e91d205ee8b9cd704a7cf85c1e01)
2007-06-07 09:27:51 +10:00
Ronnie Sahlberg
9ff733c784
add a control to permanently enable/disable a node
...
(This used to be ctdb commit d66fdba16ca22f62ddac6882a17614879b08a798)
2007-06-07 09:16:17 +10:00
Andrew Tridgell
341d715f1a
formatting fix for wider variable names
...
(This used to be ctdb commit 195bde145f62221a7bb1b12014ada98ad5df4e9e)
2007-06-06 22:17:46 +10:00
Andrew Tridgell
8fbca613d4
get parents idea of recmode and recmaster when deciding if we should do a takeover run
...
(This used to be ctdb commit 0e8124acd2f1a9b34292c1ee13c7e4cd6fe49876)
2007-06-06 21:56:54 +10:00
Andrew Tridgell
4a7f116746
update flags in parent daemon too
...
(This used to be ctdb commit 8995246d95e670753ab8c61d724d284cac2b414d)
2007-06-06 21:34:36 +10:00
Andrew Tridgell
ae56096b0b
ensure all nodes display disabled nodes correctly
...
(This used to be ctdb commit 959f82cfe926994658f5826007caccb0409003e1)
2007-06-06 21:27:09 +10:00
Andrew Tridgell
d1c225a0b9
disable a node if testparm thinks there is a error, or warning, or an unrecognised option
...
(This used to be ctdb commit ded80c83002a267996b4616e3702988b821cd422)
2007-06-06 19:46:25 +10:00
Andrew Tridgell
22aa4ffed2
handle the case of all nodes being sick for one service
...
(This used to be ctdb commit eca2590e60b4522b13c34e2c6cb8013aa55be323)
2007-06-06 16:49:59 +10:00
Andrew Tridgell
81fad8636f
added timeouts in all event scripts
...
(This used to be ctdb commit d986c91a607ed7c7d4869ea786b5cdf80e7862f1)
2007-06-06 13:45:12 +10:00
Andrew Tridgell
0edb079ea4
increase release number of ctdb
...
(This used to be ctdb commit 630a3cf9a05a315caafccafe539ba6675cdfb4ac)
2007-06-06 12:10:42 +10:00
Andrew Tridgell
76b7361c7e
- added monitoring of rpc ports for nfs, and of Samba ports and directories
...
- added monitoring of the ethernet link state
When monitoring detects an error, the node loses its public IP address
(This used to be ctdb commit 0af57aead8c983511d25774b4ffe09fa5ff26501)
2007-06-06 12:08:42 +10:00
Andrew Tridgell
b4f764c269
fixed error handling in event scripts
...
(This used to be ctdb commit d645c8b0480e7d2765614a226d78510e100016de)
2007-06-06 11:27:06 +10:00
Andrew Tridgell
cafddf76dc
- fixed flags display in logs
...
- added monitor handler to test event script
(This used to be ctdb commit a4c18dddee169df49e5d77d9a94ce9329f169319)
2007-06-06 11:13:24 +10:00
Andrew Tridgell
eaf701fbda
send the right sort of message on monitoring failure
...
(This used to be ctdb commit 9db537d9b11d48a36346db721ed8936ff5ecacb2)
2007-06-06 11:12:45 +10:00
Andrew Tridgell
d5449fa1fe
fixed exit code in makerpms.sh
...
(This used to be ctdb commit e308b75f6e9fae69441531f462351fe09e792cb9)
2007-06-06 11:12:14 +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
b130540102
merged vsftpd event script from ronnie
...
(This used to be ctdb commit c0b686c43524c6a93c52d85b0079ed820983133e)
2007-06-06 10:29:27 +10:00
Andrew Tridgell
af8834dd02
added health monitoring logic to ctdb, so a node loses its public IP address if one of the sybsystem event scripts reports a problem
...
(This used to be ctdb commit c7a089256d86cec21097453bce5acbccee87413f)
2007-06-06 10:25:46 +10:00
Ronnie Sahlberg
83e1d488eb
ctdb is only a ha solution when combined with a cluster filesystem
...
(This used to be ctdb commit cea43b5530da5adb06146f3ffa18eac113e838cc)
2007-06-05 18:42:49 +10:00
Ronnie Sahlberg
ab55af7ae2
add some text about CTDB and in which scenarios it would be a good
...
candidate to solve the users needs for a HA solution
(This used to be ctdb commit 77d58ba6fc6fa34678aa0201311139201d4679c8)
2007-06-05 18:40:43 +10:00
Ronnie Sahlberg
91a97fea03
provide machinereadable output for ctdb ip
...
(This used to be ctdb commit 86348de0bfdc4f91ff6f5a8eeff06044d512ee43)
2007-06-05 18:32:06 +10:00
Ronnie Sahlberg
317dec2f9e
merge from tridge
...
(This used to be ctdb commit 5f1f889e0e124c5275463795c004ae971945e1ae)
2007-06-05 18:16:45 +10:00
Ronnie Sahlberg
96a12cc4ab
add a simple events script to manage vsftpd
...
(This used to be ctdb commit 413efc7af529e4ebda6f7ea6e36f79ba72a2d1d9)
2007-06-05 18:14:01 +10:00
Andrew Tridgell
be3a00bd73
clean out some more cruft
...
(This used to be ctdb commit ad16c5fe2748b48a6f6c79976359d56d9bed33f4)
2007-06-05 17:57:07 +10:00
Andrew Tridgell
ac55bc4166
first step in health monitoring of cluster nodes. When not healthy they will be marked disabled
...
(This used to be ctdb commit d3dbd9fc4db21632075b56fc52cf95435c63374a)
2007-06-05 17:43:19 +10:00
Andrew Tridgell
ee747b5bd6
set close on exec on pipe in event scripts, so long running scripts don't hold the pipe
...
(This used to be ctdb commit 22662614b4091a4e4282e63d6876097cbf3e3d6e)
2007-06-05 15:18:37 +10:00
Andrew Tridgell
a3048a8942
more unused code
...
(This used to be ctdb commit b01f226949965942c1d64ff3b4ecc0b835d4fecc)
2007-06-05 15:17:53 +10:00
Andrew Tridgell
efcacd76b7
remove an unused function
...
(This used to be ctdb commit 9a36d0e0c110c66fe72dce530318b9bc0ac1ce0b)
2007-06-05 15:17:24 +10:00
Ronnie Sahlberg
32d19d3791
dont use CTDB_MANAGES_NFS for controlling the lockmanager
...
use a dedicated variable CTDB_MANAGES_NFSLOCK since some might want to
use nfs but no lockmanager
(This used to be ctdb commit 1e8cec86617ffb188bd49c70f074a4b350d3fe3d)
2007-06-05 12:43:35 +10:00
Andrew Tridgell
e95215850b
use the right IP from the passed structure in takeip/releaseip calls
...
(This used to be ctdb commit 3db5ba681b11d9ce6474938f221fe68d55a6e1ad)
2007-06-04 23:54:56 +10:00
Andrew Tridgell
7498d3c55d
explain event types
...
(This used to be ctdb commit 551472b78b025d9446ee58420dcec70c600555d0)
2007-06-04 23:54:46 +10:00
Andrew Tridgell
bd81cc521d
ignore commented out entries in /etc/exports
...
(This used to be ctdb commit d316b49ba46e819359f045adfd87da92860fd1b5)
2007-06-04 23:54:22 +10:00
Andrew Tridgell
49a0b4ebdc
use the right IP from the passed structure in takeip/releaseip calls
...
(This used to be ctdb commit 92ab9cbf6ef00de2987c16b145e17ac09dd99ea3)
2007-06-04 23:52:12 +10:00
Andrew Tridgell
0c939990ca
don't crash doing ctdb ip when not doing takeover
...
(This used to be ctdb commit f341a97c13a77711a2daaa9a223123cc4c81e75e)
2007-06-04 22:28:52 +10:00
Andrew Tridgell
ee546dec81
merge from ronnie
...
(This used to be ctdb commit 531d7ea7aca3116e78a4502a1c8b75a3fb764a4f)
2007-06-04 22:13:59 +10:00
Ronnie Sahlberg
4be9a44ba7
add a control that lists all public ip addresses and which node that
...
currently serves it
(This used to be ctdb commit db9b89dc423b31079e5502323e5fd2bbaf82e1e9)
2007-06-04 21:11:51 +10:00
Andrew Tridgell
39ced972ae
make recovery daemon values tunable
...
(This used to be ctdb commit ec29dbf2f5110428df8b97801443ba7addf61353)
2007-06-04 20:22:44 +10:00
Ronnie Sahlberg
1ee8989bd4
merge from tridge
...
(This used to be ctdb commit 3bfede5d46dba5a3654dad9205534391bc339461)
2007-06-04 20:10:53 +10:00
Ronnie Sahlberg
79b54a624e
change the takoverip/releaseip controls to pass a structure containing
...
both the nodenumber and the id of the node that has taken over that
address in addition to the public address itself so that all nodes
can learn which node is currently hosting each of the public addresses
(This used to be ctdb commit 53e9ff790387b85a36fa9c3c44cd4c95cbdf35da)
2007-06-04 20:07:37 +10:00
Andrew Tridgell
fcce534f23
allow setting of variables at startup in config file
...
(This used to be ctdb commit db39ca7c0ee1441113ac3279cb75b3cb38eecd1b)
2007-06-04 20:05:31 +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
f1d81386e6
- start moving tunable variables into their own structure
...
- fixed the test scripts to use a separate dbdir
(This used to be ctdb commit 396752e8908c48373564e915e2d49cfc9ff61eba)
2007-06-04 17:46:37 +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
62b30e478d
make sure we don't have any namespace collision problems with config variables
...
(This used to be ctdb commit dde9024b25fe12cf25c059e5accb3ca21838b130)
2007-06-04 15:44:52 +10:00
Ronnie Sahlberg
464ed12991
merge from tridge
...
(This used to be ctdb commit 948b449748a126386f49ef9e763cfffd8b651516)
2007-06-04 15:44:13 +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
73e626bc6b
automatically bring up interfaces that we manage. This allows ctdb to work without requiring two IPs per public interface
...
(This used to be ctdb commit 221850dcf9c28698eb3a1baf33cbf7f9137ac502)
2007-06-04 14:16:51 +10:00
Ronnie Sahlberg
8a53a6aa29
show the second column in the machinereadable output for ctdb status as
...
IP
(This used to be ctdb commit 9ee38e8cfc4b602f6769549a83a1302138e055a1)
2007-06-04 13:31:58 +10:00
Ronnie Sahlberg
a3e4e204dc
add the ip address to the nodemap structure we pull from a server and
...
display the physical address of a node when we do a ctdb status
(This used to be ctdb commit 660bf30db713f0680acd3f74275ad603b35a0c24)
2007-06-04 13:26:07 +10:00
Andrew Tridgell
837fb236b9
handle NETWORKING var not existing
...
(This used to be ctdb commit f8cf9f81e8f81818dc141eda5419c2749a0652a4)
2007-06-03 22:11:48 +10:00
Andrew Tridgell
e763874872
make the init scripts more portable about location of system config files
...
(This used to be ctdb commit 65f3e2bc722e314b2c51c3bfdc544b408a8a64cf)
2007-06-03 22:07:07 +10:00
Ronnie Sahlberg
5dde7e27e0
add a -Y option to generate machine readable output.
...
print 'ctdb status' in machinereadable form as
:VNN:0|1:
(This used to be ctdb commit 1aa6a632ec59d854fc5579fedad0d66b1b46ae8c)
2007-06-03 19:50:51 +10:00
Ronnie Sahlberg
dac3f7d23c
ubuntu uses a different style of init scripts than redhat and suse
...
(This used to be ctdb commit 6d3bee5d1a7dd6718045c673cfd150e3207ea970)
2007-06-03 19:24:52 +10:00
Ronnie Sahlberg
8175804757
print an error message to stdout if we failed to open the logfile for
...
the daemon
(This used to be ctdb commit fca953b1a3f3d6bf18264ecda1c75c68b60e2008)
2007-06-03 18:59:27 +10:00
Andrew Tridgell
b9973e1d3e
more portability tweaks in the init script
...
(This used to be ctdb commit 83a1c79e95af93a9ccfe78556ac5692c0315a3e4)
2007-06-03 17:53:26 +10:00
Andrew Tridgell
bc6ec7d0cf
fixed location of init.d directory to work on SLES and RHEL
...
(This used to be ctdb commit 962fa046c9ddde509690408030896d3335609341)
2007-06-03 17:39:11 +10:00
Andrew Tridgell
2fea5e7b0e
doc updates
...
(This used to be ctdb commit 1ccb6eca3f4846c4d77d48a7a13f2d5913f8cf80)
2007-06-03 16:33:08 +10:00
Andrew Tridgell
2ea6a86cab
web page tidy ups
...
(This used to be ctdb commit 9a9a0b356329905e08e843a99fd1d82a709e8986)
2007-06-03 15:56:23 +10:00
Andrew Tridgell
996d97b145
merge from ronnie
...
(This used to be ctdb commit 3d3b2eac028dc7d54e7ef0987a5f4063c4dcbe5a)
2007-06-03 14:41:28 +10:00
Andrew Tridgell
b4542aa00a
don't start nfs services unless the relevant directories are available
...
(This used to be ctdb commit e0468d61119b6581f5ec458641568d03714a5786)
2007-06-03 14:39:27 +10:00
Andrew Tridgell
6371ee188d
test commit
...
(This used to be ctdb commit 757affaa3430723136b3f2520d3893d79c6c1bbb)
2007-06-03 13:21:07 +10:00
Ronnie Sahlberg
74c6882c36
mention that ctdb offers cross cluster messaging to applications
...
(This used to be ctdb commit 7e51fdd07760bba894578d8e07873894340eb981)
2007-06-03 11:48:13 +10:00
Ronnie Sahlberg
7cb974e2c1
merged with tridge
...
update to the web page for ctdb
(This used to be ctdb commit 1ab2c05da217d80fe782bd3c8fcd9549d688dc7d)
2007-06-03 11:40:50 +10:00
Andrew Tridgell
ee3ce951ce
do a full restart in init cron call
...
(This used to be ctdb commit ed181dce8f307bd8f36de42351d04f39b2396836)
2007-06-03 10:29:57 +10:00
Andrew Tridgell
518d410075
fixed a race condition in the handling of the recovery lock
...
(This used to be ctdb commit 3b98c5ad23662259b0eed399ab0c8037cf9b2b0b)
2007-06-03 10:29:14 +10:00
Ronnie Sahlberg
61136d0da0
when we get a dmaster error, show the database id in the log so we can
...
track which db it happens for
(This used to be ctdb commit 3aedb67f4adf769b605b43f9d39d34ef17b0085d)
2007-06-03 09:58:51 +10:00
Andrew Tridgell
a795986baa
docs on how to use statd-callout
...
(This used to be ctdb commit 4a75111b4f3f93dc42c9ced2d23f3cc933712017)
2007-06-02 19:45:06 +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
7166c51204
ctdb_test.c is gone
...
(This used to be ctdb commit b93b5f5d28a4f2065caa38f65d6b71868cd0e9e4)
2007-06-02 18:57:21 +10:00
Andrew Tridgell
2f5af51c53
add an easy way to setup ctdb to start/stop samba
...
(This used to be ctdb commit b0d9f427d83aff5b9a5c54b7b7c9d45d418e2352)
2007-06-02 18:51:05 +10:00
Ronnie Sahlberg
394ee9aff7
fix broken link to the CTDB setup page
...
(This used to be ctdb commit cf762c18aac8b9a137377d9ee9022c6d9a57452d)
2007-06-02 16:50:58 +10:00
Ronnie Sahlberg
ebe34b4353
update the evens scripts for nfs and nfslock to honour CTDB_MANAGES_NFS
...
which is set in /etc/sysconfig/nfs
(This used to be ctdb commit bf475269231a6129f88b37f4da69e06efcf4ed77)
2007-06-02 16:44:15 +10:00
Ronnie Sahlberg
5dc243ff93
STATD_SHARED_DIRECTORY should be define din the nfs sysconfig file and
...
not the ctdb sysconfig file since this variable has nothing at all to do
with ctdb
(This used to be ctdb commit d17073b7da5ecba1b93a5ed4fbdf86bf052fdc90)
2007-06-02 16:33:17 +10:00
Andrew Tridgell
c5e4ce360a
make test now works again
...
(This used to be ctdb commit 439d87bbb9840f82937e51aff4fe2b80160878c6)
2007-06-02 13:31:36 +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
ebf12646cf
- make specification of a recovery lock file compulsory
...
- die if someone other than the recmaster can get the recovery lock
(This used to be ctdb commit a827d0d0e430ca8ad5d521367e45097185492869)
2007-06-02 11:36:42 +10:00
Andrew Tridgell
4f72a202d9
- moved cmdline options that are only relevant to ctdbd into ctdbd.c
...
- fixed a valgrind error on failing to send a control
- don't mark node dead when already disconnected
- moved node list lock code into common code
(This used to be ctdb commit bcc0432d0fea7ef223f82ccee81cf35c18144b1b)
2007-06-02 10:03:28 +10:00
Andrew Tridgell
69edd8e617
another place we need to cope with the strange epoll fork semantics
...
(This used to be ctdb commit cb1eeec15e61a7eb401e9e65306642343d5deb6e)
2007-06-02 10:01:17 +10:00
Andrew Tridgell
27b0e323e6
disable realtime scheduler in event scripts
...
(This used to be ctdb commit 56225ac6fdfe754289bc7d5e0fc8d21c81a7aa8e)
2007-06-02 08:46:49 +10:00
Andrew Tridgell
5e5701a7b8
- make calling of recovered event script async
...
- shutdown sockets before calling shutdown script
(This used to be ctdb commit c5e099feef94a014a77742b6cc1d0afe78ef9da9)
2007-06-02 08:41:19 +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
3a0395dffd
added nfs event script
...
(This used to be ctdb commit a708a635a1be355d2e8d382166f58f65f669c8ea)
2007-06-02 00:10:22 +10:00
Andrew Tridgell
18d8559cee
don't strictly need netcat
...
(This used to be ctdb commit 992eed38fc6c474c99ce7242e7b7b35bc1e4bd7b)
2007-06-01 23:33:01 +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
b5890ad2c1
split out events for each subsystem separately
...
(This used to be ctdb commit 03c629a72f234dcc783fa1085e7edba09597c241)
2007-06-01 20:54:26 +10:00
Andrew Tridgell
559a8bd278
use a subdirectory for ctdb state files
...
(This used to be ctdb commit 71ebf272be42e313715f0f100be9f5567127eb73)
2007-06-01 19:16:58 +10:00
Andrew Tridgell
7db1d04d5c
make the running of the takeover and release event scripts async, to prevent outages due to slow scripts
...
(This used to be ctdb commit 4189be97eee7ab2a50335c860f2fcd9566667d01)
2007-06-01 19:05:41 +10:00
Andrew Tridgell
869d70d9c9
convert ctdbd.sh tests to use an event script
...
(This used to be ctdb commit b3eff804fe59238ed37cd692cc04785089a89dc3)
2007-06-01 19:04:51 +10:00
Andrew Tridgell
165bdba7ec
better download instructions
...
(This used to be ctdb commit f50298262e3cc2896d7d098efa6601c915d3feca)
2007-06-01 17:16:19 +10:00
Andrew Tridgell
e015e5d769
added package download
...
(This used to be ctdb commit fa0d8efe3298a38c52e6be1116bd1b4c8c959f76)
2007-06-01 16:07:13 +10:00
Andrew Tridgell
680a3ad547
merge initial web site from ronnie
...
(This used to be ctdb commit ee0b29b0625a1202e4af5a2ab3b19ca0b48e8e99)
2007-06-01 15:33:45 +10:00
Ronnie Sahlberg
0b70f9500e
add a developers section
...
(This used to be ctdb commit af90c7b3b80c808ad3047175cd09031c0282538d)
2007-06-01 15:31:23 +10:00
Ronnie Sahlberg
52291b18a5
initial webpage
...
(This used to be ctdb commit b24b48fe6e9da38036452e82a1b3d6311ebaa6f4)
2007-06-01 15:23:57 +10:00
Andrew Tridgell
f5171454b3
log dates/time in event startup messages
...
(This used to be ctdb commit 60a2f704f2e0544035778d00e91041e09351ed8f)
2007-06-01 15:23:16 +10:00
Andrew Tridgell
95ed6f8725
added CTDB_WAIT_DIRECTORIES support
...
(This used to be ctdb commit fa888e8b1715d7460f5718d3e1fe17e4caaa15c3)
2007-06-01 13:50:18 +10:00
Ronnie Sahlberg
86d0fc8e4f
it is -f not -x to check if a file exists
...
(This used to be ctdb commit 52457d5e811f91c051ce0fa32739667a1d21862a)
2007-06-01 13:26:14 +10:00
Ronnie Sahlberg
425b3c56c6
- create /etc/ctdb/taken_ips and /etc/ctdb/changed_ips analog to the
...
existing /etc/ctdb/released_ips
- only call the statd-callout script if the ips have changed and call
it with a "notify" argument. we need to restart nfslock service in
both cases
- change statd-callout to explicitely restart the lock manager and statd
when "notify" is called. copy the state directory for each held ip
from shared storage to /tmp then use sm-notify to send notifications to
all monitored clients
(This used to be ctdb commit 800f15a27af885a3f83430d3bc411cc72ac40e86)
2007-06-01 13:14:05 +10:00
Andrew Tridgell
bf3b740a1b
ctdb is GPL not LGPL
...
(This used to be ctdb commit 8624378010d1c2a1438e1e701339dfba7276f960)
2007-05-31 13:50:53 +10:00
Andrew Tridgell
7ccb338862
if there is no node available to take an IP, don't consider that an error
...
(This used to be ctdb commit fee6561626c7070418bc8f4d610a728329ac4bcc)
2007-05-31 11:22:43 +10:00
Andrew Tridgell
d86298248f
better location for statd-callout
...
(This used to be ctdb commit cc208c447b732aeeaefd6a889711d3cd83ea128e)
2007-05-31 11:14:07 +10:00
Andrew Tridgell
c6d4478fda
added hooks to make nfs statd behave correctly on failover
...
(This used to be ctdb commit a1ee84fc47892b6c18d417ccf714211fcb07952e)
2007-05-31 11:09:45 +10:00
Andrew Tridgell
cc87648933
merge lib/replace from samba4
...
(This used to be ctdb commit d1a0bcbe331b05ad7a3f5f7a33e4c9b5242c43f2)
2007-05-30 18:06:57 +10:00
Andrew Tridgell
89ed660067
tell newly connected nodes about any tcp tickle records that we have that they don't have
...
(This used to be ctdb commit 71dd59c1662d429d260c25090e0ca26db48d4075)
2007-05-30 16:37:39 +10:00
Andrew Tridgell
d510ce3281
use our own netmask when deciding if we should takeover a IP, not the other nodes
...
- check if ctdb dies while waiting for the startup event
(This used to be ctdb commit 8b59f73c527a6d0a8abe8030dc3cbbc4329657be)
2007-05-30 16:11:39 +10:00
Andrew Tridgell
1e72af9c51
close sockets when we exec scripts
...
(This used to be ctdb commit 0fac2164db4279db2d7d376a34be05b890304087)
2007-05-30 15:43:25 +10:00