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

Configuration Items for HAF Deployment

Before the deployment, you can modify the default configuration items based on site requirements. The configuration file is stored in haf-tool-1.2.0.tar.gz. During the installation, the decompressed configuration file is stored in /home/omm/haf-software/install-config. The following table describes the configuration items. (During the installation, the following configuration files are copied to the corresponding installation directory, for example, /home/omm/haf-install/haf-target/.)

You are advised to set the items that cannot be configured by haf-tool during deployment and installation. For details, see Deploying OmniData.

Classification

Configuration Item

Default Value

Description

Configurable by haf-tool

Configuration file for installation on an offload node

haf_target_install.conf (used only during installation and deployment)

log_directory

TARGET_DIR/logs/

Root directory for storing HAF system logs. After the installation, TARGET_DIR is replaced with the directory where haf-target is located, for example, /home/omm/haf-install/haf-target/.

x

service_ip

"0.0.0.0/0"

IP address segment that HAF listens to. During the installation, the system automatically matches the IP address that meets the requirements based on the value of this parameter. Example: ["10.10.0.0/24", "192.168.1.0/24"].

NOTE:

You are advised to set this parameter based on the actual application scenario. Otherwise, the IP address to be listened cannot be found based on the default value.

java_home

JAVA_HOME

The JAVA_HOME configuration item is automatically parsed and replaced with the actual value based on the Java environment during the installation.

×

resource

"daemon": {

"cpu": 2,

"mem": 2048

},

"haf_user": {

"cpu": -1,

"mem": -1

}

HAF system resource configuration. Configure as many resources as possible for HAF on the premise of not affecting user services. -1 indicates that the resource usage is not limited.

cert_check_period_time

7

Alarm interval for certificate expiration on an offload node, in days

x

cert_warning_time

30

Number of days in advance for generating an alarm for certificate expiration on an offload node

x

crl_check_period_time

3

CRL expiration alarm period on the offload node, in days.

x

crl_warning_time

30

Time for generating an alarm before the CRL on the offload node expires, in days.

x

cgroup_dir

CGROUP_DIR

cgroup subdirectory created in Prerequisites, which will be replaced with omm_haf after the installation.

x

communication_port

17531

HAF communication port. The default value is 17531.

Configuration file for installation on a host node

haf_host_install.conf (used only during installation and deployment)

cert_check_period_time

7

Alarm interval for certificate expiration on a host node, in days

x

cert_warning_time

30

Number of days in advance for generating an alarm for certificate expiration on a host node

x

crl_check_period_time

3

CRL expiration alarm period on the host node, in days.

×

crl_warning_time

30

Time for generating an alarm before the CRL on the host node expires, in days.

×

cert_path

HOST_DIR/omnidata

Path for generating a certificate on the host node. After the installation is complete, HOST_DIR is replaced with the absolute path of haf-host.

x

channel_timeout

120

Timeout interval for a host node to deliver tasks, in minutes. The value ranges from 0 to 43,200.

x

communication_port

17531

HAF communication port. The default value is 17531.

offload_iplist

-

Used to preset the IP address list of the offload nodes

x

service_name

omnidata

Service name of a host node

x