What happens to client session when host goes down?

I have a windows 2012 R2 RDP environment. 1 Broker and 3 Session Host Servers.
My question is as follows:
User connects via broker to one of the Host servers. Host server goes down, while user is still connected. Session is written in Broker database. User wants to connect again, but broker sends him on to the server which is down and so he cannot connect.
Other situation is similar, User connects to host, administrator drains host, stopping new connections. User disconnects session, session is still in Broker, when user tries to reconnect is sent to drained server but cannot login, as he is considered new
connection.
What am I missing?
Aaron

Hi Aaron,
Thank you for posting in Windows Server Forum.
We need to configure RDSH in a load balance farm where it can be managed by RD Connection Broker. For that we need to use DNS RR where need to make entry for all RDSH server which will be handled by RDCB Server or we can use any load balancing method to load
balance the different RDSH server and thus that connection will allow the disconnected session for reconnection and can identify the connection.
The RD Connection Broker for RDS serves the following main purposes:
• Determining the best RD Session Host server to connect to - this is based on the amount of current sessions per RD Session Host Server as a form of load balancing. 
• Reconnecting a user to an existing session, in case there is one - this is called reconnecting to disconnected sessions. 
• Being a resource for RD Web Access to deliver information about what Remote Apps are available on RD Session Host Servers that are a member of the broker.
More information.
Remote Desktop Server farms explained (Part 1
& Part 2) (Link is for Server 2008 R2 but it’s only for reference).
Step by Step Windows 2012 R2 Remote Desktop Services – Part 3 (For Server 2012 R2)
Hope it helps!
Thanks.
Dharmesh Solanki

Similar Messages

  • What happens to my Iphotos when I'm blogging?

    The problem I've been having is when I try to upload photos to my blogspot blog.  I CAN  find them on Iphoto but they aren't there when I'm going through my blog to upload them.  Does that make sense?

    Mowchan wrote:
    What happens to my photos when I uninstall PSE?
    Nothing.  They remain exactly where they are. 

  • HT4707 what happens to Keychain data when I move to iCloud?

    what happens to Keychain data when I move to iCloud? Can I still access Keychain passwords?

    Thanks Carolyn,
    And yes. Keychain does still work.
    But why-oh-why do Apple have to give contradictory information yet again in the sign up process? It seems they just want to cover their arses so much that they would rather give out misleading information, that something might go wrong, just in case it does, than tell us everything will be OK & then if we lose data, we, (Americans with a penchant for litigation), are automatically going to sue thier bollocks off.
    This happens so many times with pop-up warnings. I'm running two macs & an iphone and I very nearly didn't go for Lion & icloud and seriously considered going back to Windows. Only a chance conversation in an Apple store stopped me and made me persevere through the warnings.
    Cheers,
    Steve

  • What happens to my music when I unsubscribe from iTunes Match?

    What happens to my music when I unsubscribe from iTunes Match? Can I still access it and iTunes just stops matching new songs I add or is the whole thing not accessible anymore to download or play?

    iTunes 7 will convert your existing library, but iTunes 6 and earlier will not recognize the new library format.
    (17133)

  • TS1042 what happened to "front row" when I updated to OS X Lion?

    what happened to "front row" when I updated to OS X Lion?

    Lion doesnt have it anymore.  When Mountain Lion comes out on July 25, it will have front row again!

  • What happen to front row when i went to mountain lion?

    What happen to front row when I went to mountain lion?

    Front Row is no longer supported. However, there are several applications that can do the same job for you (quite nicely, actually) and that work with ML. Try searching the Mac App Store. Also: there are uncountable threads about this over at the Front Row forum.

  • What happens to my photos when I uninstall PSE?

    What happens to my photos when I uninstall PSE?

    Mowchan wrote:
    What happens to my photos when I uninstall PSE?
    Nothing.  They remain exactly where they are. 

  • What happens in EP technically when we click on some folder?

    Hi Experts,
    I have following question - what happens in EP technically when user clicks on some folder?
    I just want to know the exact sequence of events that takes place - I know some of the events like the role of user is checked. Then system checks that what all pages, iviews, etc have been been assigned to folder. The system then finally displays the all objects under the folder.
    But I want to know in depth what happens some thing at core programming level.
    In fact in my project we have created 2 folder. Some iviews have been assigned to folder.
    Suppose name of folders are A and B. We want to pass value 1 to SAP BW when A is selected. We want to pass value 2 to SAP BW when B is selected.
    How we can do so?
    Pls help.
    Thanks

    Hi Kedar,
    Thanks for the help. In fact in my project we have created separate folders.
    For some functionality we have created 5 iviews and assigned it to folder A.
    For some functionality we have created 5 iviews and assigned it to folder B.
    We have to pass  Value Type = 1 to BW for iviews of folder A.
    We have to pass  Value Type = 2 to BW for iviews of folder B.
    How this can be done? Please help.
    Thanks

  • HT204150 I have synced an iPhone 4S with iCloud - I now have a 5C to replace it. What happens to my data when I retire the 4S - does it need the original device to save my data?

    I have synced an iPhone 4S with iCloud - I now have a 5C to replace it. What happens to my data when I retire the 4S - does it need the original device to save my data?

    Welcome to the Apple community.
    Once you have restored your new phone from the backup of your old phone and ensured that everything is working correctly, you should first turn off "find my phone" on the old phone and then erase it, before you get rid of it.

  • What happens to my library when I change countries

    What happens to my library when I change countries

    ". If I de-authorize all the pc's, is it possible to re-authorize the ones I need authosized?"
    Yes.
    "What will happen when i now sync my iPhone and iPad with the new laptop?"
    Any time you sync an iphone/ipod touch/ipad to a new computer, then the current content will be erased and replaced with content form the new computer.  You need to copy everything from your old computer or your backup copy of your old computer to your new one.

  • What happened to my music when getting artwork

    what happened to my music when getting artwork

    well, what happened to it ?
    did your music disappear ? did you get an error message ?
    any details might help folks trying to help you ...

  • HT201060 What happens to iTunes credit when you use family sharing.

    What happens to iTunes credit when you use family sharing.

    Making purchases
    After you set up your family, any time a family member initiates a new purchase it will be billed directly to your account unless that family member has gift or store credit. First, their store credit will be used to pay the partial or total bill. The remainder will bill to the family organizer. As the family organizer, any receipts generated by the transaction will be sent to you. Learn more about how iTunes Store purchases are billed.
    Family purchases and payments

  • Lion: What happened to "Dont Replace" when copying files?

    Lion: What happened to "Dont Replace" when copying files?
    That is such a MANDATORY option when copying files.
    Ex: I want to copy my TV shows to a directory. Half of the TV shows are already in that directory. If I select REPLACE, then I have to WAIT for the duplicate files to overwrite. If I select KEEP BOTH, I end up with copies and it takes the same amount of time.
    What gives?

    Apple removed it and the users here can't tell you why. Your best option is to send Apple feedback.

  • L2TP script to initiate a router reload when tunnel goes down - working

    Hi,
         Just thought I would post a working EEM script on doing a router reload when the L2TP tunnel goes down....
    I am using a 3825 router to initiate a site-to-site tunnel with a 3rd party vpn service - StrongVPN.  On the odd occasion when the tunnel goes down, the l2tp tunnel state goes to "no session left" and the virtual-ppp1 interface - which is tied to the l2tp vpn - goes down.  Unfortunately, because I have no control on the far end router, the only way to bring it back up is thru a router reload....
    Here you go:
    event manager applet L2TP-DOWN
    event syslog pattern "%LINEPROTO-5-UPDOWN: Line protocol on Interface Virtual-PPP1, changed state to down"
    action 1.0 syslog msg "The L2TP VPN is down"
    action 1.1 cli command "enable"
    action 1.2 cli command "reload in 10" pattern "confirm"
    action 1.3 cli command ""
    action 1.4 syslog msg "EEM scheduled reload in 10 minutes"
    event manager applet L2TP-UP
    event syslog pattern "%LINEPROTO-5-UPDOWN: Line protocol on Interface Virtual-PPP1, changed state to up"
    action 1.0 syslog msg "The L2TP VPN is up"
    action 1.1 cli command "enable"
    action 1.2 cli command "reload cancel"
    Jason

    Hi Arie,
         So, here is the script I am using....
    When the L2TP tunnel goes to "no sessions left", the virtual-ppp1 interface goes down.  That's the typical message I get when it goes down.  So, when I reboot the router, the script shows the message that the virtual-ppp1 interface is up when the L2TP tunnel comes up.  I checked the debugs and that is the behaviour when the tunnel goes up / down...
    Here you go:
    event manager applet L2TP-DOWN
    event syslog pattern "%LINEPROTO-5-UPDOWN: Line protocol on Interface Virtual-PPP1, changed state to down"
    action 1.0 syslog msg "The L2TP VPN is down"
    action 1.1 cli command "enable"
    action 1.2 cli command "reload in 10" pattern "confirm"
    action 1.3 cli command ""
    action 1.4 syslog msg "EEM scheduled reload in 10 minutes"
    event manager applet L2TP-UP
    event syslog pattern "%LINEPROTO-5-UPDOWN: Line protocol on Interface Virtual-PPP1, changed state to up"
    action 1.0 syslog msg "The L2TP VPN is up"
    action 1.1 cli command "enable"
    action 1.2 cli command "reload cancel"
    Thanks.

  • Auto start of db when it goes down

    Is there any way using script to start database when it goes down due to some unexpected reason on windows platform?
    Oracle 10g
    Windows 2003 Server

    Hi,
    Create your own batch script that does the below things
    1) Make a connection to Oracle to see if database is up.
    2) If not then start the database.
    I would be better checking why Oracle database is going down too frequent rather doing auto start.
    Regards
    Anurag Tibrewal.

Maybe you are looking for