Moogsoft Docs

Single Host Installation - RPM

This topic guides you through the installation process for Moogsoft AIOPs using RPM via yum.

Before You Begin

Before you install Moogsoft AIOps, ensure you have met the following requirements:

Install Moogsoft AIOps

To install Moogsoft AIOps on a single host machine:

  1. Download the RPMs and install them into $MOOGSOFT_HOME :

    yum -y install moogsoft-db-6.5.0 \ 
                moogsoft-common-6.5.0 \
                moogsoft-integrations-6.5.0 \
                moogsoft-integrations-ui-6.5.0 \
                moogsoft-mooms-6.5.0 \
                moogsoft-search-6.5.0 \
                moogsoft-server-6.5.0 \
                moogsoft-ui-6.5.0 \
  2. Set the environment variables required for AIOps.

    Before you can create the APPSERVER_HOME variable, you must create the target apache-tomcat directory:

    mkdir /usr/share/apache-tomcat

    Then, if you are using the default Bash shell, you can set the varibles in ~/.bashrc :

    vi ~/.bashrc 

    Add the following by copy/paste line by line:

    export MOOGSOFT_HOME=/usr/share/moogsoft
    export JAVA_HOME=/usr/java/latest
    export APPSERVER_HOME=/usr/share/apache-tomcat
    export PATH=$PATH:$MOOGSOFT_HOME/bin:$MOOGSOFT_HOME/bin/utils

    When entering the environment variable in the bashrc file, ensure each export command is on separate single line and that it does not wrap.

  3. Start a new Bash shell, or source the .bashrc file as follows:

    source ~/.bashrc
  4. If you have not already downloaded the MySQL connector as part of Pre-Install Offline RPMs , download the mysql-connector-5.1.45 jar file :

  5. Extract, rename and move the file to $MOOGSOFT_HOME/lib/cots/nonDist/ as follows:

    tar --strip-components 1 -xvf mysql-connector-java-5.1.45.tar.gz -C $MOOGSOFT_HOME/lib/cots/nonDist/ mysql-connector-java-5.1.45/mysql-connector-java-5.1.45-bin.jar --transform 's/-bin//'
  6. Initialize the installation:

    $MOOGSOFT_HOME/bin/utils/ -I MY_ZONE -u root
    • The default password for MySQL is empty, so press Enter when prompted for the MySQL 'root' password. If you created a separate user in the database for Moogsoft AIOps, use the credentals for the user you created.

    • Follow the instructions and confirm prompts about the hostname.

  7. Start moogfarmd:

    service moogfarmd start

    Verify your installation following the steps in Post Install Validation .
    Follow the Troubleshooting guide to resolve any issues.