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 2800 V3 V300R006

This document is applicable to OceanStor 2800 V3. Based on the CLI, this document describes how to use various commands classified by functionsand 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 system_disk

upgrade system_disk

Function

The upgrade system_disk command is used to upgrade the firmware version of the storage system's system disk. Run this command if you need to upgrade the system disk of the storage system.

Format

upgrade system_disk ip=? user=? password=? path=? [ controller=? ] [ port=? ] [ protocol=? ]

Parameters

Parameter

Description

Value

ip=?

IP address of an FTP server or an SFTP server.

User name for logging in to an FTP server or an SFTP server. The value consists of 1 to 64 ASCII characters.

user=?

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

The value consists of 1 to 64 ASCII characters.

password=?

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

The value consists of 1 to 64 ASCII characters.

path=?

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: ' \ / : * ? "<> |.

controller=?

ID of a controller.

The value is in the format of "XA", "XB", "XC" or "XD", where the "X" is an integer ranging from 0 to 3.

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

port=?

Port number of the FTP or 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).

Views

Developer view

Usage Guidelines

None

Example

Upgrade all system disks.

developer:/>upgrade system_disk ip=192.168.1.9 user=admin password=************** path=/home/permitdir/diskfw.tgz 
DANGER: You are about to upgrade the system disk. This operation will upgrade the system disk firmware. If any exception occurs in the process, new logs or other internal files may be lost. 
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 
SysFaultCheck           0A                 pass 
AlarmCheck            0A                 pass 
SysResourceCheck         0A                 pass 
SysResourceCheck         0B                 pass 
ISFrontBandWidthEnough      0A                 pass 
ISFrontBandWidthEnough      0B                 pass 
IsDoubleCtrlCheck         0A                 pass 
SysMirrorRecoveryCheck      0A                 pass 
SysMirrorRecoveryCheck      0B                 pass 
Command executed successfully. 
You can run the "show system_disk upgrade_status" to query the result of upgrading the system disk.

System Response

None

Translation
Download
Updated: 2019-07-12

Document ID: EDOC1000138381

Views: 667110

Downloads: 36

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