'\" t .\" Title: LAVAPDU .\" Author: Matthew Hart .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: 07/06/2015 .\" Manual: lavapdu-runner User Manual .\" Source: lavapdu-runner .\" Language: English .\" .TH "LAVAPDU" "8" "07/06/2015" "lavapdu-runner" "lavapdu-runner User Manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" lavapdu-runner \- daemon to control a PDU and implement instructions from the lavapdu\-listen daemon\&. .SH "SYNOPSIS" .HP \w'\fBlavapdu\-runner\fR\ 'u \fBlavapdu\-runner\fR [\fB\-\-logfile=\fR\fB\fILOGFILE\fR\fR] [\fB\-\-loglevel=\fR\fBLOGLEVEL\fR] .HP \w'\fBlavapdu\-runner\fR\ 'u \fBlavapdu\-runner\fR [{\fB\-h\fR\ |\ \fB\-\-help\fR}] .SH "DESCRIPTION" .PP This manual page documents briefly the \fBlavapdu\-runner\fR command\&. .PP \fBlavapdu\-runner\fR is a daemon which reads the queue created by lavapdu\-listen and executes the commands on the specified PDU\&. The daemon logs in to the PDU, navigates the menu of the control interface, executes the requested command, logs out and moves on to the next instruction in the queue\&. .SH "OPTIONS" .PP \fB\-\-logfile=\fR\fB\fILOGFILE\fR\fR .RS 4 Changes the logfile used by lavapdu\-runner\&. By default this would be /var/log/lavapdu\-runner\&.log .RE .PP \fB\-\-loglevel=\fR\fB\fILOGLEVEL\fR\fR .RS 4 Changes the logging level used by lavapdu\-runner\&. By default this would be \fIINFO\fR\&. For more content, use \fIDEBUG\fR\&. .RE .PP \fB\-h\fR, \fB\-\-help\fR .RS 4 Show summary of options\&. .RE .SH "FILES" .PP /etc/lavapdu/lavapdu\&.conf .RS 4 The system\-wide configuration file to control the behaviour of lavapdu\-runner\&. .sp With version 0\&.0\&.4, lavapdu\-runner no longer tries to guess the type of interface on the specified PDU as this proved to be unreliable\&. .sp lavapdu\-runner requires that the driver for your PDU is specified in the /etc/lavapdu/lavapdu\&.conf file\&. Examples are given in the default file but you will need to edit this file to specify the PDU address (hostname or IP address) and the driver to use for that PDU\&. .sp Check the /var/log/lavapdu\-runner\&.log logfile to ensure that the driver specified is working with your PDU and restart the lavapdu\-runner daemon when changing the configuration file\&. \fIsudo service lavapdu\-runner restart\fR .sp Note that /etc/lavapdu/lavapdu\&.conf is in JSON format, use http://www\&.jsonlint\&.com to verify the syntax\&. .sp Setting the logging level to DEBUG will help you see what the runner is doing \- set the level back to INFO once the PDU is working\&. .sp https://wiki\&.debian\&.org/PDUDaemon .RE .SH "SEE ALSO" .PP \fBlavapdu-listen\fR(8), \fBpduclient\fR(1) .SH "AUTHOR" .PP \fBMatthew Hart\fR <\&matthew\&.hart@linaro\&.org\&> .RS 4 Wrote this manpage for the Debian system\&. .RE .SH "COPYRIGHT" .br Copyright \(co 2014 Matthew Hart .br .PP This manual page was written for the Debian system (and may be used by others)\&. .PP Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or (at your option) any later version published by the Free Software Foundation\&. .PP On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common\-licenses/GPL\&. .sp