Installing HPD

Hotplug Daemon (HPD) is customer software installed in a BMS OS in the cloud environment.

An Hi1823 NIC provides a Hot Plug Controller Emulator PF for a BMS. The PF is used as a message channel for hot swap events. HPD takes over the PF and uses the native VFIO driver to present it to users.

Obtaining the Software Package

Download the software package at Support > Software > Huawei Cloud > Huawei Public Cloud > Computing Infrastructure.

The software package contains the following packages:

  • HPD package (AArch64): hotplug-daemon-xx.xx.xx.xx.aarch64.rpm

  • HPD package (x86): hotplug-daemon-xx.xx.xx.xx.x86.rpm

Prerequisite

  1. The HPD package has been downloaded to the client.

    The installation package name is hotplug-daemon-<version>-<release>.<arch>.rpm.

  2. The installation package has been uploaded to the BMS OS.

  3. The BMS OS must support VFIO.

Installing HPD

  1. Log in to the BMS OS.

  2. Install HPD.

    Run rpm -ivh hotplug-daemon-xxxx-xxxx.xxx.rpm.

    [root@localhost debug]# rpm -ivh hotplug-daemon-16.1.8.1-1.aarch64.rpm
    Verifying...                          ################################# [100%]
    Preparing...                          ################################# [100%]
    Updating / installing...
       1:hotplug-daemon-16.1.8.1-1        ################################# [100%]
    
  3. Restart the BMS.

Upgrading HPD

  1. Log in to the BMS OS.

  2. Upgrade HPD.

    Run rpm -Uvh hotplug-daemon-xxxx-xxxx.xxx.rpm.

    [root@localhost debug]# rpm -Uvh hotplug-daemon-16.1.8.1-1.aarch64.rpm
    Verifying...                          ################################# [100%]
    Preparing...                          ################################# [100%]
    Updating / installing...
       1:hotplug-daemon-16.1.8.1-1        ################################# [ 50%]
    Cleaning up / removing...
       2:hotplug-daemon-16.1.1.1-1       ################################# [100%]
    
  3. Restart HPD.

    Run service hpd restart.

    [root@localhost ~]# service hpd restart
    Redirecting to /bin/systemctl restart hpd.service