Load Balancing issues

Get help with troubleshooting issues
Post Reply
fakebrains
Posts: 51
Joined: Tue May 17, 2016 8:24 pm

Load Balancing issues

Post by fakebrains » Fri May 12, 2017 8:17 pm

We are having some issues with load balancing. It does not seem to be balancing correctly. We have a variety of users using either the web portal or the remote client app. I know that on the portal, sometimes the users do not close the screen. Probably to save typing in their credentials again to logon. This could be part of the issue and it might have the credentials entered and the old server there and when they hit logon it connects. The problem may be is that when hitting logon it should refresh the server on the list and load balance appropriately.

It also might be a server configuration issue. Both servers are running 2012.

TSPlus Version 10.10.3.28
Load balancing weights
Users 0
Memory 100%
CPU 0
I.O 0



Server 1: 84% memroy utilization users 14 (4 core, 7 gb)
Server 2: 46% memory utilization Users 18 (8 core, 15 gb)


Even though I have the load balancing set to just check for memory it looks like server 1 is entering the danger zone of memory usage as server 2 is still under 50%. Any ideas ?

User avatar
admin
Site Admin
Posts: 1649
Joined: Wed Sep 05, 2012 6:38 am

Re: Load Balancing issues

Post by admin » Sun May 14, 2017 3:38 pm

Hello,

Make sure you checked the "Use gateway" box in the gateway tab of the client generator otherwise the generated connection client will not load balanced as it should but will always keep on connecting to the same server.

If checked the "Sticky session" option, a disconnected session will always reconnect to the same server. More information about the sticky session feature can be found here : http://www.terminalserviceplus.com/docs ... ng-feature

If you believe some users are abusing this to avoid having to re open a new session you can choose to set a lower time for session disconnection.

In the AdminTool, click on the Server tile and click on "Group Policies (GPO)"

You can set up a timeout for disconnected sessions which will cause a disconnected user session to automatically logoff after a while.

If you want your disconnected sessions to terminate quickly, type in 0.5 for 30 sec. Enter 0 if you want your remote sessions to never end.

If your server is the member of a domain, this strategy may need to be set directly on the domain controller.
Open your domain strategy object editor (gpedit.msc) and locate the following strategy :

Computer configuration / Administrative Template / Windows components / Remote Desktop Services / Remote Desktop Session Host / Session time limit /

You can also make sure your domain controller do not prevent local strategies to be executed. This strategy needs to be disabled and is located in :

Computer configuration / Policies / Administrative Template / System / Group Policy / Turn off Local Group Policy objects processing.

Either solution should work, choose the one that fits your preference.
Olivier
TSplus support team administrator
Image

fakebrains
Posts: 51
Joined: Tue May 17, 2016 8:24 pm

Re: Load Balancing issues

Post by fakebrains » Mon May 15, 2017 5:43 pm

Thanks !
Re generating clients with "Use gateway" box in the gateway tab.

fakebrains
Posts: 51
Joined: Tue May 17, 2016 8:24 pm

Re: Load Balancing issues

Post by fakebrains » Wed May 17, 2017 3:00 pm

Do you know if there is a way to force load balancing of all clients. I am having to hunt down each user at different companies and not always sure I get all of them. Regenerating clients with the load balancing option works. Perhaps this is a request to implement if you do not have such an option.

User avatar
admin
Site Admin
Posts: 1649
Joined: Wed Sep 05, 2012 6:38 am

Re: Load Balancing issues

Post by admin » Thu May 18, 2017 10:06 pm

Hello,

Unfortunately this feature does not exists as it is located on client side only. You can verify that the loadbalancing is correctly configured on existing connection client by editing its properties and verify that the following switches are present :

-loadbalancing 1 -ploadbalancing 80

Here is how to view and edit your connection client's settings : http://www.terminalserviceplus.com/docs ... ted-client
Olivier
TSplus support team administrator
Image

Post Reply