我要评分
获取效率
正确性
完整性
易理解

Configuring the oVirt VM Network

To ensure that VMs in the cluster can communicate with each other, you need to configure the oVirt VM network. Before that, ensure that the BIOS and boot parameters have been configured.

  1. Check whether the BIOS and boot parameters have been configured. For details, see Configuring the Environment.
    You can run the following command to check whether the environment is successfully configured:
    dmesg | grep iommu

    An example of the expected result:

  2. Click a VM name to go to the VM configuration page. On this page, click Host Devices. The host device page is displayed.

  3. On the host device page, click Add device in the upper right corner. The Add Host Devices page is displayed, as shown in Figure 1. On the Add Host Devices page, select available Mellanox CX5 network ports on the physical machine, click to add them to the host device, and click OK to save the information.

    You can log in to the server and run the following command to view the available Mellanox CX5 network ports on the physical machine:

    lspci | grep -i net

    Figure 1 Add Host Devices
  4. After a host device is added, click Run to start the VM.

    After a VM is created, the VM is in the Down state.

  5. Check whether the network is successfully configured.
    1. Check the VM XML file and ensure that the <hostdev> tag exists.
      virsh edit VM1
    2. Log in to the VM and configure the network port IP address.