Thoughts about Reverse-Proxy / Failover server

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
Jaymer
Posts: 2430
Joined: Tue Jan 13, 2015 10:58 am
Location: Tampa, FL
Contact:

Thoughts about Reverse-Proxy / Failover server

Post by Jaymer »

Am using Caddy
Have 1 unix Reverse Proxy, with 2 Aware servers, and another MSSQL data server backend (4 servers total)

I desire to have a health check which redirects traffic from Aware1 (primary) to Aware2 (backup) in the event of the primary going down.

The goal is to minimize user downtime in the event something happens to the primary Aware server.
But when traffic IS redirected AND A USER IS ACTIVE, its going to cause a login screen to appear (I would imagine - this isn't set up yet) due to the fact that the 2nd Tomcat server doesn't have a session for that Primary user.
So in the middle of work, the user will be asked to login again with no explanation.
And then once the Primary server is restored (lets say 5 mins, because an admin will be notified and can correct whatever happened) and the Health status is restored, THEN ONCE AGAIN the user(s) will have to get logged in as they all are automatically re-routed to the Primary.

Does this sound about right?
Does anyone not like this behavior? (I can imagine users will be annoyed if this happens too frequently, but its not like I have a server going down even once a week, so I'm not sure if it will even be a big deal)
Any way to improve on this scenario?
Click Here to see a collection of my tips & hacks on this forum. Or search for "JaymerTip" in the search bar at the top.

Jaymer
Aware Programming & Consulting - Tampa FL
Jaymer
Posts: 2430
Joined: Tue Jan 13, 2015 10:58 am
Location: Tampa, FL
Contact:

Re: Thoughts about Reverse-Proxy / Failover server

Post by Jaymer »

UPDATE: Email from Support

"you are right - if you logged in on one server you cannot be switched to another one, so automatic load balancing/failover is not supported."
Click Here to see a collection of my tips & hacks on this forum. Or search for "JaymerTip" in the search bar at the top.

Jaymer
Aware Programming & Consulting - Tampa FL
Post Reply