Applying the HAF Patch Package
- Obtain the patch file BoostKit-haf_1.0-patch.zip and upload it to the server. For details, see Obtaining the Patches.
- Decompress BoostKit-haf_1.0-patch.zip.
unzip BoostKit-haf_1.0-patch.zip
- 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.
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/
- On the host node, stop the HAF service application and replace the following files:
- 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"
Parent topic: Applying Patches