1SANLK-RESETD(8) System Manager's Manual SANLK-RESETD(8)
2
3
4
6 sanlk-resetd - host reset daemon
7
8
10 sanlk-resetd [OPTIONS] lockspace_name ...
11
12
14 The sanlk-resetd daemon gets events from specified sanlock lockspaces.
15 Events are defined to cause sanlk-resetd to:
16 - use wdmd/watchdog to reset the host
17 - use /proc/sysrq-trigger to reboot the host
18
19 The sanlk-reset program can be run on another host to request that
20 sanlk-resetd reset the host it is running on. Both hosts must be oper‐
21 ational and have continued access to a common lockspace for the reset
22 request to succeed. After setting the event, the sanlk-reset program
23 monitors the host status in the sanlock lockspace until the target host
24 is dead.
25
26 The sanlk-reset program can also be run on the same host as
27 sanlk-resetd to update which lockspaces the local sanlk-resetd is
28 watching for events.
29
30
32 --version, -V
33 Print version.
34
35
36 --help, -h
37 Print usage.
38
39
40 --foreground, -f
41 Don't fork.
42
43
44 --daemon-debug, -D
45 Enable debugging to stderr and don't fork.
46
47
48 --sysrq-reboot, -b 0|1
49 Enable/Disable (1/0) use of /proc/sysrq-trigger to reboot.
50
51
52 --sysrq-delay, -d sec
53 Delay this many seconds before using /proc/sysrq-trigger.
54
55
56 --resource-mode, -R 0|1
57 Resource leases are used (1) or not used (0) to protect storage.
58
59
61 sanlk-reset(8) sanlock(8) wdmd(8)
62
63
64
65 2014-08-14 SANLK-RESETD(8)