Updated on 2024-12-16 GMT+08:00

Installing PV Drivers

This section only applies to Xen ECSs, which have been discontinued and no longer been available for new users. For details, see Discontinued ECS Specifications If you are a new user or you are an existing user that will use this image to create a non-Xen ECS, skip this section.

Scenarios

Before using an ECS or external image file to create a private image, ensure that PV drivers have been installed in the OS so that ECSs created from this image can support Xen virtualization, the I/O performance can be improved, and advanced functions such as hardware monitoring can be available.

If you do not install PV drivers, the ECS network performance will be poor, and the security groups and firewall configured for the ECS will not take effect.

PV drivers have been installed by default when you use a public image to create ECSs. You can perform the following operations to verify the installation:

Open the version configuration file to check whether the PV drivers are the latest:

C:\Program Files (x86)\Xen PV Drivers\bin\version

Prerequisites

  • An OS has been installed for the ECS, and an EIP has been bound to the ECS.
  • The remaining capacity of the ECS system disk must be greater than 32 MB.
  • If the ECS uses Windows 2008, you must install PV drivers as an administrator.
  • The PV driver package has been downloaded on the ECS. For how to obtain the software package, see Obtaining Required Software Packages.
  • To avoid an installation failure, perform the following operations before starting the installation:
    • Uninstall third-party virtualization platform tools, such as Citrix Xen Tools and VMware Tools. For how to uninstall the tools, see the corresponding official documents of the tools.
    • Disable your anti-virus and intrusion detection software. You can enable them after PV drivers are installed.

Installing PV Drivers

  1. Log in to the Windows ECS using VNC.

    For details about how to log in to an ECS, see Login Overview.

    You must log in to the ECS using VNC. Remote desktop connection is not allowed because the NIC driver needs to be updated during the installation but the NIC is in use for the remote desktop connection. As a result, the installation will fail.

  2. On the ECS, choose Start > Control Panel.
  3. Click Uninstall a program.
  4. Uninstall GPL PV drivers for Windows x.x.x.xx as prompted.
  5. Download PV drivers of the required version based on the ECS OS and Obtaining Required Software Packages.
  6. Decompress the PV driver package.
  7. Right-click GPL PV Drivers for Windows x.x.x.xx, select Run as administrator, and complete the installation as prompted.
  8. Restart the ECS as prompted to make the PV drivers take effect.

    ECSs running Windows Server 2008 must be restarted twice.

    After the PV drivers are installed, the ECS NIC configuration will be lost. If you have configured NICs before, you need to configure them again.

Installing the PV Driver Upgrade Package

  1. Log in to the Windows ECS using VNC.

    For details about how to log in to an ECS, see Login Overview.

    You must log in to the ECS using VNC. Remote desktop connection is not allowed because the NIC driver needs to be updated during the installation but the NIC is in use for the remote desktop connection. As a result, the installation will fail.

  2. On the ECS, choose Start > Control Panel.
  3. Choose Programs > Uninstall a program, find PV drivers, and uninstall them.
  4. After the uninstallation is complete, restart the ECS to clear the environment.
  5. Download pvdriver-windows.zip from the following link:

    https://ecs-instance-driver.obs.cn-north-1.myhuaweicloud.com/pvdriver-windows.zip

  6. Download pvdriver-windows.zip from the following link:
  7. Click Setup.exe to install new PV drivers. The package will automatically adapt to the OS version.
  8. Restart the ECS as prompted to make the PV drivers take effect.

    ECSs running Windows Server 2008 must be restarted twice.

    After the PV drivers are installed, the ECS NIC configuration will be lost. If you have configured NICs before, you need to configure them again.

Verifying the Installation

Perform the following steps to verify the installation of PV drivers:

  1. Click Start. Choose Control Panel > Programs and Features.
  2. Locate PV drivers for Windows.

    If PV drivers for Windows exist, the installation is successful, as shown in Figure 1.

    Figure 1 Verifying the installation