khemraj / sanlock

Forked from sanlock 2 years ago
Clone

de8d4f4 reset: daemon and program for resetting hosts

Authored and Committed by teigland 9 years ago
    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>
    
        
file added
+61
file added
+723
file added
+38
file added
+699