Directory Description
You can specify the directory for storing the HAF installation package. This document uses the omm user and the cgroup subdirectory omm as an example. During the installation, select /home/omm/omnidata-software as the directory for storing the software installation package and /home/omm/omnidata-install as the software installation directory. After HAF is installed on the host node, the haf-host directory is generated in /home/omm/omnidata-install. After HAF is installed on the offload node, the haf-offload directory is generated in /home/omm/omnidata-install.
- The HAF installation package contains three software packages: haf-host, haf-target, and haf-tool. After HAF is installed on the host node, all related files are stored in /home/omm/omnidata-install/haf-host. After HAF is installed on the offload node, all related files are stored in /home/omm/omnidata-install/haf-offload. The haf-tool software package is used to run maintenance commands.
- You can specify the directory for storing the OmniData installation package. In this document, the /home/omm/omnidata-software directory is used as the directory for storing the installation package, and the /home/omm/omnidata-install directory is used as the root directory for installing the software. After the OmniData program package is decompressed, the omnidata and omnidata-setup directories are generated. All related files are stored in /home/omm/omnidata-install/omnidata and /home/omm/omnidata-install/omnidata-setup.
Table 1 describes the installation packages and their installation directories.
The /home/omm/omnidata-software directory created by users is used only for running installation packages and scripts. The /home/omm/omnidata-install directory is used for service running.
Installation Node |
Directory Category |
Directory Name |
Description |
|---|---|---|---|
All nodes (management nodes + compute nodes + storage nodes) |
Directory for storing software packages |
/home/omm/omnidata-software |
Stores BoostKit-haf_1.3.0.zip. The haf-1.3.0.tar.gz package extracted from BoostKit-haf_1.3.0.zip contains the software package, tool script package, and installation configuration file required for HAF installation, which are: haf-host-1.3.0.tar.gz, haf-target-1.3.0.tar.gz, haf-tool-1.3.0.tar.gz Stores the software package BoostKit-omnidata_1.4.0.zip required for OmniData installation. NOTE:
Scripts for deployment and installation are contained in haf-tool-1.3.0.tar.gz. Decompress haf-tool-1.3.0.tar.gz before installation. The decompressed files are described as follows:
|
Host nodes (management nodes + compute nodes) |
Installation directory of HAF on the host node |
/home/omm/omnidata-install/haf-host/bin |
Stores the binary file of the software on the host node, for example, kmc_tool_bin. |
/home/omm/omnidata-install/haf-host/lib |
Stores dynamic libraries and JAR packages of the host node, for example, libcrypto.so, libhaf_common.so, libhaf_link_host.so, libhaf_offload_host.so, libkmc.so, libkmc_tool.so, liblog.so, libsdp.so, libsecurec.so, libssl.so, and jar/haf-1.3.0.jar. |
||
/home/omm/omnidata-install/haf-host/tools |
|||
/home/omm/omnidata-install/haf-host/logs |
Default directory for storing host node logs. |
||
/home/omm/omnidata-install/haf-host/env.sh |
Stores the script for setting environment variables of the host node. |
||
/home/omm/omnidata-install/haf-host/cert |
Stores files including the certificate and key of the host node, for example, service.ksfa, service.ksfb, service.prvk, service.pw, service.crt, and ca.crt. |
||
/home/omm/omnidata-install/haf-host/etc |
Stores the configuration files of the host node, for example, haf_user.conf, LogAuditCfg.json, and LogServiceCfg.json. |
||
/home/omm/omnidata-install/haf-host/conf-bak |
Default path for storing backup configuration files of the host node. |
||
Offload nodes (storage nodes) |
Installation directory of HAF on the offload node |
/home/omm/omnidata-install/haf-offload/bin |
Stores the software binary file of the offload node, for example, kmc_tool_bin. |
/home/omm/omnidata-install/haf-offload/lib |
Stores dynamic libraries and JAR packages of the offload node, for example, libcrypto.so, libffi.so, libhaf_common.so, libhaf_offload_device.so, libhaf_link_target.so, libhostJNI_device.so, libkmc.so, libkmc_tool.so, liblog.so, libsdp.so, libsecurec.so, libssl.so, and jar/haf-1.3.0.jar. |
||
/home/omm/omnidata-install/haf-offload/etc |
|
||
/home/omm/omnidata-install/haf-offload/conf-bak |
Default path for storing configuration files of the offload node. |
||
/home/omm/omnidata-install/haf-offload/env.sh |
Stores the script for setting environment variables of the offload node. |
||
/home/omm/omnidata-install/haf-offload/cert |
Stores files including the certificate and key of the offload node, for example, service.ksfa, service.ksfb, service.prvk, service.pw, service.crt, ca.crt, and ip_white_list. |
||
/home/omm/omnidata-install/haf-offload/tools |
Stores the management tool and script of the offload node, for example, haf-tool, scripts, and haf_uninstaller. |
||
/home/omm/omnidata-install/haf-offload/logs |
Default directory for storing offload node logs. |
||
Installation directory of OmniData on the offload node |
/home/omm/omnidata-install/omnidata/deploy |
Stores installation and deployment scripts, for example, generate_config.sh, get_ip.sh, and log.sh. |
|
/home/omm/omnidata-install/omnidata/etc |
Stores the configuration files required for starting OmniData. |
||
/home/omm/omnidata-install/omnidata/lib |
|
||
/home/omm/omnidata-install/omnidata/plugin |
Stores plug-ins. |
Planning Installation Nodes
- During the deployment, you need to plan a root CA server for issuing authentication certificates to HAF host and offload nodes. If there is only one node, perform all operations on the node.
- When issuing certificates by using the root CA server, ensure that the time on each node is synchronized. Otherwise, the certificate verification fails due to the system time difference. You can configure NTP for synchronization.
Node |
OmniData Service |
Installing HAF |
Whether to Generate a Certificate |
Function |
|---|---|---|---|---|
server |
- |
Yes |
Yes |
Controller node/Root CA server (you need to plan your own root CA server) for issuing certificates |
agent1 |
- |
Yes |
Yes |
Host node for HAF offload |
agent2 |
- |
Yes |
Yes |
Host node for HAF offload |
agent3 |
- |
Yes |
Yes |
Host node for HAF offload |
ceph1/hdfs1 |
Yes |
Yes |
Yes |
Offload node that provides the HAF OmniData service |
ceph2/hdfs2 |
Yes |
Yes |
Yes |
Offload node that provides the HAF OmniData service |
ceph3/hdfs3 |
Yes |
Yes |
Yes |
Offload node that provides the HAF OmniData service |