Forum Discussion

cbrdy's avatar
cbrdy
Icon for Nimbostratus rankNimbostratus
Apr 20, 2015

How to find the virtual server from the pool name ?

Hello,

 

Is there a way to find which virtual server is sending traffic to a specific pool ? Are there any tmsh commands that I can run to find the virtual server by just knowing the pool name ?

 

Note: I know it by going to each virtual server and then going to the pool in the console but I want to know if the opposite is possible.

 

Thanks, ch

 

4 Replies

  • Salim_83682's avatar
    Salim_83682
    Historic F5 Account

    Hi,

     

    You could try this to list all the VS referencing your pool:

     

    tmsh list ltm virtual one-line | grep "pool " | cut -d " " -f 3

    or list connections related to your pool members (you should see clientside as well and therefore VS who received the connection) :

     

    tmsh show sys connection ss-server-addr ss-server-port

    Salim

     

    • cbrdy's avatar
      cbrdy
      Icon for Nimbostratus rankNimbostratus
      these commands are helpful but what if the pool is not defined in the VS but the irule has the pool defined ? how can I find that ?
  • Salim_83682's avatar
    Salim_83682
    Historic F5 Account

    Best to look at the connection table then as you could have pool reference in Local Traffic Policies, iRules, APM Pool Assign functions or regular default pools...

     

    Use proper filters though: tmsh show sys conn ss-server-addr x.x.x.x ss-server-port 80