Skip to main content

multipower commands

Use the multipower command to forcely or normally power on, power off, and restart host OS, and display the power status of the host server OS for multiple servers.

multipower command syntax

OneCli.exe [misc] multipower <cmds> [<options>]
Table 1. multipower commands and examples
CommandSyntax exampleDescription
accycle
OneCli.exe misc power accycle --bmc
USERID:PASSW0RD@ xx.xx.xx.xx
Perform AC power cycle.
boottosetup
OneCli.exe misc power boottosetup --bmc
USERID:PASSW0RD@ xx.xx.xx.xx
Boot the server to system setup.
dccycle
OneCli.exe misc power dccycle --bmc
USERID:PASSW0RD@ xx.xx.xx.xx
Perform DC power cycle.
  • If the server is in the power off state, run this command to send a Power On operation to BMC.

  • If the server is in the power on state, run this command to send a Power Cycle operation to BMC.

forceoff
OneCli.exe misc power forceoff --bmc
USERID:PASSW0RD@ xx.xx.xx.xx

Power off the server immediately.

For more information, refer to forceoff command.

forcerestart
OneCli.exe misc power forcerestart --bmc
USERID:PASSW0RD@ xx.xx.xx.xx
Restart server immediately.
  • If the server is in the power off state, run this command to send a Power On operation to BMC.

  • If the server is in the power on state, run this command to send a Force Restart operation to BMC.

normaloff
OneCli.exe misc power normaloff --bmc
USERID:PASSW0RD@ xx.xx.xx.xx
Power off server normally.
normalrestart
OneCli.exe misc power normalrestart --bmc
USERID:PASSW0RD@ xx.xx.xx.xx
Restart server normally.
  • If the server is in the power off state, run this command to send a Power On operation to BMC.

  • If the server is in the power on state, run this command to send a Gracefule Restart operation to BMC.

on
OneCli.exe misc power on --bmc 
USERID:PASSW0RD@

Power on the host server OS.

For more information, refer to on command.

scheduleoff
OneCli.exe misc power scheduleoff 
--interval Monday --time 23:59 --bmc
USERID:PASSW0RD@ xx.xx.xx.xx
Schedule daily/weekly graceful server power-off actions.
scheduleon
OneCli.exe misc power scheduleon 
--interval Monday --time 23:59 --bmc
USERID:PASSW0RD@ xx.xx.xx.xx
Schedule daily/weekly server power-on actions.
schedulerestart
OneCli.exe misc power schedulerestart 
--interval Monday --time 23:59 --bmc
USERID:PASSW0RD@ xx.xx.xx.xx
Schedule daily/weekly graceful server restart actions.
scheduleshow
OneCli.exe misc power scheduleshow --bmc
USERID:PASSW0RD@ xx.xx.xx.xx
Display the current state of the scheduled power actions.
state
OneCli.exe misc power state --bmc 
BMC_username:BMC_password@BMC_IP|Host

Acquire the power on of the server.

For more information, refer to state command.

triggernmi
OneCli.exe misc power triggernmi --bmc
USERID:PASSW0RD@ xx.xx.xx.xx
Trigger NMI.

Example of the multipower commands

OneCli.exe misc multipower status --configfile xxxx/xxxx