Forum Discussion

Jeremie_Legault's avatar
Jeremie_Legault
Icon for Nimbostratus rankNimbostratus
Jul 20, 2017
Solved

GTM BIG DNS irule wide IP pools and the members of that pool

Is there a way to find out what wide is being asked during a DNS query to the GTM? Once you have that Wide IP determine the pool that are members of that Wide IP and then determine the members of each pool?

 

How would I do that?

 

I found "active_members" which requires that you pass a pool name as an argument. I could use that but I want to get a list of pools within a Wide IP using a command or method or something so I can pass it as an argument.

 

Is there a way to get a list of pools using a wide ip name [DNS::question name]? Or is there a global variable that captures what Wide IP is selected by the system based on the query? If yes, I could use that to pass to the active_members command.

 

Thanks

 

  • I found the answer. There's a pools command which is specific to GTM and didn't work at the LTM level. I moved my irule over to the GTM wide IP (not the best because I have to add the irule to every wide IP rather than globally). But it should work. Here's the link which indicated the command pools functionality.

     

    https://devcentral.f5.com/wiki/iRules.pools.ashx

     

1 Reply

  • I found the answer. There's a pools command which is specific to GTM and didn't work at the LTM level. I moved my irule over to the GTM wide IP (not the best because I have to add the irule to every wide IP rather than globally). But it should work. Here's the link which indicated the command pools functionality.

     

    https://devcentral.f5.com/wiki/iRules.pools.ashx