This command modifies a QoS policy.
Usage
qospolicy modify --id ID
[--policy-type VIEW|USER]
[--is-default]
[--tenant-id ID]
[--use-total-limits|--use-separate-limits]
[--limit-by BW_IOPS|BW|IOPS]
[--static-total-limits STATIC_TOTAL_LIMITS]
[--static-limits STATIC_LIMITS]
[--mode STATIC|USED_CAPACITY|PROVISIONED_CAPACITY]
[--capacity-total-limits CAPACITY_TOTAL_LIMITS]
[--capacity-limits CAPACITY_LIMITS]
[--is-gold|--disable-gold]
[--s3-connections-limit LIMIT]
Required Parameters
| Specifies which QoS policy to modify. |
Options
| Determines whether the QoS policy provisions performance for a view ( |
| When specified, the policy is used as the default user QoS policy for all users under the tenant specified in
|
| If the QoS policy is to be used for one or more users (
|
| If specified, enables you to set limits that cap the total amount of read, write and metadata operations (see |
| Disables total QoS limits. |
| Sets performance characteristic(s) by which to limit service:
|
| 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: |
| Enables and sets static QoS limits.
Specify The following keys can be used, depending on the
For example:
|
| Determines how capacity-based limits are set:
|
| 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 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. For more information, see Prioritizing Workloads. |
| Removes the prioritization flag from the QoS policy. |
| Sets the maximum allowed number of S3 connection. By default, no S3 connection limit is set. '0' means unlimited number of S3 connections is allowed. |
Example
vcli: admin> qospolicy modify --id 3 --mode STATIC --limit-by BW_IOPS
--static-limits max_reads_bw_mbps=1024,max_reads_iops=1024,max_writes_iops=2048