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

Administrator Guide

OceanStor 2800 V5 V500R007

This document is applicable to OceanStor 2800 V5. Routine maintenance activities are the most common activities for the storage device, including powering on or off the storage device, managing users, modifying basic parameters of the storage device, and managing hardware components. This document is intended for the system administrators who are responsible for carrying out routine maintenance activities, monitoring the storage device, and rectifying common device faults.
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).
Collecting Information in the CLI

Collecting Information in the CLI

You can use the CLI to back up or import device configuration data.

Exporting Storage System Configuration Data

All configuration information of a storage system must be exported before a system upgrade or capacity expansion. Exported data can be used to restore the storage system when the upgrade or capacity expansion fails.

Prerequisites
  • The File Transfer Protocol (FTP) server or Secure File Transfer Protocol (SFTP) server is accessible to the storage system.
  • The FTP service or SFTP service on the server has been enabled.
  • A folder has been created for saving configuration files.
Context

Configuration data of the storage system can be collected only using the CLI.

Precautions
  • Configuration data of the storage system is exported in a .dat file. Do not modify any content in this file.
  • 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.
  • If configuration files need to be imported when anomalies occur, contact the technical support personnel.
Procedure
  1. Log in to the CLI of the storage system as the super administrator.
  2. Run the export configuration_data ip=? user=? password=? db_file=? [ port=? ] [ protocol=? ] [ clean_device_file=? ] command to export configuration files to an FTP server or SFTP server.

    Table 4-27 Parameter description

    Parameter

    Description

    Value

    ip=?

    IP address of an FTP server or an SFTP server to which you want to import a configuration file.

    -

    user=?

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

    The value contains 1 to 64 characters.

    password=?

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

    The value contains 1 to 63 characters.

    db_file=?

    File name of and path to a configuration file on an FTP server or an SFTP server.

    The file name extension must be .dat. If you specify a file name, the file name cannot contain any of the following characters: \ / : * ? " < > |.

    port=?

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

    The value ranges from 1 to 65535.

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

    protocol=?

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

    clean_device_file=?

    Whether to delete a configuration file in the storage system memory after the configuration file has been exported to an FTP or SFTP server.

    The value can be yes or no, where:

    • yes: The configuration file that resides in the storage system memory will be deleted after the configuration file is exported to an FTP server or an SFTP server.
    • no: The configuration file that resides in the storage system memory will not be deleted after the configuration file is exported to an FTP server or an SFTP server.

    The default value is yes.

Importing Storage System Configuration Data

If a system fails to be upgraded or malfunctions, you can import backed up system configuration data to restore system configurations.

Prerequisites
  • Storage systems can access an FTP server over the network.
  • The FTP service has been enabled on the FTP server.
  • The selected system configuration file is correct and has been backed up.
Context

Storage system configuration information can be imported only on the CLI.

Precautions
  • The type of configuration files to be imported is *.dat. Do not modify exported configuration file contents.
  • Do not perform any operation when importing configuration files.
Procedure
  1. Log in to the CLI as the super administrator.
  2. Run the import configuration_data ip=xxx.xxx.xxx user=? password=? db_file=? command to import configuration files from the FTP server to the storage system.

    NOTE:

    For details about this command, see Advanced O&M Command Reference.

Translation
Download
Updated: 2019-07-11

Document ID: EDOC1000181576

Views: 18547

Downloads: 25

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