Forum Discussion

jsgibbs1's avatar
jsgibbs1
Icon for Nimbostratus rankNimbostratus
Mar 09, 2018

GTM irule pool select

I need to load balance to VIPs and generic servers across three different pools. Need to know if this will work?

Pool one contains 2 VIPs the that reside on an integrated LTM.

Pools two and three contains a pair of servers added to the GTM as generics.

when DNS_REQUEST {
  if { [active_members drm-primary-pool ] =< 2 } {
     pool drm-secondary-pool
  } elseif { { [active_members drm-secondary-pool ] =< 2 } {
    pool drm-tertiary-pool
  } else {
    return
  }

}

1 Reply

  • There doesn't appear to be anything wrong with the logic of the rule, and the actual provenance of the pool members shouldn't make any difference.