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 System Boot Information

Setting System Boot Information

Function

Set system boot information.

TaiShan servers do not support system boot mode setting.

Format

./urest -H HOST -p PORT -U USERNAME -P PASSWORD --timeout=TIMEOUT setsysboot -T {None,Pxe,Floppy,Cd,Hdd,BiosSetup} -TS {Once,Disabled,Continues} -M {Legacy,UEFI} -MS {True,False} -Q [SEQUENCE [SEQUENCE ...]]

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.

-

TIMEOUT

Timeout interval for accessing the iBMC Redfish interface. It is an optional parameter. The default value is 120 seconds.

The value ranges from 10 to 1000, and the unit is seconds.

-T {None,Pxe,Floppy,Cd,Hdd,BiosSetup}

Current boot device of the system. It is an optional parameter.

  • None
  • Pxe
  • Floppy
  • Cd
  • Hdd
  • BiosSetup

-TS {Once,Disabled,Continues}

System boot parameter enabling status. It is an optional parameter.

  • Disabled: The settings are invalid.
  • Once: The settings take effect only once upon the next restart.
  • Continuous: The settings are effective permanently.

-M {Legacy,UEFI}

System boot mode. It is an optional parameter.

  • Legacy
  • UEFI

-MS {True,False}

Boot mode switching enabling status. It is an optional parameter.

  • True: enabled
  • False: disabled

-Q [SEQUENCE [SEQUENCE ...]]

System boot sequence. It is an optional parameter.

Any sequence of Hdd, Cd, Pxe, and Others.

Usage Guidelines

None

Example

Obtain help information.

[root@localhost bin]# ./urest -H 10.10.10.10 -U ****** -P ****** setsysboot -h 
usage: urest setsysboot [-h] [-T {None,Pxe,Floppy,Cd,Hdd,BiosSetup}] 
                             [-TS {Once,Disabled,Continues}] 
                             [-M {Legacy,UEFI}] [-MS {True,False}] 
                             [-Q [SEQUENCE [SEQUENCE ...]]] 

optional arguments: 
  -h, --help            show this help message and exit 
  -T {None,Pxe,Floppy,Cd,Hdd,BiosSetup} 
                        boot source override target 
  -TS {Once,Disabled,Continues} 
                        boot source override Enabled 
  -M {Legacy,UEFI}      boot source override mode 
  -MS {True,False}      boot source override mode change enabled 
  -Q [SEQUENCE [SEQUENCE ...]] 
                        system boot order,four parameters that are not 
                        duplicate must be specified, example: -Q Cd Pxe Hdd 
                        Others

Set system boot information.

[root@localhost bin]# ./urest -H 10.10.10.10 -U ****** -P ****** setsysboot -T Cd -TS Once 
Success: successfully completed request

Query system boot information.

[root@localhost bin]# ./urest -H 10.10.10.10 -U ****** -P ****** getsysboot 
BootSourceOverrideTarget  :Cd 
BootSourceOverrideEnabled :Once 
BootSourceOverrideMode    :Legacy 
BootModeConfigOverIpmiEnabled     :False 
BootupSequence            :Cd,Hdd,Pxe,Others
Translation
Download
Updated: 2020-02-13

Document ID: EDOC1000176182

Views: 121819

Downloads: 589

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next