- create /etc/ctdb/taken_ips and /etc/ctdb/changed_ips analog to the
authorRonnie Sahlberg <sahlberg@ronnie>
Fri, 1 Jun 2007 03:14:05 +0000 (13:14 +1000)
committerRonnie Sahlberg <sahlberg@ronnie>
Fri, 1 Jun 2007 03:14:05 +0000 (13:14 +1000)
commit800f15a27af885a3f83430d3bc411cc72ac40e86
tree643891333ccae37a90583fd9e7ea19ad6664b727
parent782ccb0ca54b6b25794f8b52e72a68838727b6a9
- create /etc/ctdb/taken_ips and /etc/ctdb/changed_ips analog to the
existing /etc/ctdb/released_ips

- only call the statd-callout script if the ips have changed  and call
it with a "notify" argument.    we need to restart nfslock service in
both cases

- change statd-callout to explicitely restart the lock manager and statd
when "notify" is called.   copy the state directory for each held ip
from shared storage to /tmp then use sm-notify to send notifications to
all monitored clients
tools/events
tools/statd-callout