New branch 'event-reset' available with the following commits:
commit a660d349748b004e84b2e468de7daca1c9dfcb44
Author: David Teigland <teigland(a)redhat.com>
Date: Fri May 30 15:06:00 2014 -0500
reset: daemon and program for resetting hosts
The sanlk-resetd daemon gets events from specified lockspaces.
Events are defined to cause the sanlk-resetd to:
- use wdmd/watchdog to reset the host (event 1)
- use /proc/sysrq-trigger to reboot the host (event 4)
The sanlk-resetd daemon can be used alone, and events passed
to it from another host by:
sanlock client set_event -s lockspace_name -i host_id -e 1
The sanlk-reset program can also be used to communicate with
sanlk-resetd on another host. It will set the event(s), then
monitor the host status until the target host is dead.
Signed-off-by: David Teigland <teigland(a)redhat.com>
commit d3d8ed425e1a45c6b3cd24f468049c36966fc68f
Author: David Teigland <teigland(a)redhat.com>
Date: Mon Jul 7 16:57:03 2014 -0500
sanlock: set_config api
Add an interface to configure aspects of a lockspace.