Issue with "modify ltm virtual-address" in iApp template
Hi,
I am running LTM 11.5.3. I have a custom iApp template and as the last step in the template I am issueing the following command so that my virtual address does not respond to icmp when there are no available pool memebers.
iapp::conf modify ltm virtual-address $::conf__addr icmp-echo selective
When I configure my iApp I get the following error message on the F5 UI: "01020036:3: The requested Virtual Address (/Common/aaa-jeff-test28-new.app/1.1.1.110) was not found."
This is the output from /shared/tmp/scriptd.out
Starting iApp /Common/A-Travelers-iapp-template-v2-8 07/02/2015 08:40:00 create ltm pool aaa-jeff-test28-new_pool members add { 10.24.1.1:80 { priority-group 0 } 20.14.1.2:80 { priority-group 0 } } monitor aaa-jeff-http load-balancing-mode round-robin modify ltm pool aaa-jeff-test28-new_pool min-active-members 0 create ltm virtual aaa-jeff-test28-new_vip_80 destination 1.1.1.110:80 pool aaa-jeff-test28-new_pool source-address-translation { type none } persist none profiles replace-all-with { trav-tcp-lan-optimized_prof { context serverside } trav-tcp-wan-optimized_prof { context clientside } trav-http-xff_prof trav-oneconnect-multiplex } rules { } modify ltm virtual-address 1.1.1.110 icmp-echo selective
I have tried using an action of "create"....iapp::conf create ltm virtual-address $::conf__addr icmp-echo selective However, that produces an error that the Virtual Address already exists.
There seems to be a chicken and egg thing going on here, and I was hoping someone could explain and provided a solution.
Thanks, Jeff