RDP connection Round Robin functionality not working.

Drew McCurdy
Drew McCurdy used Ask the Experts™
on
I have a 2016 RDS system comprised of 4 servers. "Server1" = Licensing/Connection Broker/WebAccess; "Server2" = Profile disk host for .VHDX files. "Server3" = Session Host; "Server4" = Session Host.  There is one Collection called "Test" which both Session Host servers (Server3 and Server4) are members. There is no Gateway server because this is an internal system only with no public access. NOTE: I have not created any certificates as I did not think them needed due to public access not being allowed.

Issue: Not always, but sometimes when a client tries to RDP into one of the Session Hosts, the attached error occurs. I have read lots of conflicting information regarding the "Farm" that is referenced in the error. I have read that there is no need to add DNS entries for Round Robin functionality between these Sessions Hosts with 2016 RDS systems, and I cannot find any Farm name to direct my clients to.

My next step was going to be to add RD Gateway functionality to Server1 to see if I could create a Farm and then actually get a Farm name and, subsequently, add the DNS entries. I'm going to wait on responses before doing so.

If anyone can help here, I would really appreciate it.

Thanks,
Drew McCurdy
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2016

Commented:
no attachment.. one usually rdp's into the connection broker and not the session host. The connection broker then decides which session host.
Distinguished Expert 2018

Commented:
There is no attachment so we don't know the error.

Dont try to create a farm name and round Robin DNS records. That *will* break things. The purpose of the connection broker is to redirect connections. Using round Robin DNS and a farm name can cause the connection broker to be bypassed and since it'd be unaware of the connection, it'd fail to reconnect disconnected sessions or balance loads in any meaningful way.

Since Server 2012, the RDCB is the orchestrator for all of that. There is no need to do the 2008 era "farm" configuration.

Author

Commented:
I updated the post with the error.

David, you wrote "one usually rdp's into the connection broker and not the session host". That's the first time I've read that and brings me to the question of how would that work if the there are, say 5 collections (each collection using different session hosts) that the Connection Broker knows about. In other words, if I have users rdp using server name of the Broker, how does the Broker know what collection to route the user to?

Cliff what you wrote is exactly how I understood it to work, however, the error indicates otherwise. There are no server errors to guide me into a solution, so I'm at a loss.
Bootstrap 4: Exploring New Features

Learn how to use and navigate the new features included in Bootstrap 4, the most popular HTML, CSS, and JavaScript framework for developing responsive, mobile-first websites.

Distinguished Expert 2018

Commented:
There is still no attached error.
Quick question: how are users connecting to the RDS envirinment?  Are you having them open mstsc and manually filling out info?!? If so, that is wrong.
Top Expert 2016

Commented:
you need to amplify your setup i.e.
server 1/2/3 - collection 1
server 4/5/6/7 - collection 2
server 8 - collection 3

so you need 2 connection brokers  
RCCB #1  uses servers 1/2/3
RCCB #2  uses servers 4/5/6
direct connect to server 8 OR add another connection broker that connects to server 8 option to add additional servers for collection #3

Do you seperate your collections by AD Groups? you can restrict access to collections by AD user group and only use 1 connection broker

Author

Commented:
Sorry, Dave, I confused things when I brought up "5 collections". That was a hypothetical. I only have one collection with two Session Hosts dedicated to it. As for the error, I've tried to upload a picture twice and edit the original post with the error as well. Those attempts didn't work, so I'm just going to put at the bottom of this reply. Btw, I've found some information relating to the error in the following link, but it applies to 2012. What do you think?

https://www.sevecek.com/EnglishPages/Lists/Posts/Post.aspx?ID=86

Error: "Remote Desktop Connection cannot connect to the remote computer.
The remote computer that you are trying to connect to is redirecting you to another remote computer. Remote Desktop Connection cannot verify that the computers belong to the same RD session host server farm. You must use the farm name, not the computer name, when you connect to an RD session host server farm."
Distinguished Expert 2018

Commented:
So I will repeat:

Quick question: how are users connecting to the RDS envirinment?  Are you having them open mstsc and manually filling out info?!? If so, that is wrong.

Author

Commented:
This system isn't in production, yet;  but, yes, right now as I'm testing, I am manually filling in info.
Distinguished Expert 2018
Commented:
It won't work. And the reason why stems back to a question you asked earlier:

"if I have users rdp using server name of the Broker, how does the Broker know what collection to route the user to?"

When yoj are using mstsc then the broker can't know. Even if you only have one collection. Mstsc has no GUI to specify the collection name.

*BUT* if you use the RDP files that are created for RDWA (either by using the website or by subscribing to the XML feed) then that has the collection name embedded it it.  They can be saved and opened in notepad to verify this.  That collection property is sent to the connection broker when you connect and the broker then k ow where to redirect you.

Microsoft basically made RDWA a mandatory component and the intended way to distribute RDS resources to end users. They never enhanced the mstsc GUI to handle the new architecture. You'll never get successful tests using it alone.

Author

Commented:
David and Cliff, thanks for all your help. Hopefully, I can find some straightforward guidelines on how to use the RDP files you stated were necessary.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial