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 modify --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>] [--s3-conns-limit-per-cnode-pct <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 overall limit on S3 connections for the user. This limit restricts the total number of S3 connections that can be opened by the user to the VAST cluster (across all CNodes). By default, no overall limit on S3 connections is set. '0' (zero) means that unlimited number of S3 connections is allowed. |
| Sets the CNode percentage limit on S3 connections for the user. This limit restricts the amount of CNode connection capacity that the user is allowed to consume, for any CNode in the cluster. NOTE: The CNode percentage limit can be set with VAST Cluster 5.4.6 and later. By default, no CNode percentage limit is set. '0' (zero) means that unlimited number of S3 connections is allowed per CNode. |
| 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