EasyManua.ls Logo

Tripp Lite B092-016 - Power Strip Control; Powerman

Tripp Lite B092-016
257 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
229
Chapter 15: Advanced Configuration
15.9 Power Strip Control
TheConsoleServersupportsagrowinglistofremotepower-controldevices(RPCs)whichcanbeconguredusingthe
ManagementConsoleasdescribedinChapter8.TheseRPCsarecontrolledusingtheopensourceNUT and PowerMan tools
and the pmpower utility.
15.9.1 PowerMan
PowerMan provides power management in a data center or compute cluster environment. It performs operations such as
poweron,poweroff,andpowercycleviaremotepowercontroller(RPC)devices.Targethostnamesaremappedtoplugson
RPC devices in powerman.conf
powerman-poweron/offnodes
Synopsis
powerman[-option][targets]
pm[-option][targets]
Options
-1, --on PowerONtargets.
-0, --off PowerOFFtargets.
-c, --cycle Power cycle targets.
-r, --reset Asserthardwareresetfortargets(ifimplementedbyRPC).
-f, --flash TurnbeaconONfortargets(ifimplementedbyRPC).
-u, --unflash TurnbeaconOFFfortargets(ifimplementedbyRPC).
-l, --list Listavailabletargets.Ifpossible,outputwillbecompressedintoahostrange(seeTARGET
SPECIFICATIONbelow).
-q, --query Queryplugstatusoftargets.Ifnonespecied,queryalltargets.Statusisnotcached;each
timethisoptionisused,powermandqueriestheappropriateRPC's.TargetsconnectedtoRPC's
thatcouldnotbecontacted(e.g.duetonetworkfailure)arereportedasstatus"unknown".If
possible,outputwillbecompressedintohostranges.
-n, --node Querynodepowerstatusoftargets(ifimplementedbyRPC).Ifnotargetsarespecied,queryall
targets.Inthiscontext,anodeintheOFFstatecouldbeONattheplugbutoperatinginstandby
power mode.
-b, --beacon Querybeaconstatus(ifimplementedbyRPC).Ifnotargetsarespecied,queryalltargets.
-t, --temp Querynodetemperature(ifimplementedbyRPC).Ifnotargetsarespecied,queryalltargets.
Temperature information is not interpreted by powerman and is reported as received from the
RPCononelinepertarget,prexedbytargetname.
-h, --help Displayoptionsummary.
-L, --license Show powerman license information.
-d, --destination host[:port] Connecttoapowermandaemononnon-defaulthostandoptionallyport.
-V, --version Displaythepowermanversionnumberandexit.
-D, --device DisplaysRPCstatusinformation.Iftargetsarespecied,onlyRPC'smatchingthetargetlistare
displayed.
-T, --telemetry CausesRPCtelemetryinformationtobedisplayedascommandsareprocessed.Usefulfor
debugging device scripts.
-x, --exprange Expand host ranges in query responses.
For more details refer http://linux.die.net/man/1/powerman.Alsoreferpowermand(http://linux.die.net/man/1/powermand)
documentationandpowerman.conf(http://linux.die.net/man/5/powerman.conf)
Target Specification
powermantargethostnamesmaybespeciedascomma-separatedorspace-separatedhostnamesorhostranges.Host
rangesareofthegeneralform:prex[n-m,l-k,...],wheren<mandl<k,etc.,Thisformshouldnotbeconfusedwith
regularexpressioncharacterclasses(alsodenotedby''[]'').Forexample,foo[19]doesnotrepresentfoo1orfoo9,butrather
represents a degenerate range: foo19.
ThisrangesyntaxismeantonlyasaconvenienceonclusterswithaprexNNnamingconventionandspecicationofranges
shouldnotbeconsiderednecessary--thelistfoo1,foo9couldbespeciedassuch,orbytherangefoo[1,9].

Table of Contents

Other manuals for Tripp Lite B092-016

Related product manuals