Pre-Install Moogsoft AIOps - Offline RPMs

If you cannot use Yum to connect to package repositories outside your network from the machines where you are installing Moogsoft AIOps, you can download tarball packages of the repositories to run an offline installation. The offline repository distributions include all required packages to install Moogsoft AIOps on a RHEL/CentOS 7 server.

These instructions guide you through the process to set up the local Yum repositories so you can continue with an offline installation or upgrade. After you set up your repositories, you can continue with one of the following:

This procedure does not support a relocatable installation.

Before You Begin
  • Ensure you have root access to the system where you are installing Moogsoft AIOps.

Moogsoft AIOps Installation Files

To improve download times, the distribution for the offline installation of Moogsoft AIOps comes in two separate archives:

  • A "BASE" repository containing the dependent packages to install Moogsoft AIOps for RHEL/CentOS 7. The base package follows the following naming convention:

    Example: 2018-09-26-1537962719-MoogsoftBASE7_offline_repo.tar.gz
  • An "ESR" repository that contains the standard Moogsoft AIOps RPMs and ancillary packages (Tomcat, RabbitMQ, JRE etc)

    ESR: <date/timestamp>-MoogsoftESR_<version>_offline_repo.tar.gz
    Example: 2018-09-26-1537962719-MoogsoftESR_7.2.0_offline_repo.tar.gz
Download Installation Files

Before you can set up the local Yum repositories, you need to download installation files from a machine connected to the internet. Then copy the installation files to a directory on the target system. The examples use /home for the installation file directory.

  1. Download the 'ESR' and 'BASE' RPM tarballs from the 'speedy' server using the following two links in internet browser on an internet-connected host. Provide your 'speedy' access credentials when prompted by the browser.



  2. Copy the two downloaded tarballs to the target offline system.

  3. Download the MySQL-Community packages on an internet-connected host and copy them to the target offline system.

    For example on RHEL7/CentOS7:

    curl -L -O
    curl -L -O
    curl -L -O
    curl -L -O
    curl -L -O
Prepare the Local Yum Repositories

The following procedure describes how to create local Yum repositories to house the installation packages for Moogsoft AIOps that you downloaded. If you are running a distributed installation, follow this procedure on each machine where you run Moogsoft AIOps components.

  1. Create directories that will house the repositories. For example:

    sudo mkdir -p /media/localRPM/BASE/
    sudo mkdir -p /media/localRPM/ESR/
  2. Extract the two packages into separate directories. For example:

    tar xzf *-MoogsoftBASE7_offline_repo.tar.gz -C /media/localRPM/BASE/
    tar xzf *-MoogsoftESR_7.2.0_offline_repo.tar.gz -C /media/localRPM/ESR/
  3. Move the existing /etc/yum.repos.d. directory to create a backup:

    mv /etc/yum.repos.d /etc/yum.repos.d-backup
  4. Creating an empty /etc/yum.repos.d directory

     mkdir /etc/yum.repos.d
  5. Create a local.repo for Yum:

    vi /etc/yum.repos.d/local.repo
  6. Edit the contents of local.repo. Verify the path for the base and for the baseurl points to the directories you created.

    name=MoogCentOS-$releasever - MoogRPM
    name=MoogCentOS-$releasever - MoogRPM
  7. Clean the Yum cache to remove cached files from any enabled repository:

    yum clean all 
  8. Verify Yum detects the the newly created local repositories:

    yum info "moogsoft-*"
    Available Packages
    Arch        : x86_64
    Version     : 7.2.0
    Release     : 8
    Size        : 76 M
    Repo        : ESR
    Summary     : Algorithmic Intelligence for IT Operations
    URL         :
    License     : Proprietary
    Description : Moogsoft AIOps (7.2.0) - Build: 142 - (Revision:
                : 7a2df5e47e10ee17ab646bf5d06f3b31437e3bac)

    The results should include the following packages:

    Name        : moogsoft-db
    Name        : moogsoft-integrations
    Name        : moogsoft-integrations-ui
    Name        : moogsoft-mooms
    Name        : moogsoft-search
    Name        : moogsoft-server
    Name        : moogsoft-ui
    Name        : moogsoft-utils
    Name        : moogsoft-common
  9. Update the system if needed. Create an exclusion list if you prefer to keep certain packages away from update:

    yum update
  10. Install the MySQL RPMs:

    yum install mysql-community-*5.7.22*.rpm

    If Yum reports errors regarding mariadb, replace mariadb with the equivalent MySQL package. The following script removes mariadb-server and replaces it with mysql-community-server:

    echo "remove mariadb-server" >> /tmp/mysql.libs
    echo "install mysql-community-libs-compat-5.7.22" >> /tmp/mysql.libs
    echo "install mysql-community-server-5.7.22" >> /tmp/mysql.libs
    echo "run" >> /tmp/mysql.libs
    cat /tmp/mysql.libs | yum shell -y

Your local Yum repos are ready. Now you can proceed with your offline install or upgrade. See the following topics for more information: