SYNOPSIS
ipmiutil wdt [-acdelrtx -N node -P/-R pswd -U user -EFJTVY]
DESCRIPTION
ipmiutil wdt is a program that uses IPMI commands to display and set WatchDog Timer parameters.This utility can use either any available IPMI driver, or direct user-space IOs, or the IPMI LAN interface if -N.
This utility is an example of how to access the IPMI watchdog parameters directly, which allows changing the timer configuration.
There is an init script provided with ipmiutil to automate the task of
managing the watchdog timer in user-space.
# chkconfig --add ipmiutil_wdt (skip this if no chkconfig)
# /etc/init.d/ipmiutil_wdt start
This sets the watchdog timer to reset the system if the wdt is not
restarted within 90 seconds. It creates an /etc/cron.d/wdt file to
restart wdt every 60 seconds.
See also ipmiutil UserGuide section 4.4 for more information.
OPTIONS
Command line options are described below.- -a N
- Set watchdog event Action to N. Values: 0 = No action, 1 = Hard Reset(default), 2 = Power down, 3 = Power cycle.
- -c
- Show watchdog output in a canonical format, with a default delimiter of '|'.
- -d
- Disables the watchdog timer.
- -e
- Enables the watchdog timer. The timer is not actually started, however, until the timer is reset. The pre-timeout action is not enabled.
- -l
- Set the watchdog dontLog bit to not log watchdog events in the SEL.
- -p N
- Set watchdog Pretimeout event action to N. Values: 0 = No action(default), 1 = SMI, 2 = NMI, 3 = Messaging Interrupt. If this is set to an action other than 0, the pretimeout will also be set to 90% of the timeout. However, if the timeout is less than 20 seconds, the pretimeout will not be enabled.
- -q S
- Set watchdog pretimeout value to S seconds, rather than 90% of the timeout as in -p. The pretimeout value must be >= 5 and at least 5 seconds less than the timeout value.
- -r
- Resets the watchdog timer. This should be done every N seconds if the timer is running to prevent the watchdog action (usually a system reset) from occurring.
- -tN
- Set the watchdog Timeout to N seconds. The default is 120 seconds (2 minutes).
- -x
- Causes extra debug messages to be displayed.
- -N nodename
- Nodename or IP address of the remote target system. If a nodename is specified, IPMI LAN interface is used. Otherwise the local system management interface is used.
- -P/-R rmt_pswd
- Remote password for the nodename given. The default is a null password.
- -U rmt_user
- Remote username for the nodename given. The default is a null username.
- -E
- Use the remote password from Environment variable IPMI_PASSWORD.
- -F drv_t
- Force the driver type to one of the followng: imb, va, open, gnu, landesk, lan, lan2, lan2i, kcs, smb. Note that lan2i means lan2 with intelplus. The default is to detect any available driver type and use it.
- -J
- Use the specified LanPlus cipher suite (0 thru 17): 0=none/none/none, 1=sha1/none/none, 2=sha1/sha1/none, 3=sha1/sha1/cbc128, 4=sha1/sha1/xrc4_128, 5=sha1/sha1/xrc4_40, 6=md5/none/none, ... 14=md5/md5/xrc4_40. Default is 3.
- -T
- Use a specified IPMI LAN Authentication Type: 0=None, 1=MD2, 2=MD5, 4=Straight Password, 5=OEM.
- -V
- Use a specified IPMI LAN privilege level. 1=Callback level, 2=User level, 3=Operator level, 4=Administrator level (default), 5=OEM level.
- -Y
-
Yes, do prompt the user for the IPMI LAN remote password.
Alternatives for the password are -E or -P.
WARNINGS
See http://ipmiutil.sourceforge.net/ for the latest version of ipmiutil and any bug fix list.
COPYRIGHT
Copyright (C) 2009 Kontron America, Inc.See the file COPYING in the distribution for more details regarding redistribution.
This utility is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY.
AUTHOR
Andy Cress <arcress at users.sourceforge.net>