I am not sure if this is the right place to post my question. I am sorry if my question dose not belong here. I have been given a task to generate a list of offline virtual server and its associated pool and pool member details. I know the “bigpipe virtual all show” will list all the details but some tweak is required for only to see the offline virtual server. Right now I am doing a tedious task by manually finding the details. Any help will be greatly appreciated.
Are you mostly interested in finding virtual servers that have been manually disabled? Or do you want to find a VIP which is down because there are no pool members?
Are you wanting to check this regularly or detect when a VIP goes down?
I am running LTM 9.1.1. I am interested in finding list of virtual servers which is down because there are no pool members or down because pool members are down. This is only one time task so that we can approach application owners to identify weather they still need that Virtual server.
If it’s just a one time deal, you could piece this together in a few steps:
- Filter in the GUI’s virtual server page for VIPs which are unavailable and save the list of VIP names to a text file on the LTM filesystem as /var/tmp/vip_names
- Run the following command:
grep -A 2 -f /var/tmp/vip_names /config/bigip.conf|egrep “(^virt|pool)”
If you want to get the pool membership list, you could grep for the pool name, save that to a file and then use:
Aaron, Can you please provide me more detailed instructions to perform this. I am not very good at linux / unix. I actually saved the list of VIP names as .txt on my system and copied it back to LTM (/var/tmp/vip_names). When I run the command - grep -A 2 -f /var/tmp/vip_names /config/bigip.conf|egrep “(^virt|pool)” - it dose not give me any out put.
grep -A 2 -f /var/tmp/vip_names /config/bigip.conf
and see if it returns anything? If so, can you post the anonymized output? If not, either the file isn’t readable or it doesn’t contain the virtual server names.