7/5/2025 2:29:27 AM
|
|
slxdeveloper.com Community Forums |
|
|
|
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
Forum to discuss the use of the SalesLogix Web Platform, Client and Customer Portals, and the Application Architect (For version 7.2 and higher only). View the code of conduct for posting guidelines.
|
|
|
|
Load balancing
Posted: 17 Aug 09 6:27 PM
|
Has anyone done load balancing with 7.5.1 Web using Windows Network Load Balancing Manager? We have two servers running identical web 7.5.1 sites and need to balance access to these sites. In reading the thread at http://www.slxdeveloper.com/forum.aspx?forumid=4002&postid=22668 I'm concerned about how to:
1. Set appropriate affinity settings 2. Specify all site instances (Server:Port) and divide the requests across the instances - I'm being told Windows NLB can only support one instance per server running on port 80 - that seems wrong 3. Determine if SalesLogix is functional and, if not functional, take the instance out of the rotation 4. Avoid problems with Machine Encryption keys (seems to to affect forms authentication?)
Thanks for any experience and/or advice.
-Doug
|
|
|
|
Re: Load balancing
Posted: 18 Aug 09 3:23 AM
|
1) Regarding affinity settings, unless you have Multiple Proxies at a client site you would want to choose "Single". 2) As far as I know (and it has been a while) this is true. However, there is one way to get around this.... Instead of utilizing additional ports, for additional Instances, Bind additional IP addreses to the machine and have specific IPs bound to specific Instances. So, if you have 5 sites running out of a Server, Instead of Using 192.168.0.1 Port 80 through 84, you would use 192.168.0.1 through 192.168.0.5 on Port 80
(You will need to read up on Virtual Clustering and check if this is possible. Worst case you could end up with one Virtual Cluster per Instance Count and load balance the request via DNS)
3) It has been quite a long time since I went through NLB training, but as far as I recall, it is supposed to recognize the failure, never the less. Also, there are some script functionality that could be used by a Custom Monitoring agent to manage NLB (http://msdn.microsoft.com/en-us/library/aa372849(VS.85).aspx)
4) This is typically to allow the application to fail gracefully when by any chance a user is redirected to a different Instance. It won't allow the user to keep on working on a difference instance, but will allow the new instance to Decypher the request and properly reject it without generating an error message.
|
|
|
|
Re: Load balancing
Posted: 19 Aug 09 5:19 PM
|
Thanks Raul. Very helpful.
For the time being we have implemented a simple (random) balancing scheme in javascript on the landing page for the application.
Here's the code for anyone interested:
In HEAD: <script type="text/javascript"> var Servers = new Array(); Servers[0] = "some.server.com:80"; Servers[1] = "some.server.com:81"; //Servers[2] = "someother.server.com";
function LoadBalancer_GetServer() { return Servers[Math.floor(Math.random() * Servers.length)]; } </script>
In BODY: <script language="javascript"> var server_url = LoadBalancer_GetServer(); document.write("[a href='http://"+server_url+"/SlxClient/']Log On to SalesLogix[/a]"); </script>
NOTE: I've used "[" instead of "<" so that the forum doesn't evaluate the code as a literal hyperlink tag.
|
|
|
|
Re: Load balancing
Posted: 20 Aug 09 2:33 AM
|
I have done something similar to Doug in the past where we had a server with lots of processor and memory so we set up 5 separate virtual's - each with its own App Pool - and had a piece of ASP/VSScript that pretty much did the same thing as Doug's code.
Stephen
|
|
|
|
You can
subscribe to receive a daily forum digest in your
user profile. View the site code
of conduct for posting guidelines.
Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
|
|
|
|
|
|
|
|