Panel | |
---|---|
|
Introduction
High Availability (HA) of Universal Data Mover Gateway means that it has been set up to be a redundant system; in addition to the components that are processing work, there are backup components available to continue processing through hardware or software failure.
This page describes a High Availability environment, with an Active-Passive setup.
High Availability System: Active-Passive
The following illustration is a typical, although simplified, Universal Data Mover Gateway Linux system in a High Availability environment.
...
IP | Hostname | Description |
---|---|---|
192.168.56.110 | storage | NFS Server |
192.168.56.100 | vip | Virtual IP Addr |
192.168.56.101 | mft_1 | UDMG Server Node |
192.168.56.102 | mft_2 | UDMG Server Node |
192.168.56.120 | db | PostgreSQL Database |
High Availability Configuration
To achieve High Availability for your Universal Data Mover Gateway system, you must configure the nodes and applications.
Configuring the NFS Server
Install the package required for the NFS server and related utilities
...
Panel |
---|
|
Configuring the first UDMG Server
System Configuration
Configure the /etc/hosts
file with the following entries:
...
Panel |
---|
|
Configuring NFS Client
Check if you can mount the filesystem from the storage
server
...
Panel |
---|
|
...
Validate that the file exists on the storage server before continuing.
Configuring Keepalived
Now we are going to configure the keepalived service.
...
This is the virtual IP configured by Keepalived
Configuring HAProxy
Create the following configuration file /etc/haproxy/haproxy.cfg
...
Panel |
---|
|
Configuring the UDMG component
Follow the UDMG for Linux Installation guide.
UDMG Server
Under the server.ini
configuration the following settings must be updated:
...
The paths
and database
section must be point to the /data (NFS Storage).
UDMG Authentication Proxy
Under the configuration of the proxy server.toml
...
Start the UDMG Server and UDMG Authentication Proxy.
NGINX for UDMG Admin UI
Configure the NGINX service to reach the IP that was configured before:
Panel |
---|
|
Start the nginx service.
Configuring the second UDMG Server
Repeat the above steps with the following difference regarding the state of the virtual IP.
Keepalived
Create the following configuration under /etc/keepalived/keepalived.conf
Panel |
---|
|
Checking the failover
In order to see whether the configuration was successful, stop one of the the mft server, and validate that the VIP interface is moving to the other host.
References
This document references the following documents.
...