Forum Discussion
Virtual Servers template?
- Jun 18, 2019
You can use CLI to create the VS (replace "<...>" fields with the correct value).
tmsh create ltm virtual <VS_NAME> \ destination <VS_IP>:443 \ profiles add { tcp http_20 <CLIENTSSL_PROFILE> } \ vlans replace-all-with { Internal Web } vlans-enabled \ snatpool Prod \ pool Webfarm_pool \ persist replace-all-with { cookie_20 } \ rules { httpTest_irule1 httpTest_irule2 httpTest_irule3 }
Finally you have to save the config from running-config to startup-config.
tmsh save sys config
KR,
Dario.
The concept "VS template" in F5 is known as iApp. I give you some doc.
https://clouddocs.f5.com/api/iapps/
https://devcentral.f5.com/s/articles/understanding-iapps-18224
Another way to standardize your deployments is to use Ansible that gives you the ability to create templates that you could apply in your environment later on. Some doc.
https://clouddocs.f5.com/products/orchestration/ansible/devel/
KR,
Dario.
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