AMC Url when TAC is Load Balanced

Six Stars

AMC Url when TAC is Load Balanced

We have our environment setup with 2 TAC servers which are load balanced. They therefore share the configuration values from our database (PostgreSQL). We have everything setup and working with one issue - the AMC URL. We can get the AMC URL to function properly by pointing it to a specific host name and port the user is logged into - i.e. 'https://ServerA/amc'  or 'https://ServerB/amc'  based on where the load balancer sent them.

The issue is obviously that we have the AMC installed on both servers - not just one - because our TAC servers are mirrors of each other and are behind a load balancer. 

We've tried "localhost:8080"; "localhost:23456"; etc. The load balancer appears to be the stumbling block here. We had a similar issue with the CommandLine configuration as it is also installed on both TAC servers. Adding a static name in the "configuration.properties" setting allowed "localhost" to work for this configuration setting.

How can we get the AMC to also work using "localhost" so that it refers to the installation associated with the TAC server the user is logged on to at the time? If we can't do this, the work around is to have it pointed to one instance - and if that goes down, change the configuration settings - but ideally you'd want it pointing to the amc on the server you've signed into.
Thanks!

Seventeen Stars

Re: AMC Url when TAC is Load Balanced

In general I would never use localhost as host/server name because often these URLs will be transmitted to the studios and they run usually not on the same server as the TAC and therefore localhost does not work.
Use the correct names of the servers or their IP addresses.

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

The Forrester Wave: Strategic iPaaS and Hybrid Integration Platforms, Q1 2019

Find out how Forrester rate different iPaaS and Hybrid Integration Platforms

Read

6 Ways to Start Utilizing Machine Learning with Amazon We Services and Talend

Look at6 ways to start utilizing Machine Learning with Amazon We Services and Talend

Blog

Why Companies Move to the Cloud: 7 Success Stories

Learn how and why companies are moving to the Cloud

Read Now