Installing OmniAdvisor 2.0
Install the OmniAdvisor 2.0 software package on the management node and remove other users' read permission on the OmniAdvisor 2.0 software package.
- Before installing OmniAdvisor 2.0, obtain the software installation package and verify its integrity. For details, see OS and Software Requirements.
- Create an OmniAdvisor 2.0 installation directory on the management node.
mkdir -p /opt/OmniAdvisor2.0
- Upload the software package to the /opt/OmniAdvisor2.0 installation directory.

- Access the installation directory and extract the package.
cd /opt/OmniAdvisor2.0 unzip BoostKit-omniruntime_1.9.0.zip unzip BoostKit-omniruntime-omniadvisor-2.0.0.zip unzip BoostKit-omniadvisor_core_2.0.0.zip

To prevent the file from being replaced, you are advised to extract the software package as a non-root user so that the permission for the extracted directory is minimized.
- Install OmniAdvisor 2.0 in a specified directory on the management node, for example, /opt/OmniAdvisor2.0, which is defined as $OMNIADVISOR_HOME.
export OMNIADVISOR_HOME=/opt/OmniAdvisor2.0
- Run the auto_deploy.sh script.
Before using the auto_deploy.sh script, grant the write permission on the $SPARK_HOME/bin/ directory to the Linux user who uses OmniAdvisor 2.0.
cd $OMNIADVISOR_HOME/omniruntime-omniadvisor-2.0.0/script ./auto_deploy.sh
Parent topic: Installing the Feature