Forum Discussion

Richert_299760's avatar
Richert_299760
Icon for Nimbostratus rankNimbostratus
Jul 17, 2017

From LTM -> Query GTM for Primary LB Method of a Wide-IP

I would like to have logic on our LTM that can check the LB Method of a GTM Wide-IP periodically.

 

The end result is to disable pool members on the LTM if the GTM LB Method is "Global Availability" and a DNS Query of that Wide-IP is X.X.X.X.

 

Is there a way to query the Primary LB Method of a Wide-IP from the LTM using an iRule or from a custom monitor?

 

2 Replies

  • What is the reason for LTM to disable pool members based on WIP load balancing ? If this information is available, someone may be able to provide an alternate solution too.

     

  • Thanks Vijay. What I really need to do is to force long running TCP Connections to drop when the GTM starts redirecting traffic to our alternate data center. For example I have connections to Syslog in our primary DC. Syslog only queries DNS/GTM one time to make a connection and will hold that connection indefinitely. If I change the GTM to force traffic to our Alternate Data Center, I need the LTM to send a reject to the client or server of the existing connections. This in turn will cause the Syslog client to query DNS and make a new connection to the LTM in the Alternate Data Center. Only then do we want to start maintenance on our server in the primary Data Center. We have many applications that behave this way (single long running TCP connection). Because we have an LTM in the middle of the connection, we can disable pool members and force a tcp reset to the client and server.

     

    If there is a more elegant solution to this problem, I'm open to suggestions.