| 1 |
=head1 NAME |
| 2 |
|
| 3 |
xenwatchdogd - Xen hypercall based watchdog daemon |
| 4 |
|
| 5 |
=head1 SYNOPSIS |
| 6 |
|
| 7 |
B<xenwatchdogd> [ I<OPTIONS> ] <I<TIMEOUT>> [ <I<SLEEP>> ] |
| 8 |
|
| 9 |
=head1 DESCRIPTION |
| 10 |
|
| 11 |
B<xenwatchdogd> arms the Xen watchdog timer to I<TIMEOUT> every I<SLEEP> |
| 12 |
seconds. If the xenwatchdogd process dies or is delayed for more than |
| 13 |
I<TIMEOUT> seconds, then Xen will take the B<on_watchdog> action |
| 14 |
specified in the domain configuration (see xl.cfg(5)). If B<xenwatchdogd> |
| 15 |
is running in dom0, the whole system will reboot. |
| 16 |
|
| 17 |
=head1 OPTIONS |
| 18 |
|
| 19 |
=over 4 |
| 20 |
|
| 21 |
=item B<-h>, B<--help> |
| 22 |
|
| 23 |
Display a help message. |
| 24 |
|
| 25 |
=item B<-F>, B<--foreground> |
| 26 |
|
| 27 |
Run in the foreground. The default behaviour is to daemonize. |
| 28 |
|
| 29 |
=item B<-x>, B<--safe-exit> |
| 30 |
|
| 31 |
Disable watchdog on orderly exit. The default behaviour is to arm the |
| 32 |
watchdog to 300 seconds to allow time for the domain to shutdown. See |
| 33 |
also the B<SIGNALS> section. |
| 34 |
|
| 35 |
=item B<timeout> |
| 36 |
|
| 37 |
The number of seconds to arm the Xen watchdog timer. This must be set to |
| 38 |
a minimum of two. |
| 39 |
|
| 40 |
=item B<sleep> |
| 41 |
|
| 42 |
The number of seconds to sleep in between calls to arm the Xen watchdog |
| 43 |
timer. This must be at least one second, and less than the I<timeout> |
| 44 |
value. If not specified, it defaults to half the I<timeout> value. |
| 45 |
|
| 46 |
=back |
| 47 |
|
| 48 |
=head1 SIGNALS |
| 49 |
|
| 50 |
B<SIGUSR1> Will cause the program to disarm the watchdog timer and exit, |
| 51 |
regardless of whether the B<--safe-exit> option was passed. |
| 52 |
|
| 53 |
=head1 AUTHOR |
| 54 |
|
| 55 |
Citrix Ltd and other contributors. |