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
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
Andrew Tridgell
50fdcd31f9
merge from ronnie
...
(This used to be ctdb commit dcb43edad5f62d073d821cc67d1e4cd58811297c)
2007-06-02 18:08:16 +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