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

Advanced O&M Command Reference

OceanStor 2000, 5000, and 6000 V3 Series V300R006

This document is applicable to OceanStor 2200 V3, 2600 V3 Video Surveillance Edition, 2600 V3, 5300 V3, 5500 V3, 5600 V3, 5800 V3, and 6800 V3. Based on the CLI, this document describes how to use various commands classified by functions and how to set the CLI and manage the storage system through these commands. The document that you browse online matches the latest C version of the product. Click Download to download documents of other C versions.
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).
upgrade disk

upgrade disk

Function

The upgrade disk command is used to upgrade the firmware version of disks in the storage system. Run this command if you need to upgrade disks in the storage system.

Format

upgrade disk ip=? user=? password=? path=? upgrade_mode=? [ disk_id=? ] [ port=? ] [ protocol=? ] [ disk_id_list=? ]

Parameters

Parameter

Description

Value

upgrade_mode=?

Upgrade mode.

The value can be "OnLine" or "OffLine", where:

  • "OnLine": online upgrade.
  • "OffLine": offline upgrade.

ip=?

IP address of an FTP server or an SFTP server.

-

user=?

User name for logging in to an FTP server or an SFTP server.

The value contains 1 to 64 characters without colons (:).

password=?

Password for logging in to an FTP server or an SFTP server.

The value contains 1 to 64 characters.

path=?

File name of and path to a software package on an FTP server or an SFTP server.

File name of and path to a software package on an FTP server or an SFTP server. The file name extension is .tgz. The file name cannot contain any of the following characters: ' \ / : * ? "<> |.

disk_id=?

Disk ID.

To obtain the value, run "show disk general".

port=?

ID of the employed port on an FTP server or an SFTP server.

ID of the employed port on an FTP server or an SFTP server. The value ranges from 1 to 65535.

  • If "protocol" is "FTP", the default value is "21".
  • If "protocol" is "SFTP", the default value is "22".

protocol=?

Protocol type.

Protocol type. The value can be "FTP" or "SFTP". The default value is "SFTP". To ensure the security of data transfer, you are advised to use Secure File Transfer Protocol (SFTP).

disk_id_list=?

Disk ID list.

To obtain the disk ID, run the "show disk general" command. The list can be in either of the following formats:

  • Use commas (,) to separate disk IDs, for example: DAE010.0,DAE010.1,DAE010.5.
  • Use hyphens (-) to show the disk ID range, for example: DAE010.0-10.

Views

Engineer view

Usage Guidelines

  • This command can only be executed on disk arrays.
  • The prerequisites for running this command are that the FTP service or SFTP service on the server is enabled and the server is accessible to the storage system.
  • Because the types and configurations of servers are different, some servers need "/" to indicate their root directories while others do not. Enter a correct path based on site requirements.
  • When parameter upgrade_mode is set to OffLine and parameter disk_id is not configured, the offline upgrade mode is only applicable to the upgrade of all disks.
  • When parameter upgrade_mode is set to OnLine and parameter disk_id is configured, only specified disks are upgraded or all disks are upgraded online.
  • Run "upgrade disk" only when all controllers of the storage system are working properly.
  • If the storage system serves as a server in the file transfer with external systems, it supports the SFTP service only. If the storage system serves as a client, it supports both the FTP and SFTP services.

Example

Upgrade all disks online.

developer:/>upgrade disk ip=192.168.1.9 user=admin password=************** path=/home/permitdir/diskfw.tgz upgrade_mode=OnLine 
DANGER: You are going to upgrade the firmware version of the disk(s). If the upgrade version is incorrect, this operation affects disk performance. 
Suggestion: Before you perform this operation, ensure that you have selected the correct firmware version. 
Have you read danger alert message carefully?(y/n)Y 
Are you sure you really want to perform the operation?(y/n)Y 
Download package. SUCCESS 
Check Item Name Controller ID Result 
-------------------------- ------------- ----------------- 
CheckCCDBStatus             0A                 pass 
CheckCCDBStatus             0B                 pass 
CheckCCDBStatus             0C                 pass 
CheckCCDBStatus             0D                 pass 
SysFaultCheck               0A                 pass 
AlarmCheck                  0A                 pass 
LunDestoryCheck             0A                 pass 
SysResourceCheck            0A                 pass 
SysResourceCheck            0B                 pass 
SysResourceCheck            0C                 pass 
SysResourceCheck            0D                 pass 
DiskUpgradeUsageCheck       0A                 pass 
DiskUpgradeUsageCheck       0B                 pass 
DiskUpgradeUsageCheck       0C                 pass 
DiskUpgradeUsageCheck       0D                 pass 
ISDiskInDiagnose            0A                 pass 
ISDiskInDiagnose            0B                 pass 
ISDiskInDiagnose            0C                 pass 
ISDiskInDiagnose            0D                 pass 
GetPoolStatus               0A                 pass 
GetPoolStatus               0B                 pass 
GetPoolStatus               0C                 pass 
GetPoolStatus               0D                 pass 
ISFrontBandWidthEnough      0A                 pass 
ISFrontBandWidthEnough      0B                 pass 
ISFrontBandWidthEnough      0C                 pass 
ISFrontBandWidthEnough      0D                 pass 
IsDoubleCtrlCheck           0A                 pass 
SingleLinkCheck             0A                 pass 
SingleLinkCheck             0B                 pass 
SingleLinkCheck             0C                 pass 
SingleLinkCheck             0D                 pass 
Enclosure Number:DAE000, Slot:5, The disk firmware is already the latest version. 
Enclosure Number:DAE000, Slot:4, The disk firmware is already the latest version. 
Enclosure Number:DAE000, Slot:7, The disk firmware is already the latest version. 
Enclosure Number:DAE000, Slot:1, The disk firmware is already the latest version. 
Enclosure Number:DAE000, Slot:8, The disk firmware is already the latest version. 
Enclosure Number:DAE000, Slot:0, The disk firmware is already the latest version. 
Enclosure Number:DAE000, Slot:3, The disk firmware is already the latest version. 
Enclosure Number:DAE000, Slot:2, The disk firmware is already the latest version. 
Enclosure Number:DAE000, Slot:6, The disk firmware is already the latest version. 
Command executed successfully. 
If any disk upgrade operates successfully, please check whether the upgrade succeeds by viewing the disk firmware version.

System Response

None

Translation
Download
Updated: 2019-07-12

Document ID: EDOC1000138402

Views: 633160

Downloads: 705

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next