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 Physical Disk Attributes

Setting Physical Disk Attributes

Function

Set physical disk attributes.

Format

./urest -H HOST -p PORT -U USERNAME -P PASSWORD setpdisk -I DRIVEID -L {Off,Blinking} -T {None,Global,Dedicated} -CI CONTROLLERID -LI LOGICALDRIVEID -S {Online,Offline,JBOD,UnconfiguredGood}

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.

-

DRIVEID

Physical disk ID. It is a mandatory parameter.

-

-L {Off,Blinking}

Physical disk locating indicator status. It is an optional parameter.

  • Off
  • Blinking

-T {None,Global,Dedicated}

Physical disk hot spare status. It is an optional parameter.

  • None
  • Global
  • Dedicated

CONTROLLERID

Controller ID. It is an optional parameter.

-

LOGICALDRIVEID

Logical disk ID. It is an optional parameter.

-

-S {Online,Offline,JBOD,UnconfiguredGood}

Driver status. It is an optional parameter.

  • Online
  • Offline
  • JBOD
  • UnconfiguredGood

Online and Offline can be set mutually, and JBOD and UnconfiguredGood can be set mutually.

Usage Guidelines

The iBMA must be installed and the iBMA service must be started.

Example

Obtain help information.

[root@localhost bin]# ./urest -H 10.10.10.10 -U ****** -P ****** setpdisk -h
usage: urest setpdisk [-h] -I DRIVEID [-L {Off,Blinking}]
                      [-T {None,Global,Dedicated}] [-CI CONTROLLERID]
                      [-LI LOGICALDRIVEID]
                      [-S {Online,Offline,JBOD,UnconfiguredGood}]
 
optional arguments:
  -h, --help            show this help message and exit
  -I DRIVEID            physicaldisk ID
  -L {Off,Blinking}     indicatorled
  -T {None,Global,Dedicated}
                        hotspatetype
  -CI CONTROLLERID      controller ID
  -LI LOGICALDRIVEID    logicaldrive ID,
  -S {Online,Offline,JBOD,UnconfiguredGood}
                        firmwarestatus

Set physical disk attributes.

[root@localhost bin]# ./urest -H 10.10.10.10 -U ****** -P ****** setpdisk -I 0 -L Off -T None -S Offline
Success: successfully completed request
Translation
Download
Updated: 2020-02-13

Document ID: EDOC1000176182

Views: 121806

Downloads: 589

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next