This command creates a QoS policy.
Usage
To create a view QoS policy:
qospolicy create --name <NAME> --policy-type VIEW [--tenant-id <ID>] [--limit-by {BW_IOPS|BW|IOPS}] [--static-limits <LIMITS>] | [--use-total-limits --static-total-limits <LIMITS>] [--capacity-limits <LIMITS> --mode <MODE>] | [--use-total-limits --capacity-total-limits <LIMITS> --mode <MODE>] [--is-gold]To create a user QoS policy:
qospolicy create --name <NAME> --policy-type USER [--tenant-id <ID>] [--is-default] [--attached-iam-roles <ROLES>] [--limit-by {BW_IOPS|BW|IOPS}] [--static-limits <LIMITS>] | [--use-total-limits --static-total-limits <LIMITS>] [--s3-connections-limit <LIMIT>]
Required Parameters
| Specifies a name for the QoS policy. |
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: |
| 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. |
Example
vcli: admin> qospolicy create --name QoSpol1 --mode USED_CAPACITY --use-separate-limits --capacity-limits max_reads_bw_mbps_per_gb_capacity=1024,max_writes_bw_mbps_per_gb_capacity=2048 --limit-by BW