Configuring volume Quality of Service (QoS)
Another feature provided by Cinder is the ability to define and manage classes of service for volumes. Like volume encryption, Quality of Service (QoS) in Cinder is configured by volume type. By default, you can define values for minimum, maximum, and burst IOPS.
Getting ready
To configure volume QoS, you will need the following information:
An
openrc
file with appropriate credentials for the environment (you need to be an administrator)The
openstack
command-line clientThe name or ID of the volume type
The consumer of the QoS policy
Values for the following:
Minimum IOPS
Maximum IOPS
Burst IOPS
Note
Only one of the three (min, max, and burst) needs to be provided to define a minimal QoS policy.
For our example, these will be as follows:
Name:
High IOPS
Consumer:
both
Maximum IOPS:
500
How to do it…
For Cinder volumes to use QoS, an administrator needs to perform two steps: first, define the specification, and second, to associate the specification with a volume...