Applying the HAF Patch Package
- Obtain the patch file BoostKit-haf_1.2.0.SPC1.zip and upload it to the server. For details, see Obtaining the Patch Package.
- Stop the HAF application and service.
- On the host node, stop the HAF service application.
- On the offload node, stop the HAF service.
./tools/haf-tool service --stop ./tools/haf-tool stop
- Decompress BoostKit-haf_1.2.0.SPC1.zip.
unzip BoostKit-haf_1.2.0.SPC1.zip
- 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
- 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 rm -f haf-tool
- Restart the HAF service and application.
- On the offload node, restart the HAF service.
./tools/haf-tool restart
- On the host node, restart the HAF service application.
- On the offload node, restart the HAF service.
Parent topic: Applying Patches