SANLK-RESET(8) | System Manager's Manual | SANLK-RESET(8) |
sanlk-reset - host reset program
sanlk-reset [OPTIONS] action lockspace_name ...
The sanlk-reset program sets events in specified sanlock
lockspaces. Events are defined to cause sanlk-resetd on another host to:
- use wdmd/watchdog to reset the host
- use /proc/sysrq-trigger to reboot the host
Both hosts must be operational and have continued access to a common lockspace for the reset request to succeed. After setting the event, the sanlk-reset program monitors the host status in the sanlock lockspace until the target host is dead.
The sanlk-reset program can also be run on the same host as sanlk-resetd to update which lockspaces the local sanlk-resetd is watching for events.
The event is set in each lockspace specified. The target host may have a different host id in each lockspace.
sanlk-reset reset lockspace_name:host_id ...
to watch new lockspaces for reset events:
sanlk-reset reg lockspace_name ...
to not watch lockspaces for reset events:
sanlk-reset end lockspace_name ...
to clear all lockspaces being watched:
sanlk-reset clear all
2014-08-14 |