Changing the miniops and maxiops QoS parameters from the command line

HyperScale ensures that your virtual machines perform at a consistent quality of service (QoS). Two parameters (miniops and maxiops) define the minimum and maximum number of I/Os per second (IOPS) for the vDisk. To define the QoS for your virtual machine, you can do one of the following:

This section describes the second approach.

The format of the hyperscale qos-sla-update command is:

hyperscale qos-sla-update [--miniops min_iops] \
[--maxiops max_iops] vdisk_id

To change the quality of service parameters from the command line

  1. Obtain the ID of the vDisk whose QoS you want to change.
    • Navigate to Project > Compute > Volumes.

    • In the Volumes table, click the instance name.

    • On the Volumes details page, on the Overview tab, note the ID. That is the vDisk ID to use.

  2. Run the hyperscale qos-sla-update to modify one or both of the QoS parameters. For example, the following command sets the minimum IOPS for the vDisk to 100.
    # hyperscale qos-sla-update --miniops 100 \
    01310622-28a9-4fa1-bcb7-9c3d4dea8765

    The following command sets the maximum IOPS to 1000.

    # hyperscale qos-sla-update --maxiops 1000 \
    01310622-28a9-4fa1-bcb7-9c3d4dea8765