Forum Discussion
slk_85772
Nimbostratus
Apr 08, 2008switch network's traffic beetwen pools
Hello everybody,
I'm am writting small app in C to switch network traffic between pools.
I've seen posts with informations such as:
"set_default_pool_name" (for vservers), diabling...
Apr 08, 2008
Great - Hopefully you are using the iControl Assembly for .Net!
As for your question regarding the pool, the easiest solution is to use the set_default_pool_name() method in the LocalLB.VirtualServer interface. this is equivalent to setting the default pool for the Virtual in the GUI.
From what I can tell from your post, there is no reason to enable/disable individual pool members if you have two pools defined. The reason to do that would be if you have one pool and want to shift pool members in/out of rotation. But, if you have two pools, the easiest approach is just changing the default pool on the virtual.
As for set_fallback_lb_method(), I don't know what that method is. There is set_fallback_persistence_method() in the VirtualServer interface, but it doesn't look like that's what you were going for.
Stick with the set_default_pool_name() and that should work for you.
-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