我要评分
获取效率
正确性
完整性
易理解

Performing the Installation

  1. Install the HAF software package on offload nodes.

    If you need to modify the installation configuration file before the installation, see step 2 in Installing HAF on Offload Nodes.

    Install the software package on offload nodes (ceph1, ceph2, and ceph3).

    cd /home/omm/haf-software
    ./haf_installer -m offload -p  /home/omm/haf-software/haf-target-1.2.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 HAF on the offload node. This parameter is mandatory.
    • -p /home/omm/haf-software/haf-target-1.2.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. 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.
  2. Install the HAF software package on host nodes.

    If you need to modify the installation configuration file before the installation, see step 2 in Installing HAF on Host Nodes.

    Install the software package on host nodes (agent1, agent2, and agent3).

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

    The script parameters are described as follows:

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