APC Command Line Interface Reboot outletrange,outletrange, Reboot 1,5-7, Reboot Web Server

Page 24

Command Reference: Outlet Commands

reboot

Syntax:

all

reboot outletrange[,outletrange...]

Description: Remove and then restore power to one or more outlets. The CLI does not wait for the reboot command to complete before providing output and re-displaying the CLI prompt (APC> ). If you specify more than one outlet, the outlets will turn off and on approximately at the same time. However, for close synchronization, outlets must be configured as part of a synchronized outlet group.

Parameters:

all

The value all removes and then restores power

 

to all outlets of the Switched Rack PDU. This

 

value is not case-sensitive.

outlet

An outlet name or number. If you specify a

 

name that contains a Space character, you

 

must enclose the name in quotation marks

range

A range of outlet numbers, with a hyphen

 

separating the starting number from the

 

ending number.

Example:

reboot 1,5-7

Output Format (for the preceding example):

OK

1:Database Server: Outlet rebooting.

5:Disk Array PS 1: Outlet rebooting.

6:Disk Array PS 2: Outlet rebooting.

7:Disk Array PS 3: Outlet rebooting.

Example:

reboot “Web Server”

Output Format (for the preceding example):

OK

2:Web Server: Outlet rebooting.

3:Web Server: Outlet rebooting.

Error Messages: E101, E104

20

Command Line Interface (CLI) User’s Guide

Image 24
Contents User’s Guide Page Contents Index Features PDU features not supported by the CLIProduct Capabilities ScriptingSystem Requirements Exporting an .ini FileFirmware version required Rack PDUs requiredUsing the Commands How to Enter CLI CommandsCommand Error Codes CLI reports all errors in the following formatCLI Online Help FormatUser Name and Password Log-on procedureLogging On and Off Logging OnLog-off procedure Logging OffAutomatic log-off Command Syntax Characters and FontsSyntax Examples Italic text with no brackets or bracesBraces and vertical line Brackets and ellipsesCommand Reference Types of users who can access the CLIAuthentication of users User Management OverviewUser Management Commands AdduserAssign Outlet assigned to johnreynoldsDeluser Deluser usernamePasswd Unassign Unassign outletrange,outletrange... usernameOutlet no longer assigned to johnreynolds WhoamiAccess to outlets Outlet OverviewSynchronized outlet groups Outlet Commands OffOff outletrange,outletrange On 1,5-7 On Web ServerWeb Server Outlet turned on Outletgroups Poweroffdelay Outletnumber outletname Power off delay is time secondsPowerondelay Outletnumber outletname Power on delay is time secondsReboot Reboot outletrange,outletrangeReboot 1,5-7 Reboot Web ServerRebootduration Rebootduration outletrange,outletrangeRebootduration outletrange,outletrange...time Outletnumber outletname Reboot duration is time secondsStatus Status outletrange,outletrangeOutletnumberoutletstatusoutletname Switched Rack PDU Commands Access All three account types with access to the CLICurrent OK currentAList User outletnumber, outletnumberLowloadwarning phasenumber current LowloadwarningName Name outlet newnameNearoverloadwarning phasenumber NearoverloadwarningNear overload warning threshold is currentA Overloadalarm Overloadalarm phasenumber currentOverloadrestriction phasenumber Overload restriction is setting for phasenumberSetting overload for phasenumber to setting OverloadrestrictionPducoldstartdelay PowerPowerinvolt-ampsVApowerinwattsW General Management Commands ResetdefaultspduExit HelpUploadini Start XMODEM-CRC Transfer NowBytes have successfully been transmitted Ver Index Index On, 16 outletgroups, 17 OutletsAPC Worldwide Customer Support 990-2766 11/2005

Command Line Interface specifications

The APC Command Line Interface (CLI) is a powerful tool offered by American Power Conversion (APC) for managing and configuring various APC devices, such as uninterruptible power supplies (UPS), power distribution units (PDUs), and cooling solutions. The CLI enables users to perform a wide range of functions, from monitoring device status to configuring settings and automating tasks, all through a command-line environment. This capability is particularly beneficial for system administrators and IT professionals who prefer scripting and automation to manage their energy infrastructure.

One of the main features of the APC CLI is its comprehensive control over device parameters. Users can retrieve important information like battery status, load levels, and input/output voltages directly through command-line queries. This instant access to critical data allows for more efficient troubleshooting and monitoring of system health. Additionally, the CLI supports historical data retrieval, giving users the ability to analyze performance trends over time.

Another significant technology underlying the APC CLI is SNMP (Simple Network Management Protocol). SNMP allows for seamless integration with network management systems, enabling users to manage APC devices alongside other networked hardware. The CLI’s compatibility with SNMP makes it easier to incorporate APC devices into larger monitoring frameworks, enhancing overall system management.

Security is a vital characteristic of the APC CLI, as it often involves sensitive operational data. The interface typically supports user authentication, ensuring that only authorized personnel can access critical functions. Features like secure SSH (Secure Shell) connections provide encrypted communication channels for remote device management, protecting against unauthorized access and data breaches.

The APC CLI also provides batch processing capabilities, allowing users to execute multiple commands in a single session. This feature is particularly useful for large-scale operations where numerous devices need to be configured or monitored simultaneously. Automated scripts can be created to execute routine tasks, significantly reducing administrative overhead and minimizing the risk of human error.

In conclusion, the APC Command Line Interface stands out as an essential tool for efficient energy management. Its rich feature set, powered by modern technologies like SNMP and strong security protocols, enables comprehensive control over APC devices. With automation capabilities and real-time data access, the APC CLI is indispensable for IT professionals aiming to optimize their power management strategies and ensure system reliability.