HAF Configuration Files
The daemon configuration file is generated in /install_dir/haf-target/run/daemon/haf_daemon.conf after the daemon is installed.
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. |
√ |
cgroup_dir |
cgroup subdirectory. For details, see Prerequisites. |
× |
communication_port |
HAF service port. |
√ |
java_home |
Java installation path. |
× |
listen_ip |
IP address of the current offload node based on the value of service_ip in the installation configuration file or the value set in the command line. |
√ |
The executor configuration file is generated in /install_dir/haf-target/run/haf_user/executor.conf after the operations in Configuring 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. |
x |
keepalive |
Indicates whether the current executor is resident. 1: resident; 0: non-resident. |
x |
channel_timeout |
Timeout interval of the current user communication, in minutes. |
√ |
executor_type |
Current service type. |
x |
main_func |
Main class of the current service. |
√ |
jvm_config |
JVM configuration of the current service. |
√ |
c_image_info |
C image information of the current service. |
x |
java_image_info |
Java image information of the current service. |
√ |
jvm_classpath |
Java classpath of the current service. |
√ |
service_name |
Name of the service on host nodes. |
x |
user_name |
Operator of the current service. |
x |
The HAF configuration file does not support automatic backup and restoration. Do not delete it.