Forum Discussion
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_83682Historic 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 3or 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-portSalim
- cbrdy
Nimbostratus
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_83682Historic 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
- cbrdy
Nimbostratus
thank you
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com