Creating a QoS Policy

Prev Next

Creating a QoS Policy via VAST Web UI

  1. From the left navigation menu, select Element Store and then QoS Policies.

  2. Click Create QoS Policy to open the  Add QoS Policy dialog.

  3. In the General tab:

    • Enter a name for the QoS policy in the Name field.

    • If you are going to create a QoS policy for a view, choose View and proceed to step 4. If you are creating a QoS policy for a user, choose User and proceed to step 5.

      Depending on your choice, either View or User tab is now available, where you can make further settings.

  4. To create a QoS policy for a view, complete the fields in the View tab:

    • In Limit QoS by, leave Total (default) if you want to set QoS limits that cap the total amount of read, write and metadata operations, or select  Read/Write to be able to set different QoS limits per operation type (one for reads and another for writes).

    • Under Static Limits, specify static QoS limits per view.QoS Overview

      For each of the limits , '0' means no limit is set.

      • To restrict the bandwidth, fill in the fields following the BW column:

        • Min. The minimum guaranteed bandwidth.

        • Max. The maximum allowed bandwidth.

        • Burst. The maximum burst  bandwidth that can be provided while there are accumulated bandwidth credits.QoS Overview

        • Credits. The maximum amount of bandwidth credits that can be accumulated.QoS Overview

      • To restrict the amount of IOPS, fill in the fields following the IOPS column:

        • Min. The minimum IOPS to provision.

        • Max. The maximum allowed IOPS.

        • Burst. The maximum burst IOPS that can be provided while there are accumulated IOPS credits.QoS Overview

        • Credits. The maximum amount of IOPS credits that can be accumulated.QoS Overview

    • Under Capacity Limits, specify capacity-based QoS limits per unit of used or provisioned logical capacity. QoS Overview

      • Choose whether you want to limit Used Capacity or Provisioned Capacity.  

        Note

        Leaving the default value of None means no capacity-based limits are used.

      • Enter the limits in the fields below.

        For each of the limits , '0' means no limit is set.

        • Read BW per GB. Maximum read bandwidth (in MB/s) to provision per GB of used or provisioned logical capacity.

        • Read IOPS per GB. Maximum read IOPS to provision per GB of used or provisioned logical capacity.

        • Write BW per GB. Maximum write bandwidth (in MB/s) to provision per GB of used or provisioned logical logical capacity.

        • Write IOPS per GB. Maximum write IOPS to provision per GB of used or provisioned logical capacity.

  5. To create a QoS policy for one or more users, complete the fields in the User tab:

    • Determine the scope of the user QoS policy:

      • Set Use as default QoS policy if you want the policy to apply to all users under the current VAST Cluster tenant.

        Caution

        Enabling this option resets the list of attached Users below.

      • Select Users to attach the policy to individual users. In the popup that opens, start typing a user's name in the Select users field to look up and auto-populate users.

    • Under Static Performance Limits, specify static QoS limits for user(s): QoS Overview

      • Select an appropriate unit of measurement in the Units field,

      • Enter the limits in the fields below.

        For each of the limits , '0' means no limit is set.

        • To restrict the bandwidth, fill in the fields following the BW column, separately for Read and Write operations:

          • Min. The minimum bandwidth to provision.

          • Max. The maximum allowed bandwidth.

          • Burst. The maximum burst bandwidth that can be provided while there are accumulated bandwidth credits.QoS Overview

          • Credits. The maximum amount of bandwidth credits that can be accumulated.QoS Overview

        • To restrict the amount of IOPS, fill in the fields following the IOPS column, separately for Read and Write operations:

          • Min. The minimum IOPS to provision. This limit can only be set when Mode is Static.

          • burstMax. The maximum allowed IOPS.QoS Overview

          • Burst. The maximum burst IOPS that can be provided while there are accumulated IOPS credits.QoS Overview

          • Credits. The maximum amount of IOPS credits that can be accumulated.QoS Overview

      • Under S3 Client Connections Limits, optionally click Set Manually and enter the maximum allowed number of S3 connections in the S3 Maximum Connections field. if you do not want to restrict the number of S3 connections per user, use the default of Unlimited.QoS Overview

  6. Click Create.

    The policy is created and can be assigned to a view or to one or more users respectively.

Creating a QoS Policy via VAST CLI

To create a view QoS policy:

To create a user QoS policy:

  1. Run the qospolicy create command with --policy-type USER.

  2. Run the qospolicy attach-user command for the newly created QoS policy.