iRule or policies based redirection based on HTTPS username behind a GTM
Hi, I am looking into a requirement to redirect client's traffic to a particular vip/pool based on client's username. The requirement is to have this feature for services running behind a GTM wid-ip. GTM wide-ip being a DNS function, not sure if an iRule inspecting HTTPS username will work for a GTM DNS function. So maybe the GTM should be allowed to do its job by redirecting traffic to a particular LTM. Once the request goes to LTM, then introduce an irule or policy to redirect traffic to a pool or vip based on username. Something similar to "https://devcentral.f5.com/questions/irule-to-redirect-based-on-client-username?lc=1";
The GTM is active/passive with 2 DCs in scope and a web based application. I am looking for help with following: 1. should this be an iRule or policy based approach 2. should the irule be applied on GTM or LTM feature? 3. If there are other HTTPS redirection based irules on LTM, should this new irule go after the existing https redirection one or after?
Regards RM