Forum Discussion
How to adjust VIP setting from an iApp
- Dec 28, 2016
Adding "app-service none" to the virtual-address command will detach it from the iapp, allowing you to modify it at-will later on. (Note that since it is no longer managed by the iapp, the virtual-address will not be deleted when the iapp is deleted.)
iapp::conf create ltm virtual-address /Common/$::vs__vip route-advertisement enabled app-service none
Adding "app-service none" to the virtual-address command will detach it from the iapp, allowing you to modify it at-will later on. (Note that since it is no longer managed by the iapp, the virtual-address will not be deleted when the iapp is deleted.)
iapp::conf create ltm virtual-address /Common/$::vs__vip route-advertisement enabled app-service none
- S__233_bastien2Dec 28, 2016Nimbostratus
Hi Fred,
With
this application dependency disappear in VIP list, but it's still impossible to modify the iApp traffic-group :app-service none
Do you have any idea?
- Fred_Slater_856Dec 28, 2016Historic F5 Account
There must be more to it. I cannot reproduce your problem by simply changing the traffic-group.
- S__233_bastien2Dec 28, 2016Nimbostratus
Hi,
I've recreate a simplified iApp to test that.
You should manage to import this template.
- Create an instance with 10.10.10.10 as vip and traffic-group-X as iApp traffic-group (should be ok)
- Modify the vip with 10.10.10.11 (should be ok)
- Modify the iApp traffic-group with traffic-group-Y ("should" not be ok)
01070734:3: Configuration error: The virtual address (/Common/10.9.8.7) can not be modified because it is in use by application (/Common/t.app/t) that does not have a matching traffic group
Do you have the same error?
- Fred_Slater_856Dec 28, 2016Historic F5 Account
Thank you. I am able to reproduce it now. I added a traffic-group parameter directly into the iapp, which did not help by itself, but if you change the traffic-group to the same value in both in the iapp presentation and in the Template Selection section simultaneously, it works.
implementation
set static { ip-protocol tcp snat automap } set vip ${::vs__vip} iapp::conf create ltm virtual ${tmsh::app_name}_HTTP destination ${vip}:80 $static iapp::conf create ltm virtual-address /Common/${vip} arp disabled route-advertisement enabled traffic-group $::vs__traffic_group
presentation
section vs { string vip choice traffic_group tcl { return [iapp::get_items cm traffic-group] } }
If you would, please open a case with F5 Support and refer to ID636035.
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