Rate This Document
Findability
Accuracy
Completeness
Readability

Uninstalling the Software

OmniOperator can be uninstalled using SmartKit or locally. Perform the following steps on the management node and all compute nodes. Ensure that no task is being executed on the OmniOperator upper-layer engine.

Uninstalling the Software Using SmartKit

  1. Uninstall OmniOperator.
    Select all nodes and click Config Service. Select Command Execution, set task parameters according to Table 1, and click Save.
    Table 1 Task 1 parameters

    Parameter

    Description

    Task Name

    Uninstalling OmniOperator

    Task Description

    Uninstalling OmniOperator

    Run Directory

    /opt/omni-operator/lib

    Run Command

    rm -rf libjemalloc.so.2 libLLVM-15.so;rm -rf include libboostkit-omniop* boostkit-omniop-bindings* libsecurec.so;rpm -e boostkit-hmpp-1.7.0-1.aarch64;sed -i '/enableHMPP/d' /opt/omni-operator/conf/omni.conf;sed -i '/$LD_LIBRARY_PATH:\/opt\/omni-operator\/lib:\/usr\/local\/lib\/HMPP/d' ~/.bashrc;source ~/.bashrc;

    Uninstall the correct HMPP version based on your service requirements. The following uses 1.7.0 as an example.

  2. Export the service flow and save it to your local PC. You can import this service flow to quickly uninstall OmniOperator later.
    1. Click Export in the upper right corner.

      The Select the path where the template is saved window is displayed.

    2. Name the template OmniOperator Uninstallation Workflow and click Save.
  3. Execute the service flow.

    Click Finish in the lower right corner and select Run Service. The procedure is complete when the execution is successful.

Uninstalling the Software Locally

For details about how to uninstall the HMPP dependency, see 3. The example installation directories are /opt/omni-operator/conf and /opt/omni-operator/lib.

  1. Delete the conf folder.
    1
    rm -rf /opt/omni-operator/conf
    
  2. Go to the /opt/omni-operator/lib directory and delete the dependency SO files and OmniOperator files.
    1
    2
    3
    cd /opt/omni-operator/lib
    rm -rf libjemalloc.so.2 libLLVM-15.so
    rm -rf include libboostkit-omniop* boostkit-omniop* libsecurec.so
    
  3. Use vi to open the ~/.bashrc file and delete the LD_LIBRARY_PATH information of OmniOperator from the file to update environment variables.
    1. Open the ~/.bashrc file.
      1
      vi ~/.bashrc
      
    2. Press i to enter the insert mode. Delete the LD_LIBRARY_PATH information of OmniOperator.
    3. Press Esc, type :wq!, and press Enter to save the file and exit.
    4. Update the environment variables.
      1
      source ~/.bashrc