Forum Discussion
Virtual Server Search Using Profile on it
Hi,
I have 50 virtual servers on the system and i am using web acceleration profile some of them (virtual servers).
I want to learn that which virtual server uses web acceleration profile among them ? Is there any CLI command about this ?
Kind Regards.
5 Replies
- nitass
Employee
just an example. it may not be the best way to do it anyway.
there are 3 virtual servers [root@ve11a:Active:In Sync] config tmsh list ltm virtual ltm virtual bar { destination 172.28.24.10:443 ip-protocol tcp mask 255.255.255.255 pool foo profiles { clientssl { context clientside } http { } tcp { } } rules { qux } source 0.0.0.0/0 source-address-translation { type automap } vs-index 32 } ltm virtual bar3868 { destination 172.28.24.10:3868 ip-protocol tcp mask 255.255.255.255 pool foo3868 profiles { diameter { } tcp { } } source 0.0.0.0/0 source-address-translation { type automap } vs-index 20 } ltm virtual fwd { destination any:0 ip-forward mask any profiles { fastL4 { } } source 0.0.0.0/0 source-address-translation { type automap } translate-address disabled translate-port disabled vlans { internal } vlans-enabled vs-index 3 } filter virtual server which has http profile [root@ve11a:Active:In Sync] config tmsh list ltm virtual all one-line | grep http | awk '{ print $3 }' bar - Seckin_149390
Nimbostratus
Hi nitass,
With that way, Can we filter virtual server which has web acceleration profile,
tmsh list ltm virtual all one-line | grep " web acceleration " | awk '{ print $3 }'
Thanks.
- nitass
Employee
With that way, Can we filter virtual server which has web acceleration profile
in my example, http is profile name (not profile type). what it does is simple - list virtual server configuration in one line (tmsh ...), filter only line containing profile name (grep ...) and then display only virtual server name (awk ...).
- Seckin_149390
Nimbostratus
Thanks nitass,
Actually, i don't want to learn specific virtual server associated with the web accelaration profile.
I want to learn which virtual servers use this web acceleration profile on the configuration. I think your CLI command will work for me,
Thanks again.
- nitass
Employee
i don't want to learn specific virtual server associated with the web accelaration profile.
the tmsh command list all virtual servers (i.e. not specific virtual server). in short, output will be virtual server names which use the profile name you specify.
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