Rate This Document
Findability
Accuracy
Completeness
Readability

Installing OmniOperator

Install OmniOperator on the management and compute nodes and set environment variables. If OmniOperator is enabled for Gluten, skip this section.

  • BoostKit-omniop_2.0.0.zip can be obtained by extracting BoostKit-omniruntime_2.0.0.zip. The BoostKit-omniop_2.0.0.zip package contains the boostkit-omniop-operator-2.0.0-aarch64-openeuler.tar.gz and boostkit-omniop-operator-2.0.0-aarch64-centos.tar.gz packages, which are used for openEuler and CentOS, respectively. The following uses openEuler as an example.
  • To install OmniOperator on CentOS, replace boostkit-omniop-operator-2.0.0-aarch64-openeuler.tar.gz in the following commands with boostkit-omniop-operator-2.0.0-aarch64-centos.tar.gz.
  1. Upload OmniOperator packages obtained in Obtaining Software Packages to the /opt/omni-operator/ directory on the management and compute nodes.
  2. Go to the /opt/omni-operator/ directory and extract the packages.
    1
    2
    3
    4
    cd /opt/omni-operator/
    unzip BoostKit-omniruntime_2.0.0.zip
    unzip BoostKit-omniop_2.0.0.zip
    tar -zxvf boostkit-omniop-operator-2.0.0-aarch64-openeuler.tar.gz
    
  3. Copy OmniOperator files to the /opt/omni-operator/lib directory and set the permission on the software packages in the directory to 550.
    1
    2
    3
    cd /opt/omni-operator/boostkit-omniop-operator-2.0.0-aarch64
    cp -r include libboostkit* boostkit-omniop* libsecurec.so /opt/omni-operator/lib/
    chmod -R 550 /opt/omni-operator/lib/*
    
  4. Create a conf folder in the /opt/omni-operator directory and set the folder permission to 750.
    1
    2
    3
    cd /opt/omni-operator
    mkdir conf
    chmod 750 /opt/omni-operator/conf
    
  5. Create an omni.conf file in the conf folder and change the file permission to 640, which is required to set OmniOperator configuration items.
    1
    2
    3
    cd conf
    touch omni.conf
    chmod 640 omni.conf
    
  6. Delete redundant files from /opt/omni-operator.
    1
    2
    3
    4
    5
    6
    7
    mkdir -p /opt/omni-operator-bak
    mv /opt/omni-operator/lib /opt/omni-operator-bak
    mv /opt/omni-operator/conf /opt/omni-operator-bak
    ls /opt/omni-operator
    rm -rf /opt/omni-operator
    cd /opt
    mv omni-operator-bak omni-operator