Forum Discussion
Brian_69413
Sep 20, 2011Nimbostratus
iControl Authentication in a race condition
Here is what the developers are using:
This is how we connect:
Interfaces _interface = new Interfaces();
_interface.initialize(vip, user, password);
This is how w...
Sep 20, 2011
Each iControl request performs a completely separate HTTPS connection to the LTM. So, you should have 1 Auth request per iControl request.
In looking at your code, I'm wondering why you are taking the list returned from LocalLBPool.get_list() and individually taking each element and building a 1-element list and making separate calls for each pool.
I'd recommend just taking the value returned in the pools variable and passing that directly into the poolMember.get_object_status() call. That will make your code only 2 iControl calls instead of (1 + num_of_pools).
BTW, this is exactly why we moved from scalar methods to array based in v9.
Hope that helps...
-Joe
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