Transferring the HAF Installation Package
Transfer the HAF program package to the offload and host nodes, decompress the package, run the installation scripts, and generate the corresponding configurations and scripts.
- Use the file transfer function to copy the HAF software package prepared in Obtaining Software to all offload and host nodes.
- Select all offload nodes and host nodes and click Configure Service.

- Select Custom and click Next.

- Select File Transfer and click Add a Task.

- Set task 1 parameters and click Save.
Table 1 Task 1 parameters Parameter
Description
Task Name
Transferring the HAF package
Task Description
Copying the HAF installation package to all nodes
Transfer Direction
From Local to Remote
Local Path
Directory where the local installation package is stored
Remote Path
/home/omm/haf-software

- You can modify the italic characters in Table 1 based on site requirements.
- If the /home/omm/haf-software directory does not exist in the cluster, create one in advance. You can select all nodes in SmartKit and run the mkdir -p /home/omm/haf-software command in the run directory to execute the service flow.
- Select all offload nodes and host nodes and click Configure Service.
- Decompress the transferred HAF software package and decompress the script tool package in the software package.
- Select Command Execution and click Add a Task.

- Set task 2 parameters and click Save.
Table 2 Task 2 parameters Parameter
Description
Task Name
Decompressing the HAF package
Task Description
Decompressing the HAF and HAF-Tool packages
Run Directory
/home/omm/haf-software
Run Command
unzip BoostKit-haf_1.4.0.zip; tar -zxvf haf-1.4.0.tar.gz; tar -zxvf haf-tool-1.4.0.tar.gz
Whether to Check Return Code
Yes
Expected Return Code
0

- Select Command Execution and click Add a Task.
- Export the service flow and save it to your local PC. You can import service flows to quickly install other components.
- Click Export in the upper right corner. A dialog box is displayed for you to select a path for saving the template.

- Name the template Transferring and decompressing files and click Save.

- Click Export in the upper right corner. A dialog box is displayed for you to select a path for saving the template.
- Execute the service flow.
Click Finish in the lower right corner and then click Run Service to execute the service flow.