question

JamesWalls-0449 avatar image
0 Votes"
JamesWalls-0449 asked JamesWalls-0449 answered

remote desktop 2016 cant connect

remote desktop 2016

we have an rds setup, and currently use only one rdsh, this worked great, however when we add another rdsh server users cannot connect to anything.

i have added the second rdsh to the dc dns with farmname and installed the services. I'm sure that this is set up correctly, router it forwarding to rdsh1 (connection broker)

what would cause this behaviour when second rdsh is set to true, no one can connect, make this false and it works as before.

thanks

James

remote-desktop-services
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Jingruihan-MSFT avatar image
0 Votes"
Jingruihan-MSFT answered

Hi James,

You need to implement Round Robin DNS to get this working.

To load balance sessions in an RD Session Host server farm, you can use the RD Connection Broker Load Balancing feature together with Domain Name System (DNS) round-robin. To configure DNS, you must create a DNS host resource record for each RD Session Host server in the farm that maps the RD Session Host server’s IP address to the RD Session Host server farm name in DNS.
The following procedure provides the steps to configure DNS on a Windows server domain controller.
You must be a member of the Domain Admins, Enterprise Admins, or the DnsAdmins group to complete this procedure.

To add DNS entries for each RD Session Host server in the farm

  1. Open the DNS snap-in. To open the DNS snap-in, log on to a computer where the DNS snap-in has been installed, click Start, point to Administrative Tools, and then click DNS.

  2. Expand the server name, expand Forward Lookup Zones, and then expand the domain name.

  3. Right-click the appropriate zone, and then click New Host (A or AAAA).

  4. In the Name (uses parent domain name if blank) box, type the RD Session Host server farm name.
    The farm name is the virtual name that clients will use to connect to the RD Session Host server farm. Do not use the name of an existing server. For management purposes, we recommend that you use the same farm name that you specified when you configured the RD Session Host servers to join a farm in RD Connection Broker.

  5. In the IP address box, type the IP address of an RD Session Host server in the farm.

  6. Click Add Host.

  7. Repeat steps three through six for each RD Session Host server in the farm.
    Important: You must specify the same farm name in the Name (uses parent domain name if blank) box for each DNS entry.
    For example, if you have three RD Session Host servers in a farm named FARM1, with IP addresses of 192.168.1.20, 192.168.1.21, and 192.168.1.22, the entries would look similar to the following:
    Farm1 Host(A) 192.168.1.20
    Farm1 Host(A) 192.168.1.21
    Farm1 Host(A) 192.168.1.22

  8. When you are finished, click Done.
    Note: By default, DNS round-robin is enabled when using DNS on a Windows Server domain controller. The Enable round robin setting is available on the Advanced tab when you view the properties of the server in DNS.

Additionally, if neither of these steps are solved, please take a screenshot of the specific error message of the connection failure.

If the answer is helpful, please click "Accept Answer" and upvote it.

Best regards

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

JamesWalls-0449 avatar image
0 Votes"
JamesWalls-0449 answered

Hi and thanks for the reply, much appreciated , I have done these DNS steps previousley and checked that the entries are there, they are . i also checked that round robin was enabled on the DC, i am unable to turn true on , on the second rdsh server at the moment, as this is a live system, and I don't want to stop anyone getting on. I would wait till a quiet time, for this test.

in the meantime is there any other things I should look at?

many thanks

James



5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Jingruihan-MSFT avatar image
0 Votes"
Jingruihan-MSFT answered

Do you trying to put them into one collection?

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

JamesWalls-0449 avatar image
0 Votes"
JamesWalls-0449 answered Jingruihan-MSFT commented

HI , there is only one collection say its called Collection1 ,DNS host records are there,

Collection1 = 192.168.1.90
Collection1 = 192.168.1.91

also the RDSH dns

Rdsh names rdsh1 = 192.168.1.90
Rdsh names rdsh2 = 192.168.1.91

Currently set as follows
rdsh1 is currently set to = True
rdsh2 is currently set to = False

when Rdsh2 is set to = True

current connections will stay connected to Rdsh1 but now no new connections can be made.







· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Is everything ok?

0 Votes 0 ·
Jingruihan-MSFT avatar image
0 Votes"
Jingruihan-MSFT answered Jingruihan-MSFT edited

Hi,

Did you put the RD Session Host Computers into the RDS Endpoint Servers?

"Servers in this group run virtual machines and host sessions where users RemoteApp programs and personal virtual desktops run. This group needs to be populated on servers running RD Connection Broker. RD Session Host servers and RD Virtualization Host servers used in the deployment need to be in this group."

89672-image.png

Please refer to this link, you can deploy a Remote Desktop Connection Broker (RD Connection Broker) cluster to improve the availability and scale of your Remote Desktop Services infrastructure.

https://docs.microsoft.com/en-us/windows-server/remote/remote-desktop-services/rds-connection-broker-cluster


If the answer is helpful, please click "Accept Answer" and upvote it.

Best regards


image.png (104.1 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Jingruihan-MSFT avatar image
0 Votes"
Jingruihan-MSFT answered Jingruihan-MSFT published

Hi, haven't received your message a few days, was your issue resolved?

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Jingruihan-MSFT avatar image
0 Votes"
Jingruihan-MSFT answered

Hi, is everything ok?

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

JamesWalls-0449 avatar image
0 Votes"
JamesWalls-0449 answered

Sorry for the late reply, been working on other things, i will be testing this tonight, just as a side not, on my test system i do not have any servers in this group and all seems to be working. so not sure why this would be required. when trsting i would add the connection broker and session hosts to this group and report back

james

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

JamesWalls-0449 avatar image
0 Votes"
JamesWalls-0449 answered

update to origional question

current connections will stay connected to Rdsh1 but now no new connections can be made to both Rdsh1 and Rdsh2

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

JamesWalls-0449 avatar image
0 Votes"
JamesWalls-0449 answered

On further testing . The second host is set to true and we try and log in using rdp . We get estimating connection quality, then initialising remote connection. Then we can't connect. When that same user tries to log in again. After we set host 2 to false. It then tries again to connect host 2 even though it is now unavailable.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.