Installing OmniData
Distribute the OmniData package to all nodes, decompress the package, and install and initialize OmniData.
- Copy the OmniData binary package prepared in Obtaining Software to all nodes using the file transfer function.
- Select offload nodes (ceph1, ceph2, and ceph3) and click Configure Service.

- Select Custom and click Next.

- Select File Transfer and click Add a Task.

- Set task 1 parameters and click Save.
Table 1 Parameter description Parameter
Description
Task Name
Transferring the OmniData installation package
Task Description
Copying the OmniData installation package to offload nodes
Transfer Direction
From Local to Remote
Local Path
Directory where the local installation package is stored
Remote Path
/opt/haf-software

- Select offload nodes (ceph1, ceph2, and ceph3) and click Configure Service.
- Copy the OmniData third-party dependencies prepared in Obtaining Software to offload nodes using the file transfer function.
- Select File Transfer and click Add a Task.

- Set parameters for tasks 2 to 5 and click Save.
Table 2 Task 2 parameters Parameter
Description
Task Name
Copying the OmniData lib package
Task Description
Copying the OmniData lib package to offload nodes
Transfer Direction
From Local to Remote
Local Path
Directory where the local installation package is stored
Remote Path
/opt/haf-software
Table 3 Task 3 parameters Parameter
Description
Task Name
Copying the OmniData UDF package
Task Description
Copying the OmniData UDF package to all offload nodes
Transfer Direction
From Local to Remote
Local Path
Directory where the local installation package is stored
Remote Path
/opt/haf-software

Table 4 Task 4 parameters Parameter
Description
Task Name
Copying Ceph dependencies
Task Description
Copying Ceph dependencies to all offload nodes
Transfer Direction
From Local to Remote
Local Path
Directory where the local installation package is stored
Remote Path
/opt/haf-software

Table 5 Task 5 parameters Parameter
Description
Task Name
Copy the librgw file
Task Description
Copy the librgw dependency to all offload nodes
Transfer Direction
From Local to Remote
Local Path
Directory where the local installation package is stored
Remote Path
/opt/haf-software

- Select File Transfer and click Add a Task.
- Decompress the OmniData package boostkit-omnidata-server-1.0.0-aarch64.tar.gz and copy the third-party dependencies to the corresponding directories.
- Select Command Execution and click Add a Task.

- Set parameters for tasks 6 to 8 and click Save.
Table 6 Task 6 parameters Parameter
Description
Task Name
Decompressing OmniData packages
Task Description
Decompressing the OmniData installation package and third-party dependency packages
Run Directory
/opt/haf-software
Run Command
unzip BoostKit-omnidata_1.1.0.zip; tar -zxvf BoostKit-omnidata_1.1.0.tar.gz;tar -zxvf boostkit-omnidata-server-1.1.0-aarch64.tar.gz; unzip boostkit-omnidata-server-1.1.0-aarch64-lib.zip; unzip boostkit-omnidata-udf-1.1.0-aarch64.zip;

Table 7 Task 7 parameters Parameter
Description
Task Name
Adding OmniData dependencies
Task Description
Copying third-party dependencies to the corresponding OmniData directories
Run Directory
/opt/haf-software
Run Command
mv boostkit-omnidata-udf-1.1.0-aarch64/* omnidata/plugin/boostkit-omnidata-udf-1.1.0-aarch64/; mv boostkit-omnidata-server-1.1.0-aarch64-lib/* omnidata/lib; rm -rf boostkit-omnidata-*;

Table 8 Task 8 parameters Parameter
Description
Task Name
Adding Ceph dependencies
Task Description
Copying Ceph dependencies to the corresponding OmniData directory
Run Directory
/opt/haf-software
Run Command
cp librgw_jni.so /opt/haf-target/lib/; cp /usr/lib64/ceph/libceph-common.so.0 /opt/haf-target/lib/; cp hdfs-ceph-3.2.0.jar omnidata/lib/;

- Select Command Execution and click Add a Task.
- Install the OmniData service on offload nodes (ceph1, ceph2, and ceph3).
- Select Command Execution and click Add a Task.

- Set task 9 parameters and click Save.
Table 9 Task 9 parameters Parameter
Description
Task Name
Installing a service
Task Description
Installing the OmniData service
Run Directory
/opt/haf-software/omnidata-setup
Run Command
sh omnidata-install.sh -s register_ip:2181 -l /var/log/omnidata
- If the big data engine is Spark, run sh omnidata-install.sh -s Register_IP:Register_Port'.
- The -s parameter in the script is used to specify the IP address/domain and port of the third-party registration service used by OmniData.
- -s indicates Spark, which is used to specify the registration address of the Spark engine. The default IP address and port of the ZooKeeper node are 2181.
- The -l parameter in the script is used to specify the OmniData service log path. The default path is /var/log/omnidata.

- Select Command Execution and click Add a Task.
- Export the service flow and save it to your local PC. You can import service flows to quickly install other components.
- In the upper right corner of the displayed page, click Export.
The window for selecting a path for saving the template is displayed.

- Name the template Install OmniData and Configure Workflow and click Save.

- In the upper right corner of the displayed page, click Export.
- Execute the service flow.
Click Finish in the lower right corner and select Run Service. The procedure is complete when the execution is successful.
