logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

sanlk-reset - host reset program

Description

       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.

Name

       sanlk-reset - host reset program

Options

--version,-V
              Print version.

       --help,-h
              Print usage.

   Resetanotherhost
       The  event  is  set  in  each  lockspace specified.  The target host may have a different host id in each
       lockspace.

       sanlk-resetresetlockspace_name:host_id ...

       --host-id,-inum
              Host id to reset. (Use only with single lockspace name.)

       --generation,-gnum
              Generation of host. (Use only with single lockspace name.)

       --sysrq-reboot,-b0|1
              Enable/Disable (1/0) use of /proc/sysrq-trigger to reboot.

       --resource-mode,-R0|1
              Resource leases are used (1) or not used (0) to protect storage.

       --native-timeout,-tnum
              Disable native timeout by setting to 0.

   Updatethelocalsanlk-resetd

       to watch new lockspaces for reset events:

       sanlk-resetreglockspace_name ...

       to not watch lockspaces for reset events:

       sanlk-resetendlockspace_name ...

       to clear all lockspaces being watched:

       sanlk-resetclearall

See Also

sanlk-resetd(8) sanlock(8) wdmd(8)

                                                   2014-08-14                                     SANLK-RESET(8)

Synopsis

sanlk-reset [OPTIONS] actionlockspace_name ...

See Also