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

Installing OmniOperator

  1. 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.

    1. Select all nodes and click Configure Service.

    2. Select Custom and click Next.

    3. Select File Transfer and click Add a Task.

    4. 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

    5. Select Command Execution and click Add a Task.

    6. 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;

  2. 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.

    1. On the service flow configuration page, select File Transfer and click Add a Task.

    2. 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

    3. Select Command Execution and click Add a Task.

    4. 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/*;

  3. 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.

    1. On the service flow configuration page, select File Transfer and click Add a Task.

    2. 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

    3. Select Command Execution and click Add a Task.

    4. 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;

  4. Export the service flow and save it to your local PC. You can import service flows to quickly install other components.
    1. In the upper right corner of the displayed page, click Export.

      The window for selecting a path for saving the template is displayed.

    2. Name the template OmniOperator Installation and Configuration Workflow and click Save.

  5. 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).