Forum Discussion
Prasad_81758
Nimbostratus
Dec 16, 2009Toggle Pool Members iControl java API
I am trying to toggle pool members in a local traffic pool to control the traffic to one or other ip. Defined two pool members through BigIP Console:
10.20.30.101:15001
10.20.30...
Dec 16, 2009
You are querying the values and returning them into a local structure. You are then setting values in the local structure but I don't see anywhere you are making the call to "set" the values on the existing objects. Local structures have no connection to the BIG-IP unless you make a "set" method call to assign them. If you want to see the methods needed, you can check out the "togglePoolMember" perl script in the CodeShare
http://devcentral.f5.com/wiki/default.aspx/iControl/TogglePoolMember.html
Click here
The relevant methods are set_session_enabled_state and/or set_monitor_state (depending on how you want it set). A more detailed sample on those two methods can be found here:
http://devcentral.f5.com/wiki/default.aspx/iControl/PsServerControl.html
Click here
Hope this 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