sahlberg/ctdb.git
17 years agostart splitting the code into separate client and server pieces
Andrew Tridgell [Thu, 7 Jun 2007 12:06:19 +0000 (22:06 +1000)]
start splitting the code into separate client and server pieces

17 years agolater times are a lower priority, not a higher priority
Andrew Tridgell [Thu, 7 Jun 2007 09:21:55 +0000 (19:21 +1000)]
later times are a lower priority, not a higher priority

17 years agochoose the most connected node first
Andrew Tridgell [Thu, 7 Jun 2007 09:17:27 +0000 (19:17 +1000)]
choose the most connected node first

17 years agoformatting fixes
Andrew Tridgell [Thu, 7 Jun 2007 08:39:37 +0000 (18:39 +1000)]
formatting fixes

17 years agouse a priority time for the election data, not just the vnn
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

17 years agovalidate vnn on node flags change
Andrew Tridgell [Thu, 7 Jun 2007 08:13:14 +0000 (18:13 +1000)]
validate vnn on node flags change

17 years agothere are now far too many controls for the controls statistics fields to be useful
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

17 years agoget all the tunables at once in recovery daemon
Andrew Tridgell [Thu, 7 Jun 2007 08:05:25 +0000 (18:05 +1000)]
get all the tunables at once in recovery daemon

17 years agohandle CTDB_CURRENT_NODE in ban commands
Andrew Tridgell [Thu, 7 Jun 2007 06:48:31 +0000 (16:48 +1000)]
handle CTDB_CURRENT_NODE in ban commands

17 years agoadded admin commands to ban/unban nodes
Andrew Tridgell [Thu, 7 Jun 2007 06:34:33 +0000 (16:34 +1000)]
added admin commands to ban/unban nodes

17 years agoincrease rpm release number
Andrew Tridgell [Thu, 7 Jun 2007 05:25:36 +0000 (15:25 +1000)]
increase rpm release number

17 years agoimplement a scheme where nodes are banned if they continuously caused the cluster
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)

17 years agomerged admin enable/disable change from ronnie
Andrew Tridgell [Thu, 7 Jun 2007 01:15:22 +0000 (11:15 +1000)]
merged admin enable/disable change from ronnie

17 years agodistribute the takenover nodes more evenly among the surviving nodes
Ronnie Sahlberg [Thu, 7 Jun 2007 00:19:24 +0000 (10:19 +1000)]
distribute the takenover nodes more evenly among the surviving nodes

17 years agoshow the disabled/permanently disabled status in the machinereadble
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'

17 years agoadd a control to permanently enable/disable a node
Ronnie Sahlberg [Wed, 6 Jun 2007 23:16:17 +0000 (09:16 +1000)]
add a control to permanently enable/disable a node

17 years agomerge from tridge
Ronnie Sahlberg [Wed, 6 Jun 2007 21:06:54 +0000 (07:06 +1000)]
merge from tridge

17 years agomerge from tridge
Ronnie Sahlberg [Wed, 6 Jun 2007 21:06:24 +0000 (07:06 +1000)]
merge from tridge

17 years agoformatting fix for wider variable names
Andrew Tridgell [Wed, 6 Jun 2007 12:17:46 +0000 (22:17 +1000)]
formatting fix for wider variable names

17 years agoget parents idea of recmode and recmaster when deciding if we should do a takeover run
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

17 years agoupdate flags in parent daemon too
Andrew Tridgell [Wed, 6 Jun 2007 11:34:36 +0000 (21:34 +1000)]
update flags in parent daemon too

17 years agoensure all nodes display disabled nodes correctly
Andrew Tridgell [Wed, 6 Jun 2007 11:27:09 +0000 (21:27 +1000)]
ensure all nodes display disabled nodes correctly

17 years agodisable a node if testparm thinks there is a error, or warning, or an unrecognised...
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

17 years agohandle the case of all nodes being sick for one service
Andrew Tridgell [Wed, 6 Jun 2007 06:49:59 +0000 (16:49 +1000)]
handle the case of all nodes being sick for one service

17 years agoadded timeouts in all event scripts
Andrew Tridgell [Wed, 6 Jun 2007 03:45:12 +0000 (13:45 +1000)]
added timeouts in all event scripts

17 years agomerge from tridge
Ronnie Sahlberg [Wed, 6 Jun 2007 03:01:24 +0000 (13:01 +1000)]
merge from tridge

17 years agoincrease release number of ctdb
Andrew Tridgell [Wed, 6 Jun 2007 02:10:42 +0000 (12:10 +1000)]
increase release number of ctdb

17 years ago- added monitoring of rpc ports for nfs, and of Samba ports and directories
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

17 years agofixed error handling in event scripts
Andrew Tridgell [Wed, 6 Jun 2007 01:27:06 +0000 (11:27 +1000)]
fixed error handling in event scripts

17 years ago- fixed flags display in logs
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

17 years agosend the right sort of message on monitoring failure
Andrew Tridgell [Wed, 6 Jun 2007 01:12:45 +0000 (11:12 +1000)]
send the right sort of message on monitoring failure

17 years agofixed exit code in makerpms.sh
Andrew Tridgell [Wed, 6 Jun 2007 01:12:14 +0000 (11:12 +1000)]
fixed exit code in makerpms.sh

17 years agomerge from tridge
Ronnie Sahlberg [Wed, 6 Jun 2007 00:49:50 +0000 (10:49 +1000)]
merge from tridge

17 years agoneed to install the vsftpd script in make install
Ronnie Sahlberg [Wed, 6 Jun 2007 00:42:13 +0000 (10:42 +1000)]
need to install the vsftpd script in make install

17 years agomerge from tridge
Ronnie Sahlberg [Wed, 6 Jun 2007 00:41:22 +0000 (10:41 +1000)]
merge from tridge

17 years agoadded 40.vsftpd to Makefile.in
Andrew Tridgell [Wed, 6 Jun 2007 00:41:13 +0000 (10:41 +1000)]
added 40.vsftpd to Makefile.in

17 years agomerged vsftpd event script from ronnie
Andrew Tridgell [Wed, 6 Jun 2007 00:29:27 +0000 (10:29 +1000)]
merged vsftpd event script from ronnie

17 years agoadded health monitoring logic to ctdb, so a node loses its public IP address if one...
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

17 years agoctdb is only a ha solution when combined with a cluster filesystem
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

17 years agoadd some text about CTDB and in which scenarios it would be a good
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

17 years agoprovide machinereadable output for ctdb ip
Ronnie Sahlberg [Tue, 5 Jun 2007 08:32:06 +0000 (18:32 +1000)]
provide machinereadable output for  ctdb ip

17 years agomerge from tridge
Ronnie Sahlberg [Tue, 5 Jun 2007 08:16:45 +0000 (18:16 +1000)]
merge from tridge

17 years agoadd a simple events script to manage vsftpd
Ronnie Sahlberg [Tue, 5 Jun 2007 08:14:01 +0000 (18:14 +1000)]
add a simple events script to manage vsftpd

17 years agoclean out some more cruft
Andrew Tridgell [Tue, 5 Jun 2007 07:57:07 +0000 (17:57 +1000)]
clean out some more cruft

17 years agofirst step in health monitoring of cluster nodes. When not healthy they will be marke...
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

17 years agoset close on exec on pipe in event scripts, so long running scripts don't hold the...
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

17 years agomore unused code
Andrew Tridgell [Tue, 5 Jun 2007 05:17:53 +0000 (15:17 +1000)]
more unused code

17 years agoremove an unused function
Andrew Tridgell [Tue, 5 Jun 2007 05:17:24 +0000 (15:17 +1000)]
remove an unused function

17 years agodont use CTDB_MANAGES_NFS for controlling the lockmanager
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

17 years agomerge from tridge
Ronnie Sahlberg [Mon, 4 Jun 2007 22:43:30 +0000 (08:43 +1000)]
merge from tridge

17 years agouse the right IP from the passed structure in takeip/releaseip calls
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

17 years agoexplain event types
Andrew Tridgell [Mon, 4 Jun 2007 13:54:46 +0000 (23:54 +1000)]
explain event types

17 years agoignore commented out entries in /etc/exports
Andrew Tridgell [Mon, 4 Jun 2007 13:54:22 +0000 (23:54 +1000)]
ignore commented out entries in /etc/exports

17 years agouse the right IP from the passed structure in takeip/releaseip calls
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

17 years agodon't crash doing ctdb ip when not doing takeover
Andrew Tridgell [Mon, 4 Jun 2007 12:28:52 +0000 (22:28 +1000)]
don't crash doing ctdb ip when not doing takeover

17 years agomerge from ronnie
Andrew Tridgell [Mon, 4 Jun 2007 12:13:59 +0000 (22:13 +1000)]
merge from ronnie

17 years agoadd a control that lists all public ip addresses and which node that
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

17 years agomake recovery daemon values tunable
Andrew Tridgell [Mon, 4 Jun 2007 10:22:44 +0000 (20:22 +1000)]
make recovery daemon values tunable

17 years agomerge from tridge
Ronnie Sahlberg [Mon, 4 Jun 2007 10:10:53 +0000 (20:10 +1000)]
merge from tridge

17 years agochange the takoverip/releaseip controls to pass a structure containing
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

17 years agoallow setting of variables at startup in config file
Andrew Tridgell [Mon, 4 Jun 2007 10:05:31 +0000 (20:05 +1000)]
allow setting of variables at startup in config file

17 years agoadded tunables settable using ctdb command line tool
Andrew Tridgell [Mon, 4 Jun 2007 09:53:19 +0000 (19:53 +1000)]
added tunables settable using ctdb command line tool

17 years ago - start moving tunable variables into their own structure
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

17 years agoremove some cruft thats not needed any more
Andrew Tridgell [Mon, 4 Jun 2007 07:23:55 +0000 (17:23 +1000)]
remove some cruft thats not needed any more

17 years agomake sure we don't have any namespace collision problems with config variables
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

17 years agomerge from tridge
Ronnie Sahlberg [Mon, 4 Jun 2007 05:44:13 +0000 (15:44 +1000)]
merge from tridge

17 years agosplit out the basic interface handling, and run event scripts in a deterministic...
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

17 years agoautomatically bring up interfaces that we manage. This allows ctdb to work without...
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

17 years agomerged from ronnie
Andrew Tridgell [Mon, 4 Jun 2007 03:34:27 +0000 (13:34 +1000)]
merged from ronnie

17 years agoshow the second column in the machinereadable output for ctdb status as
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

17 years agoadd the ip address to the nodemap structure we pull from a server and
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

17 years agomerge from tridge
Ronnie Sahlberg [Mon, 4 Jun 2007 01:48:36 +0000 (11:48 +1000)]
merge from tridge

17 years agohandle NETWORKING var not existing
Andrew Tridgell [Sun, 3 Jun 2007 12:11:48 +0000 (22:11 +1000)]
handle NETWORKING var not existing

17 years agomake the init scripts more portable about location of system config files
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

17 years agomerge from tridge
Ronnie Sahlberg [Sun, 3 Jun 2007 11:30:45 +0000 (21:30 +1000)]
merge from tridge

17 years agomerged from ronnie
Andrew Tridgell [Sun, 3 Jun 2007 10:54:24 +0000 (20:54 +1000)]
merged from ronnie

17 years agoadd a -Y option to generate machine readable output.
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:

17 years agoubuntu uses a different style of init scripts than redhat and suse
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

17 years agoprint an error message to stdout if we failed to open the logfile for
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

17 years agomerge from tridge
Ronnie Sahlberg [Sun, 3 Jun 2007 08:41:29 +0000 (18:41 +1000)]
merge from tridge

17 years agomore portability tweaks in the init script
Andrew Tridgell [Sun, 3 Jun 2007 07:53:26 +0000 (17:53 +1000)]
more portability tweaks in the init script

17 years agofixed location of init.d directory to work on SLES and RHEL
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

17 years agomerge from tridge
Ronnie Sahlberg [Sun, 3 Jun 2007 07:07:23 +0000 (17:07 +1000)]
merge from tridge

17 years agodoc updates
Andrew Tridgell [Sun, 3 Jun 2007 06:33:08 +0000 (16:33 +1000)]
doc updates

17 years agoweb page tidy ups
Andrew Tridgell [Sun, 3 Jun 2007 05:56:23 +0000 (15:56 +1000)]
web page tidy ups

17 years agomerge from ronnie
Andrew Tridgell [Sun, 3 Jun 2007 04:41:28 +0000 (14:41 +1000)]
merge from ronnie

17 years agodon't start nfs services unless the relevant directories are available
Andrew Tridgell [Sun, 3 Jun 2007 04:39:27 +0000 (14:39 +1000)]
don't start nfs services unless the relevant directories are available

17 years agotest commit
Andrew Tridgell [Sun, 3 Jun 2007 03:21:07 +0000 (13:21 +1000)]
test commit

17 years agomention that ctdb offers cross cluster messaging to applications
Ronnie Sahlberg [Sun, 3 Jun 2007 01:48:13 +0000 (11:48 +1000)]
mention that ctdb offers cross cluster messaging to applications

17 years agomerged with tridge
Ronnie Sahlberg [Sun, 3 Jun 2007 01:40:50 +0000 (11:40 +1000)]
merged with tridge

update to the web page for ctdb

17 years agodo a full restart in init cron call
Andrew Tridgell [Sun, 3 Jun 2007 00:29:57 +0000 (10:29 +1000)]
do a full restart in init cron call

17 years agofixed a race condition in the handling of the recovery lock
Andrew Tridgell [Sun, 3 Jun 2007 00:29:14 +0000 (10:29 +1000)]
fixed a race condition in the handling of the recovery lock

17 years agowhen we get a dmaster error, show the database id in the log so we can
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

17 years agomerge from tridge
Ronnie Sahlberg [Sat, 2 Jun 2007 22:32:29 +0000 (08:32 +1000)]
merge from tridge

17 years agodocs on how to use statd-callout
Andrew Tridgell [Sat, 2 Jun 2007 09:45:06 +0000 (19:45 +1000)]
docs on how to use statd-callout

17 years agomove config files to config/ directory
Andrew Tridgell [Sat, 2 Jun 2007 09:40:07 +0000 (19:40 +1000)]
move config files to config/ directory

17 years agoremoved some old cruft
Andrew Tridgell [Sat, 2 Jun 2007 09:23:48 +0000 (19:23 +1000)]
removed some old cruft

17 years agoctdb_test.c is gone
Andrew Tridgell [Sat, 2 Jun 2007 08:57:21 +0000 (18:57 +1000)]
ctdb_test.c is gone

17 years agoadd an easy way to setup ctdb to start/stop samba
Andrew Tridgell [Sat, 2 Jun 2007 08:51:05 +0000 (18:51 +1000)]
add an easy way to setup ctdb to start/stop samba

17 years agomerge from ronnie
Andrew Tridgell [Sat, 2 Jun 2007 08:08:16 +0000 (18:08 +1000)]
merge from ronnie