Andrew Tridgell [Thu, 7 Jun 2007 12:06:19 +0000 (22:06 +1000)]
start splitting the code into separate client and server pieces
Andrew Tridgell [Thu, 7 Jun 2007 09:21:55 +0000 (19:21 +1000)]
later times are a lower priority, not a higher priority
Andrew Tridgell [Thu, 7 Jun 2007 09:17:27 +0000 (19:17 +1000)]
choose the most connected node first
Andrew Tridgell [Thu, 7 Jun 2007 08:39:37 +0000 (18:39 +1000)]
formatting fixes
Andrew Tridgell [Thu, 7 Jun 2007 08:37:27 +0000 (18:37 +1000)]
use a priority time for the election data, not just the vnn
Andrew Tridgell [Thu, 7 Jun 2007 08:13:14 +0000 (18:13 +1000)]
validate vnn on node flags change
Andrew Tridgell [Thu, 7 Jun 2007 08:07:38 +0000 (18:07 +1000)]
there are now far too many controls for the controls statistics fields to be useful
Andrew Tridgell [Thu, 7 Jun 2007 08:05:25 +0000 (18:05 +1000)]
get all the tunables at once in recovery daemon
Andrew Tridgell [Thu, 7 Jun 2007 06:48:31 +0000 (16:48 +1000)]
handle CTDB_CURRENT_NODE in ban commands
Andrew Tridgell [Thu, 7 Jun 2007 06:34:33 +0000 (16:34 +1000)]
added admin commands to ban/unban nodes
Andrew Tridgell [Thu, 7 Jun 2007 05:25:36 +0000 (15:25 +1000)]
increase rpm release number
Andrew Tridgell [Thu, 7 Jun 2007 05:18:55 +0000 (15:18 +1000)]
implement a scheme where nodes are banned if they continuously caused the cluster
to start a recovery session. The node is banned from the cluster for the RecoveryBanPeriod (default of 5 minutes)
Andrew Tridgell [Thu, 7 Jun 2007 01:15:22 +0000 (11:15 +1000)]
merged admin enable/disable change from ronnie
Ronnie Sahlberg [Thu, 7 Jun 2007 00:19:24 +0000 (10:19 +1000)]
distribute the takenover nodes more evenly among the surviving nodes
Ronnie Sahlberg [Wed, 6 Jun 2007 23:27:51 +0000 (09:27 +1000)]
show the disabled/permanently disabled status in the machinereadble
output for 'ctdb status'
Ronnie Sahlberg [Wed, 6 Jun 2007 23:16:17 +0000 (09:16 +1000)]
add a control to permanently enable/disable a node
Ronnie Sahlberg [Wed, 6 Jun 2007 21:06:54 +0000 (07:06 +1000)]
merge from tridge
Ronnie Sahlberg [Wed, 6 Jun 2007 21:06:24 +0000 (07:06 +1000)]
merge from tridge
Andrew Tridgell [Wed, 6 Jun 2007 12:17:46 +0000 (22:17 +1000)]
formatting fix for wider variable names
Andrew Tridgell [Wed, 6 Jun 2007 11:56:54 +0000 (21:56 +1000)]
get parents idea of recmode and recmaster when deciding if we should do a takeover run
Andrew Tridgell [Wed, 6 Jun 2007 11:34:36 +0000 (21:34 +1000)]
update flags in parent daemon too
Andrew Tridgell [Wed, 6 Jun 2007 11:27:09 +0000 (21:27 +1000)]
ensure all nodes display disabled nodes correctly
Andrew Tridgell [Wed, 6 Jun 2007 09:46:25 +0000 (19:46 +1000)]
disable a node if testparm thinks there is a error, or warning, or an unrecognised option
Andrew Tridgell [Wed, 6 Jun 2007 06:49:59 +0000 (16:49 +1000)]
handle the case of all nodes being sick for one service
Andrew Tridgell [Wed, 6 Jun 2007 03:45:12 +0000 (13:45 +1000)]
added timeouts in all event scripts
Ronnie Sahlberg [Wed, 6 Jun 2007 03:01:24 +0000 (13:01 +1000)]
merge from tridge
Andrew Tridgell [Wed, 6 Jun 2007 02:10:42 +0000 (12:10 +1000)]
increase release number of ctdb
Andrew Tridgell [Wed, 6 Jun 2007 02:08:42 +0000 (12:08 +1000)]
- added monitoring of rpc ports for nfs, and of Samba ports and directories
- added monitoring of the ethernet link state
When monitoring detects an error, the node loses its public IP address
Andrew Tridgell [Wed, 6 Jun 2007 01:27:06 +0000 (11:27 +1000)]
fixed error handling in event scripts
Andrew Tridgell [Wed, 6 Jun 2007 01:13:24 +0000 (11:13 +1000)]
- fixed flags display in logs
- added monitor handler to test event script
Andrew Tridgell [Wed, 6 Jun 2007 01:12:45 +0000 (11:12 +1000)]
send the right sort of message on monitoring failure
Andrew Tridgell [Wed, 6 Jun 2007 01:12:14 +0000 (11:12 +1000)]
fixed exit code in makerpms.sh
Ronnie Sahlberg [Wed, 6 Jun 2007 00:49:50 +0000 (10:49 +1000)]
merge from tridge
Ronnie Sahlberg [Wed, 6 Jun 2007 00:42:13 +0000 (10:42 +1000)]
need to install the vsftpd script in make install
Ronnie Sahlberg [Wed, 6 Jun 2007 00:41:22 +0000 (10:41 +1000)]
merge from tridge
Andrew Tridgell [Wed, 6 Jun 2007 00:41:13 +0000 (10:41 +1000)]
added 40.vsftpd to Makefile.in
Andrew Tridgell [Wed, 6 Jun 2007 00:29:27 +0000 (10:29 +1000)]
merged vsftpd event script from ronnie
Andrew Tridgell [Wed, 6 Jun 2007 00:25:46 +0000 (10:25 +1000)]
added health monitoring logic to ctdb, so a node loses its public IP address if one of the sybsystem event scripts reports a problem
Ronnie Sahlberg [Tue, 5 Jun 2007 08:42:49 +0000 (18:42 +1000)]
ctdb is only a ha solution when combined with a cluster filesystem
Ronnie Sahlberg [Tue, 5 Jun 2007 08:40:43 +0000 (18:40 +1000)]
add some text about CTDB and in which scenarios it would be a good
candidate to solve the users needs for a HA solution
Ronnie Sahlberg [Tue, 5 Jun 2007 08:32:06 +0000 (18:32 +1000)]
provide machinereadable output for ctdb ip
Ronnie Sahlberg [Tue, 5 Jun 2007 08:16:45 +0000 (18:16 +1000)]
merge from tridge
Ronnie Sahlberg [Tue, 5 Jun 2007 08:14:01 +0000 (18:14 +1000)]
add a simple events script to manage vsftpd
Andrew Tridgell [Tue, 5 Jun 2007 07:57:07 +0000 (17:57 +1000)]
clean out some more cruft
Andrew Tridgell [Tue, 5 Jun 2007 07:43:19 +0000 (17:43 +1000)]
first step in health monitoring of cluster nodes. When not healthy they will be marked disabled
Andrew Tridgell [Tue, 5 Jun 2007 05:18:37 +0000 (15:18 +1000)]
set close on exec on pipe in event scripts, so long running scripts don't hold the pipe
Andrew Tridgell [Tue, 5 Jun 2007 05:17:53 +0000 (15:17 +1000)]
more unused code
Andrew Tridgell [Tue, 5 Jun 2007 05:17:24 +0000 (15:17 +1000)]
remove an unused function
Ronnie Sahlberg [Tue, 5 Jun 2007 02:43:35 +0000 (12:43 +1000)]
dont use CTDB_MANAGES_NFS for controlling the lockmanager
use a dedicated variable CTDB_MANAGES_NFSLOCK since some might want to
use nfs but no lockmanager
Ronnie Sahlberg [Mon, 4 Jun 2007 22:43:30 +0000 (08:43 +1000)]
merge from tridge
Andrew Tridgell [Mon, 4 Jun 2007 13:54:56 +0000 (23:54 +1000)]
use the right IP from the passed structure in takeip/releaseip calls
Andrew Tridgell [Mon, 4 Jun 2007 13:54:46 +0000 (23:54 +1000)]
explain event types
Andrew Tridgell [Mon, 4 Jun 2007 13:54:22 +0000 (23:54 +1000)]
ignore commented out entries in /etc/exports
Andrew Tridgell [Mon, 4 Jun 2007 13:52:12 +0000 (23:52 +1000)]
use the right IP from the passed structure in takeip/releaseip calls
Andrew Tridgell [Mon, 4 Jun 2007 12:28:52 +0000 (22:28 +1000)]
don't crash doing ctdb ip when not doing takeover
Andrew Tridgell [Mon, 4 Jun 2007 12:13:59 +0000 (22:13 +1000)]
merge from ronnie
Ronnie Sahlberg [Mon, 4 Jun 2007 11:11:51 +0000 (21:11 +1000)]
add a control that lists all public ip addresses and which node that
currently serves it
Andrew Tridgell [Mon, 4 Jun 2007 10:22:44 +0000 (20:22 +1000)]
make recovery daemon values tunable
Ronnie Sahlberg [Mon, 4 Jun 2007 10:10:53 +0000 (20:10 +1000)]
merge from tridge
Ronnie Sahlberg [Mon, 4 Jun 2007 10:07:37 +0000 (20:07 +1000)]
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
Andrew Tridgell [Mon, 4 Jun 2007 10:05:31 +0000 (20:05 +1000)]
allow setting of variables at startup in config file
Andrew Tridgell [Mon, 4 Jun 2007 09:53:19 +0000 (19:53 +1000)]
added tunables settable using ctdb command line tool
Andrew Tridgell [Mon, 4 Jun 2007 07:46:37 +0000 (17:46 +1000)]
- start moving tunable variables into their own structure
- fixed the test scripts to use a separate dbdir
Andrew Tridgell [Mon, 4 Jun 2007 07:23:55 +0000 (17:23 +1000)]
remove some cruft thats not needed any more
Andrew Tridgell [Mon, 4 Jun 2007 05:44:52 +0000 (15:44 +1000)]
make sure we don't have any namespace collision problems with config variables
Ronnie Sahlberg [Mon, 4 Jun 2007 05:44:13 +0000 (15:44 +1000)]
merge from tridge
Andrew Tridgell [Mon, 4 Jun 2007 05:09:03 +0000 (15:09 +1000)]
split out the basic interface handling, and run event scripts in a deterministic order
Andrew Tridgell [Mon, 4 Jun 2007 04:16:51 +0000 (14:16 +1000)]
automatically bring up interfaces that we manage. This allows ctdb to work without requiring two IPs per public interface
Andrew Tridgell [Mon, 4 Jun 2007 03:34:27 +0000 (13:34 +1000)]
merged from ronnie
Ronnie Sahlberg [Mon, 4 Jun 2007 03:31:58 +0000 (13:31 +1000)]
show the second column in the machinereadable output for ctdb status as
IP
Ronnie Sahlberg [Mon, 4 Jun 2007 03:26:07 +0000 (13:26 +1000)]
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
Ronnie Sahlberg [Mon, 4 Jun 2007 01:48:36 +0000 (11:48 +1000)]
merge from tridge
Andrew Tridgell [Sun, 3 Jun 2007 12:11:48 +0000 (22:11 +1000)]
handle NETWORKING var not existing
Andrew Tridgell [Sun, 3 Jun 2007 12:07:07 +0000 (22:07 +1000)]
make the init scripts more portable about location of system config files
Ronnie Sahlberg [Sun, 3 Jun 2007 11:30:45 +0000 (21:30 +1000)]
merge from tridge
Andrew Tridgell [Sun, 3 Jun 2007 10:54:24 +0000 (20:54 +1000)]
merged from ronnie
Ronnie Sahlberg [Sun, 3 Jun 2007 09:50:51 +0000 (19:50 +1000)]
add a -Y option to generate machine readable output.
print 'ctdb status' in machinereadable form as
:VNN:0|1:
Ronnie Sahlberg [Sun, 3 Jun 2007 09:24:52 +0000 (19:24 +1000)]
ubuntu uses a different style of init scripts than redhat and suse
Ronnie Sahlberg [Sun, 3 Jun 2007 08:59:27 +0000 (18:59 +1000)]
print an error message to stdout if we failed to open the logfile for
the daemon
Ronnie Sahlberg [Sun, 3 Jun 2007 08:41:29 +0000 (18:41 +1000)]
merge from tridge
Andrew Tridgell [Sun, 3 Jun 2007 07:53:26 +0000 (17:53 +1000)]
more portability tweaks in the init script
Andrew Tridgell [Sun, 3 Jun 2007 07:39:11 +0000 (17:39 +1000)]
fixed location of init.d directory to work on SLES and RHEL
Ronnie Sahlberg [Sun, 3 Jun 2007 07:07:23 +0000 (17:07 +1000)]
merge from tridge
Andrew Tridgell [Sun, 3 Jun 2007 06:33:08 +0000 (16:33 +1000)]
doc updates
Andrew Tridgell [Sun, 3 Jun 2007 05:56:23 +0000 (15:56 +1000)]
web page tidy ups
Andrew Tridgell [Sun, 3 Jun 2007 04:41:28 +0000 (14:41 +1000)]
merge from ronnie
Andrew Tridgell [Sun, 3 Jun 2007 04:39:27 +0000 (14:39 +1000)]
don't start nfs services unless the relevant directories are available
Andrew Tridgell [Sun, 3 Jun 2007 03:21:07 +0000 (13:21 +1000)]
test commit
Ronnie Sahlberg [Sun, 3 Jun 2007 01:48:13 +0000 (11:48 +1000)]
mention that ctdb offers cross cluster messaging to applications
Ronnie Sahlberg [Sun, 3 Jun 2007 01:40:50 +0000 (11:40 +1000)]
merged with tridge
update to the web page for ctdb
Andrew Tridgell [Sun, 3 Jun 2007 00:29:57 +0000 (10:29 +1000)]
do a full restart in init cron call
Andrew Tridgell [Sun, 3 Jun 2007 00:29:14 +0000 (10:29 +1000)]
fixed a race condition in the handling of the recovery lock
Ronnie Sahlberg [Sat, 2 Jun 2007 23:58:51 +0000 (09:58 +1000)]
when we get a dmaster error, show the database id in the log so we can
track which db it happens for
Ronnie Sahlberg [Sat, 2 Jun 2007 22:32:29 +0000 (08:32 +1000)]
merge from tridge
Andrew Tridgell [Sat, 2 Jun 2007 09:45:06 +0000 (19:45 +1000)]
docs on how to use statd-callout
Andrew Tridgell [Sat, 2 Jun 2007 09:40:07 +0000 (19:40 +1000)]
move config files to config/ directory
Andrew Tridgell [Sat, 2 Jun 2007 09:23:48 +0000 (19:23 +1000)]
removed some old cruft
Andrew Tridgell [Sat, 2 Jun 2007 08:57:21 +0000 (18:57 +1000)]
ctdb_test.c is gone
Andrew Tridgell [Sat, 2 Jun 2007 08:51:05 +0000 (18:51 +1000)]
add an easy way to setup ctdb to start/stop samba
Andrew Tridgell [Sat, 2 Jun 2007 08:08:16 +0000 (18:08 +1000)]
merge from ronnie