Scroll to navigation

redfishpower(8) System Manager's Manual redfishpower(8)

NAME

redfishpower - communicate with redfish service processors in parallel

SYNOPSIS

redfishpower <--hostname hostname(s) | --hostsfile file> [OPTIONS]

DESCRIPTION

redfishpower is a helper program for powerman which enables it to communicate with redfish service processors in parallel. It is run interactively by the powerman daemon.

OPTIONS

Set legal hostnames that redfishpower can communicate with. Host ranges are acceptable. Note that the maximum number of hosts that can be set simultaneously is limited by the file descriptor limit of the select(2) system call.
Alternate option to --hostname, specify a file with all hosts. File shall have one host or hostrange listed per line.
Set extra HEADER to use.
Set Redfish path for obtaining power status. Typically is redfish/v1/Systems/1.
Set Redfish path for performing power on. Typically is redfish/v1/Systems/1/Actions/ComputerSystem.Reset.
Set Redfish path for performing power off. Typically is redfish/v1/Systems/1/Actions/ComputerSystem.Reset.
Set Redfish path for performing power cycle. Typically is redfish/v1/Systems/1/Actions/ComputerSystem.Reset.
Set Redfish postdata for performing power on. Typically is {"ResetType":"On"}
Set Redfish postdata for performing power off. Typically is {"ResetType":"ForceOff"}
Set Redfish postdata for performing power cycle. Typically is {"ResetType":"ForceRestart"}
Increase output verbosity.

INTERACTIVE COMMANDS

The following commands are accepted at the redfishpower> prompt:

Authenticate to the base URL with specified user and password, using ``basic'' HTTP authentication which sends the user and password over the network in plain text.
Set extra HEADER to use. Do not specify data to clear.
Set path to obtain power status.
Set path and optional post data to turn on node.
Set path and optional post data to turn off node.
Set path and optional post data to turn cycle node.
Get power status of all nodes or specified subset of nodes.
Turn on all nodes or specified subset of nodes. Will return "ok" after confirmation "on" has completed.
Turn off all nodes or specified subset of nodes. Will return "ok" after confirmation "off" has completed.
Turn off all nodes or specified subset of nodes.

FILES

/usr/sbin/redfishpower
/etc/powerman/powerman.conf

ORIGIN

PowerMan was originally developed by Andrew Uselton on LLNL's Linux clusters. This software is open source and distributed under the terms of the GNU GPL.

SEE ALSO

powerman(1), powermand(8), plmpower(8), vpcd(8), powerman.conf(5), powerman.dev(5).

http://github.com/chaos/powerman

1 October 2021 powerman-2.3.27