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@redhat.com>