.TH FENCE_AGENT 8 2009-10-20 "fence_ipmilan (Fence Agent)" .SH NAME fence_ipmilan - Fence agent for IPMI over LAN .SH DESCRIPTION .P fence_ipmilan is an I/O Fencing agent which can be used with machines controlled by IPMI. This agent calls support software using ipmitool (http://ipmitool.sf.net/). To use fence_ipmilan with HP iLO 3 you have to enable lanplus option (lanplus / -P) and increase wait after operation to 4 seconds (power_wait=4 / -T 4) .P fence_ipmilan accepts options on the command line as well as from stdin. Fenced sends parameters through stdin when it execs the agent. fence_ipmilan can be run by itself with command line options. This is useful for testing and for turning outlets on or off from scripts. .SH PARAMETERS .TP .B -A . IPMI Lan Auth type (md5, password, or none) .TP .B -a . IPMI Lan IP to talk to .TP .B -p . Password (if required) to control power on IPMI device .TP .B -S . Script to retrieve password (if required) .TP .B -P . Use Lanplus .TP .B -l . Username/Login (if required) to control power on IPMI device .TP .B -o . Operation to perform. Valid operations: on, off, reboot, status, list, diag, monitor or metadata (Default Value: reboot) .TP .B -t . Timeout (sec) for IPMI operation .TP .B -C . Ciphersuite to use (same as ipmitool -C parameter) .TP .B -M . Method to fence (onoff or cycle) (Default Value: onoff) .TP .B -T . Wait X seconds after on/off operation (Default Value: 2) .TP .B -f . Wait X seconds before fencing is started .TP .B -v . Verbose mode .SH ACTIONS .TP \fBon \fP Power on machine. .TP \fBoff \fP Power off machine. .TP \fBreboot \fP Reboot machine. .TP \fBstatus \fP This returns the status of the plug/virtual machine. .TP \fBdiag \fP The operational behavior of this is not known. .TP \fBlist \fP List available plugs with aliases/virtual machines if there is support for more then one device. Returns N/A otherwise. .TP \fBmonitor \fP Check if fencing device is running. List available plugs/virtual machines or get status of machine (if it does not support more). .TP \fBmetadata \fP The operational behavior of this is not known. .SH STDIN PARAMETERS .TP .B auth . IPMI Lan Auth type (md5, password, or none) .TP .B ipaddr . IPMI Lan IP to talk to .TP .B passwd . Password (if required) to control power on IPMI device .TP .B passwd_script . Script to retrieve password (if required) .TP .B lanplus . Use Lanplus .TP .B login . Username/Login (if required) to control power on IPMI device .TP .B action . Operation to perform. Valid operations: on, off, reboot, status, list, diag, monitor or metadata (Default Value: reboot) .TP .B timeout . Timeout (sec) for IPMI operation .TP .B cipher . Ciphersuite to use (same as ipmitool -C parameter) .TP .B method . Method to fence (onoff or cycle) (Default Value: onoff) .TP .B power_wait . Wait X seconds after on/off operation (Default Value: 2) .TP .B delay . Wait X seconds before fencing is started .TP .B verbose . Verbose mode