Page tree
Skip to end of metadata
Go to start of metadata

Carry out the following steps to prepare a RHEL6 server for installation of Moogsoft AIOps.

StepAction
1

Install the EPEL yum repository (Extra Packages for Enterprise Linux: EPEL):

yum -y install epel-release

Verify the creation of file /etc/yum.repos.d/epel.repo

2

Install the "el6" MySQL Community yum repository:

yum -y install http://repo.mysql.com/mysql57-community-release-el6.rpm

Verify the creation of file /etc/yum.repos.d/mysql-community.repo

3

Install the mysql-community-common package for RHEL 6:

yum -y install mysql-community-common-5.7.19-1.el6.x86_64

Please note: This step is only a temporary solution for this upgrade and will not be required in the next Edge release

4

Install the erlang el6 package built by RabbitMQ:

yum install https://github.com/rabbitmq/erlang-rpm/releases/download/v19.3.6.1/erlang-19.3.6.1-1.el6.x86_64.rpm

The file is available from this page if needed: https://github.com/rabbitmq/erlang-rpm/releases/tag/v19.3.6.1

5

Install the RabbitMQ yum repository

curl -s https://packagecloud.io/install/repositories/rabbitmq/rabbitmq-server/script.rpm.sh | sudo bash

Verify the creation of file /etc/yum.repos.d/rabbitmq_rabbitmq-server.repo

6

Install  the ElasticSearch public signing key:

rpm --import https://artifacts.elastic.co/GPG-KEY-elasticsearch


Create the ElasticSearch yum repository by creating file /etc/yum.repos.d/elasticsearch.repo with contents:

[elasticsearch-5.x]
name=Elasticsearch repository for 5.x packages
baseurl=https://artifacts.elastic.co/packages/5.x/yum
gpgcheck=1
gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch
enabled=1
autorefresh=1
type=rpm-md
7

Ensure the nss packages are up to date by running:

yum -y update nss

If these packages are already up to date then this command will exit without action.

8

Create the Moogsoft yum repository by creating file /etc/yum.repos.d/moogsoft-aiops.repo with contents:

[moogsoft-aiops]
name=moogsoft-aiops-latest
baseurl=https://<login>:<password>@speedy.moogsoft.com/repo/aiops/latest
enabled=1
gpgcheck=0
sslverify=0

Access to the Moogsoft yum repository is restricted and requires a <login> and <password>.

Please contact support@moogsoft.com regarding access

If you are creating a repository for an Edge release, change the baseurl address above to:

baseurl=https://<login>:<password>@speedy.moogsoft.com/repo/aiops/edge
9

Set SELinux to permissive mode or disable completely.

To verify the current SELinux status run the following command:

sestatus

If the output is of the form:

SELinux status:                 enabled
.
Current mode:                   enforcing
.

then SELinux is enabled and enforcing and should either be set to permissive mode or disabled.

To set SELinux to permissive mode in the current shell only run command:

setenforce 0

and verify the change by running the sestatus command again which should then have output of the form:

SELinux status:                 enabled
.
Current mode:                   permissive
.

In this state, a reboot of the server will enable SELinux back to Enforcing

To permanently disable SELinux or set to permissive mode, edit the file /etc/sysconfig/selinux and change the line:

SELINUX=enforcing

to either:

SELINUX=disabled

or:

SELINUX=permissive

and then reboot the server.

Next step: Single Host Installation

  • No labels