This command modifies a QoS policy.
Usage
To modify a view QoS policy:
qospolicy modify --id <ID> [--limit-by {BW_IOPS|BW|IOPS}] { [--use-separate-limits] [--static-limits <LIMITS>] | [--use-total-limits] [--static-total-limits <LIMITS>] } { [--use-separate-limits] [--capacity-limits <LIMITS>] [--mode <MODE>] | [--use-total-limits] [--capacity-total-limits <LIMITS>] [--mode <MODE>] } [--is-gold|--disable-gold]To modify a user QoS policy:
qospolicy create --id <ID> [--is-default] [--attached-iam-roles <ROLES>] [--limit-by {BW_IOPS|BW|IOPS}] { [--use-separate-limits] [--static-limits <LIMITS>] | [--use-total-limits] [--static-total-limits <LIMITS>] } [--s3-connections-limit <LIMIT>]
Required Parameters
| Identifies the QoS policy to modify. |
General Options
| Attaches a user QoS policy to one or more IAM roles. Specify |
| When specified, the policy is used as the default user QoS policy for all users under the tenant specified in
|
| Determines whether the QoS policy provisions performance for views ( |
| If the QoS policy is to be used for one or more users (
|
Options to Set Limits
| Enables and sets QoS limits per unit of used or provisioned logical capacity, depending on the provisioning mode (see Specify
For example:
|
| Enables and sets QoS limits per unit of used or provisioned logical capacity, depending on the provisioning mode (see Specify
For example: |
| Sets performance characteristic(s) by which to limit service:
|
| Determines how capacity-based limits are set. Specify
|
| Sets the maximum allowed number of S3 connections. By default, no S3 connection limit is set. '0' (zero) means that unlimited number of S3 connections is allowed. |
| Enables and sets static QoS limits. Specify The following keys can be used, depending on the
For example:
|
| Enables and sets static QoS limits that cap the total amount of read, write and metadata operations. Specify The following keys can be used, depending on the
For example: |
| Disables total QoS limits, allowing you to apply separate QoS limits for read and/or write operations. |
| If specified, enables you to set limits that cap the total amount of read, write and metadata operations (see |
Prioritization Options
| Sets a prioritization flag for the QoS policy so that the workloads have higher priority in contention for CPU and memory resources. This option applies to view QoS policies only. |
| Removes the prioritization flag from the QoS policy. |
Example
vcli: admin> qospolicy modify --id 3 --mode STATIC --limit-by BW_IOPS --use-separate-limits --static-limits max_reads_bw_mbps=1024,max_reads_iops=1024,max_writes_iops=2048