Installing OmniOperator
- Install the LLVM and jemalloc dependencies required for OmniOperator.
Use the file transfer function to copy the LLVM and jemalloc packages obtained from Software Requirements to all nodes.
- Select all nodes and click Configure Service.

- Select Custom and click Next.

- Select File Transfer and click Add a Task.

- Set parameters for tasks 1 and 2 and click Save.

Table 1 Task 1 parameters Parameter
Description
Task Name
Copy the jemalloc package.
Task Description
Copy the jemalloc package to all nodes.
Transfer Direction
From Local to Remote
Local Path
Directory where the local installation package is stored
Remote Path
/opt/omni-operator

Table 2 Task 2 parameters Parameter
Description
Task Name
Copy the LLVM package.
Task Description
Copy the LLVM package to all nodes.
Transfer Direction
From Local to Remote
Local Path
Directory where the local installation package is stored
Remote Path
/opt/omni-operator

- Select Command Execution and click Add a Task.

- Set task 3 parameters and click Save.
Table 3 Task 3 parameters Parameter
Description
Task Name
Decompress the LLVM and jemalloc packages.
Task Description
Decompress the LLVM and jemalloc packages and move libLLVM-12.so and libjemalloc.so.2 to the corresponding directories.
Run Directory
/opt/omni-operator
Run Command
mkdir -p /opt/omni-operator/lib;
unzip -o jemalloc.zip;unzip -o LLVM.zip;\cp libjemalloc.so.2 libLLVM-12.so /opt/omni-operator/lib;

- Select all nodes and click Configure Service.
- Install OmniOperator.
Use the file transfer function to copy BoostKit-omniop_1.1.0.zip prepared in Obtaining Software to all nodes and decompress the package to the corresponding directories.
- On the service flow configuration page, select File Transfer and click Add a Task.

- Set task 4 parameters and click Save.

Table 4 Task 4 parameters Parameter
Description
Task Name
Copy the OmniOperator installation package.
Task Description
Copy the OmniOperator installation package to all nodes.
Transfer Direction
From Local to Remote
Local Path
Directory where the local installation package is stored
Remote Path
/opt/omni-operator

- Select Command Execution and click Add a Task.

- Set task 5 parameters click Save.
Table 5 Task 5 parameters Parameter
Description
Task Name
Decompress the OmniOperator package and copy the software package to the corresponding directory.
Task Description
Decompress BoostKit-omniop_1.1.0.zip and boostkit-omniop-operator, copy the OmniOperator software package to the corresponding directory, and set the permission on the software packages in /opt/omni-operator/lib to 550.
Run Directory
/opt/omni-operator
Run Command
unzip -o BoostKit-omniop_1.1.0.zip;tar -zxvf boostkit-omniop-operator-1.1.0-aarch64.tar.gz;
cd /opt/omni-operator/boostkit-omniop-operator-1.1.0-aarch64;
\cp -rf include libboostkit* boostkit-omniop* config.h libsecurec.so /opt/omni-operator/lib;
chmod 550 /opt/omni-operator/lib/*;

- On the service flow configuration page, select File Transfer and click Add a Task.
- Install HMPP.
Use the file transfer function to copy the HMPP package obtained in Software Requirements to all nodes and decompress the package to the corresponding directory. Then install HMPP.
- On the service flow configuration page, select File Transfer and click Add a Task.

- Set task 6 parameters and click Save.

Table 6 Task 6 parameters Parameter
Description
Task Name
Copy the HMPP software package.
Task Description
Copy the HMPP software package to all nodes.
Transfer Direction
From Local to Remote
Local Path
Directory where the local installation package is stored
Remote Path
/opt/omni-operator

- Select Command Execution and click Add a Task.

- Set parameters for tasks 7 to 10 and click Save.

Table 7 Task 7 parameters Parameter
Description
Task Name
Decompress the HMPP package.
Task Description
Decompress the HMPP package.
Run Directory
/opt/omni-operator
Run Command
unzip -o BoostKit-hmpp_1.7.0.zip;
Install the correct version based on your service requirements. The following uses 1.7.0 as an example.

Table 8 Task 8 parameters Parameter
Description
Task Name
Install the RPM package.
Task Description
Install the RPM package on all nodes.
Run Directory
/opt/omni-operator
Run Command
rpm -e boostkit-hmpp-1.7.0-1.aarch64;rpm -ivh boostkit-hmpp-1.7.0-1.aarch64.rpm;
Install the correct version based on your service requirements. The following uses 1.7.0 as an example.

Table 9 Task 9 parameters Parameter
Description
Task Name
Set HMPP environment variables.
Task Description
Add the HMPP library path to the end of the environment variables LIBRARY_PATH and LD_LIBRARY_PATH on all physical nodes.
Run Directory
/opt/omni-operator
Run Command
sed -i '$a export LIBRARY_PATH=/usr/local/lib/HMPP:$LIBRARY_PATH' ~/.bashrc;source ~/.bashrc;sed -i '$a export LD_LIBRARY_PATH=/usr/local/lib/HMPP:$LD_LIBRARY_PATH' ~/.bashrc;source ~/.bashrc;

Table 10 Task 10 parameters Parameter
Description
Task Name
Add HMPP parameters to the omni.conf file.
Task Description
Add HMPP parameters to the omni.conf file and change the permission on the configuration file to 640.
Run Directory
/opt/omni-operator
Run Command
mkdir -p /opt/omni-operator/conf;
sed -i '/enableHMPP/d' /opt/omni-operator/conf/omni.conf;
echo "enableHMPP=true" >> /opt/omni-operator/conf/omni.conf;
chmod 640 /opt/omni-operator/conf/omni.conf;

- On the service flow configuration page, select File Transfer 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 OmniOperator Installation and Configuration 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.

- The /opt/omni-operator/lib directory can be customized.
- The /opt/omni-operator directory can be customized.
- The default path of the HMPP library is /usr/local/lib/HMPP. Use the actual installation path instead.
- enableHMPP=true indicates that HMPP is enabled, and false indicates that HMPP is disabled (disabled by default).