Forum Discussion
Anthony_7417
Oct 28, 2009Historic F5 Account
System::Connections seems to be gone from the SDK
DevCentral seems to document the iControl connection table interface System::Connections. Though I looked through both the v9.6 and the v10 SDKs, and I can't see the WSDL files for System::Connections in there.
http://devcentral.f5.com/wiki/default.aspx/iControl/System__Connections.html
I did download and install pyControl, and I noted that it did contain the System.Connections.wsdl file. I was able to show and delete connection table entries from a 9.4.7 LTM using pyControl.
I'm pretty new to all of this, but I'd imagine you could just take the WSDL file out from pyControl and use it as if it came with the regular SDK. Am I wrong?
If anyone has a hint on why this was removed or if this is coming back, I'd be interested to know.
7 Replies
- Anthony_7417Historic F5 Account
I suppose the post below answers my secondary question:
http://devcentral.f5.com/Default.aspx?tabid=53&forumid=1&postid=63136&view=topic
"Unfortunately access to the connection table was removed in iControl due to performance issues with accessing that large of a data set within a HTTP SOAP request. So, at this point, there is not an equivalent in the iControl API to remove individual entries in the connection table." - You are correct. The service endpoints are still in there for deprecation purposes but haven't been maintained since before 9.0 so they are definitely a "use at your own risk" interface at this point.
-Joe - mariogolf_57851
Nimbostratus
This does not solve our problem.
How to break active persistent connections from a VIP when you session disable and down pool members and nodes. - Anthony_7417Historic F5 Account
mariogolf ,
Can't you use iControl to force-offline a poolmember, and then use (with caution, see Joe's note) the delete_active_connection method in System::Connections to clear out any currently-active connections to a Vip or to a poolmember? - mariogolf_57851
Nimbostratus
Anthony thanks for the post. Looking into pyContol running in a Linux environment. Would VERY much appreciate a roughed out version of this solution. - Anthony_7417Historic F5 Account
I'm no expert, but I got pyControl running on Linux.
It seems that python version 2.5 is preferred.
How far along are you?
-- Is python installed?
-- Did you install ZSI-2.1 yet:
http://sourceforge.net/projects/pywebsvcs/files/
-- is iPython installed?
While I was able to delete a single connection using the System::Connections methods, I'm still not sure on the python syntax to specify deleting all conns to a particular vip, or all conns to a particular poolmember. I think I'm leaning towards just running bigpipe commands over ssh:
ssh root@my.bigip.com "b conn server 10.254.1.22:389 delete"
This works well for me at the moment!:D - iloveniu_38329
Nimbostratus
where i can download the pyControl contains system.connection interface?
thanks
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