Rate This Document
Findability
Accuracy
Completeness
Readability

Applying the HAF Patch Packages

  1. Obtain the patch files BoostKit-haf_1.0-patch.zip and BoostKit-haf_1.0.SPC2.zip, and upload them to the server. For details, see Obtaining the Patch Packages.
  2. Stop the HAF application and service.
    1. On the host node, stop the HAF service application.
    2. On the offload node, stop the HAF service.
      su -s /bin/bash - haf -c "haf-tool service --stop"
      su -s /bin/bash - haf -c "haf-tool stop"
  3. Decompress BoostKit-haf_1.0-patch.zip.
    unzip BoostKit-haf_1.0-patch.zip
  4. Replace the existing SO and binary files.
    • Replace the following files on the host node:
      /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/
    • Replace the following files on the offload node:
      /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/
  5. Delete the patch files.
    rm -f libhaf_link_host.so
    rm -f libhaf_link_target.so
    rm -f libssl.so.1.1
    rm -f libcrypto.so.1.1
    rm -f verification
  6. Decompress BoostKit-haf_1.0.SPC2.zip.
    unzip BoostKit-haf_1.0.SPC2.zip
  7. Replace the existing SO and binary files.
    • Replace the following files on the host node:
      /usr/bin/cp -rf libhaf_link_host.so haf-host/lib/
      /usr/bin/cp -rf libkmc_tool.so haf-host/lib/
      /usr/bin/cp -rf libkmc.so.3.2.0 haf-host/lib/
      /usr/bin/cp -rf libsdp.so.3.2.0 haf-host/lib/
      /usr/bin/cp -rf kmc_tool_bin haf-host/bin/
    • Replace the following files on the offload node:
      /usr/bin/cp -rf libhaf_link_target.so haf-target/lib/
      /usr/bin/cp -rf libkmc_tool.so haf-target/lib/
      /usr/bin/cp -rf libkmc.so.3.2.0 haf-target/lib/
      /usr/bin/cp -rf libsdp.so.3.2.0 haf-target/lib/
      /usr/bin/cp -rf kmc_tool_bin haf-target/bin/
  8. Delete the patch files.
    rm -f libhaf_link_host.so
    rm -f libhaf_link_target.so
    rm -f libkmc_tool.so
    rm -f libkmc.so.3.2.0
    rm -f libsdp.so.3.2.0
    rm -f kmc_tool_bin
  9. Restart the HAF service and application.
    1. On the offload node, restart the HAF service.
      su -s /bin/bash - haf -c "haf-tool restart"
    2. On the host node, restart the HAF service application.