Forum Discussion
Nanda_Kumar_676
Nimbostratus
Feb 22, 2010BIGPIPE Command
Hello,
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 ser...
hoolio
Cirrostratus
Feb 22, 2010If 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:
grep -A 2 -f vip_names /config/bigip.conf| grep pool| awk '{print "b "$0" list"}'| bash
I'm sure there are more complete ways to handle this. But I don't think it's worth the time to develop a proper script if you only need to do it once.
Aaron
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects