Rate This Document
Findability
Accuracy
Completeness
Readability

Installing HAF

For the settings in the following installation examples, see Installation Using SmartKit. Change the settings based on your requirements.

  1. Create a /home/omm/omnidata-software directory on all nodes, upload BoostKit-haf_1.3.0.zip obtained from Obtaining Software to this directory, and decompress the package.
    mkdir -p /home/omm/omnidata-software
    cd /home/omm/omnidata-software
    unzip BoostKit-haf_1.3.0.zip
    tar -zxvf haf-1.3.0.tar.gz
    tar -zxvf haf-tool-1.3.0.tar.gz
  2. Install the HAF software package on the offload nodes (ceph1, ceph2, and ceph3).

    If you need to modify the installation configuration file before the installation, see 2.

    cd /home/omm/omnidata-software
    ./haf_installer -m lib -p /home/omm/omnidata-software/haf-target-1.3.0.tar.gz -i listen_ip_duration -w ip_white_list -j java_home -t install_dir -s communication_port

    The script parameters are described as follows:

    • -m lib: installing HAF on the offload nodes in client/server decoupled scenarios. This parameter is mandatory.
    • -p /home/omm/omnidata-software/haf-target-1.3.0.tar.gz: path of 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/omnidata-install. This parameter is mandatory and must be created before the installation.
    • -s communication_port: service listening port. The default value is 17531. This parameter is optional.
  3. Install the HAF software package on the compute nodes (agent1, agent2, and agent3).

    If you need to modify the installation configuration file before the installation, see 2.

    ./haf_installer -m host -p /home/omm/omnidata-software/haf-host-1.3.0.tar.gz -t /home/omm/omnidata-install -s communication_port

    The script parameters are described as follows:

    • -m host: installing HAF on the compute node. This parameter is mandatory.
    • -p /home/omm/omnidata-software/haf-host-1.3.0.tar.gz: path of the HAF installation package for the compute node. This parameter is mandatory.
    • -t /home/omm/omnidata-install: root installation directory of the software package on the compute node. This parameter is mandatory and must be created before the installation.
    • -s communication_port: service listening port. The default value is 17531. This parameter is optional.