Installing the HAF Service on an Offload Node
If you need to modify the installation configuration file before the installation, see step 2 in Installing the HAF Service on an Offload Node.
cd /home/omm/haf-software ./haf_installer -m offload -p /home/omm/haf-software/haf-target-1.3.0.tar.gz -i listen_ip_duration -w ip_white_list -j java_home -t install_dir -c cgroup_dir -s communication_port
The script parameters are described as follows:
- -m offload: installing the HAF service on the offload node. This parameter is mandatory.
- -p /home/omm/haf-software/haf-target-1.3.0.tar.gz: path to the HAF installation package for the offload node. This parameter is mandatory.
- -i listen_ip_duration: listening IP address segment of the offload node (format: 10.10.0.1/24). During the installation, HAF matches and binds the IP address of the offload node. This parameter is optional.
- -w ip_white_list: IP address trustlist. The value can be an IP address or IP address segment. Use commas (,) to separate multiple values, for example, 127.0.0.1,10.10.0.2,10.10.10.0/24. This parameter is optional.
- -j java_home: Java installation path on the node. This parameter is optional. If this parameter is left blank, the value is automatically parsed based on the system environment variables during installation.
- -t install_dir: root installation directory of the software package on the offload node. In the example, the value is /home/omm/haf-install. This parameter is mandatory.
- -c cgroup_dir: cgroup subdirectory created in Prerequisites for Installing HAF. In the example, the value is omm_haf. This parameter is mandatory.
- -s communication_port: service listening port. The default value is 17531. This parameter is optional.
Parent topic: Installing HAF