Applying the HAF Patch Packages
- 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.
- Stop the HAF application and service.
- On the host node, stop the HAF service application.
- 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"
- Decompress BoostKit-haf_1.0-patch.zip.
unzip BoostKit-haf_1.0-patch.zip
- 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/
- Replace the following files on the host node:
- 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
- Decompress BoostKit-haf_1.0.SPC2.zip.
unzip BoostKit-haf_1.0.SPC2.zip
- 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/
- Replace the following files on the host node:
- 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
- Restart the HAF service and application.
- On the offload node, restart the HAF service.
su -s /bin/bash - haf -c "haf-tool restart"
- On the host node, restart the HAF service application.
- On the offload node, restart the HAF service.
Parent topic: Applying Patches