Ronnie Sahlberg
2bb687c4cd
remove unused variable
...
(This used to be ctdb commit 2a52336ec021dfe8d56ba72726feb7b2dbd41f68)
2009-06-09 10:58:46 +10:00
Ronnie Sahlberg
ac931b1371
dont require particular values for NoIPFailback and DeterministicIPs when
...
using ctdb moveip
(This used to be ctdb commit d350c631850377c09968d2978ef57d2bd0d50116)
2009-06-09 10:57:46 +10:00
Ronnie Sahlberg
f135684766
improve ctdb moveip so that it does not always trigger a recovery.
...
(This used to be ctdb commit 0ca28d7336463ecd2ff65620d8dbcbb496991531)
2009-06-09 10:56:50 +10:00
Ronnie Sahlberg
f6ccf96898
try avoiding to cause a recovery when deleting a public ip from a node
...
(This used to be ctdb commit 6318ea13464e2fe630084c40802d8e697c2cb999)
2009-06-05 17:57:14 +10:00
Ronnie Sahlberg
b046f5e3aa
when adding an ip, try manually adding and takingover the ip instead of triggering a full recovery to do the same thing
...
(This used to be ctdb commit 4d5d22e64270cfb31be6acd71f4f97ec43df5b2c)
2009-06-05 17:00:47 +10:00
Ronnie Sahlberg
79eef7f2b5
dont list DELETED nodes in the ctdb listnodes output
...
(This used to be ctdb commit 7eb137aa4c24c69bd93b98fb3c7108e5f3288ebd)
2009-06-04 13:25:58 +10:00
Ronnie Sahlberg
f691b96d84
make it possible to run 'ctdb listnodes' also if the daemon is not running.
...
in this case, read the nodes file directly instead of asking the local daemon for the list.
add an option -Y to provide machinereadable output to listnodes
(This used to be ctdb commit 4a55cacc4f5526abd2124460b669e633deeda408)
2009-06-04 13:21:25 +10:00
Ronnie Sahlberg
85d67197fe
From William Jojo <w.jojo[AT]hvcc.edu>
...
AIX dont have getopt.h by default.
Dont try including this file when building on AIX
(This used to be ctdb commit 06b33a826e71e1dd2f9e02ad614be55535d42045)
2009-06-04 09:41:05 +10:00
Ronnie Sahlberg
e2810c0cb4
new version 1.0.84
...
(This used to be ctdb commit af1b3de978089a9819716b33c13c941b5558cb17)
2009-06-02 15:05:41 +10:00
Ronnie Sahlberg
45aa542064
teach ONNODE about deleted nodes
...
(This used to be ctdb commit 03d304e72a5839dc8d8d2e2312b346c21dca5774)
2009-06-02 15:03:44 +10:00
Ronnie Sahlberg
f49c71fa4f
new version 1.0.83
...
(This used to be ctdb commit f236fa289f3115b1f4eb108eb668392dc520f61a)
2009-06-02 13:13:03 +10:00
Ronnie Sahlberg
676f7e0206
idocument how to remove a node from an existing cluster using 'ctdb
...
reloadnodes'
(This used to be ctdb commit e3d9722e332f132bd47dc41621d4e1d2b5c9c62a)
2009-06-02 12:43:11 +10:00
Ronnie Sahlberg
1dee7a2401
hide all DELETED nodes from the ctdb command output
...
(This used to be ctdb commit 91fdfee371d6be83af60cd38ac34afb295b9987a)
2009-06-01 15:43:30 +10:00
Ronnie Sahlberg
5371e3a793
lower the loglevel when we long that we skip an evenscript because it is not executable
...
(This used to be ctdb commit c265df3c7950aab51b8b6ef17040229b97345c35)
2009-06-01 15:29:36 +10:00
Ronnie Sahlberg
6c0c3577f8
dont try to queue packets for sending to (recently) deleted nodes since these nodes do not have a queue.
...
(This used to be ctdb commit 1b7c88ae7643f9bcc52b1d33095f97de88fc2316)
2009-06-01 14:56:19 +10:00
Ronnie Sahlberg
8a0880c843
when building the initial vnnmap, make sure to skip any deleted nodes
...
(This used to be ctdb commit 0cd66c744cd9533ce8d4c4374bcee3bf49b66dae)
2009-06-01 14:44:15 +10:00
Ronnie Sahlberg
dc5e4906cc
use num_nodes and the nodes array instead of walking the vnnmap
...
when counting the number of active nodes
(This used to be ctdb commit df20cd9b05ad9ca72e32ccc42354eafc12b68c04)
2009-06-01 14:39:34 +10:00
Ronnie Sahlberg
e6170b5389
add a new node state : DELETED.
...
This is used to mark nodes as being DELETED internally in ctdb
so that nodes are not renumbered if / when they are removed from the nodes file.
This is used to be able to do "ctdb reloadnodes" at runtime without
causing nodes to be renumbered.
To do this, instead of deleting a node from the nodes file, just comment it out like
1.0.0.1
#1.0.0.2
1.0.0.3
After removing 1.0.0.2 from the cluster, the remaining nodes retain their
pnn's from prior to the deletion, namely 0 and 2
Any line in the nodes file that is commented out represents a DELETED pnn
(This used to be ctdb commit 6a5e4fd7fa391206b463bb4e976502f3ac5bd343)
2009-06-01 14:18:34 +10:00
Ronnie Sahlberg
4259156050
dont remove the socket when the dameon stops. This can race if the
...
service is immediately restarted
(This used to be ctdb commit b18356764cd49d934eab901e596bb75c6e3ecdf8)
2009-05-29 18:16:13 +10:00
Ronnie Sahlberg
6feb7a1bf8
New attempt at TDB transaction nesting allow/disallow.
...
Make the default be that transaction is not allowed and any attempt to create a nested transaction will fail with TDB_ERR_NESTING.
If an application can cope with transaction nesting and the implicit
semantics of tdb_transaction_commit(), it can enable transaction nesting
by using the TDB_ALLOW_NESTING flag.
(This used to be ctdb commit 3e49e41c21eb8c53084aa8cc7fd3557bdd8eb7b6)
2009-05-25 17:04:42 +10:00
Ronnie Sahlberg
96340bd166
Revert "we only need to have transaction nesting disabled when we start the new transaction for the recovery"
...
This reverts commit bf8dae63d10498e6b6179bbacdd72f1ff0fc60be.
(This used to be ctdb commit 87292029cb444ffab130ff7dae47a629c2d15787)
2009-05-25 16:55:27 +10:00
Ronnie Sahlberg
270907faec
Revert "set the TDB_NO_NESTING flag for the tdb before we start a transaction from within recovery"
...
This reverts commit 1b2029dbb055ff07367ebc1f307f5241320227b2.
(This used to be ctdb commit 9762a3408f10409b629637d237ec513a825a6059)
2009-05-25 16:55:02 +10:00
Ronnie Sahlberg
c429ca114d
Revert "add TDB_NO_NESTING. When this flag is set tdb will not allow any nested transactions and tdb_transaction_start() will implicitely _cancel() any pending transactions before starting any new ones."
...
This reverts commit 459e4ee135bd1cd24c15e5325906eb4ecfd550ec.
(This used to be ctdb commit f1c6f7dd47bb1081781c0a0d567a92bbbc0aa5d5)
2009-05-25 16:54:25 +10:00
Ronnie Sahlberg
caf0e863a4
remove the obsolete ipmux component.
...
this is replaced by LVS since a long time
(This used to be ctdb commit dca41ec04788922ce5f4c52d346872b3e35f8cbb)
2009-05-25 12:33:52 +10:00
Ronnie Sahlberg
7b163bca18
fix the git path to the repository
...
(This used to be ctdb commit b0c32a96f4176747ca772be664888f5c3c483b98)
2009-05-25 12:15:13 +10:00
Ronnie Sahlberg
e85fb3d9c5
install the 31.clamd script as 644 by default
...
(This used to be ctdb commit e57c47b75fa501223c57040eac73392b42ae549d)
2009-05-25 12:11:07 +10:00
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