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/VirtualServer")
->proxy("https://$ip/iControl/iControlPortal.cgi") ||
die "Can't create SOAP object for $ip\n";
$soapResponse = $soap->set_type(
SOAP::Data->name('virtual_servers' => [ 'VS-test' ] ),
SOAP::Data->name('types' => [ 'RESOURCE_TYPE_FAST_L4' ] ),
);
- The coding looks valid (correct parameter names as well as correct coercing into arrays). What are you seeing happening? Is there an error returned or is a success status returned but the change isn't made. Also, have you tried to change the type within the GUI as well? Could be that something else has to change within the virtual before the type can change.
- Michel_van_der_
Nimbostratus
It returns successfully, but near as I can tell, nothing happens on the device (not even after forcing a save of the configuration). I used to know how to turn on debugging of iControl on v4.x, but I don;t know how to do that for v9. If you let me know about that, I'd be happy to send you logs, or some such. - Michel_van_der_
Nimbostratus
Any thought on debugging Joe? - Setting up debugging outlined in this post
http://devcentral.f5.com/Default.aspx?tabid=53&view=topic&forumid=1&postid=6472
use SOAP::Lite + trace => qw(method debug);
- Michel_van_der_
Nimbostratus
Thanks. The forum post on debugging is the key for me. I'll play around with it tomorrow and I'm going to need to build a little test case (outside of my 'framework') but that shouldn't take long. - Michel_van_der_
Nimbostratus
rebooting does not help. - Ok, found out a couple of things.
- Michel_van_der_
Nimbostratus
Thanks for the follow up. Should I raise a bug report, or is this enough to get the ball rolling? Also, how would I track the progress? - If you need it fixed, then you should submit a service request to make sure it can get prioritized into a release that suits your needs.
- Michel_van_der_
Nimbostratus
OK, 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.
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