Forum Discussion
LTM 100 VIPS setup
Hi,
Is there an easy way to setup 100 VIPS with HTTP with script on LTM? At the moment I can only do this manually one by one...
Ben
3 Replies
- James_Deucker_2Historic F5 Account
Depends on the version. For v11+ use iApps
http://www.f5.com/products/technologies/iapp/ https://devcentral.f5.com/iapps
You can use tmsh scripts in v10+ https://devcentral.f5.com/tmsh/articles
or in v9 you can script "b" commands with bash.
- Kevin_Davies_40
Nacreous
In the Advanced shell...
for n in {1..100}; do tmsh create /ltm virtual vs_myvirtual_${n} destination 10.10.1.${n}:80 profiles add { tcp } pool none; doneThis will create 100 virtual's starting at 10.10.1.1 using port 80 with no pools associated with them. If you want pools do the same kind of thing then run the command above with an updated pool name.
- Kevin_Davies_40
Nacreous
Hi, if this solved your problem can you tick the box to the left of the post that provided the solution :-)
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