1SANLK-RESET(8)              System Manager's Manual             SANLK-RESET(8)
2
3
4

NAME

6       sanlk-reset - host reset program
7
8

SYNOPSIS

10       sanlk-reset [OPTIONS] action lockspace_name ...
11
12

DESCRIPTION

14       The  sanlk-reset  program  sets events in specified sanlock lockspaces.
15       Events are defined to cause sanlk-resetd on another host to:
16       - use wdmd/watchdog to reset the host
17       - use /proc/sysrq-trigger to reboot the host
18
19       Both hosts must be operational and have continued access  to  a  common
20       lockspace  for  the reset request to succeed.  After setting the event,
21       the sanlk-reset  program  monitors  the  host  status  in  the  sanlock
22       lockspace until the target host is dead.
23
24       The   sanlk-reset  program  can  also  be  run  on  the  same  host  as
25       sanlk-resetd to update  which  lockspaces  the  local  sanlk-resetd  is
26       watching for events.
27
28

OPTIONS

30       --version, -V
31              Print version.
32
33
34       --help, -h
35              Print usage.
36
37
38   Reset another host
39       The event is set in each lockspace specified.  The target host may have
40       a different host id in each lockspace.
41
42       sanlk-reset reset lockspace_name:host_id ...
43
44
45       --host-id, -i num
46              Host id to reset. (Use only with single lockspace name.)
47
48
49       --generation, -g num
50              Generation of host. (Use only with single lockspace name.)
51
52
53       --sysrq-reboot, -b 0|1
54              Enable/Disable (1/0) use of /proc/sysrq-trigger to reboot.
55
56
57       --resource-mode, -R 0|1
58              Resource leases are used (1) or not used (0) to protect storage.
59
60
61       --native-timeout, -t  num
62              Disable native timeout by setting to 0.
63
64
65   Update the local sanlk-resetd
66
67
68       to watch new lockspaces for reset events:
69
70       sanlk-reset reg lockspace_name ...
71
72       to not watch lockspaces for reset events:
73
74       sanlk-reset end lockspace_name ...
75
76       to clear all lockspaces being watched:
77
78       sanlk-reset clear all
79
80

SEE ALSO

82       sanlk-resetd(8) sanlock(8) wdmd(8)
83
84
85
86                                  2014-08-14                    SANLK-RESET(8)
Impressum