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 Hard Drive Erase Configuration Resources of the Smart Provisioning Service

Querying the Hard Drive Erase Configuration Resources of the Smart Provisioning Service

Function

Query the hard drive erase configuration resources of the Smart Provisioning service.

Format

./urest -H HOST -p PORT -U USERNAME -P PASSWORD getspdriveerasetask

Parameters

Parameter

Description

Value

HOST

IPv4 or IPv6 address or domain name of the server iBMC. 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

Specifies the port number. The default value is 443. It is an optional parameter.

If the actual port number is not 443, enter the actual port number.

USERNAME

iBMC administrator user name. It is a mandatory parameter.

-

PASSWORD

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

-

Usage Guidelines

This function is supported only when FusionServer V5 servers are used, the iBMC version is 3.89 or later, and the BIOS version is later than 0.39. Smart Provisioning V124 and later versions support this function.

Example

Obtain help information.

[root@localhost bin]# ./urest -H 10.10.10.10 -U ****** -P ****** getspdriveerasetask -h
usage: urest getspdriveerasetask [-h] 
  
optional arguments: 
  -h, --help  show this help message and exit
 

Query the hard drive erase configuration resources of the Smart Provisioning service.

[root@localhost bin]# ./urest -H 10.10.10.10 -U ****** -P ****** getspdriveerasetask
EraseMode      :Secure
EraseStrategy  :Normal

System Response

Parameter

Description

EraseMode

Drive erase mode.

  • Quick: quick erase
  • Secure: secure erase
NOTE:

The quick mode erases partitions of logical drives. The secure mode erases full physical drives.

EraseStrategy

Drive erase policy. This parameter is valid only when the erase mode is Secure. Value:

  • Simple: erases the full drive once.
  • Normal: erases the full drive three times.
  • Thorough: erases the full drive nine times.
Translation
Download
Updated: 2020-02-13

Document ID: EDOC1000176182

Views: 133645

Downloads: 602

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next