Forum Discussion
crosson_16669
Dec 19, 2012Nimbostratus
Confusion on changing a pool member state
I can display states, nodes, and virtual servers just fine. Attached screenshot is my lazy attempt at diving into only the surface of the iControl api. For the most part I found the API docume...
George_Watkins_
Jan 07, 2013Historic F5 Account
crosson,
Give this a shot:
bigip = F5::IControl.new('test-ltm-01', 'admin', 'admin', ['LocalLB.PoolMember']).get_interfaces
member = { 'address' => '10.84.3.50', 'port' => 80 }
bigip['LocalLB.PoolMember'].set_monitor_state ['test-ubuntu-lucid'], [ [ { 'member' => member, 'monitor_state' => 'STATE_DISABLED' } ] ]
bigip['LocalLB.PoolMember'].set_monitor_state ['test-ubuntu-lucid'], [ [ { 'member' => member, 'monitor_state' => 'STATE_ENABLED' } ] ]
Best regards,
George
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