Tarball installation

This topic describes how to install Moogsoft AIOps on a single host using the tarball archives, previously known as the non-root install.

Follow these steps if you do not have root access to the machine or machines on which you will install Moogsoft AIOps.

To install Moogsoft AIOps in a highly available distributed environment, see Distributed HA Installation.

For RPM installation steps, see RPM installation.

Before you begin

Before you start to install Moogsoft AIOps, complete all steps in the following document:

v7.3.x - Tarball pre-installation steps.

Install Moogsoft AIOps

To complete a Tarball installation of Moogsoft AIOps v7.3.x, perform the following steps:

  1. Download the tarball installer, using one of the following options:

    • Download via a web browser from https://speedy.moogsoft.com/installer and user the Yum user credentials provided by Moogsoft support.

    • Use the following cURL command, substituting your "speedy" Yum repo user credentials:

      curl -L -O "https://<username>:<password>@speedy.moogsoft.com/installer/moogsoft-aiops-"
  2. Optional: GPG key validation of the Tarball

    To validate the Tarball before installation:

    1. Download the key. For example for or later:


      For and prior:

    2. Copy the key to the server onto which the Tarball will be installed (it will be a .asc file).

    3. Import the key. For example, for and later:

      gpg --import 887B323F485F122FE923214FD01B4B4B6F379E7E.asc
    4. Download the moogsoft-aiops- file from the same 'speedy' path:

      curl -L -O "https://<username>:<password>@speedy.moogsoft.com/installer/moogsoft-aiops-"
    5. Ensure both the tgz and the .sig file are both in the same folder, then copy the following command into a bash terminal and run it to perform the validation:

      gpg --verify moogsoft-aiops- moogsoft-aiops-
    6. Confirm that the report states:

      Good signature from "Moogsoft Information Security Team "<security@moogsoft.com>"
  3. Unzip and untar the Moogsoft AIOps distribution archive in your working directory:

    tar -xf moogsoft-aiops-

    The distribution archive contains the following files:

    • A README.txt file

    • The installation script: moogsoft-aiops-install-

    • The distribution archive: moogsoft-aiops-dist-

  4. Execute the installation script moogsoft-aiops-install- in your working directory to install Moogsoft AIOps.

    bash moogsoft-aiops-install-

    The script guides you through the installation process. The installation directory defaults to <working-directory>/Moogsoft. You can change this if you wish.

  5. Set the $MOOGSOFT_HOME environment variable to point to your installation directory, and add $MOOGSOFT_HOME/bin/utils to the path. For example:

    echo "export MOOGSOFT_HOME=~/moogsoft" >> ~/.bashrc
    echo "export PATH=$PATH:\$MOOGSOFT_HOME/bin/utils" >> ~/.bashrc && \
    source ~/.bashrc

Initialize Moogsoft AIOps

When the installation process is complete, initialize Moogsoft AIOps as follows:

  1. Configure the Toolrunner to execute locally by setting "execute_locally: true" in $MOOGSOFT_HOME/config/servlets.conf:

    sed -i 's/# execute_locally: false,/,execute_locally: true/1' $MOOGSOFT_HOME/config/servlets.conf
  2. Run the Percona installation script:

    bash install_percona_nodes_tarball.sh

    The script guides you through the installation process. To configure a single database node on the same server as Moogsoft AIOps, use these settings:

    • Configure Percona as "Primary".

    • Do not set the server to "DB only".

    • Set the first database node IP address to the server IP address.

    • When prompted to enter the IP addresses of the second and third nodes, press Enter to skip these settings.

  3. Source the bashrc file so mysql is on the path:

    source ~/.bashrc
  4. To initialize Moogsoft AIOps, you run the initialization script moog_init.

    You can run this script with the -k flag to set processes (for example Percona, RabbitMQ, Moogfarmd) to automatically restart when you reboot the system. For example:

    $MOOGSOFT_HOME/bin/utils/moog_init.sh -kI <zone_name> -u root

    If you do not want to set these processes to automatically restart when you reboot the system, run this script without the -k flag. For example:

    $MOOGSOFT_HOME/bin/utils/moog_init.sh -I <zone_name> -u root

    If you then decide after you have finished the install that you want these processes to automatically restart after all, run:

    [ -z "$(crontab -l|grep process_keepalive.sh)" ] && (crontab -l; echo -e "*\t*\t*\t*\t* $MOOGSOFT_HOME/bin/utils/process_keepalive.sh 2>&1") | crontab -

    The moog_init script prompts you to accept the End User License Agreement (EULA) and guides you through the initialization process.

    When asked if you want to change the configuration hostname, say yes and enter the public URL for the server.

    For more information see Configure Services to Restart.

  5. Restart Moogfarmd and Apache Tomcat:

    $MOOGSOFT_HOME/bin/utils/process_cntl moog_farmd restart
    $MOOGSOFT_HOME/bin/utils/process_cntl apache-tomcat restart

Configure Elasticsearch heap size

The minimum and maximum JVM heap sizes must be large enough to ensure that Elasticsearch starts.

See Finalize and Validate the Install for more information.

Disable the enhanced Content Security Policy (optional)

Allow access to external domains

Configure Moogsoft AIOps for use with Safari

Run an unattended installation

Verify the installation

Change passwords for default users

Install Moogsoft Add-Ons

Moogsoft periodically releases add-ons to extend and enhance the core Moogsoft AIOps functionality. For example, new Workflow Engine functions, new Workflow Engines, or Integrations tiles. All add-ons releases are cumulative and include the fixes from previous releases.

Once you have finished upgrading or installing Moogsoft AIOps, you should install the Moogsoft AIOps add-ons to ensure you have the latest version.

See Install Moogsoft Add-ons for more information on how to install the Moogsoft AIOps add-ons.