Terminal Server - Mirror Sessions without persistence on failover

Got an odd one. Need to load balance Terminal Servers with a pair of Big-IP’s. The business requires that a user can disconnect a session and reconnect to a new server. Users also have multipule sessions so they want to get a different server with each connection. Catch is that I need the sessions to not disconnect if the F5’s are failed over.

Current config

I have no persistence set on the Virtual Server. Everyone gets a clean Terminal server if they disconnect and reconnect. They however do get disconnected if I fail over the F5’s.

Things to try (I don’t have a pair in non-prod so hard to test this one)

Set persistence on the Virtual Server. Apply the following I-Rule.

when CLIENT_ACCEPTED {

persist none

}

Anyone know if this will work? Or have a cleaner way to keep the business happy?

You need to enable session mirroring on your virtual server to survive a failover. Persistence isn’t enabled by default, so you should not need a rule

So connection mirroring will keep sessions up during a failover.

I was doubting this after the last failover I did the connections listed it the stats went to zero. Guess I need to do more testing to verify before looking for solutions.

the option only shows up if your F5’s are configured for HA. From command line, it can be set:

b virtual myVip mirror enable

b save

FYI, we load balance terminal servers in house and the connection mirroring works great. The end-user experience results in their screen appearing frozen for approx 15 seconds, then all proceeds as normal. HTH.

Jason