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 18000 and 18000F V5 Series V500R007

This document is applicable to OceanStor 18500 V5, 18800 V5, 18500F V5, and 18800F V5. 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.

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.sh

upgrade.sh

Function

The upgrade.sh command is used to run commands related to the UPD module.

Format

upgrade.sh {-h | -a }

Parameters

Parameter

Description

Value

-h Shows help information.

-

-a Displays functions of each subcommand of the UPD module.

-

Modes

Minisystem mode

Usage Guidelines

Go to the minisystem. Type upgrade.sh -h and perform operations as prompted.

Example

  • Display functions of each subcommand of the UPD module.

    Storage: minisystem> upgrade.sh -a
    upgrade.sh -c                                                : Clear upgrade flag and swm db on local board.
    upgrade.sh -d                                                : delete spare_part flag on local board.
    upgrade.sh -f                                                : Show failed steps.
    upgrade.sh -i [nodeid] [stepname]                            : Ignore current upgrade failed step by node id and step name.
    upgrade.sh -I [nodeid]                                       : Ignore current upgrade failed node and wait to power off and power on to repair.
    upgrade.sh -k                                                : Show ignore steps.
    upgrade.sh -t [normal|force]                                 : Terminate the upgrade flow when the flow is suspend, normal: force upgrade/rollback the system software and terminate, force: only terminate without upgrade/rollback the system software.
    upgrade.sh -s                                                : create spare_part flag on local board.
    upgrade.sh -o [os_only|nomral]                               : Switch system mode.
    upgrade.sh -B show                                           : Show upgrade batch info.
    upgrade.sh -B delete                                         : Delete upgrade batch file.
    upgrade.sh -B set nodeid[,nodeid] nodeid[,nodeid]            : Set user-define batch for roll upgrade.
    upgrade.sh -S showsuspendstepoption [upg_type]               : Query suspend step options can be set for upgrading, upg_type:0-roll, 1-offline, 2-fast
    upgrade.sh -S showsuspendstep [upg_type]                     : Show suspend step set for upgrading, upg_type:0-roll, 1-offline, 2-fast
    upgrade.sh -S setsuspendstep [upg_type] [name] [batch]       : Set suspend step,upg_type:0-roll, 1-offline, 2-fast; name: name in options; batch:0,1 or user define number
    upgrade.sh -S delsuspendstep [upg_type] [name] [batch]       : Delete suspend step,upg_type:0-roll, 1-offline, 2-fast; name: name in options; batch:0,1 or user define number
    upgrade.sh -q [upg_type]                                     : Check the incompatible fw device, upg_type:2-fast,4-force_upg
    upgrade.sh -u [device_name] [node_id] [slot|wwn] [upg_type]  : Upgrade the incompatible fw device, upg_type:2-fast,4-force_upg
  • Ignore the current step in which the node upgrade fails.

    Storage: minisystem> upgrade.sh -i 1
    DANGER: You are going to perform a danger command of ignoring upgrade failed steps.
    Suggestion: Contact technical support engineers for help.
    Have you read danger alert message carefully?(y/n)
    y
    Are you sure you really want to perform the operation?(y/n)
    y
    The command was executed successfully.

System Response

None

Translation
Download
Updated: 2020-01-17

Document ID: EDOC1000181602

Views: 750372

Downloads: 64

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next