Forum Discussion

warroyo_122743's avatar
warroyo_122743
Icon for Nimbostratus rankNimbostratus
Feb 06, 2013

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_432's avatar
    John_Gruber_432
    Historic F5 Account
    Please 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.
  • 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!

     

  • no you are still able to manipulate pool members, the functioanlity has been moved into the LocalLB::Pool class