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).
Creating the Hard Drive Erase Configuration for the Smart Provisioning Service

Creating the Hard Drive Erase Configuration for the Smart Provisioning Service

Function

Create the hard drive erase configuration for the Smart Provisioning service.

Format

./urest -H HOST -p PORT -U USERNAME -P PASSWORD addspdriveerasetask -M {Quick, Secure} -S {Simple, Normal, Thorough} --force

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, such as [1001::1001], must be enclosed in parentheses.

-

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.

-

{Quick, Secure}

Drive erase mode. It is an optional parameter.

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

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

{Simple, Normal, Thorough}

Drive erase policy. This parameter is valid only when the erase mode is Secure. It is an optional parameter.

  • Simple: erases the full drive once.
  • Normal: erases the full drive three times.
  • Thorough: erases the full drive nine times.

force

Deletion in the silent mode. It is an optional 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 ***** addspdriveerasetask -h 

usage: urest addspdriveerasetask [-h] [-M {Quick,Secure}]
                                 [-S {Simple,Normal,Thorough}] [--force]

optional arguments:
  -h, --help            show this help message and exit
  -M {Quick,Secure}     drive erase mode
  -S {Simple,Normal,Thorough}
                        drive erase strategy
  --force               silent deletion

Create the hard drive erase configuration for the Smart Provisioning service.

[root@localhost bin]# ./urest -H 10.10.10.10 -U ***** -P ***** addspdriveerasetask -M Secure -S Simple
 Success: successfully completed request 

For details about how to use the Smart Provisioning service to erase data from hard drives, see Erasing Hard Drives Using the Smart Provisioning Service.

Translation
Download
Updated: 2020-02-13

Document ID: EDOC1000176182

Views: 130636

Downloads: 601

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next