Installing HAF on Offload Nodes
- Install the HAF software package on the offload nodes (ceph1, ceph2, and ceph3). Select ceph1, ceph2, and ceph3 and configure the offload nodes.
Select all offload nodes and click Configure Service.

- Modify the installation configuration file.
The certificate verification period is used as an example. The default period is 7 days. To change the period to 6 days, run the following commands:
cd /home/omm/omnidata-software
sed -i 's/\"cert_check_period_time\": 7/\"cert_check_period_time\": 6/g' install-config/haf_target_install.conf
- Skip this step if the default configuration file haf_target_install.conf in Configuration Items for HAF Deployment meets your service requirements.
- When installing HAF on an offload node, you can modify the haf_target_install.conf file to modify the installation configuration in a batch. For details about the options that can be modified, see Configuration Items for HAF Deployment.
- You are advised to use the configuration file to modify the options that cannot be modified by haf-tool.
- To modify other options, you can run related commands as required. The preceding example is for reference only.
- Select Custom and click Next.

- Select Command Execution and click Add a Task.

- Set task 1 parameters and click Save.
Table 1 Parameter description Parameter
Description
Task Name
Changing the certificate verification period
Task Description
Changing the certificate verification period
Run Directory
/home/omm/omnidata-software
Run Command
sed -i 's/\"cert_check_period_time\": 7/\"cert_check_period_time\": 6/g' install-config/haf_target_install.conf
Whether to Check Return Code
Yes
Expected Return Code
0

- Save the settings. Then, click Run Service to execute the service flow.

- To modify multiple options, you can configure multiple commands in Run Command and separate them with semicolons (;).
- Run the following command to change the certificate verification period:
sed -i 's/\"cert_check_period_time\": 7/\"cert_check_period_time\": 6/g' install-config/haf_target_install.conf
- Install HAF on offload nodes.
- Select all offload nodes and click Configure Service.

- Select Custom and click Next.

- Select Command Execution and click Add a Task.

- Set task 1 parameters and click Save.

- Execute the service flow. Click Finish in the lower right corner and then click Run Service to execute the service flow.
- Select all offload nodes and click Configure Service.