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

OceanStor 18000 V3 Series V300R006

This document is applicable to OceanStor 18500 V3 and 18800 V3. Based on the CLI provided by the DeviceManager, this document describes how to use variouscommands classified by functions and how to set the CLI and manage the storage system throughthese 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).
change ftds switch

change ftds switch

Function

The change ftds switch command is used to enable or disable the Flow Tracing & Diagnosing System (FTDS) tracing function. This command can set the main switch (except for the workload collection switch), or set the tracing switch, phase switch, delay switch, count switch, and workload collection switch independently.

Format

change ftds switch { switch=? | trace_switch=? | phase_switch=? | delay_switch=? | count_switch=? | workload_switch=? | workload_type=? | lun_id=? | file_system_id=? }

Parameters

Parameter

Description

Value

switch=?

FTDS main switch.

The value can be "On" or "Off", where:

  • "On": turns on the FTDS main switch.
  • "Off": turns off the FTDS main switch.

workload_switch=?

Workload collection switch of FTDS.

The value can be "On" or "Off", where:

  • "On": turns on the FTDS workload collection switch.
  • "Off": turns off the FTDS workload collection switch.

workload_type

Workload collection type of FTDS.

The value can be "Cache" or "Protocol", where:

  • Cache: turns on the FTDS cache workload collection switch.
  • Protocol: turns on the FTDS protocol workload collection switch.

lun_id

Collection ID of cache workload. The ID is LUN ID.

To obtain the value, run "show lun general".

file_system_id

Collection ID of protocol workload. The ID is filesystem ID.

To obtain the value, run the "show file_system general" command.

trace_switch=?

FTDS tracing switch.

The value can be "On" or "Off", where:

  • "On": turns on the FTDS tracing switch.
  • "Off": turns off the FTDS tracing switch.

phase_switch=?

FTDS phase switch.

The value can be "On" or "Off", where:

  • "On": turns on the FTDS phase switch.
  • "Off": turns off the FTDS phase switch.

delay_switch=?

FTDS delay switch.

The value can be "On" or "Off", where:

  • "On": turns on the FTDS delay switch.
  • "Off": turns off the FTDS delay switch.

count_switch=?

FTDS count switch.

The value can be "On" or "Off", where:

  • "On": turns on the FTDS count switch.
  • "Off": turns off the FTDS count switch.

Level

Administrator

Usage Guidelines

The FTDS function is used to trace faults and diagnose the storage system. The FTDS function supports fault diagnosis, phase statistics collection, delay statistics collection, I/O count statistics, and workload collection.

Example

  • Turn on the FTDS main switch.
    admin:/>change ftds switch switch=On 
    Command executed successfully.
  • Turn on the FTDS trace switch.
    admin:/>change ftds switch trace_switch=On 
    Command executed successfully.
  • Turn on the FTDS phase switch.
    admin:/>change ftds switch phase_switch=On 
    Command executed successfully.
  • Turn on the FTDS delay switch.
    admin:/>change ftds switch delay_switch=On 
    Command executed successfully.
  • Turn on the FTDS count switch.
    admin:/>change ftds switch count_switch=On 
    Command executed successfully.
  • Turn on the FTDS cache workload collection switch.
    developer:/>change ftds switch workload_switch=On workload_type=Cache lun_id=1 
    WARNING: You are about to enable the FTDS workload collection function. This operation may decrease system performance.Suggestion: Before performing this operation, ensure that the CPU usage does not exceed 60%. 
    Have you read warning message carefully?(y/n)y 
    Are you sure you really want to perform the operation?(y/n)y 
    Command executed successfully.
  • Turn on the FTDS protocol workload collection switch.
     developer:/>change ftds switch workload_switch=On workload_type=Protocol file_system_id=1 
    WARNING: You are about to enable the FTDS workload collection function. This operation may decrease system performance.Suggestion: Before performing this operation, ensure that the CPU usage does not exceed 60%. 
    Have you read warning message carefully?(y/n)y 
    Are you sure you really want to perform the operation?(y/n)y 
    Command executed successfully.

System Response

None

Translation
Download
Updated: 2019-07-12

Document ID: EDOC1000138390

Views: 226474

Downloads: 150

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