Forum Discussion
Mark_C_14355
Nimbostratus
May 14, 2008Best Practices for Load Balancing Windows Terminal Server
Hi,
This is my first post, so please be gentle.
We're preparing to use our LTM to load balance between two Windows Server 2003 Terminal Servers (with more to come in the future). I'm planning to use Session Directory to prevent duplicate sessions. Disconnected sessions will be terminated after a moderate interval (longer than lunches and breaks, but not by much).
To me, the metrics that make the most sense to use for Load Balancing decisions are Active Sessions, CPU utilization, and Memory utilization. CPU and Memory are pretty easy to get via SNMP, but from what I can tell, Active Sessions is not. To get Active Sessions, the next easiest method appears to be WMI.
I believe that I have the f5isapi.dll installed and configured correctly on the server I am wanting to poll.
My questions for those who have been down this road before me:
Am I heading in the right direction (should I base LB decisions based upon custom metrics, and are the ones I listed the right ones)?
Is WMI the easiest and/or best way to get Terminal Server Active Sessions?
How can I verify the information the LTM is getting back via WMI? (I do have access to the console on the LTM)
Based on the answers I get, I'm sure I'll have plenty more questions. Thanks in advance for any advice.
Mark
- The_Bhattman
Nimbostratus
Hi Mark, - Mark_C_14355
Nimbostratus
CB, - JRahm
Admin
That's not over-analysis at all, that's good practice. If your user base is that variable, you should weigh the options between least connections and a more advanced algorithm. If you really want to go the extra mile, you could write a C application that would do the analysis of each server for you via WMI, and update the load balancing mechanisms automagically with iControl. - Ryan_Korock_46Historic F5 AccountMark, I think your concern is definately valid.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects