summaryrefslogtreecommitdiffstats
path: root/ctdb
Commit message (Collapse)AuthorAgeFilesLines
...
| * Spelling fixes for tdb.Brad Hards2010-04-222-2/+2
| | | | | | | | | | | | | | | | Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> (Imported from commit 09e756b1d651caef203a4b7e02234f6dea374b08) (This used to be ctdb commit b0dff4ed35ab2423b8fcc801cdaaebaa0d7654bb)
| * tdb: use fdatasync() instead of fsync() in transactionsAndrew Tridgell2010-04-221-1/+1
| | | | | | | | | | | | | | | | This might help on some filesystems (Imported from commit 1373e748aa53fbd3afe4d2377208257d42628d86) (This used to be ctdb commit e9ee4aaeb471a7f5ba4c97d3f76f406c1fe9b92f)
| * tdb: Apply some const, just for clarityVolker Lendecke2010-04-221-1/+1
| | | | | | | | | | | | (Imported from commit 6824c6f46ba7c15e8af91d5aa8b21a946b63107b) (This used to be ctdb commit 8b0a8a96edf8611257e58ea81ed872dc03ca5da6)
| * tdb: fix recovery reuse after crashRusty Russell2010-04-221-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If a process (or the machine) dies after just after writing the recovery head (pointing at the end of file), the recovery record will filled with 0x42. This will not invoke a recovery on open, since rec.magic != TDB_RECOVERY_MAGIC. Unfortunately, the first transaction commit will happily reuse that area: tdb_recovery_allocate() doesn't check the magic. The recovery record has length 0x42424242, and it writes that back into the now-valid-looking transaction header) for the next comer (which happens to be tdb_wipe_all in my tests). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (Imported from commit b37b452cb8c1f56b37b04abe7bffdede371ca361) (This used to be ctdb commit 8c8782ecbb347e026f67d82a39555c0e43b1e9f8)
| * tdb: give a name to the invalid recovery area constant (0)Rusty Russell2010-04-223-4/+5
| | | | | | | | | | | | | | | | Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (Imported from commit 6269cdcd1538e2e3cead9e0f3c156b0363d607a0) (This used to be ctdb commit e0ca2e02120258aabca1e1586a58a8d672484fb5)
| * release-scripts: parametrize scriptsSimo Sorce2010-04-222-48/+67
| | | | | | | | | | | | | | | | | | | | | | This should make it easier to keep all release scripts alined as it will reduce the difference between them to ideally a few variables Also moves the tdb script in the scripts directory. (Imported from commit 6339de7f4fef46fb3ad32d1ecf9379f5b5d24ccb) (This used to be ctdb commit 8885b2206fba41ec289fda5dfd653ee676aa0dd3)
| * tdb: raise version to 1.2.1Simo Sorce2010-04-221-1/+1
| | | | | | | | | | | | | | | | | | after recent fixes we need to raise the version to 1.2.1 so that we can require also the right patched version. (Imported from commit 70534adee10fc6f5bba2d9304668dc6508e5de5a) (This used to be ctdb commit 84c971f33c24d32e5599aba7ba83bb474f7ac922)
* | Add a setting where CTDB will monitor and warn for low memory conditions.Ronnie Sahlberg2010-04-232-5/+18
| | | | | | | | | | | | | | | | CTDB_MONITOR_FREE_MEMORY_WARN BZ 59747 (This used to be ctdb commit 83446b2e7e28e3ed6627c1950053018b8799984a)
* | In the example script to remove all ip addresses after a ctdb crash,Ronnie Sahlberg2010-04-231-1/+1
| | | | | | | | | | | | | | add the NATGW address as one to be removed in addition to the public addresses. (This used to be ctdb commit 234b86fb19aae7a43f1dd2c0f69b03164fe5aaca)
* | add an example script that can be called from crontab to cleanupRonnie Sahlberg2010-04-223-0/+37
| | | | | | | | | | | | and release public ip addresses if ctdbd is no longer running (This used to be ctdb commit 1cdaaa0a3f53d1b075340a33dfdc42b534e99187)
* | add a missing ||Ronnie Sahlberg2010-04-221-1/+1
|/ | | | | | to make the 10.interface script not fail with a syntax error (This used to be ctdb commit a9831070344a6dcf46c55250f9d74a5870f37dfe)
* Fix a thinko in 2ea0a9f1a93781a0d036feb9fcc0d120b182922f.Martin Schwenke2010-04-201-2/+2
| | | | | | | | | If the driver is virtio_net then we assume that the link is up rather than ignoring the check altogether. Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit 3044d07da2a58260fa06bf489890b279bcf3ec39)
* ethtool does not support virtio_net devices.Ralph Wuerthner2010-04-151-1/+2
| | | | | | | | | Skip link test for this type of devices Signed-off-by: Ralph Wuerthner <ralph.wuerthner@de.ibm.com> Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit 2ea0a9f1a93781a0d036feb9fcc0d120b182922f)
* Fix a compiler warningRonnie Sahlberg2010-04-081-1/+1
| | | | (This used to be ctdb commit 8825a8e3936e4ddfc1482d07a63a620249f01fe7)
* In the recovery daemon, keep track of which node we have assigned public ipRonnie Sahlberg2010-04-084-20/+76
| | | | | | | | | | addresses and verify that the remote nodes have/keep a consistent view of assigned addresses. If a remote node has an inconsistent view of addresses visavi the recovery master this will trigger a full ip reallocation. (This used to be ctdb commit f3bf2ab61f8dbbc806ec23a68a87aaedd458e712)
* Lower the loglevel for "Recovery lock successfully taken"Ronnie Sahlberg2010-04-072-2/+2
| | | | | | | | from ERR to NOTICE BZ62086 (This used to be ctdb commit 7fa8486f9ffe2a039360b07423f734bdd884fe1d)
* When we forcefully abort a running eventscript, dont log this as isRonnie Sahlberg2010-03-301-3/+25
| | | | | | | | | | | | | | | the script timedout. Instead send a different signal (SIGABRT) to the child process to silently kill the process group for the script and its children without logging anything. We abort any running "monitor" script anytime any other event is generated either by ctdbd itself or by "ctdb eventscript ..." BZ61043 (This used to be ctdb commit 9dd25cb751919799af9d8a23a0725343a8400e58)
* Reduce the loglevel for two log messages for Registering and Deregistering ↵Ronnie Sahlberg2010-03-301-2/+2
| | | | | | | | server ids. BZ61890 (This used to be ctdb commit 944434eb6420774e42e58984c6ddaa326a6853bd)
* In ctdb catdb, print the payload data length without the ctdb header lengthVolker Lendecke2010-03-291-1/+1
| | | | (This used to be ctdb commit 45b3fe253c1d00c571b351fc73415bc799df3083)
* Fix a typo in run_startrecovery_eventscriptVolker Lendecke2010-03-291-1/+1
| | | | (This used to be ctdb commit 4f807b3a2d859f13c3e59e1ae737e9b145d7d613)
* events:50.samba: wipe the local part of the serverid db before starting ↵Michael Adam2010-03-291-1/+8
| | | | | | | | | | winbind/smnd/nmbd This is necessary for the new serverid approach. Michael (This used to be ctdb commit 8956f32e571093db7f285b83e4dd32960f8afc7c)
* new version 1.0.114Ronnie Sahlberg2010-03-241-1/+3
| | | | (This used to be ctdb commit b07beb68bf2adf65e837669be0c7464852f829ac)
* config: let 13.per_ip_routing use a flock for generate_auto_link_local()Stefan Metzmacher2010-03-181-9/+41
| | | | | | metze (This used to be ctdb commit dc2d0d0e559308ad2676f9ad973746c147d65eb9)
* Merge commit 'obnox/master-rebase'Ronnie Sahlberg2010-03-114-79/+83
|\ | | | | | | (This used to be ctdb commit 216ceca7f886a9f0c4902b100f7ad44349821f9f)
| * packaging: add tdbtool and tdbdump as dependencies to the RPMMichael Adam2010-03-101-0/+1
| | | | | | | | | | | | | | | | | | | | The init script relies on the existence. This should fix bug #6773 on bugzilla.samba.org: https://bugzilla.samba.org/show_bug.cgi?id=6773 Michael (This used to be ctdb commit 35e6aa1630732665deaed1e7fbf2c3bf6664895d)
| * doc: regenerate ctdb(1) manpages after xml changeMichael Adam2010-03-102-78/+80
| | | | | | | | (This used to be ctdb commit 6b9315b140802dee5904c1db0d57205d9efc6c1c)
| * doc: fix a linebreak in the example output of "ctdb getdbmap" in ctdb(1)Michael Adam2010-03-101-1/+2
| | | | | | | | (This used to be ctdb commit aab05d67dabf11be9063a2443af4d43bbc985fb6)
* | Merge root@10.1.1.27:/shared/ctdb/ctdb-gitRonnie Sahlberg2010-03-112-2/+3
|\ \ | |/ |/| | | (This used to be ctdb commit e59310132d8126ee3afc191b5db56e80a32986e8)
| * adjust a vacuum log levelChristian Ambach2010-03-111-1/+1
| | | | | | | | | | | | | | made the severity of the decreasing interval log level the same as for the increasing, they are both just info logs because they don't report errors (This used to be ctdb commit fde29921f14a815ea68911d758485c9070f4eb2a)
| * ctdb_setstatus in /etc/ctdb/functions was not working correctly because it ↵Wolfgang Mueller-Friedt2010-03-111-1/+2
| | | | | | | | | | | | was called with a wrong parameter list (This used to be ctdb commit e1e285d9f7fa3237dbbacca52a4eb2b264fa5986)
* | Fix some more bashismsMathieu Parent2010-03-102-4/+9
| | | | | | | | (This used to be ctdb commit 3d82ca5b1b8ba2770c739493aa0cdd34bb4827d8)
* | Correct nice_service()Mathieu Parent2010-03-101-2/+11
| | | | | | | | | | | | nice takes a binary as argument and not a function or builtin command (This used to be ctdb commit e21b40db64b314a24caa2bc611cb48b93decb5aa)
* | doc: regenerate ctdb and ctdb manpages after xml changesMichael Adam2010-02-244-326/+390
| | | | | | | | | | | | Michael (This used to be ctdb commit 51fce280d3a7e2cce8e6e268a19d3594b38b9bb6)
* | doc: add metainfo "manual" and "source" in the ctdbd manual pageMichael Adam2010-02-241-0/+2
| | | | | | | | (This used to be ctdb commit 8ffd7500d1740f2ce384d2c41fa5cca983c63cea)
* | doc: fill metainfo "manual" and "source" in the ctdb manual pageMichael Adam2010-02-241-2/+2
| | | | | | | | (This used to be ctdb commit ea7debb162edfcf5844d27400f1448e0b92a55d6)
* | Correction of spelling errors.Mathieu Parent2010-02-242-2/+2
| | | | | | | | | | | | | | | | | | | | | | * interupted -> interrupted * dont -> don't (thanks to lintian) See https://bugzilla.samba.org/show_bug.cgi?id=6935 (This used to be ctdb commit 942f597dd343f21e2f0fc5d8116d929286db7413)
* | Correction of spelling errors in manpagesMathieu Parent2010-02-242-7/+7
| | | | | | | | | | | | | | | | thanks to lintian See https://bugzilla.samba.org/show_bug.cgi?id=6935 (This used to be ctdb commit 402aad596e143c1ae3ec4bf2dfe3863c505bfc40)
* | fix bug #7152: check NFS-Shares, fails with to long path-namesMichael Adam2010-02-231-1/+1
| | | | | | | | | | | | | | | | Thanks to Thomas Sesselmann <t.sesselmann@dkfz.de> . Michael (This used to be ctdb commit da5fc07baa9aa806c3cba52c00fb10cf8b7f2dc5)
* | server:ctdb_send_dmaster_reply: fix a message typo.Michael Adam2010-02-231-1/+1
| | | | | | | | | | | | Michael (This used to be ctdb commit aa63f728152c37e31cecf2258efcdc8cf5ac0092)
* | doc: regenerate ctdb.1*Stefan Metzmacher2010-02-232-286/+534
| | | | | | | | | | | | metze (This used to be ctdb commit 00b249d9d098d5ed03e21caed404e66336f63629)
* | doc/ctdb.1.xml: document "ctdb setifacelink <iface> <status>"Stefan Metzmacher2010-02-231-0/+11
| | | | | | | | | | | | metze (This used to be ctdb commit b151a5bf750ffde4845d19a6ef875b4ee6085426)
* | doc/ctdb.1.xml: document "ctdb ipinfo <ip>"Stefan Metzmacher2010-02-231-0/+20
| | | | | | | | | | | | metze (This used to be ctdb commit c72b637cc838ae6ea1694a476628c3fb4770f63b)
* | doc/ctdb.1.xml: update "ctdb ip" documentationStefan Metzmacher2010-02-231-5/+26
| | | | | | | | | | | | metze (This used to be ctdb commit 283338275c1e02811ce5062b24cc0da2288f64cc)
* | doc/ctdb.1.xml: document "ctdb ifaces"Stefan Metzmacher2010-02-231-0/+33
| | | | | | | | | | | | metze (This used to be ctdb commit 5ac32d3152ba11bacfab47c72ba998ac495fac00)
* | doc/ctdb.1.xml: document PARTIALLYONLINE statusStefan Metzmacher2010-02-231-0/+6
| | | | | | | | | | | | metze (This used to be ctdb commit 51a455940464accece218b1a018be444993b3b4b)
* | config/13.per_ip_routing: fix typo in error messageStefan Metzmacher2010-02-231-1/+1
| | | | | | | | | | | | metze (This used to be ctdb commit 4b06665b77cb24d488f4ef03cc9ad5fd5d0feb0e)
* | config/13.per_ip_routing: use better names for release_script and setup_scriptStefan Metzmacher2010-02-231-3/+3
| | | | | | | | | | | | | | | | | | | | | | As the basename of the script will be used for the readd script from setup_iface_ip_readd_script, it's know easier to identify what script is called by delete_ip_from_iface() while readding ips to the interface. metze (This used to be ctdb commit 3ee225b0b6ed37c22478bd145ced56b1b9b86842)
* | config/13.per_ip_routing: register the setup script with ↵Stefan Metzmacher2010-02-231-0/+11
| | | | | | | | | | | | | | | | | | | | | | setup_iface_ip_readd_script() This is needed because we need to resetup the routing table when the delete_ip_from_iface() function readds the ip to the interface. metze (This used to be ctdb commit ea87185ec9977006ef72d5a68c875154e4c84099)
* | config/13.per_ip_routing: add a setup_per_ip_routing() functionStefan Metzmacher2010-02-231-50/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This combines the logic into a shell function which can be used by the "takeip" and "updateip" hooks. We check the return values of the "ip" commands now instead of ignoring them. We now create a setup_script.sh similar to the release_script.sh which makes it easier to analyze problems. metze (This used to be ctdb commit 624e8878851b4957cc7c02e922ec86926d6927ee)
* | server: add "setup" eventStefan Metzmacher2010-02-238-8/+56
| | | | | | | | | | | | | | | | This is needed because the "init" event can't use 'ctdb' commands. metze (This used to be ctdb commit 1493436b6b24eb05a23b7a339071ad85f70de8f4)