No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

FusionServer Tools 2.0 uREST User Guide 16

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Setting Fan Information

Setting Fan Information

Function

Set fan information.

Format

./urest -H HOST -p PORT -U USERNAME -P PASSWORD setfan -M {Automatic,Manual} -SP FANSPEEDLEVELPERCENTS -T FANMANUALMODETIMEOUTSECONDS

Parameters

Parameter

Description

Value

HOST

iBMC IP address or domain name. It is a mandatory parameter. If an IPv6 address is used, the IPv6 address must be included in square brackets, such as [1001::1001].

-

PORT

Port number. The default value is 443. It is an optional parameter.

Enter the port number if the default value 443 is not used.

USERNAME

iBMC user name. It is a mandatory parameter.

-

PASSWORD

Password of the iBMC user. It is a mandatory parameter.

-

{Automatic,Manual}

Fan mode. It is an optional parameter.

  • Automatic
  • Manual

FANSPEEDLEVELPERCENTS

Fan speed. It is an optional parameter.

Range: 20 to 100

FANMANUALMODETIMEOUTSECONDS

Duration in manual mode. It is an optional parameter.

Range: 0 to 100000000

Usage Guidelines

If the fan mode is set to the automatic mode, the duration in manual mode cannot be specified.

Example

View help information.

[root@localhost bin]# ./urest -H 10.10.10.10 -U ****** -P ****** setfan -h 
usage: urest setfan [-h] [-M {Automatic,Manual}] 
                         [-SP FANSPEEDLEVELPERCENTS] 
                         [-T FANMANUALMODETIMEOUTSECONDS] 

optional arguments: 
  -h, --help            show this help message and exit 
  -M {Automatic,Manual} 
                        fan adjustment mode 
  -SP FANSPEEDLEVELPERCENTS 
                        fan speed 
  -T FANMANUALMODETIMEOUTSECONDS 
[root@localhost bin]# ./urest -H 10.10.10.10 -U ****** -P ****** setfan -h 
usage: urest setfan [-h] [-M {Automatic,Manual}] 
                         [-SP FANSPEEDLEVELPERCENTS] 
                         [-T FANMANUALMODETIMEOUTSECONDS] 

optional arguments: 
  -h, --help            show this help message and exit 
  -M {Automatic,Manual} 
                        fan adjustment mode 
  -SP FANSPEEDLEVELPERCENTS 
                        fan speed 
  -T FANMANUALMODETIMEOUTSECONDS 
                        duration of fan manual mode

Set the fan mode to the manual mode, set the fan speed to 25, and set the duration in manual mode to 1000.

[root@localhost bin]# ./urest -H 10.10.10.10 -U ****** -P ****** setfan -M Manual -SP 25 -T 1000 
Success: successfully completed request

Query fan information.

[root@localhost bin]# ./urest -H 10.10.10.10 -U ****** -P ****** getfan
-------------------------------------------------- 
FanSpeedLevelPercents         : 25 
FanSpeedAdjustmentMode        : Manual 
FanTotalPowerWatts            : 224.5 
FanManualModeTimeoutSeconds   : 955 
-------------------------------------------------- 
MemberId                      : 0 
Name                          : Fan Module1 Front 
Position                      : chassis 
MinReadingRange               : None 
MaxReadingRange               : None 
UpperThresholdNonCritical     : None 
UpperThresholdFatal           : None 
ReadingUnits                  : RPM 
LowerThresholdFatal           : None 
LowerThresholdNonCritical     : None 
Reading                       : 10400 
UpperThresholdCritical        : None 
LowerThresholdCritical        : None 

[Status] 
State                         : Enabled 
Health                        : OK 
-------------------------------------------------- 
MemberId                      : 1 
Name                          : Fan Module1 Rear 
Position                      : chassis 
MinReadingRange               : None 
MaxReadingRange               : None 
UpperThresholdNonCritical     : None 
UpperThresholdFatal           : None 
ReadingUnits                  : RPM 
LowerThresholdFatal           : None 
LowerThresholdNonCritical     : None 
Reading                       : 9600 
UpperThresholdCritical        : None 
LowerThresholdCritical        : None 

[Status] 
State                         : Enabled 
Health                        : OK 
-------------------------------------------------- 
MemberId                      : 2 
Name                          : Fan Module2 Front 
Position                      : chassis 
MinReadingRange               : None 
MaxReadingRange               : None 
UpperThresholdNonCritical     : None 
UpperThresholdFatal           : None 
ReadingUnits                  : RPM 
LowerThresholdFatal           : None 
LowerThresholdNonCritical     : None 
Reading                       : 10300 
UpperThresholdCritical        : None 
LowerThresholdCritical        : None 

[Status] 
State                         : Enabled 
Health                        : OK 
-------------------------------------------------- 
MemberId                      : 3 
Name                          : Fan Module2 Rear 
Position                      : chassis 
MinReadingRange               : None 
MaxReadingRange               : None 
UpperThresholdNonCritical     : None 
UpperThresholdFatal           : None 
ReadingUnits                  : RPM 
LowerThresholdFatal           : None 
LowerThresholdNonCritical     : None 
Reading                       : 9400 
UpperThresholdCritical        : None 
LowerThresholdCritical        : None 

[Status] 
State                         : Enabled 
Health                        : OK 
-------------------------------------------------- 
MemberId                      : 4 
Name                          : Fan Module3 Front 
Position                      : chassis 
MinReadingRange               : None 
MaxReadingRange               : None 
UpperThresholdNonCritical     : None 
UpperThresholdFatal           : None 
ReadingUnits                  : RPM 
LowerThresholdFatal           : None 
LowerThresholdNonCritical     : None 
Reading                       : 10400 
UpperThresholdCritical        : None 
LowerThresholdCritical        : None 

[Status] 
State                         : Enabled 
Health                        : OK 
-------------------------------------------------- 
MemberId                      : 5 
Name                          : Fan Module3 Rear 
Position                      : chassis 
MinReadingRange               : None 
MaxReadingRange               : None 
UpperThresholdNonCritical     : None 
UpperThresholdFatal           : None 
ReadingUnits                  : RPM 
LowerThresholdFatal           : None 
LowerThresholdNonCritical     : None 
Reading                       : 9400 
UpperThresholdCritical        : None 
LowerThresholdCritical        : None 

[Status] 
State                         : Enabled 
Health                        : OK 
-------------------------------------------------- 
MemberId                      : 6 
Name                          : Fan Module4 Front 
Position                      : chassis 
MinReadingRange               : None 
MaxReadingRange               : None 
UpperThresholdNonCritical     : None 
UpperThresholdFatal           : None 
ReadingUnits                  : RPM 
LowerThresholdFatal           : None 
LowerThresholdNonCritical     : None 
Reading                       : 10200 
UpperThresholdCritical        : None 
LowerThresholdCritical        : None 

[Status] 
State                         : Enabled 
Health                        : OK 
-------------------------------------------------- 
MemberId                      : 7 
Name                          : Fan Module4 Rear 
Position                      : chassis 
MinReadingRange               : None 
MaxReadingRange               : None 
UpperThresholdNonCritical     : None 
UpperThresholdFatal           : None 
ReadingUnits                  : RPM 
LowerThresholdFatal           : None 
LowerThresholdNonCritical     : None 
Reading                       : 9400 
UpperThresholdCritical        : None 
LowerThresholdCritical        : None 

[Status] 
State                         : Enabled 
Health                        : OK 
-------------------------------------------------- 
MemberId                      : 8 
Name                          : Fan Module5 Front 
Position                      : chassis 
MinReadingRange               : None 
MaxReadingRange               : None 
UpperThresholdNonCritical     : None 
UpperThresholdFatal           : None 
ReadingUnits                  : RPM 
LowerThresholdFatal           : None 
LowerThresholdNonCritical     : None 
Reading                       : 10300 
UpperThresholdCritical        : None 
LowerThresholdCritical        : None 

[Status] 
State                         : Enabled 
Health                        : OK 
-------------------------------------------------- 
MemberId                      : 9 
Name                          : Fan Module5 Rear 
Position                      : chassis 
MinReadingRange               : None 
MaxReadingRange               : None 
UpperThresholdNonCritical     : None 
UpperThresholdFatal           : None 
ReadingUnits                  : RPM 
LowerThresholdFatal           : None 
LowerThresholdNonCritical     : None 
Reading                       : 9400 
UpperThresholdCritical        : None 
LowerThresholdCritical        : None 

[Status] 
State                         : Enabled 
Health                        : OK 
--------------------------------------------------
Translation
Download
Updated: 2020-02-13

Document ID: EDOC1000176182

Views: 121241

Downloads: 588

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next