NAV2017 Middle tier Load balancing

soetie
Member Posts: 62
Hi all,
i have searched on this forum already but has anyone experience how to setup load balancing for the middletier?
Is there any document on how to do this.
Create multiple instances but how can i make sure that some users connect to the first servicetier and the other users to the second?
regards
i have searched on this forum already but has anyone experience how to setup load balancing for the middletier?
Is there any document on how to do this.
Create multiple instances but how can i make sure that some users connect to the first servicetier and the other users to the second?
regards
0
Best Answers
-
Hello soetie,
Your question is more related to routing and switching than it is related to NAV.
If you have a load balancer that will handle two (or more servers) then you need to tell to this load balancer to connect on which server depending on the user request.
Concretely:
1- all users should use the same url which points to the load balancer,
2- when the load balancer receives a request, it should redirect it to the available server (NAV server url),
3- the available server will process the request and will give the answer to the load balancer,
4- then the load balancer should transfer the answer to the user.
I hope this will help you understand and resolve your issues.5 -
In the past ( >2 years ago) we looked into this and I think that, for a client session, the load balancer needs to always direct calls from that session to the same nav server (because of result sets being only available on 1 servicetier). We looked into Windows load balancers and they could not do that, so we used linux-based custom balancers.
We have moved to a different hosted environment now so I don't know about the latest NAV versions, though.Jan Veenendaal5 -
in my case, it was NAV 2016 with F5 as load balancer. It handles two virtual servers (each server contains multiple NAV instances).5
Answers
-
Hello soetie,
Your question is more related to routing and switching than it is related to NAV.
If you have a load balancer that will handle two (or more servers) then you need to tell to this load balancer to connect on which server depending on the user request.
Concretely:
1- all users should use the same url which points to the load balancer,
2- when the load balancer receives a request, it should redirect it to the available server (NAV server url),
3- the available server will process the request and will give the answer to the load balancer,
4- then the load balancer should transfer the answer to the user.
I hope this will help you understand and resolve your issues.5 -
Thanks for you reply. Im using for now the windows load balancer. Im having a test situation, which is working for iis webserver. But i cant get the nav application to work at the loadbalance address.
Im searching what i have to adjust now to make sure that nav understands that 1 have 1 address to connect on. I think i have to put some settings in the load balancer.
0 -
In the past ( >2 years ago) we looked into this and I think that, for a client session, the load balancer needs to always direct calls from that session to the same nav server (because of result sets being only available on 1 servicetier). We looked into Windows load balancers and they could not do that, so we used linux-based custom balancers.
We have moved to a different hosted environment now so I don't know about the latest NAV versions, though.Jan Veenendaal5 -
in my case, it was NAV 2016 with F5 as load balancer. It handles two virtual servers (each server contains multiple NAV instances).5
-
okay, great, i will give it a try if it will work with windows load balancing... but.... i think there is external tooling needed
update: it is not. I have got i working! THanks for the help!
0 -
Hi @soetie,
Just like to check if you were able to make it work for the nav application load balancing and what was the fix you did.
As of now, load balancing via L4 for our two Web Server is working but i could not make it work for the nav application.
Hoping for your reply.
Thank you in advance.0 -
Hi,
i have got it working. Just with the default settings with the windows NLB settings.
0 -
Just like to clarify what we have done so far.
Basically, we have a load balancer (FQDN) for the two Web Server which is already working.
But if we change the WebConfig settings to use the load balancer (FQDN) for the nav application server it is not working.0 -
Hi there,
I know it is an old thread, but maybe this is an adequate solution for you.
https://community.dynamics.com/nav/f/34/t/254712
Honestly I do not test it, but I am looking for a solution for ourselves and this one looks not too complicated.
I am looking forward for a reply.
Best regards,
Jaja0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions