Forum Discussion
Piyush_72418
Oct 14, 2010Nimbostratus
Node Disable using pycontrol
Hey! Anyone ported
Disabling Node Servers :
http://devcentral.f5.com/wiki/default.aspx/iControl/DisablingNodeServers.html
to pycontrol ..?
if not please tell...
Piyush_72418
Oct 15, 2010Nimbostratus
Hello Jason,
Basically I want to STOP all traffic (no active / or persistent connections) on a NODE.
AFAIK - I have to mark down the Node in STATE_DISABLED (Monitor Only - not session state)
please correct me if I am wrong.
As per http://devcentral.f5.com/wiki/default.aspx/iControl/DisablingNodeServers.html I have to first get all Pools and then get all members and the find my Node in which pools it is and then mark the monitor state as STATE_DISABLED
So can you please point me to correct monitor state
is it sufficient
mstate = b.LocalLB.PoolMember.typefactory.create('LocalLB.PoolMember.MemberMonitorState')
mstate.member = member_factory(b,x)
mstate.monitor_state = 'STATE_DISABLED'
monitor_states.append(mstate)
b.LocalLB.PoolMember.set_monitor_state(pool_names = [POOL], monitor_states = [mstate_seq])
Sorry - but need some detailed info of the state.
Thanks for your help in explaining it.
~/Piyush
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