Additional considerations with load balancing Turnkey and MDrivenServer

Load balancing the Turnkey server

Use sticky-session to make sure user returns to same node during the session.

If you need to signal the LoadBalancer we suggest that you model a page and make it RestAllow=true - give the url to your load balancer and return the data you have agreed upon. For example you may want to return Active , or InActive in order to implement some application setting to move traffic away from a node you will work on.

Load balancing the MDrivenServer

Use Fail-over in load balancer. Only 1 MDrivenServer should be used at a time - but you can have hot-standbys.

Since the load balancer must know which of multiple MDrivenServers that is candidate for being the hot one - and also remember which one is hot you can give the load balancer the url http://<yourserver>/home/ReturnNodeNameIfOk

You then set unique names of the nodes in the UserAndRolesAdmin page in MDrivenServer

It is important that the Hot-standbys do not execute ServerSide-jobs - since these should only be on One server.

2022-10-11 14h01 51.png

1: Server name - make sure it is set - you want it unique per node in the load balance group

2: If the "Check Load balancer before running jobs" is not checked everything works as normal and periodic actions will always run (if the app is Started)

This page was edited 112 days ago on 01/11/2024. What links here