Configuring AWS Application Load Balancer (ALB) for routing traffic to Applications Manager Failover setup
Step 1: Failover Setup
- Follow this document and set up the Applications Manager Failover.
- It is recommended that you deploy the database server in the Cloud infrastructure as well.
- To use PGSQL, you can use bundled PGSQL with Applications Manager.
- To use MSSQL, deploy it in the AWS cloud infrastructure (MSSQL in RDS service/MSSQL in EC2 Instance).
- Deploy two EC2 instances in accordance to the hardware requirements given here to configure the Applications Manager Failover setup.
Note: In the failover setup, the primary server, secondary server and the database server should be able to communicate with each other. Ensure that all resources are in the same network i.e., using the same VPC for setting up resources is preferred.
Ensure that the Failover setup of Applications Manager in EC2 is running to configure
Application Load Balancer to route the traffic.
- To create target groups, follow the steps here.
- Register Applications Manager's primary and failover server's instance IDs as targets.
- Enter the default ports (HTTP: 9090 & HTTPS: 8443).
- Configure health checks with minimum value to ensure quick availability of failover setup.
- At any given time, only one of the targets will be healthy and the other target will be on standby.
Step 2.2: Creating an ALB
- To create an Application Load Balancer, follow the steps here.
- Create a listener and associate it with the target group created in the above step to facilitate request forwarding.
- While specifying the rules, you can use the default rule.
- After creating the load balancer, note down the DNS and listener port.
- Access the ALB's DNS in the listener port and check if the Applications Manager is accessible.
- ALB will automatically redirect to the targets based on their health status.
Ensure that the security group of ALB is configured to receive an inbound request at the listener port.
Failover in ALB Flow Chart
Demo setup screenshots
Setup Details:
Failover-instance-1
- Applications Manager
- HTTP: 9090
- HTTPS: 8443
- MSSQL (Can configure RDS also for Applications Manager backend)
- TCP: 1433
Failover-instance-2
- Applications Manager
- HTTP: 9090
- HTTPS: 8443
Target group:
Protocol & Port: HTTPS: 443
Targets: Failover-instance-1 & Failover-instance-2 in port 8443.
At a given time, only one target will be in a healthy state and the other server will be serving as a failover.
Health Checks:
Application Load Balancer (ALB):
Listener: HTTP:80 & HTTPS:443 (Protocol & port same as Target group's)
Forward to: APM-Failover-HTTPS & APM-Failover (Target groups)
Rule: Default
New to ADSelfService Plus?
Related Articles
Configuring Applications Manager Failover setup across multiple regions/networks in AWS
To configure APM Failover setup in a single region using Amazon Application Load Balancer, refer to this Knowledge Base. Agenda: To configure APM Failover between multiple networks, consider the following scenarios: Establish communication between ...
Failover support in Applications Manager
Failover is an alternate Application High availability (HA) mode that facilitates automatic switching to a secondary/ backup server, database, or network when the primary system breaks down, or is unavailable due to maintenance. Configuring failover ...
Configuring Zoho as an OAuth Provider in Applications Manager
Zoho's OAuth token is used to access services in Applications Manager like integration with Site24X7, integration with Service desk, access to Zoho Mail APIs etc. As it seems a daunting task to go through all the documentation of the product, here ...
ManageEngine Applications Manager High Availability setup with dual database (MySQL).
Apart from the Failover setup, which uses a single database and dual Application Server, we also support a failover with dual database and Application Server. Failover support requires you to configure Applications Manager Secondary (Standby server) ...
Installing Applications Manager in AWS
Applications Manager can be installed in EC2 instances in both Windows and Linux platforms. Applications Manager comes with bundled PostgreSQL. Installing Applications Manager in EC2 for Windows Go to EC2 console and launch an "Windows" instance ...