1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
Commit Graph

797 Commits

Author SHA1 Message Date
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
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
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
Ronnie Sahlberg
294d7fc05f merge from tridge
(This used to be ctdb commit a3ac4efb42acab336857bcd9fbc33f5675522729)
2007-06-03 17:07:23 +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
Ronnie Sahlberg
bab73533ce merge from tridge
(This used to be ctdb commit a5cdd8b2d91478393a7f0e760d6bbe5eb93a989c)
2007-06-03 08:32:29 +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