Rate This Document
Findability
Accuracy
Completeness
Readability

Applying the HAF Patch Package

  1. Obtain the patch file BoostKit-haf_1.0-patch.zip and upload it to the server. For details, see Obtaining the Patches.
  2. Decompress BoostKit-haf_1.0-patch.zip.
    unzip BoostKit-haf_1.0-patch.zip
  3. Stop the application and then replace the SO and binary files.
    • On the host node, stop the HAF service application and replace the following files:
      /usr/bin/cp -rf libhaf_link_host.so haf-host/lib/
      /usr/bin/cp -rf libssl.so.1.1 haf-host/lib/
      /usr/bin/cp -rf libcrypto.so.1.1 haf-host/lib/
      /usr/bin/cp -rf verification haf-software/bin/
    • On the offload node, stop the HAF service and replace the files.

      Stop the HAF service:

      su -s /bin/bash - haf -c "haf-tool service --stop"
      su -s /bin/bash - haf -c "haf-tool stop"
      Replace the following files:
      /usr/bin/cp -rf libhaf_link_target.so haf-target/lib/
      /usr/bin/cp -rf libssl.so.1.1 haf-target/lib/
      /usr/bin/cp -rf libcrypto.so.1.1 haf-target/lib/
      /usr/bin/cp -rf verification haf-software/bin/
  4. Restart the service.
    • On the host node, restart the HAF service application.
    • On the offload node, restart the HAF service.
      su -s /bin/bash - haf -c "haf-tool restart"