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
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
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
Andrew Tridgell
5641c764a7
merged from ronnie
...
(This used to be ctdb commit de18fc9d22cf10caaa7af25dc71315bfbd1ca2ee)
2007-06-04 13:34:27 +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
Ronnie Sahlberg
b00348d869
merge from tridge
...
(This used to be ctdb commit 35b62bd32655e4865b30c6b872788803dac653b6)
2007-06-04 11:48:36 +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
b531862555
merge from tridge
...
(This used to be ctdb commit c5cdad616b0931a7d75b831768428eca9dfd2505)
2007-06-03 21:30:45 +10:00
Andrew Tridgell
6eaa5c69e9
merged from ronnie
...
(This used to be ctdb commit 02b7781c29c2a63d236bd38b3a19af2af8e57a72)
2007-06-03 20:54:24 +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
Ronnie Sahlberg
a6d455c154
merge from tridge
...
(This used to be ctdb commit cc4bceaa9137aa130669662642768b690f136c0a)
2007-06-03 18:41:29 +10:00