Forum Discussion

NZ_David_20489's avatar
NZ_David_20489
Icon for Nimbostratus rankNimbostratus
Sep 05, 2012

RDP via a LTM not maintaining persistence

We are using an LTM as a hardware load balancer for Windows Server 2008R2 for Remote Desktop Services. There are two Servers, one is the session broker and both are the Session hosts within the same Farm. I have configured a Single RDP Virtual server and Pool, both servers are in that pool. I have used the Persistence MSRDP profile.

 

Sessions are not been maintained to the same server, so when a user closes the RDP session (without logging out) the session is not always returned to the same server.

 

[Q1] Does anyone have any idea why this is not working?

 

[Q2] One thought I have is the persistence profile has the default timeout of 300 seconds, should I increase this or does the fact that the RDP token (routing token) contains the IP of the destination server mean that the timeout becomes irrelevant?

 

Any advice or guidance will be gratefully received

 

  • nathe's avatar
    nathe
    Icon for Cirrocumulus rankCirrocumulus
    NZ_David

     

     

    Do you see the persistence entries in the GUI or CLI and do you have Session Directory enabled in the persistence profile?

     

     

    I don't have a Session Broker here so I'm not sure about the tie-in with the timeout but does it work if you change the timeout, perhaps to Indefinite?

     

     

    What version of LTM are you using?

     

     

    N
  • is your session broker working? That should always return the user to the same session whether your LTM persistence is working or not.
  • Hi Nick and Nathan, Thanks for your responses.

     

     

    Yep as mentioned previously the perstence I am using is MSRDP, this profile has Session Directory enabled. I have persistent entries in the BIGIP for MSRDP. I'll increase the timeout and see if that resolves it.

     

     

    I'm being advised that the session Borker is configured correctly, Session broker is configured to use Tokens. Would thats still mean the user is returned to the same session?
  • I've increased the persistence timeout without any change to the current situation - the session does nto always persist to the same server
  • No there is still an issue but we have bypassed it. General users of the server work ok via the LTM VIP. These users are not concerned which server services their connectivity. However if it is necessary that users maintain perisstence (following closing the session) the user accesses the server directly.