Forum Discussion

Jeremy_C_Russel's avatar
Jeremy_C_Russel
Icon for Nimbostratus rankNimbostratus
Aug 10, 2010

iRule involving LTMs and GTMs

Greetings,

 

 

I have a situation requiring some guidance.

 

 

I have two GTMs and two LTMs, one of each located at a seperate DC. I have virtual servers (http and https) setup on each LTM that share a common FQDN (SSL Cert, etc.. etc..). Normally, I would add the FQDN to the GTMs and just use a normal LB scheme or setup some type of failover. However, with this particular setup, I want to send traffic to one LTM or the other based on the URI.

 

 

HTTP redirect on the LTM is fairly simple, however, in this case I need to interface the LTM and GTM iRules is a fashion that I can send the appropriate IP based on the URI.

 

 

This seems pretty much impossible to me, becuase GTM will never see the HTTP request and the LTM won't be hit until the IP is sent to the client. However, iRules have proved to be pretty powerful and perhaps there is a different way that I might accomplish this... I'm open to any and all suggestions.

 

 

Thanks!

 

1 Reply

  • Yeah, unfortunately, DNS just isn't that smart. As you indicated, you'll need to redirect to the other site once the LTM has received the request.