add ctdb_disable/enable_monitoring() that only modifies the monitoring
authorRonnie Sahlberg <sahlberg@ronnie>
Thu, 29 Nov 2007 23:09:54 +0000 (10:09 +1100)
committerRonnie Sahlberg <sahlberg@ronnie>
Thu, 29 Nov 2007 23:09:54 +0000 (10:09 +1100)
commita006dcc4f75aba950dd701ad7d1a84e89df285e8
tree2cf2875e9fd9be02010642c7a5872c9498df3ce8
parente3a33618026823e6af845fd8513cddb08e6b5584
add ctdb_disable/enable_monitoring() that only modifies the monitoring
flag.
change calling of the recovered/takeip/releaseip event scripts to use
these enable/disable functions instead of stopping/starting monitoring.

when we disable monitoring we want all events to still be running
in particular the events to monitor for dead nodes  and we only want to
supress running the monitor event scripts
include/ctdb_private.h
server/ctdb_monitor.c
server/ctdb_recover.c
server/ctdb_takeover.c