Forum Discussion
Richard_Fuhrman
Nimbostratus
Feb 23, 2009enable/disable nodes using C#
First off we're switching from Windows NLB to using BigIP - so I'm trying to duplicate the functionality we had with nlb's "drainstop" command. I want to gracefully bring down a node for maintenance - and I want to do this using C.
I tried the LocalLBPoolMember.set_session_enabled_state() but it doesn't seem to stop traffic as expected. If I'm in an application on node1, set the node to disabled (set_session_enabled_state(disabled), exit the application by closing the browser, start application again I end backup on node1! So there must be more to do this...but what???
I saw in a perl script that you are also setting a "Monitor Status" - although I have yet to see a C example - and I'm not good at reading perl - so what's the right answer??? What's the C code to emulate nlb's drainstop command???
1 Reply
Sort By
- I think this tech tip I wrote is just what you are looking for:
http://devcentral.f5.com/Default.aspx?tabid=63&articleType=ArticleView&articleId=254
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