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

OceanStor UltraPath for vSphere V100R008C50 User Guide 06

This document covers the functions, features, installation, configuration, upgrade, uninstallation, maintenance, troubleshooting, and FAQs of OceanStor UltraPath for vSphere (UltraPath forvSphere). UltraPath for vSphere is the multipathing software developed by HuaweiTechnologies Co., Ltd (Huawei for short). The document aims at helping users to be fully familiar with UltraPath for vSphere and its use.
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).
Exporting Performance Statistics

Exporting Performance Statistics

Function

The show iostat command is used to export IOPS and performance statistics (IOPS, bandwidth and response time) of a storage system or a virtual LUN.

Format

show iostat [ -a array-id | -v vlun-id ] [ -f file_name [ -r archive_time ] [ -d duration ] ] [-t type ]

Parameters

Parameter

Description

Default Value

-a array-id

Specifies IDs of storage systems.

You can run show array to obtain all storage system IDs.

NOTE:

You can query a maximum of eight storage systems' performance statistics at a time. Use comas (,) to separate storage systems.

None

-v vlun-id

Specifies IDs of virtual LUNs.

You can run show vlun -t=all to obtain all virtual LUN IDs.

NOTE:

You can query a maximum of eight virtual LUNs' performance statistics at a time. Use comas (,) to separate virtual LUN IDs.

None

-f file_name

Specifies the saving path and name of the performance report.

NOTE:

You must specify the saving path and name of the performance report. The system automatically adds suffix .CSV to the name.

None

-r archive_time

Specifies an interval for performance statistics collection.

The value can be 5, 60, 120, 300, 1800, and 3600, expressed in seconds.

NOTE:

This parameter is valid only when file_name is specified. The system writes performance data to the report at the specified time interval.

60

-d duration

Statistics duration

The value ranges from 60 to 259,200, expressed in seconds.

NOTE:

This parameter is valid only when file_name is specified. The system stops performance statistics after the specified duration.

900

-t type

View the virtual LUN information of a specific type. If the type parameter is not specified, common virtual LUN information will be queried.

Possible values are all, hypermetro, and migration, where:
  • all: all the virtual LUNs
  • hypermetro: virtual HyperMetro LUNs
  • migration: virtual migration LUNs

None

Level

User root

Usage Guidelines

  • If a performance report with the specified name exists in the path, the function of performance statistics is not supported. Delete the existing report or enter a new name. Then export the report.
  • If the remaining space of the directory to save the report is smaller than 180 MB, the performance report cannot be exported.
  • The performance statistics report file you exported can only be saved in the user file system space. The method for confirming path information about user file systems:

    For example, the report is exported to datastore1 (11). The path is /vmfs/volumes/52c6da5e-f7c5da8a-afa3-842b2b0b0239, a combination of 52c6da5e-f7c5da8a-afa3-842b2b0b0239 (the numbers after ->) and /vmfs/volumes/.

    [root@localhost:~] ls -l /vmfs/volumes/
    total 10241
    drwxr-xr-x    1 root     root             8 Jan  1  1970 271d4976-4a1ce895-9e7c-c6867647c80e
    drwxr-xr-t    1 root     root          2940 Nov 19 21:10 52c6da5e-f7c5da8a-afa3-842b2b0b0239
    lrwxr-xr-x    1 root     root            35 Nov 21 18:19 datastore1 (11) -> 52c6da5e-f7c5da8a-afa3-842b2b0b0239
    drwxrwxrwx    6 root     root             8 Oct 19  2016 f6bbdbfb-c9b83c6d
    lrwxr-xr-x    1 root     root            35 Nov 21 18:19 storage1 (2) -> 562aa923-a0622054-1f30-842b2b0b0237
    lrwxr-xr-x    1 root     root            35 Nov 21 18:19 storage2 (2) -> 562aa925-7e18d762-4a75-842b2b0b0237
    lrwxr-xr-x    1 root     root            35 Nov 21 18:19 storage3 (2) -> 562aa927-7ecf10cb-9fa2-842b2b0b0237
    lrwxr-xr-x    1 root     root            35 Nov 21 18:19 storage4 (2) -> 562aa929-8482177e-2fd0-842b2b0b0237
    lrwxr-xr-x    1 root     root            35 Nov 21 18:19 storage5 (2) -> 562aa92c-88f3e822-25c8-842b2b0b0237
    lrwxr-xr-x    1 root     root            35 Nov 21 18:19 storage6 (2) -> 562aa92e-a1820b61-d7e8-842b2b0b0237
    lrwxr-xr-x    1 root     root            35 Nov 21 18:19 storage7 (2) -> 562aa931-ccf63bfe-10a4-842b2b0b0237
    lrwxr-xr-x    1 root     root            35 Nov 21 18:19 storage8 (2) -> 562aa933-1bf9f203-c746-842b2b0b0237
    lrwxr-xr-x    1 root     root            17 Nov 21 18:19 vaai -> f6bbdbfb-c9b83c6d
    lrwxr-xr-x    1 root     root            17 Nov 21 18:19 vaai2 -> a72f0228-2a9766d9
    

Example

  • Export the performance statistics report for storage system 0, and specify /vmfs/volumes/52c6da5e-f7c5da8a-afa3-842b2b0b0239 as the directory and record as the report name to save the report.
    [root@localhost:~] esxcli upadm show iostat -a 0 -f /vmfs/volumes/52c6da5e-f7c5da8a-afa3-842b2b0b0239/record
    The performance record is running in background.
    
  • Export the performance statistics report for virtual LUN 0, and specify /vmfs/volumes/52c6da5e-f7c5da8a-afa3-842b2b0b0239 as the directory and record-lun as the report name to save the report.
    [root@localhost:~] esxcli upadm show iostat -v 0 -f /vmfs/volumes/52c6da5e-f7c5da8a-afa3-842b2b0b0239/record-lun
    The performance record is running in background.
    

System Response

The system generates a performance report with suffix .CSV in the specified path.

Translation
Download
Updated: 2019-03-06

Document ID: EDOC1000105152

Views: 37177

Downloads: 782

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