1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-03 12:58:35 +03:00

836 Commits

Author SHA1 Message Date
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
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
Ronnie Sahlberg
1c8d6beca3 merge from tridge
(This used to be ctdb commit 77fe404839553c1a678e265cf33684f495244e42)
2007-06-05 08:43:30 +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