Forum Discussion
How to adjust VIP setting from an iApp
Hi,
I have to adjust virtual-address settings from an iApp.
The iApp create a single VS, with an unused destination-IP. So the associated VIP is automatically created. But I have to advertise this IP inside OSPF, so I would-like to do this in the iApp.
If I use this line :
iapp::conf create ltm virtual-address /Common/${::vs__vip} route-advertisement enabled
the VIP is created with required parameters, but the virtual-ip is depending on the application :
without1.1.1.6
iapp::conf create ltm virtual-address
with1.1.1.10
iapp::conf create ltm virtual-address
And the VIP cannot be modified, either inside or outside the iApp (changing traffic-group of the iApp or of the VIP for example) because of the application dependence.
Do you know how to set default VIP settings ? Like advertisement, arp, etc.
Thank you for your responses,
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
- Fred_Slater_856Historic F5 Account
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_bastien2Nimbostratus
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_856Historic F5 Account
There must be more to it. I cannot reproduce your problem by simply changing the traffic-group.
- S__233_bastien2Nimbostratus
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?
- s_g___INST__253Nimbostratus
Hi,
I just stumbled across this question when I hit exactly the same problem: I want to use an iApp for the mass deployment of VIPs that will be cloned to a second traffic group.
Running 12.1.2 it seems impossible to detach a virtual-server from the iApp (even though app-service none will hide the link to the application in the virtual address list, it seems the iApp itself does not forget about it...). Of course I could change the iApp to cover only one traffic group and replicate the config manually / scripted to the seconds traffic group but I really would like to get it solved using only a single iApp.
Do you see a potential other solution?
Thanks, Sebastian
- Fred_Slater_856Historic F5 Account
Did the workaround I described above not work? What do you mean by "impossible to detach a virtual-server?" What error are you getting?
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