Solved

Balancing  RemoteApp Connections

Posted on 2014-11-11
8
580 Views
Last Modified: 2014-11-13
Afternoon,

If I wanted my gateway server to manage my connection requests for remoteapp, what would be the best methodology to this?

Here is my current configuration:

Server A - Gateway/Connection Broker/RemoteApp server
Server B and C - RDSH servers

If I wanted incoming requests from, regardless of internal or external means. to be load routed evenly to each server, what would be the best practice to accomplish this in Windows?
0
Comment
Question by:victory2201
8 Comments
 
LVL 24

Assisted Solution

by:VB ITS
VB ITS earned 100 total points
ID: 40437010
You can set up a load-balanced RD Session Host server farm, which will evenly spread the load between your two RDS hosts. The steps in this article should help you on your way: http://technet.microsoft.com/en-us/library/cc753891.aspx

If you run into any issues or have any questions, let me know.
0
 
LVL 38

Expert Comment

by:Aaron Tomosky
ID: 40437219
That's exactly the setup I run and with windows server 2012r2 it makes it very easy compared to 08. Here is the QuickStart for everything on one server
http://blogs.technet.com/b/yungchou/archive/2013/02/07/remote-desktop-services-rds-quick-start-deployment-for-remoteapp-windows-server-2012-style.aspx

And here is a much better walkthrough
http://msfreaks.wordpress.com/2013/12/09/windows-2012-r2-remote-desktop-services-part-1/
Another well written guide:
http://thewolfblog.com/2014/02/08/deploying-a-2012-2012r2-remote-desktop-services-farm/
0
 
LVL 36

Accepted Solution

by:
Mahesh earned 400 total points
ID: 40437387
Assumed that you have 2012 \ 2012 R2 RDS servers
For internal network Gateway server will not come in picture
Once you logged on to RD web access server and clicked on published remote apps, the requests are directly routed to Session broker server and session broker will load balance those requests to available RD Session Host servers
If user has disconnected session, session broker point user to disconnected session.

If you are connecting to remote apps from internet, then only RD Gateway comes in picture. In that case user tries to access published remote apps on rd webaccess server, the requests are forwarded to RD Session broker via RD gateway server and again RD Session Broker server will load balance \ choose to which RDSH server requests to be forwarded

In any case RD Connection broker is responsible for load balancing \ connecting disconnected sessions.

In reality you should put connection broker on separate server in corporate network
RD web access and Gateway can be on one server and this server should be published on internet.

In days of 2008 R2 connection broker is limited to reconnect disconnected sessions and its not load balance incoming requests and in that case you do require NLB for RD Session Host servers
0
Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

 

Author Comment

by:victory2201
ID: 40437980
Thank you all for your comments.

VB, I followed that link you sent me and setup all requested functions within my environment.

When I am connecting through RemoteApp (this is being done through Control Panel > Remote Apps and Desktops) I can see the same application hosted twice from both RDSH servers in my farm. (Image A) I would like to have those be one icon, that can launch on either of the farm servers.

If I proceed by clicking on the icon, no matter how many logins there are to the application, it always wants to direct the connection back to my broker server and launch the application from there.
ImageA.png
0
 
LVL 36

Assisted Solution

by:Mahesh
Mahesh earned 400 total points
ID: 40439169
I think the problem exists with Connection Broker, as RD Web access get remote app collection information from Connection broker server and same is downloaded on client computers \ control panel \ remote apps
On your RD Connection Broker, check the following location and remove the registry key (after backing it up) that corresponds to old collection if any

HKLM\ SOFTWARE\ Microsoft\ Windows NT\ CurrentVersion\ Terminal Server\ CentralPublishedResources\ PublishedFarms\ <CollectionName>

Then refresh RD web access url, then delete all existing remote apps from desktop and again download fresh copy from rd web access and check.
0
 

Author Comment

by:victory2201
ID: 40440007
Mahesh,

You were correct, it was a problem with the settings on my connection broker. The remote apps are load balancing correctly now.

In regards to getting Control Panel > Remote Apps and Desktops working when outside my network, what approach should I take? I can already access the application by creating an rdp or msi, however I would still like for users to be able to download the remote apps to their local windows clients. When I try this now, I connect, however I never can get the application to come up. (basically sits at the initializing connection window)

There is always remote access page I can use, however I am trying to steer away from that if possible.
0
 
LVL 36

Expert Comment

by:Mahesh
ID: 40440700
So, you are using 2008 R2 RDS

If your applications are working from internet \ RDP file, it should work from control panel \ remote apps as well on win7 machines

Please try with new user profile and there download remote apps through control panel and check if they also stuck on initializing ?

Check below KB article
http://support.microsoft.com/kb/2601888

This has got most of the fixes
Choose one as per your problems (initialization failure)
0
 

Author Comment

by:victory2201
ID: 40440710
It was a configuration issue I had overlooked. We are all set now.

Appreciate the help on this issue.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

The way I use Experts Exchange to assist me in analyzing and diagnosing a problem is I first enter a Verbose Question at Experts Exchange like: Office 2007 will hang when opening and saving files I then launch WordPad (any text editor will do) an…
Ever notice how you can't use a new drive in Windows without having Windows assigning a Disk Signature?  Ever have a signature collision problem (especially with Virtual Machines?)  This article is intended to help you understand what's going on and…
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now