American Megatrends MAN-STOR-ITX27-CLI manual UPS Configuration, Xml

Models: MAN-STOR-ITX27-CLI

1 60
Download 60 pages 52.68 Kb
Page 35
Image 35

UPS Configuration

These commands configure the UPS for power management.

Command

Argument

Description

get UPS

-i/--info

Displays the existing UPS

 

-x/--xml

configuration.

get UPS

-i/--info

Display the monitoring

 

-m/--monitor

configuration for the configured

 

-x/--xml

UPS devices.

set UPS

-d/--disable

Disables automatic shutdown.

 

-x/--xml

 

set UPS

-e/--enable or

Sets the UPS configuration to

 

-d/--disable

given values. The enable mode is

 

-b/--battery <min battery value>

to denote the shutdown option.

 

-t/--timeout <mins>

Timeout should be given in

 

-m/--mode {1}

minutes. Battery is the minimum

 

-x/--xml

battery value below which the

 

For example: set –e –b 10 –t 3 –m 1 ups

shutdown is triggered Mode checks

 

 

whether it set to master or slave.

 

 

Note:

 

 

Minimum Battery value should be

 

 

between 0 and 100 %

 

 

Timeout value should be between

 

 

0 and 1000 minutes

set UPS

-e/--enable or

Sets the UPS configuration to

 

d/--disable

given values. The battery value

 

-b/--battery <min battery value>

indicates the minimum battery

 

-t/--timeout <mins>

value at which the alert has to be

 

-m/--mode {2}

generated. Timeout should be

 

-i/--masterip <{HostName/Master Ip>

given in minutes. Mode is set to

 

-x/--xml

slave and the masterip is IP

 

For example: set -e -b 35 -t 300 -m 2 -i 10.0.0.218

Address of the master.

 

ups

Note:

 

 

Minimum Battery value should be

 

 

between 0 and 100

 

 

Timeout value should be between

 

 

0 and 1000

config UPS

-i/--info

Displays currently configured

 

-x/--xml

driver for UPS monitoring.

config UPS

-l/--list

Displays list of available drivers.

 

-x/--xml

 

config UPS

-d/--driver <num>

Sets driver to use with UPS

 

-p/--port <value>

monitoring.

 

-x/--xml

Driver number is from list obtained

 

For example: config –d 2 –p 1 ups

from –list command.

 

 

Port value:

 

 

1 – COM1

 

 

2 – COM2

 

 

u - USB

Chapter Two: Command Set 29

Page 35
Image 35
American Megatrends MAN-STOR-ITX27-CLI manual UPS Configuration, These commands configure the UPS for power management, Xml