Configuration File for Installing the HAF Service on an Offload Node
After the HAF service is installed on an offload node, a configuration file is generated in the /home/omm/haf-install/haf-target/etc/haf_offload.conf directory. This file is generated based on haf_target_install.conf and has some additional configuration items. Table 1 describes the new configuration items. For details about other configuration items, see the haf_target_install.conf file in Configuration Items for HAF Deployment.
Configuration Item |
Description |
Configurable Command Line |
|---|---|---|
ip_white_list_switch |
Indicates whether to enable the IP address trustlist on offload nodes. 1: enable (default); 0: disable. Use haf-tool to update the IP address trustlist. NOTICE:
If the IP address trustlist is disabled, IP addresses are not controlled, which may cause communication link attacks. For details, see Disabling the IP Address Trustlist Function. |
Yes |
target_tls_switch |
Indicates whether to enable TLS identity authentication and data encryption/decryption on offload nodes. The value of this parameter must be the same as that of target_tls_switch for the offload node. Otherwise, the communication fails. 1: enable (default); 0: disable. |
Yes |
user_list |
Information about the user who installs and runs the service. For example: { "user_directory": "/home/omm/haf-install/haf-target/run/haf_user", "user_id": 1027, "user_name": "omm" } |
No |
working_dir |
Run path of the haf_daemon process and service process. |
No |
The executor configuration file is generated in /install_dir/haf-target/run/haf_user/ after the operations in Deploying the HAF Application Service are performed. You are not advised to modify this configuration file.
Configuration Item |
Description |
Configurable Command Line |
|---|---|---|
executor_tag |
Tag of the current service. |
No |
keepalive |
Indicates whether the current executor is resident. 1: resident; 0: non-resident. |
No |
channel_timeout |
Timeout interval of the current user communication, in minutes. |
Yes |
executor_type |
Current service type. |
No |
main_func |
Main class of the current service. |
Yes |
jvm_config |
JVM configuration of the current service. |
Yes |
c_image_info |
C image information of the current service. |
No |
java_image_info |
Java image information of the current service. |
Yes |
jvm_classpath |
Java classpath of the current service. |
Yes |
service_name |
Name of the service on host nodes. |
No |
user_name |
Operator of the current service. |
No |