Forum Discussion
Michel_van_der_
Nimbostratus
Jan 06, 2006Persistence on pools?
Where is the equivalent of the:
set_persist_mode
set_persist_mode_simple_mask
set_persist_mode_cookie_mode
etc. calls from the ITCMLocalLB/Pool in v4.x in v9? I use
simple and cookie based persistence.
The migration tool did not get me too far...
Michel
1 Reply
- In 9.x we introduced the concept of "Profiles" which are basically ways to group similar pieces of configuration on an object so that you can reuse them on multiple objects. In 9.x persistence is now an attribute of virtual servers.
Let say for instance you want to do cookie persistence on multiple virtual servers. You would create a "Persistence" profile with the specific attributes you need (in your case, cookie persistence). You can access these methods from the LocalLB::ProfilePersistence interface. Then for each virtual server, you would add the persistence profile that you created. This can be done with the LocalLB::VirtualServer::add_persistence_profile() method.
Just check out the following sections in the SDK and hopefully it will make sense.
LocalLB::PersistenceProfile
LocalLB::VirtualServer
Another way to get up to speed on these is to browse through the management GUI. The APIs follow the GUI fairly well.
-Joe
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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