We help IT Professionals succeed at work.

Load Balancing RDS Servers and RDWeb

mnevoso asked
Last Modified: 2012-08-13
I am setting up two RDS servers for load balancing. What i would like to do is setup rdweb on a seperate server that the clients connect too.  Once they connect they login and have the option to connect to the rds server (either rds01 or rds02)  whichever is accepting connections. I do not want to have to setup a VPN for the users and i would like to make this as simple as possible on there end.  WOuld i need need a RDS Broker and Gateway Service? Not to sure where to start with right now.
Watch Question

Top Expert 2011

You only need the broker if want load balance between rdweb and vdi, if you want load balance for the session host then DNS round robin is your only free choice.  You will need a gateway if you want users to come in from the internet


what is vdi?

the way we have it setup now is from the web we want users to connect to rdweb then connect to the rdfarm session broker which will distribute which rds server the user connects to. The gateway is the only way to get the users to connect from rdweb to internal rds server then correct?
Top Expert 2011

VDi - Virtual Deskop Interface.  You create them using Hyper-V.

The Gateway will route to RDWeb via the broker. If you want your users to open a session on an RD host the broker can not load balance this, you have to use round robin in DNS


also do you know what dns names i would need to create if i am using a SAN certificate?


or no?
Top Expert 2011

you need to use your farm name.  You create A records for every RDS server you have using the farm name, this is how DNS will load balance.


yes the load balance i undrestand but for the public to access rdweb/rds hosts with a san certificate should i add all entried for public and local?
Top Expert 2011

Yes add them


ok, the certificate is done. i am going through the setup and for the life of me i cannot get the rd gateway and rd session broker to work correctly


rds01 - host in farm only (no rdweb installed)
rds02 - host in farm only (no rdweb installed)
RDSFarm - farm name (round robin dns)

rdsbroker - rd gateway/rd broker/ licensing/rdweb server

i cannot get the rdp icon to populate in rdweb. i was before but i made some changes following ms articles and it disappeared. i believe i have the rd gateway and session host configuration done correctly now as the RDSFarm populates as a farm with both servers.  i also went into config on rdweb site and selected broker and put in rdsbroker.xxx.local. what i want to do is connect to rdweb have the rdp link sitting there and the users to click that and it connects to broker and pushes to farm and chooses a server to connect to. any ideas?
Top Expert 2011
This one is on us!
(Get your first solution completely free - no credit card required)


thanks, i was able to resolve it, stupidly i didnt realize the gateway needed to be public facing. i was able to get everything working now, i just have one issue locally if i try to connect to the host servers i can connect to one at a time but the other gives an error message saying

"The connection cannot be completed because the remote computer that was reached is not the one you specified. Thus could be caused by an outdated entry in DNS Cache.  Try using the IP address of the computer instead of the name"

i enter the IP address and it goes to the other server. is there a way to resolve this for admin purposes?
Top Expert 2011

Flush the DNS cache on the client.

That why I mentioned it about the gateway needs to be in DMZ because it needs direct acess to the net.


already flushed the dns cache. is there a reason why it does that?

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.