Installation Commands
External installation interfaces in the script
- Host node:
./haf_installer -m <mode> -p <package> -t <target_dir>
The -p option specifies the software package to be installed on the host node. An initial certificate is generated based on the haf_host_install.conf file. The haf_host_install.conf file is in the install-config folder in the same directory as the haf_installer script.
Replace the /opt/haf-software directory based on site requirements.
- Offload node:
./haf_installer -m <mode> -p <package> -t <target_dir> -w <ip_white_list> -j <java_home> -i <service_ip_duration>
Option |
Description |
Mandatory |
Host Node |
Offload Node |
|---|---|---|---|---|
-m <mode> |
Indicates whether the installation is performed on a host node or offload node. Possible values are host and offload. |
√ |
√ |
√ |
-p <package> |
Installation package, for example, haf-target-1.0.tar.gz |
√ |
√ |
√ |
-t <target_dir> |
Root directory for installing the software package. The default value is /opt. |
x |
√ |
√ |
-w <ip_white_list> |
IP address trustlist. Example: 127.0.0.1,10.10.0.2. This parameter is left blank by default. NOTE:
The trustlist is used to verify the IP addresses of host nodes. Connections that are not in the trustlist will be rejected. If IP address trustlist verification is enabled but the trustlist is not configured, an offload node rejects connection requests from all host nodes. |
x |
x |
√ |
-j <java_home> |
Java installation path on a node. The default value is the value configured in haf_target_install.conf. NOTE:
The Java installation path varies depending on the installation conditions. You are advised to configure it based on system requirements. |
x |
x |
√ |
-i <service_ip_duration> |
Listening IP address segment of the offload node. The format is 10.10.0.0/24. The default value is the value configured in the haf_target_install.conf file. NOTE:
The default listening IP address segment differs greatly from the onsite running network segment. You are advised to configure the listening IP address segment based on your requirements. |
x |
x |
√ |
haf-tool provides the following installation interfaces:
Option |
Description |
Mandatory |
|---|---|---|
-t instal_dir |
Directory for installing the software package. The default value is /opt. |
x |
--host |
The operation is performed on a host node. |
√ (host node) |
--offload |
The operation is performed on an offload node. |
√ (offload node) |