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).
change smartqos_policy general

change smartqos_policy general

Function

The change smartqos_policy general command is used to modify SmartQoS policies.

Format

change smartqos_policy general smartqos_policy_id=? [ name=? ] [ io_type=? ] [ schedule_policy=? ] [ day_of_week=? ] [ schedule_start_time=? ] [ start_time=? ] [ duration=? ] [ max_bandwidth=? max_iops=? ] [ lun_id_list=? ]

Parameters

Parameter

Description

Value

smartqos_policy_id=?

ID of a SmartQoS policy.

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

name=?

Name of an I/O class template.

The value contains 1 to 31 characters including digits, letters, hyphens (-), underscores (_), and periods (.).

io_type=?

Type of the I/Os that you want to control. Using this parameter specifies that the SmartQoS will exclusively control a specific type of I/Os.

The value can be:

  • "read_write": indicates read and write I/Os.

schedule_policy=?

The time policy for triggering the SmartQoS.

The value can be:

  • "once": The policy is executed once.
  • "daily": The policy is executed daily.
  • "weekly": The policy is executed weekly.

day_of_week=?

The day on which a scheduled SmartQoS policy will be cycled weekly. This parameter must be assigned and it is valid only when "schedule_policy=?" is set to "weekly".

You can specify multiple days in a week and separate them with commas (,). The value can be "sun", "mon", "tue", "wed", "thu", "fri", or "sat", where:

  • "sun": indicates Sunday.
  • "mon": indicates Monday.
  • "tue": indicates Tuesday.
  • "wed": indicates Wednesday.
  • "thu": indicates Thursday.
  • "fri": indicates Friday.
  • "sat": indicates Saturday.

schedule_start_time=?

The day from which a scheduled SmartQoS task will be started.

The value is in the format of year-month-day. The value ranges from today to 2069-12-31.

start_time=?

The time from which a scheduled SmartQoS task will be started on a specific day.

The value is in the format of HH:MM. The value ranges from 00:00 to 23:59.

duration=?

The duration for performing a scheduled SmartQoS task.

The value is in the format of HH:MM or H:M. The value ranges from 00:30 to 24:00, indicating 30 minutes to 24 hours.

max_bandwidth=?

The maximum bandwidth.

The value is an integer ranging from 1 to 999,999,999, expressed in MBps.

max_iops=?

The maximum number of IOPS.

The value is an integer ranging from 100 to 999,999,999.

lun_id_list=?

Logical unit numbers LUNs that you want to add to a SmartQoS policy. Only the added LUNs will be controlled by the SmartQoS.

To obtain the value, run "show lun general".You can specify multiple LUN IDs separated by commas (,), or ID range separated by hyphens(-), such as: 0,5-8.

A maximum of 512 objects are allowed.

Level

Administrator

Usage Guidelines

  • QoS policies can be modified online. You do not need to deactivate the QoS policies before modifying them, and new configurations take effect immediately after the modification.
  • You can specify both "max_bandwidth" and "max_iops" or only one of them. Specify at least one of the two operands.
  • In a QoS policy, configure either LUNs or file systems.

Example

To modify SmartQoS policy "0", where the type of the I/Os to control is "read_write" and add LUNs "0" and "1" to the SmartQoS policy.

admin:/>change smartqos_policy general smartqos_policy_id=0 io_type=read_write lun_id_list=0,1 
CAUTION: You are about to modify storage objects in traffic control policy. 
This operation may affect storage object performance. 
Suggestion: Before performing this operation, ensure that the preceding risk is acceptable and the correct traffic control policy and storage objects are selected. 
Do you wish to continue?(y/n)y 
Command executed successfully.

System Response

None

Translation
Download
Updated: 2019-07-16

Document ID: EDOC1100049140

Views: 115459

Downloads: 134

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