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

2161 Commits

Author SHA1 Message Date
Ronnie Sahlberg
f62b433946 add 31.clamd to the install and the rpm
(This used to be ctdb commit bfc6ac07f8b7b326e75d8c9bf73051a440ee0011)
2009-05-25 12:11:01 +10:00
Ronnie Sahlberg
e999ade7bb From Flavio Carmo Junior <carmo.flavio@gmail.com>
Add an eventscript to manage ClamAV

(This used to be ctdb commit bb4ef6c4d2bc3578bdf4432517e98f85ec94e3b6)
2009-05-25 12:10:29 +10:00
Ronnie Sahlberg
691379b13d From Flavio Carmo Junior <carmo.flavio@gmail.com>
(with modifications)

Add a webpage about CLAMAV support in CTDB

(This used to be ctdb commit 5fc14f98902ae98abed35eaab3b3495226dcac38)
2009-05-25 12:08:50 +10:00
Ronnie Sahlberg
0891024f7a document the new support for ClamAV
(This used to be ctdb commit 39539a2d1784f04245ed7abc84c4f39e1601afa4)
2009-05-25 12:06:09 +10:00
Sumit Bose
887046352d fix re pattern to accept the new recovery lock times in the statistics output
(This used to be ctdb commit ba44aae7307b4fa56f7b2da2cd9d4a7ccd0a135e)
2009-05-25 11:15:00 +10:00
Ronnie Sahlberg
9921e1ec21 change the socket we use for sending grautious ARPs from AF_INET/SOCK_PACKET to AF_PACKET/SOCK_RAW
(This used to be ctdb commit 2c4c20d7803f4449f8d463314c40d4734ec80e2f)
2009-05-21 14:10:45 +10:00
Ronnie Sahlberg
26e1486db7 Whitespace changes and using the CTDB_NO_MEMORY() macro changes to
the previous patch.

(This used to be ctdb commit d623ea7c04daa6349b42d50862843c9f86115488)
2009-05-21 11:49:16 +10:00
Sumit Bose
2fcedf6dac add missing checks on so far ignored return values
Most of these were found during a review by Jim Meyering <meyering@redhat.com>

(This used to be ctdb commit 3aee5ee1deb4a19be3bd3a4ce3abbe09de763344)
2009-05-21 11:22:21 +10:00
Sumit Bose
11988fc77a structure member node_list_file is not used anywhere
(This used to be ctdb commit 0e84ea23d1d998d4d4ac7d8a858b3d8294f056cb)
2009-05-21 11:16:43 +10:00
Sumit Bose
9171a7784c structure member logfile is not used anywhere
(This used to be ctdb commit 4f86c991812c2d0bddbe3de9a9906cf5df118cd4)
2009-05-21 11:15:43 +10:00
Sumit Bose
f13c6e8a2c fix a configure warning while checking for netfilter.h
(This used to be ctdb commit fa5afee8e9a8fba6017bc58f87bc040de7206e63)
2009-05-21 11:14:28 +10:00
Sumit Bose
de36b5012a added a missing dependency
(This used to be ctdb commit 1d833163b57853b84f098dffdb3c5f50164fcc73)
2009-05-21 11:13:42 +10:00
Ronnie Sahlberg
9a3e19658d Change the loglevel of "registered tcp client for ..." to INFO
instead of ERR

(This used to be ctdb commit 92b5580c38c23b99c1692708540983b0c0fcd6cf)
2009-05-19 08:55:42 +10:00
Ronnie Sahlberg
934d8a6b5f From : Flavio Carmo Junior <carmo.flavio@gmail.com>
Add a helper function that checks whether a unix domain socket exists
and there is a daemon LISTENING to it  similar to the existing function
to check for a daemon LISTENING to a tcp/ip socket.

(This used to be ctdb commit 025a836ab3be3c078fccd8c10b10dfffbfdd94d0)
2009-05-19 08:47:19 +10:00
Volker Lendecke
7442461e9f Fix http://ctdb.samba.org/download.html
(This used to be ctdb commit 177295ba400fcaf47f026653f27a42a8ff798d36)
2009-05-19 08:40:00 +10:00
Christian Ambach
8e9736ac1f Remove error messages about a non-existing /var/log/log.ctdb when running ctdb with logging to syslog
(This used to be ctdb commit afdbf3c0df02decd823615134294abf2c8a8a5f3)
2009-05-14 18:59:31 +10:00
Ronnie Sahlberg
0d48af4741 add additional log info to track if/why we cant switch to client mode.
(This used to be ctdb commit 722171fc94a36ffe9e0a5c64502b916fde0a13a4)
2009-05-14 18:25:00 +10:00
Ronnie Sahlberg
98a54c4675 Track how long it takes to take out the recovery lock from both the main dameon and also from the recovery daemon.
Log this in "ctdb statistics".

Also add a varaible "RecLockLatencyMs" that will log an error everytime it takes longer than this to access the reclock file.

(This used to be ctdb commit 042377ed803bb8f7ca9d6ea1a387427b7b8ba45a)
2009-05-14 10:33:25 +10:00
Ronnie Sahlberg
26b37d29b4 new version 1.0.82
(This used to be ctdb commit 82ee458329968001bb03b2aec42e65f532f007b3)
2009-05-14 08:55:40 +10:00
Ronnie Sahlberg
be7137faa9 use scope host when adding the interface to loopback so we dont respond to ARPs for this ip
(This used to be ctdb commit fcd6226a6c00cf657532aa76804bfe029df21ba6)
2009-05-14 08:55:05 +10:00
Ronnie Sahlberg
016b37f1e2 change the prefix NATGW_ to CTDB_NATGW_
(This used to be ctdb commit b7ed7fd4a5fbd344d41caa1afa100b1f24506173)
2009-05-14 08:12:48 +10:00
Michael Adam
60bfafbf10 ping pong: fix logic for mmap reads vs. preads
Michael

(This used to be ctdb commit 0c88fa41bc3c629052bc137ed30c473ed10522fd)
2009-05-13 16:13:14 +10:00
Michael Adam
179d911826 maketarball.sh: add GPL license header
Michael

(This used to be ctdb commit 13270a011016bf20bbf721f6d083b2f113fdbc79)
2009-05-13 16:12:58 +10:00
Michael Adam
b1701e09df makerpms.sh: add GPL license header
Michael

(This used to be ctdb commit 7498e176817719eadd91201bbd0d9ceb91eefdae)
2009-05-13 16:12:41 +10:00
Michael Adam
01fb6e326b Remove generated binary files.
Noted by Mathieu Parent <math.parent@gmail.com>

Michael

(This used to be ctdb commit b321dfd1d23492169ac25ed901d49d7c69ad5340)
2009-05-13 16:01:53 +10:00
Ronnie Sahlberg
d7cefca723 remove NATGW_PRIVATE_IFACE from the documentation since we do not need
it any more.

(This used to be ctdb commit c967b234f59e5998bc8f2250062f4b0d1f39d820)
2009-05-12 18:21:26 +10:00
Ronnie Sahlberg
12400298c1 assign the natgw address to loopback and not the private network so that natgw will still work even when public and private networks are one and the same
(This used to be ctdb commit 2bd796b8a098074502fe20e3ab69098b2109c133)
2009-05-12 18:42:13 +10:00
Ronnie Sahlberg
42891227a4 add extra debug statements to the log to make it easier to see when a recovery dameon has hung due to the underlying filesystem hanging.
(This used to be ctdb commit 5b0067a4e335cbbf6e606646e612d4bfcfdb7441)
2009-05-12 18:39:34 +10:00
Ronnie Sahlberg
93a2829e94 check that a node is banned before trying to unban it.
(This used to be ctdb commit 4467b5f88d749d455854512f60a5d313cafa828b)
2009-05-12 18:32:41 +10:00
Martin Schwenke
2a09b4bad3 In 51_ctdb_bench.sh now allows a 2% difference between positive and
negative.  ctdb_bench.c checks to ensure the timer has advanced from 0
before dividing.

Signed-off-by: Martin Schwenke <martin@meltin.net>

(This used to be ctdb commit 723413f246399b25166462d2018237920515655f)
2009-05-12 14:45:46 +10:00
Martin Schwenke
d59cd199e4 Avoid floating point divide by 0 in ctdb_fetch.c's bench_fetch().
Signed-off-by: Martin Schwenke <martin@meltin.net>

(This used to be ctdb commit 3c67e164eb92591f8763883430490805c1dfa9ed)
2009-05-12 14:45:14 +10:00
Martin Schwenke
7c7c5b3489 Bug fixes for tests: simple/12_ctdb_getdebug.sh and scripts/test_wrap.
simple/12_ctdb_getdebug.sh now recognises output with multi-digit node
numbers.

Sharing the ctdb directory via NFS and testing on a real cluster by
setting CTDB_TEST_REAL_CLUSTER didn't work by default.  The fix is to
hack scripts/test_wrap so that it tries to find a valid bin directory
next to the directory containing it is in.

Signed-off-by: Martin Schwenke <martin@meltin.net>

(This used to be ctdb commit ea2ca769e1d1068fbbad843750b19acfd87360e0)
2009-05-12 14:44:30 +10:00
Ronnie Sahlberg
0dfc35641f From: Sumit Bose <sbose@redhat.com>
fix handling of AC_INIT

(This used to be ctdb commit 1c31fea7432b870169fb839c1fbba5a33dec8e8a)
2009-05-12 08:59:49 +10:00
Martin Schwenke
53c9643104 Fix lvsmaster and natgwlist nodespecs.
They both need to use a -Y option to ctdb and for natgwlist we only
want the 1st line.

Signed-off-by: Martin Schwenke <martin@meltin.net>

(This used to be ctdb commit e781ff61e17d733349021bb036514f823c7cbfbb)
2009-05-12 08:58:57 +10:00
Martin Schwenke
6cf92b7c0a Updated onnode docs to reflect recent changes.
Signed-off-by: Martin Schwenke <martin@meltin.net>

(This used to be ctdb commit cdf092d69a710310d82d1d67baa0ffb19f676927)
2009-05-12 08:58:41 +10:00
Martin Schwenke
6098464175 New lvs/lvsmaster and natgw/natgwlist nodespecs for onnode.
Some code re-factoring to implement this and to make it easy to
implement new ones.  New simpler implementation of echo_nth() no
longer uses deleted get_nth() function.

Signed-off-by: Martin Schwenke <martin@meltin.net>

(This used to be ctdb commit 29559f5dd099bec210e98909c9b2e048461b7c81)
2009-05-12 08:58:23 +10:00
Martin Schwenke
9616959bd6 New option "-o <prefix>" saves stdout from each node to file <prefix>.<ip>.
Signed-off-by: Martin Schwenke <martin@meltin.net>

(This used to be ctdb commit a0f5148ac749758e2dfbd6099e829c5bf1d900e6)
2009-05-12 08:58:04 +10:00
Martin Schwenke
9666d7bf0a Use ctdb_fetch_lock rather than ctdb_call.
Signed-off-by: Martin Schwenke <martin@meltin.net>

(This used to be ctdb commit 5f3d2e29a446972ac244e20a08e48f4c2f4ffef4)
2009-05-12 08:55:36 +10:00
Martin Schwenke
86ad711c37 41.httpd event script workaround for RHEL5-ism.
RHEL5 can SIGKILL httpd when stopping it, causing it to leak
semaphores.  This means that eventually a node runs out of semaphores
and httpd can't be started.  So, before we attempt to start httpd we
clean up any semaphores owned by apache.  We also try to restart httpd
in the monitor event if httpd has gone away.

Signed-off-by: Martin Schwenke <martin@meltin.net>

(This used to be ctdb commit 2d3fbbbb63f443686f9fec42c0bc2058d115806e)
2009-05-12 08:53:32 +10:00
Ronnie Sahlberg
54a5e6c0c8 Add a -Y machinereadable flag to "lvsmaster"
(This used to be ctdb commit bbae698656d5da9a4a5b0fbfc3003844f246d54b)
2009-05-11 14:44:59 +10:00
Ronnie Sahlberg
1ee122e165 in the "lvsmaster" command, return -1 if there is no lvsmaster
(This used to be ctdb commit ce6afbdef36e3c386b75709f73ef55efe0bd1987)
2009-05-11 13:56:28 +10:00
Ronnie Sahlberg
d6e1f04a67 new version 1.0.81
(This used to be ctdb commit a8019f20cd42a1965410fef5bac2c5b73657b38e)
2009-05-08 17:29:57 +10:00
Ronnie Sahlberg
e6e049060f From: Sumit Bose <sbose@redhat.com>
fix handling of AC_INIT and read version from ctdb.spec

(This used to be ctdb commit f7f64f92e26a0757af210d33288162eefcd07d79)
2009-05-06 20:32:39 +10:00
Michael Adam
c544371776 ping_pong: add GPL comment header with Tridge's copyright
Michael

(This used to be ctdb commit a87ef6a9206820d5110a7117240f743af010ff19)
2009-05-06 10:41:18 +10:00
Michael Adam
08cfdf0d63 ping_pong: get pread/pwrite prototypes from unistd.h
by defining _XOPEN_SOURCE to be 500 before including headers

Michael

(This used to be ctdb commit 96c79bddf7895e57ccf90f0d250bd08b7c4daf40)
2009-05-06 10:40:48 +10:00
Michael Adam
d68654ba5e ping_pong: reduce a couple of prototype warnings
Michael

(This used to be ctdb commit fce851621fe2099c9692acfbfaade24c3d69727a)
2009-05-06 10:40:08 +10:00
Michael Adam
73913bb7c5 packaging: also package ping_pong
Michael

(This used to be ctdb commit 300e84f7023e9194b313e96db943e4050bd64e68)
2009-05-06 10:39:47 +10:00
Michael Adam
24b9b6a986 build: also build and install ping_pong
Michael

(This used to be ctdb commit 200de8f299c8fa44d6dc696532f1a947132e7ec4)
2009-05-06 10:39:35 +10:00
Michael Adam
bc6c3d03e8 add tridge's ping_pong.c to the utils folder
Michael

(This used to be ctdb commit fe59ecb697fb4686ad8ea2fe4ec1cc7b4629e74f)
2009-05-06 10:39:19 +10:00
Ronnie Sahlberg
9300933b6a From Sumit Bose <sbose@redhat.com>
add more 64bit plattforms to configure.ac and preserve cli settings

(This used to be ctdb commit 8a86f65826b58c2ee3f07f221a4fc82193beec81)
2009-05-06 10:29:07 +10:00