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


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


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 the PSU Redundancy Mode

Setting the PSU Redundancy Mode


Set the PSU redundancy mode.


./urest -H HOST -p PORT -U USERNAME -P PASSWORD setpowerredun -M {Sharing,Failover} -N [EXPECTEDACTIVEPSU [EXPECTEDACTIVEPSU ...]]






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 number. The default value is 443. It is an optional parameter.

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


iBMC user name. It is a mandatory parameter.



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


-M {Sharing,Failover}

PSU redundancy mode. It is a mandatory parameter.

  • Sharing: load balancing mode
  • Failover: active/standby mode


Active PSU. It is an optional parameter.

The value must be an existing PSU, such as PS1 or PS2.

Usage Guidelines

To set the PSU mode to the active/standby mode, a standby PSU is mandatory.


Obtain help information.

[root@localhost bin]# ./urest -H -U ****** -P ****** setpowerredun -h 
usage: urest setpowerredun [-h] -M {Sharing,Failover} 
                                  [-N [EXPECTEDACTIVEPSU [EXPECTEDACTIVEPSU ...]]] 

optional arguments: 
  -h, --help            show this help message and exit 
  -M {Sharing,Failover} 
                        expected redundancy mode 
                        expected active PSU name, for example: PS1 PS2 PS3...

Set the PSU redundancy mode.

[root@localhost bin]# ./urest -H -U ****** -P ****** setpowerredun -M Sharing 
Success: successfully completed request

Query the PSU redundancy mode.

[root@localhost bin]# ./urest -H -U ****** -P ****** getpowerredun 
Mode                : Sharing 
ActivePSU           : PS2 
Mode                : Sharing 
ActivePSU           : PS1     | PS2 
Health              : Warning | OK 
State               : Absent  | Enabled
Updated: 2020-02-13

Document ID: EDOC1000176182

Views: 122368

Downloads: 591

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next