This command creates a QoS policy.
Usage
qospolicy create --name
[--policy-type VIEW|USER]
[--is-default]
[--tenant-id ID]
[--use-total-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]
[--s3-connections-limit LIMIT]
Required Parameters
| Specifies a name for the policy. |
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 |
| 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. |
| Sets the maximum allowed number of S3 connections. By default, no S3 connection limit is set. '0' means unlimited number of S3 connections is allowed. |
Example
vcli: admin> qospolicy create --name QoSpol1 --mode USED_CAPACITY
--capacity-limits max_reads_bw_mbps_per_gb_capacity=1024,max_writes_bw_mbps_per_gb_capacity=2048
--limit-by BW