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

Installing OmniOperator

For details about how to use SmartKit, see SmartKit Operations.

  1. Install the OmniOperator LLVM and jemalloc dependencies.
    1. Use the file transfer function to copy the LLVM and jemalloc packages obtained from Obtaining Software to all nodes.
      Use the batch distribution function to select all nodes and click Config Service. Select File Transfer, click Add a Task, set the task parameters according to Table 1 to Table 2, and click Save.
      Table 1 Task 1 parameters

      Parameter

      Description

      Task Name

      Copying the jemalloc package

      Task Description

      Copying the jemalloc package to the corresponding directory on 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

      Copying the LLVM package

      Task Description

      Copying the LLVM package to the corresponding directory on all nodes

      Transfer Direction

      From Local to Remote

      Local Path

      Directory where the local installation package is stored

      Remote Path

      /opt/omni-operator

    2. Use the command execution function to decompress the LLVM and jemalloc packages.
      Select Command Execution, click Add a Task, set the task parameters according to Table 3, and click Save.
      Table 3 Task 3 parameters

      Parameter

      Description

      Task Name

      Decompressing the LLVM and jemalloc packages

      Task Description

      Decompress the LLVM and jemalloc packages and move libLLVM-15.so and libjemalloc.so.2 to the specified directory.

      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-15.so /opt/omni-operator/lib;

  2. Install OmniOperator.

    Use the file transfer function to copy BoostKit-omniop_1.3.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, click Add a Task, set the task parameters according to Table 4, and click Save.
      Table 4 Task 4 parameters

      Parameter

      Description

      Task Name

      Copying the OmniOperator installation package

      Task Description

      Copying 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

    2. Select Command Execution, click Add a Task, set the task parameters according to Table 5, and click Save.
      Table 5 Task 5 parameters

      Parameter

      Description

      Task Name

      Decompressing the OmniOperator package and copying OmniOperator

      Task Description

      Decompress BoostKit-omniop_1.3.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.3.0.zip;tar -zxvf boostkit-omniop-operator-1.3.0-aarch64.tar.gz;

      cd /opt/omni-operator/boostkit-omniop-operator-1.3.0-aarch64;

      cp -rf include libboostkit* boostkit-omniop* libsecurec.so /opt/omni-operator/lib;

      chmod -R 550 /opt/omni-operator/lib/*;

  3. Install HMPP.
    1. Use the file transfer function to distribute the HMPP package obtained in Obtaining Software to all nodes.
      On the service flow configuration page, select File Transfer, click Add a Task, set the task parameters according to Table 6, and click Save.
      Table 6 Task 6 parameters

      Parameter

      Description

      Task Name

      Copying the HMPP software package

      Task Description

      Copying 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

    2. Decompress the HMPP package to the corresponding directory, and then install and configure HMPP.
      Select Command Execution, click Add a Task, set the task parameters according to Table 7 to Table 10, and click Save.
      Table 7 Task 7 parameters

      Parameter

      Description

      Task Name

      Decompressing the HMPP package

      Task Description

      Decompressing the HMPP package

      Run Directory

      /opt/omni-operator

      Run Command

      unzip -o BoostKit-hmpp_1.7.0.zip;

      Table 8 Task 8 parameters

      Parameter

      Description

      Task Name

      Installing the RPM package

      Task Description

      Installing 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;

      Specify the actual HMPP version in Table 7 and Table 8. The following uses 1.7.0 as an example.

      Table 9 Task 9 parameters

      Parameter

      Description

      Task Name

      Setting HMPP environment variables

      Task Description

      Add the HMPP library path to the end of the environment variable LD_LIBRARY_PATH on all physical nodes.

      Run Directory

      /opt/omni-operator

      Run Command

      sed -i '$a export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/omni-operator/lib:/usr/local/lib/HMPP' ~/.bashrc;source ~/.bashrc;

      Table 10 Task 10 parameters

      Parameter

      Description

      Task Name

      Adding 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=false" >> /opt/omni-operator/conf/omni.conf;

      chmod 640 /opt/omni-operator/conf/omni.conf;

      • 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.
      • If enableHMPP is set to false, HMPP is disabled. If set to true, HMPP is enabled (disabled by default).
  4. Export the service flow and save it to your local PC. You can import service flows to quickly install other components.
  5. Execute the service flow. The procedure is complete when the execution is successful.