Skip to main content

Installation Guide for Disaster Recovery Deployment

Overview

This installation guide provides step-by-step instructions for installing Motadata AIOps in a Disaster Recovery (DR) Deployment, covering the installation process for the DR deployment:

  • Single-Box Disaster Recovery

  • Distributed Diaster Recovery

The installation process begins with common steps for all scenarios, followed by component-specific steps. It is crucial to follow the instructions carefully to ensure a successful installation.

Minimum System Requirements for Motadata AIOps Server

Before installing and running Motadata AIOps, please ensure that your server meets the following minimum system requirements to ensure optimal performance and functionality. Refer Hardware Sizing document for detailed information for the same.

Prerequisites

Before starting the installation, ensure the following prerequisites are met:

  • Configure servers based on the sizing requirements of the chosen component.
  • Download the Motadata AIOps installation ISO.
  • Network Port should be open in Network Firewall and respetive servers as defined below:
Port NamePort NumberPort TypeDirectionPort To Be Opened AtPurpose
Motadata Manager9440, 9441TCPBidirectionalApplication ServerFacilitates communication with Motadata Manager
Motadata Application9455, 9456, 9457TCPBidirectionalMotadata ApplicationEstablishes communication for Motadata Application with MotaStore. This port needs to be opened only when the application and database reside on different servers.
Event Publisher9444 to 9448TCPBidirectionalApplication ServerFacilitates communication between MotaAgent and the Application Server. Typically, 9444 and 9445 ports are mandatory, but multiple ports may need to be open to support load balancing when a significant number of agents are used.
Event Subscriber9449 to 9453TCPBidirectionalApplication ServerFacilitates communication between MotaAgent and the Application Server. Typically, 9449 and 9450 ports are mandatory, but multiple ports may need to be open to support load balancing when a significant number of agents are used.
MotaStore9464, 6060, 6061TCPBidirectionalDatabase ServerFacilitates remote troubleshooting of MotaStore. These ports need to be opened only when troubleshooting is required for MotaStore.
TCP Log Listener5140TCPBidirectionalApplication Server or CollectorUsed to ingest logs into Motadata. Ensure this port is open on the collector if logs need to be ingested at the collector level.
UDP Log Listener514UDPInboundApplication Server or CollectorUsed to ingest logs into Motadata. Ensure this port is open on the collector if logs need to be ingested at the collector level.
Flow Listener (netflow)2055UDPInboundApplication Server or CollectorUsed to ingest flow data into Motadata. Ensure this port is open on the collector if flow data needs to be ingested at the collector level.
Flow Listener (sflow)6343UDPInboundApplication Server or CollectorUsed to ingest flow data into Motadata. Ensure this port is open on the collector if flow data needs to be ingested at the collector level.
Trap Listener (v1/v2)1620UDPInboundApplication ServerUsed to ingest trap into Motadata.
Trap Listener (v3)1630UDPInboundApplication ServerUsed to ingest trap into Motadata.
Log Forwarder9443TCPBiredirectionalApplication ServerEnables forwarding of logs from Motadata AIOps to third party applications.
Web UI443HTTPSBidirectionalApplication ServerEnables user interface access from the browser.
Upgrade/Restore8080HTTPSBidirectionalApplication ServerUsed for upgrading Motadata artifacts from the UI
High Availability9458, 9459TCPBidirectionalApplication Server and Motadata ObserverFacilitates syncing of ConfigDB with Application Server

Installation Steps

  1. Create a virtual machine (VM).

  2. Map the downloaded ISO to the VM datastore.

  3. Boot the VM from the ISO to initiate the installation process.

  4. Obtain sudo permissions by running the following command:

    sudo su

The Installation steps will vary based on the deployment type you wish to configure, whether Single-Box Disaster Recovery or Distributed Disaster Recovery. Let us look into them one after the other.

Single-Box Disaster Recovery

  1. Navigate to the opt folder using the following command:

    cd /opt
  2. Check for the existence of the installation script (post-install.sh) using the following command:

    ls
  3. Run the installation script:

    ./post-install.sh

    After you run the installation script, you will be asked to select the Deployment Type out of the following:

    1. Single-Box
    2. Distributed
    3. Collector

  1. Select the Deployment Type(in this case, 1. Single-Box) that you want to configure and then follow the steps further as demonstrated below.

  2. Select the Deployment Architecture(in this case, 3. Disaster Recovery) that you want to configure and then follow the steps further as demonstrated below.

  3. For Single-Box Disaster Recovery, you need to configure four servers, one as an Observer, one as the Primary server, one as the Secondary server, and another one as the Replica server.

  • Select the option 1. Observer if you want to start the installation for the Observer.
  • Select the option 2. Primary Server in the next step if you want to start the installation for the primary server.
  • Select the option 3. Secondary Server in the next step if you want to start the installation for the secondary server.
  • Select the option 4. Replica Server in the next step if you want to start the installation for the replica server.

After selecting an option in 10th step above, move to the respective tab below to continue the installation based on the component that you have selected.

11. Change the root password by providing and confirming a new password.

12. Configure the static IP address, default gateway, and DNS servers. You can change the default DNS servers as per your requirement.

13. Configure the hostname.

14. Configure the timezone by selecting the region and timezone where you are installing the Motadata AIOps Observer.

15. The Observer is now successfully installed.

After installing all components, detach the ISO from the virtual machine to complete the installation.

Distributed Disaster Recovery

  1. Navigate to the config folder using the below-mentioned command:

    cd /motadata/motadata/config
  2. Type or copy and paste the below-mentioned commands in Motadata.JSON file:

    "ha.mode" : "ACTIVE", //Primary App Server
    "ha.mode" : "PASSIVE", //Secondary App Server
    "ha.failover.nodes": 3 //All App Servers
  1. Go back to the Root directory and navigate to the opt folder using the following command:

    cd /opt
  2. Check for the existence of the installation script (post-install.sh) using the following command:

    ls
  3. Run the installation script:

    ./post-install.sh

    After you run the installation script, you will be asked to select the Deployment Type out of the following:

    1. Single-Box
    2. Distributed
    3. Collector

  1. Select the Deployment Type(in this case, 2. Distributed) that you want to configure and then follow the steps further as demonstrated below.

  2. Select the Deployment Architecture(in this case, 3. Disaster Recovery) that you want to configure and then follow the steps further as demonstrated below.

  3. For Distributed Disaster Recovery, you need to configure seven servers : Observer, Primary App server, Primary DB server, Secondary App server, Secondary DB, Replica App Server, and Replica DB Server.

  • Select the option 1. Observer if you want to start the installation for the Observer.
  • Select the option 2. Primary App Server in the next step if you want to start the installation for the Primary Application Server.
  • Select the option 3. Primary DB Server in the next step if you want to start the installation for the Primary Database Server.
  • Select the option 4. Secondary App Server in the next step if you want to start the installation for the Secondary Application Server.
  • Select the option 5. Secondary DB Server in the next step if you want to start the installation for the Secondary Database Server.
  • Select the option 6. Replica App Server in the next step if you want to start the installation for the Replica Application Server.
  • Select the option 7. Replica DB Server in the next step if you want to start the installation for the Replica Database Server.

After selecting an option in 10th step above, move to the respective tab below to continue the installation based on the component that you have selected.

12. Change the root password by providing and confirming a new password.

13. Configure the static IP address, default gateway, and DNS servers. You can change the default DNS servers as per your requirement.

14. Configure the hostname.

15. Configure the timezone by selecting the region and timezone where you are installing the Motadata AIOps Observer.

16. The Observer is now successfully installed.

After installing all the components, detach the ISO from the virtual machine to complete the installation.