Forum Discussion
Pushkar_73645
Nimbostratus
Aug 24, 2010php based solution of icontrol
Hi,
I am trying to write an php script to enable and disable nodes.
I was trying to use following call. I get $serv value from my previous call to LB which get list of all servers. ...
samstep
Cirrocumulus
Aug 24, 2010set_monitor_state method takes an array of nodes as a first parameter, not a string, check out the API documentation:
http://devcentral.f5.com/wiki/default.aspx/iControl/LocalLB__NodeAddress__set_monitor_state.html
You will also need to disable the session state using set_session_enabled_state in order to disable the node
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