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

Maintaining the Feature

Follow the operating instructions when upgrading or uninstalling OmniAdvisor.

Upgrading OmniAdvisor

The upgrade cannot be performed using the tool. Therefore, you need to download the installation package and reinstall the software.

Contact Huawei technical support to download the OmniAdvisor software installation package for the upgrade.

Uninstalling OmniAdvisor

Perform the following operations on the management node. This step is optional and is not mandatory for deploying OmniAdvisor.

  1. Delete the OmniAdvisor 2.0 software. The example installation directory is /opt/OmniAdvisor2.0.
    rm -rf /opt/OmniAdvisor2.0
  2. Delete the Python environment. The example installation directory is /root/anaconda3.
    rm -rf /root/anaconda3
  3. Restore the spark-submit script file to its original state.
    mv $SPARK_HOME/bin/spark-submit.original.backup $SPARK_HOME/bin/spark-submit
  4. Delete data and uninstall the database. For details, see Uninstallation in the PostgreSQL Installation Guide.