Forum Discussion
gmtiwill_127449
Nimbostratus
Jul 09, 2004get_al_active_connections() crashes iControlPortal.cgi
Whenever I execute the following code, iControlPortal.cgi crahses. The error in the syslog is pid 381 (iControlPortal.c), uid 1: exited on signal 6 (core dumped). The code is as follows:
my $soap = SOAP::Lite
-> uri('urn:iControl:ITCMLocalLB/Connections')
-> proxy("https://$sHost:$sPort/iControl/iControlPortal.cgi"
);
my $resp = $soap->get_all_active_connections(
SOAP::Data->name(mirror_flag=> 0),
);
Am I doing something wrong here? I am able to execute this method against a BigIP that does not have any connections, but consistently get a 500 Internal Server Error when executing against the production SLB.
Thanks,
Will
11 Replies
- No problem. I just sent of a message to one of the developers asking about the best way to alter individual persistence records. Odd are that you will have to use a Class within a Rule to accomplish this. I'll post back when I have an answer.
-Joe - bknotwell_12713Historic F5 Account[quote:85423441dc="Joe"]No problem. I just sent of a message to one of the developers asking about the best way to alter individual persistence records. Odd are that you will have to use a Class within a Rule to accomplish this. I'll post back when I have an answer.
-Joe[/quote:85423441dc]
Beyond clearing sticky records, manipulating persistence records via a user interface isn't available. As Joe alluded to above, you'd do something like the following instead (untested so I'll undoubtedly get the rule syntax wrong):if (client_addr one of spider_class) { use (pool spider_pool) } else { use (pool happy_customer_pool) }
It's not persistence per se, but it's essentially the same thing. Furthermore, as I stated above, spider_class should behave well with large N.
NB: I suggest querying bigip for the aol class so you don't accidentally add the AOL mega-proxies into spider_class. - bknotwell_12713Historic F5 Account[quote:e72e26c272="gmtiwill"]What Interface / Method should be used for querying the BigIP for AOL mega proxies? I don't see this in the SDK.
Will[/quote:e72e26c272]
It's get_address_class in ITCMLocalLB/Class. I've included a snippet below:!/usr/bin/env python from F5Proxy import ProxyFactory,loadEnv loadEnv('./iControl.env',globals(),locals()) factory = ProxyFactory(user,passwd,host,protocol) print factory('ITCMLocalLB/Class').get_address_class(class_name = 'aol') - gmtiwill_127449
Nimbostratus
What Interface / Method should be used for querying the BigIP for AOL mega proxies? I don't see this in the SDK.
Will
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
