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).
Querying the Configuration Result Resources of the Smart Provisioning Service

Querying the Configuration Result Resources of the Smart Provisioning Service

Function

Query configuration results.

Format

./urest -H HOST -p PORT -U USERNAME -P PASSWORD getspresult -F FILE

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.

-

FILE

Local path of the queried configuration result file. It is an optional parameter.

Value format: Directory/File name

The file path cannot contain spaces. If the path contains spaces:

  • On Windows, add three double quotation marks (""") before and after the path, for example, -F """D:\\test config\\config.json""".
  • On Linux, add a double quotation mark (") before and after the path, for example, -F "/home/test config/config.json".

Usage Guidelines

  • Only FusionServer V5 servers and TaiShan 200 servers are supported. Atlas servers are not supported.
  • The BIOS version must be 0.39 or later.
  • Smart Provisioning must be installed on the server.

Example

Obtain help information.

[root@localhost bin]# ./urest -H 10.10.10.10 -U ****** -P ****** getspresult -h 
usage: urest getspresult [-h] [-F FILE] 

optional arguments: 
  -h, --help  show this help message and exit 
  -F FILE     the loacl path of get the configuration file

Query configuration results and save the results to the file.

[root@localhost bin]# ./urest -H 10.10.10.10 -U ****** -P ****** getspresult -F /abc/aa.json 
Success: successfully completed request

Query configuration results.

[root@localhost bin]# ./urest -H 10.10.10.10 -U ****** -P ****** getspresult 
------------------------------------------------------------
[OSInstall]
 
Status                        : progressing
Progress                      : 60
Step                          : select disk
ErrorInfo                     :
------------------------------------------------------------
[Upgrade]
 
Progress                      : 100.0
Operation                     : Upgrade
----------------------------------------
Status                        : failed
DeviceUID                     : None
DeviceBDF                     : None
Description                   : No available device found
DeviceName                    : None
Firmware                      : RAID_BC6ESML01_SR430C_3108_FW_V107_4.270.00-4382.zip
Location                      : None
StartTime                     : 2017-11-26 10:09:19
Device                        : LSI3108
EndTime                       : 2017-11-26 10:09:19
NewVersion                    : 4.270.00-4382
LastVersion                   : None
----------------------------------------
Status                        : upgraded
DeviceUID                     : 0X8086:0X1521:0X19E5:0XD10D
DeviceBDF                     : 0000:af:00.1
Description                   : upgrade successfully
DeviceName                    : NIC1
Firmware                      : NIC_SM212_BC1FGEC01_FW_1.63.zip
Location                      : mainboard
StartTime                     : 2017-11-26 10:09:19
Device                        : SM212
EndTime                       : 2017-11-26 10:09:42
NewVersion                    : 1.63
LastVersion                   :  1.63
----------------------------------------
------------------------------------------------------------
[RaidCfg]
 
Progress                      : 100
----------------------------------------
Status                        : Finish
DeviceName                    : LSI3108
Description                   : Raid configuration successfully
CardModel                     : SAS3108
StartTime                     : 2017-10-04 16:39:08
Location                      : 1
File                          : /mnt/usb/spforbmc/operate/spraid/add_request_3108.json
EndTime                       : 2017-10-04 16:39:08
----------------------------------------
------------------------------------------------------------

System Response

Table 3-15 Output description

Parameter

Description

Status

Configuration status, including progressing, failed, and finish.

Progress

Current progress information, of which the value ranges from 0 to 100.

Step

Step.

ErrorInfo

Error information.

Operation

Operation type.

DeviceUID

Device user identifier information.

DeviceBDF

Device BDF information.

Description

Detailed device description information.

DeviceName

Device name.

Firmware

Firmware package used for the upgrade.

Location

Device location.

StartTime

Configuration start time.

Device

Device type.

EndTime

Configuration end time.

NewVersion

New version.

LastVersion

Original version.

CardModel

RAID controller card type.

File

Configuration file used for the upgrade.

Translation
Download
Updated: 2020-02-13

Document ID: EDOC1000176182

Views: 121677

Downloads: 588

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next