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 Power Capping

Setting Power Capping

Function

Set power capping.

Format

./urest -H HOST -p PORT -U USERNAME -P PASSWORD setpowerlimit -L LIMIT -E {NoAction,HardPowerOff}

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.

-

LIMIT

Power capping value. It is an optional parameter.

  • Disabled: Disable power capping.
  • Actual power capping value

{NoAction,HardPowerOff}

Operation after the power capping value is reached. It is an optional parameter.

  • HardPowerOff: Power off the server.
  • NoAction: No operation is performed.
NOTE:

TaiShan servers do not support this function.

Usage Guidelines

  • TaiShan 100 servers do not support this function.
  • TaiShan 200 servers support this function only when the iBMC version is 369 or later.

Example

Obtain help information.

[root@localhost bin]# ./urest -H 10.10.10.10 -U ****** -P ****** setpowerlimit -h 
usage: urest setpowerlimit [-h] [-L LIMIT] [-E {NoAction,HardPowerOff}] 

optional arguments: 
  -h, --help            show this help message and exit 
  -L LIMIT              power limit value (Disabled or integer value) 
  -E {NoAction,HardPowerOff} 
                        power limit exception action

Set power capping.

[root@localhost bin]# ./urest -H 10.10.10.10 -U ****** -P ****** setpowerlimit -L 700 -E HardPowerOff 
Success: successfully completed request

Query power capping.

[root@localhost bin]# ./urest -H 10.10.10.10 -U ****** -P ****** getpowerlimit 
LimitInWatts  : 700
LimitException: HardPowerOff
Translation
Download
Updated: 2020-02-13

Document ID: EDOC1000176182

Views: 122371

Downloads: 591

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next