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 V5 V500R007

This document is applicable to OceanStor 2800 V5. 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_clearflag.sh

upgrade_clearflag.sh

Function

The upgrade_clearflag.sh command is used to forcibly clear all upgrade flag files or examine front-end redundant links in the upgrade state.

Format

upgrade_clearflag.sh -h

upgrade_clearflag.sh -e

upgrade_clearflag.sh -c

Parameters

Parameter

Description

Value

-c

Clears all the upgrade flag files.

-

-h

Views the help information about upgrade_clearflag.sh command.

-

-e

Examines the redundancy of front-end links.

-

Modes

Minisystem mode

Usage Guidelines

  • In the process of system upgrade, for some unknown reason, the upgrade process cannot exit. Use this script to forcibly exit the upgrade state. The method is:

    1.After entering the minisystem mode on each controller, input and perform the upgrade_clearflag.sh -c command.

    2.Power off and power on the cluster.

    3.After the cluster is powered on again, the upgrade state will be cleared.

  • Use this script to examine the redundancy of front-end links. The method is:

After entering the minisystem mode on each controller, input and perform the upgrade_clearflag.sh -e command.

Example

  • View the help information about upgrade_clearflag.sh command.
      
    Storage : minisystem> upgrade_clearflag.sh -h 
      
    upgrade_clearflag.sh [-e] | [-c] | [-h] : Delete all the upgrade files that were generated by upgrade action. 
    -h, --help show help info. 
    -c, --Clear Clear all the upgrade files that cannot be restored. 
    -e, --Examine Examine the redundancy of front-end links. 
     
  • Clear all the upgrade flag files.
    Storage: minisystem> upgrade_clearflag.sh -c 
    Delete all upgrade files successfully.
  • Examine the redundancy of front-end links.
    Storage: minisystem> upgrade_clearflag.sh -e 
    Front-end links is redundant.

System Response

The following table describes the parameter meanings.

Parameter

Meaning

Delete all upgrade files successfully.

Succeeded in deleting all upgrade status files.

Front-end links is not redundant.

The front-end link is not redundant.

Front-end links is redundant.

The front-end link is redundant.

Translation
Download
Updated: 2019-07-11

Document ID: EDOC1000181575

Views: 647658

Downloads: 30

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