Rate This Document
Findability
Accuracy
Completeness
Readability

Applying the HAF Patch Package

  1. Obtain the patch file BoostKit-haf_1.2.0.SPC1.zip and upload it to the server. For details, see Obtaining the Patch Package.
  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.
      ./tools/haf-tool service --stop
      ./tools/haf-tool stop
  3. Decompress BoostKit-haf_1.2.0.SPC1.zip.
    unzip BoostKit-haf_1.2.0.SPC1.zip
  4. Replace the existing SO and binary files.
    • Replace the following files on the host node:
      chmod 700 -R haf-host/lib
      /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/
      chmod 500 -R haf-host/lib
      chmod 700 -R haf-host/bin/
      /usr/bin/cp -rf kmc_tool_bin haf-host/bin/
      chmod 500 -R haf-host/bin
      chmod 700 -R haf-host/tools/
      /usr/bin/cp -rf haf-tool haf-host/tools/
      chmod 500 -R haf-host/tools
    • Replace the following files on the offload node:
      chmod 700 -R haf-target/lib
      /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/
      chmod 500 -R haf-target/lib
      chmod 700 -R haf-target/bin/
      /usr/bin/cp -rf kmc_tool_bin haf-target/bin/
      chmod 500 -R haf-target/bin
      chmod 700 -R haf-target/tools/
      /usr/bin/cp -rf haf-tool haf-target/tools/
      chmod 500 -R haf-target/tools
  5. 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
    rm -f haf-tool
  6. Restart the HAF service and application.
    1. On the offload node, restart the HAF service.
      ./tools/haf-tool restart
    2. On the host node, restart the HAF service application.