Red Hat Training

A Red Hat training course is available for Red Hat Virtualization

3.2. Virtual Machine Network Quality of Service

Virtual machine network quality of service is a feature that allows you to create profiles for limiting both the inbound and outbound traffic of individual virtual network interface controllers. With this feature, you can limit bandwidth in a number of layers, controlling the consumption of network resources.

3.2.1. Creating a Virtual Machine Network Quality of Service Entry

Create a virtual machine network quality of service entry to regulate network traffic when applied to a virtual network interface controller (vNIC) profile, also known as a virtual machine network interface profile.

Creating a Virtual Machine Network Quality of Service Entry

  1. Click ComputeData Centers.
  2. Click a data center’s name to open the details view.
  3. Click the QoS tab.
  4. Under VM Network, click New.
  5. Enter a Name for the virtual machine network quality of service entry.
  6. Enter the limits for the Inbound and Outbound network traffic.
  7. Click OK.

You have created a virtual machine network quality of service entry that can be used in a virtual network interface controller.

3.2.2. Settings in the New Virtual Machine Network QoS and Edit Virtual Machine Network QoS Windows Explained

Virtual machine network quality of service settings allow you to configure bandwidth limits for both inbound and outbound traffic on three distinct levels.

Table 3.1. Virtual Machine Network QoS Settings

Field NameDescription

Data Center

The data center to which the virtual machine network QoS policy is to be added. This field is configured automatically according to the selected data center.

Name

A name to represent the virtual machine network QoS policy within the Manager.

Inbound

The settings to be applied to inbound traffic. Select or clear the Inbound check box to enable or disable these settings.

  • Average: The average speed of inbound traffic.
  • Peak: The speed of inbound traffic during peak times.
  • Burst: The speed of inbound traffic during bursts.

Outbound

The settings to be applied to outbound traffic. Select or clear the Outbound check box to enable or disable these settings.

  • Average: The average speed of outbound traffic.
  • Peak: The speed of outbound traffic during peak times.
  • Burst: The speed of outbound traffic during bursts.

To change the maximum value allowed by the Average, Peak, or Burst fields, use the engine-config command to change the value of the MaxAverageNetworkQoSValue, MaxPeakNetworkQoSValue, or MaxBurstNetworkQoSValue configuration keys. You must restart the ovirt-engine service for any changes to take effect. For example:

# engine-config -s MaxAverageNetworkQoSValue=2048
# systemctl restart ovirt-engine

3.2.3. Removing a Virtual Machine Network Quality of Service Entry

Remove an existing virtual machine network quality of service entry.

Removing a Virtual Machine Network Quality of Service Entry

  1. Click ComputeData Centers.
  2. Click a data center’s name to open the details view.
  3. Click the QoS tab.
  4. Under VM Network, select a virtual machine network quality of service entry and click Remove.
  5. Click OK.