Forum Discussion
disable pool member using PHP
Hi,
I have created a SOAP connection to the PoolMember class and I am trying to invoke the 'set_session_enabled_state' function but I am not seeing any results. I am doing this in PHP and can't seemt o find any examples for disabling pool members in PHP. If anyone coudl help with this it would be greatly appreciated. thank you
4 Replies
- John_Gruber_432Historic F5 AccountPlease see the following link:
https://devcentral.f5.com/wiki/iControl.iControl-examples-in-php.ashx
These are examples we handed out at the Agility conference in 2011 to assist with cloud automation.
There are examples in PHP for manipulating LocalLB::Node, LocalLB::Pools, LocalLB::PoolMember (deprecated), LocalLB::VirtualService, GlobalLB::Server, GlobalLB::VirtualServer, GlobalLB::Pool, GLobalLB::WideIP.
They are in the form of web page widgets which display HTML forms which can be used to query, create, and update objects.
You should find what you need in the scripts. - warroyo_122743
Nimbostratus
Exactly what I needed! Thanks!
- Christian_15126
Nimbostratus
So you can no longer manipulate pool members?
LocalLB::PoolMember (deprecated),
All I want to be able to do is have a simple web php web page that lists all pools and their pool members, their status, and the ability to remotely disable/enable the members through a PHP web page. Then our admin's can take servers in/out remotely, through their mobile devices, and most importantly, without access to the LTM!
- warroyo_122743
Nimbostratus
no you are still able to manipulate pool members, the functioanlity has been moved into the LocalLB::Pool class
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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