Moogsoft Docs

Install without Caching LAM

In HA architecture, LAM 1 and LAM 2 run in an active / passive mode for a HA polling pair, and in active / active mode for a HA receiving pair.

HA architecture

In our distributed HA installation, the LAM components are installed on servers 6, 7, 8, 9 and 10:

HA_LAMnocache.png
  • LAM 1: Server 9

  • LAM 2: Server 10

  • RabbitMQ Node 1: Server 6

  • RabbitMQ Node 2: Server 7

  • RabbitMQ Node 3: Server 8

Fully distributed installation

See Distributed HA Installation for a reference diagram and steps to achieve a fully distributed installation.

Minimally distributed installation

For a minimally distributed installation follow the instructions below, replacing server 6, 7, 8, 9 and 10 with the relevant values for your architecture.

Install LAM 1
  1. Install Moogsoft AIOps components on the LAM 1 server.

    On server 9 install the following Moogsoft AIOps components:

    yum -y install moogsoft-common-7.3* \
        moogsoft-integrations-7.3* \
        moogsoft-utils-7.3*
  2. Configure system.conf on the LAM 1 server.

    1. On server 9 edit the $MOOGSOFT_HOME/config/system.conf file and set the mooms.zone and mooms.brokers properties as follows:

      "zone" : "<ZONE>",
      "brokers" : [ { "host" : "<server 6 hostname>", "port" : 5672 },
          { "host" : "<server 7 hostname>", "port" : 5672 },
          { "host" : "<server 8 hostname>", "port" : 5672 }
      ],
    2. In the same file, set the ha section as follows:

      "ha": { "cluster": "PRIMARY" },
  3. Install and configure HA Proxy on the LAM 1 server for connection to Percona XtraDB Cluster.

    On server 9 install, configure and start HAProxy.

Install LAM 2
  1. Install Moogsoft AIOps components on the LAM 2 server.

    On server 10 install the following Moogsoft AIOps components:

    yum -y install moogsoft-common-7.3* \
        moogsoft-integrations-7.3* \
        moogsoft-utils-7.3*
  2. Configure system.conf on the LAM 2 server.

    1. On server 10 edit the $MOOGSOFT_HOME/config/system.conf file and set the mooms.zone and mooms.brokers properties as follows:

      "zone" : "<ZONE>",
      "brokers" : [ { "host" : "<server 7 hostname>", "port" : 5672 },
          { "host" : "<server 6 hostname>", "port" : 5672 },
          { "host" : "<server 8 hostname>", "port" : 5672 }
      ],
    2. In the same file, set the ha section as follows:

      "ha": { "cluster": "SECONDARY" },
  3. Install and configure HA Proxy on the LAM 2 server for connection to Percona XtraDB Cluster.

    On server 7 install, configure and start HAProxy.

Configure a new backend LAM integration as HA on LAM 1 and LAM 2

Folllow the instructions in Set Up LAMs for HA.