Forum Discussion
RDS Farm not Balancing
Here's my setup:
- 1 server hosting RDS Gateway & Web Access roles
- 1 connection broker
- 2 RDS Sessions hosts in a farm
- (All are Windows Server 2008 R2)
I have the Session Hosts load balanced via my LTM as described in the RDS Deployment Guide. The Gateway/Web Access server and the Connection Broker are just single servers and are not setup in the F5 at all.
I have a RemoteApp published to the Web Access server, and it works just fine... However, the load is not being distributed. Right now I have 20 sessions on Session Host 2, and only two on Session Host 1. Of those, 11 are disconnected but still logged in, and 9 are actually active (all on Node 2)
If I login to the F5 and look at the statistics for the Virtual Server, it says there is currently only 1 connection. I suspect this is part of the problem, since the pool is set to load balance via "Least Connections (member)"
Not exactly related, but it also appears to not be creating persistence records, (The virtual server is set to use MSRDP persistence, but none show up on the Statistics report.)
Any ideas?
- mikeshimkus_111Historic F5 AccountHi James, that doesn't make much sense. Are you sure that your clients are really connecting via the LTM? Is the RD Web Access server returning the farm DNS name that points to the VIP, or directly to the RDSH servers?
- James_125728Nimbostratus
Web Access configuration is set to "One or more RemoteApp sources:" and I have specified the RDS Farm name (which points to the VIP).
In order to get that to work, I had to create an additional Virtual Server to load balance traffic to port 135. (Which I found in an *old* version of the RDS deployment guide.)
- mikeshimkus_111Historic F5 AccountLooks like we may have missed the port 135 virtual server guidance in the new deployment guide. It only seems to be necessary when adding the RDSH farm name as a source; once I've done that, everything works without any traffic hitting that VIP. We'll get the new guide updated with that.
- James_125728Nimbostratus
Found this advice on a TechNet discussion thread:
- On each of the server you will also need to go to the Remote App Configuration.
- Go to the Remote App Deployment settings
- Connection settings.
- Change the FQDN to the FQDN of the Farm name
They were using DNS round robin with Connection Broker load balancing, but this also seems to have helped with the load balancing problem in my environment. The connection counts listed in the F5 now appear to match the actual active sessions on my RDS hosts. I'll keep an eye on this for the rest of the day, but I'm optimistic that this is fixed.
My only remaining issue is the lack of Persistence Records. They're still not being created.
- mikeshimkus_111Historic F5 AccountWhich version of BIG-IP are you running?
- James_125728NimbostratusSys::Version
- mikeshimkus_111Historic F5 AccountMSRDP persistence records should show up with that version. Assuming your msrdp persistence profile has the "Has session directory" option checked, and the connection broker is set to use token redirection, I'm not sure why they aren't showing up. Can you post the config of your RDSH VIP here?
- James_125728NimbostratusWhat's the best way to post the config in a usable format?
- mikeshimkus_111Historic F5 AccountDo a "list ltm virtual " and a "list ltm persistence msrdp " from tmsh.
- James_125728Nimbostratusltm virtual ERP-RDS-TRAIN {
Recent Discussions
Related Content
* 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