Forum Discussion
Michel_van_der_
Nimbostratus
Apr 09, 2007fastL4 type for Virtual server?
I'm trying to set the type of a virtual server to 'fastL4'. Example perl code below. It does not seem to work. Is the call the right one?? $soap = SOAP::Lite->uri("urn:iControl:LocalLB/VirtualSe...
Michel_van_der_
Nimbostratus
Apr 30, 2007OK, a change (CR78649) was raised. A workaround was suggested by the engineer. He suggested to use 'add_profile' to force the issue on the virtual server. Unfortunately, this results in:
SOAP Error: SOAP-ENV:Server; Exception caught in LocalLB::VirtualServer::add_profile()
Exception: Common:perationFailed
primary_error_code : 17236117 (0x01070095)
secondary_error_code : 0
error_string : 01070095:3: Virtual server TESTFastL4 lists incompatible profiles.
So, I wrote some code to delete the profile first, using 'remove_all_profiles'. Unfortunately, even though that call returned no errors, it did not remove any profiles that I could see. Using 'get_profile' I notice that the 'tcp' profile is defined and does not get removed by 'remove_all_profiles'. My workaround ended up being:
- call get_profile
- use output of get_profile and feed it to 'remove_profile'
- use add_profile to add 'fastL4'
After all that (and a 'save_configuration' for good measure) the virtual server now does show up with the fastL4 profile (and the tcp profile for that matter....). Perhaps someone can explain the issues observed?
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects