pools

Description

The GTM pools command returns the number of pools or a list of pools in the wideIP that are in the specified state. If you do not specify a state, returns all pools.

Syntax

pools [-list] [blue|green|yellow|red|gray]

#v12 change to add CNAME option
pools [-list] [CNAME] [blue|green|yellow|red|gray]

pools

  • Returns the number of pools in the wideIP.

pools -list

  • Returns a list of pools in the wideIP.

pools [blue|green|yellow|red|gray]

  • Returns the number of pools in the wideIP in the specified state.

pools -list [blue|green|yellow|red|gray]

  • Returns a list of pools in the wideIP in the specified state.

Examples

when DNS_REQUEST {
   if { [pools green] < 1 } {
      pool gslb_pool_MaintPage
   }
}