Forum Discussion

TWSS_18275's avatar
TWSS_18275
Icon for Nimbostratus rankNimbostratus
Feb 11, 2008

Assigned Pool Info iRule

virtual vip_XXX.XXX.XXX.XXX_http {

 

destination XXX.XXX.XXX.XXX:http

 

ip protocol tcp

 

profile http tcp

 

persist cookie

 

pool vip_xxx.xxx.xxx.xxx_http

 

rule useragent_filter_http

 

}

 

 

It looks like the connection is assigned a pool and then the rule is run. Is it possible to see which pool is was assigned within the iRule? We'd like to do something if one pool is selected and something different if another pool is selected.
  • Deb_Allen_18's avatar
    Deb_Allen_18
    Historic F5 Account
    You can get the pool selected in LB_SELECTED event or later using the LB::server command (Click here
    
    LB::server pool

    /deb