1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
Commit Graph

952 Commits

Author SHA1 Message Date
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
Ronnie Sahlberg
9697953c7f merge from tridge
(This used to be ctdb commit a26ae2fc73e5ab2343a2adc71a76df80dd625917)
2007-06-07 23:31:32 +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
Ronnie Sahlberg
2485d1ef03 merge from tridge
(This used to be ctdb commit 18d2052d3ba2215d696da88aa1e18c4a4c856914)
2007-06-07 07:06:54 +10:00
Ronnie Sahlberg
377898d52b merge from tridge
(This used to be ctdb commit c5fb2d7bdc616c6e4b52879b93f9b6781cedfcb5)
2007-06-07 07:06:24 +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
Ronnie Sahlberg
b51487b8f0 merge from tridge
(This used to be ctdb commit 269bcf734b199ae15abd3bc09657030d178cff91)
2007-06-06 13:01:24 +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
Ronnie Sahlberg
c6efeaad91 merge from tridge
(This used to be ctdb commit c67b15bc2c46a87109367afe533775e2c1ddcd95)
2007-06-06 10:49:50 +10:00
Ronnie Sahlberg
3d41633e68 need to install the vsftpd script in make install
(This used to be ctdb commit ab06e39a101832d313e73f44615bd0d1f0cb9838)
2007-06-06 10:42:13 +10:00
Ronnie Sahlberg
56f19eaddc merge from tridge
(This used to be ctdb commit bc03c3935b89616200ef78c019db4e944bc8e392)
2007-06-06 10:41:22 +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