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

Command Reference for Block

OceanStor Dorado V3 Series V300R002

This document is applicable to OceanStor Dorado3000 V3, Dorado5000 V3, Dorado6000 V3 and Dorado18000 V3. Based on the CLI provided by the DeviceManager, 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.
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).
export performance file

export performance file

Function

The export performance file command is used to export historical performance statistical files.

Format

export performance file file=? ip=? user=? password=? path=? [ port=? ] [ protocol=? ]

Parameters

Parameter

Description

Value

file=?

The historical performance statistical file which you want to export.

To obtain the value, run "show performance file".

ip=?

An IP address of a File Transfer Protocol (FTP) server or a Secure File Transfer Protocol (SFTP) server.

-

user=?

User name of 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=?

Export path to historical performance statistical files.

Path of the performance file to be stored in the FTP/SFTP server. '/test/' indicates that performance file is saved in the test folder on the FTP/SFTP server. The

file name is automatically generated. '/test' indicates that performance file is saved in the test file (every file or directory name length less than 201).

port=?

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

The value is an integer between 1 and 65535.

  • If protocol is set to FTP, the default value is "21".
  • If protocol is set to 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 Secure File Transfer Protocol (SFTP).

Level

Administrator

Usage Guidelines

  • This command allows historical performance statistical files to be exported only to an FTP server or an SFTP server connected to the storage system.
NOTE:

Prerequisites for using this command:

  • The storage system can access the FTP server or SFTP server.
  • The FTP service or SFTP service on the server has been enabled.
  • The folder for storing historical performance statistical files has been created.
  • The storage system can automatically name exported historical performance statistical files with the .tgz file name expansion.
  • 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

  • To query existing performance statistical files, run the following command.
    admin:/>show performance file 
      File Name                                                          Updated Time                   File Size 
      -----------------------------------------------------------------  -----------------------------  ---------- 
      PerfData_XXXXX_SN_snystrw623h7d739dmc9_SP0_0_20150729194049.tgz 2015-07-29/19:42:09 UTC+08:00     2.000KB 
      PerfData_XXXXX_SN_snystrw623h7d739dmc9_SP0_0_20150729193655.tgz 2015-07-29/19:36:57 UTC+08:00     2.000KB 
      PerfData_XXXXX_SN_snystrw623h7d739dmc9_SP1_0_20150729194049.tgz 2015-07-29/19:42:09 UTC+08:00     1.000KB 
      PerfData_XXXXX_SN_snystrw623h7d739dmc9_SP1_0_20150729193655.tgz 2015-07-29/19:36:57 UTC+08:00     1.000KB
  • To export the PerfData_XXXXX_SN_210235G7KA10D9000001_SP0_0_20131222162515.tgz file to the "file" file on an FTP server whose IP address, user name, and password is "192.168.38.11", "admin", and "123456" respectively, run the following command.
    admin:/>export performance file file=PerfData_XXXXX_SN_210235G7KA10D9000001_SP0_0_20131222162515.tgz ip=192.168.38.11 user=admin password=****** path=/file/ protocol=FTP 
    Command executed successfully.

System Response

None

Translation
Download
Updated: 2019-07-16

Document ID: EDOC1100049140

Views: 123967

Downloads: 155

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