Hello,
Trying to add a virtual server behind an APM policy. The APM and LTM works on different F5 appliances and both are physical. LTM side is very basic and it was built by an iApp. It just serves an RDP service on two different Windows hosts. LTM virtual server uses Msrdp persistence profile. While testing, i can connect to that virtual server with native rdp application and it serves well. LTM virtual server manages sessions perfectly and keeps persistence record for each connection asit sholud be.
The APM side is already been there since couple of years. I just trying to add that LTM virtual Server as an RDP resource into the APM policy. The policy building phase is already done and when i click on RDP link on the webtop, APM prepare rdp file and download it. When i click “Open” button on for that file native rdp client application loads session and opens a window for it. So far good.
When session established by APM with SSO option enabled, LTM virtual server can’t see the username and this is causing the persistence issue. If i disable SSO on APM, the LTM virtual server sees the username field and maintains the persistence.
While struggling this issue a couple of idea came up.
- A ) Create a layer 2 connection to LTM virtual server so no need to SNAT. Ltm virtual server sees source IP and use it for session persistence. (Not that easy because this policy is already in use)
- B ) Construct an iRule which maintains the session, load balancing, monitoring and persistence. (Wrote some of the parts but not finished yet.)
- C ) Send “Client IP” as a TCP Option. (Since APM using Application Tunnel for RDP sessions this option doesn’t work)
- D ) Force to native client to send username clear text. (Added “username:s:%{session.logon.last.username}” in rdp profile but doesn’t work)
I feel like i missed some point obviously. Is there any other way to solve this issue ?