Forum Discussion
DanS_24772
Nimbostratus
Jun 07, 2013tmsh Default Persistence Profile ?
hey guys,
I'm using tmsh to add several hundred VIPs sequentially to my LB and I'm running into problems with setting the default persistence profile. here's an example of my current command: ...
Brent_Blood_768
Jun 07, 2013Historic F5 Account
I never noticed it before, but the persist attribute for virtual servers doesn't support "add" but instead requires "replace-all-with". This does make sense though as the persist command doesn't support multiple persistence profiles (the backup is specified via "fallback-persistence"). So just use "replace-all-with" rather than "add" and you'll be fine.
And no, using replace-all-with won't have an outside impact on other profiles for other virtual servers. When you "create" an object, replace-all-with acts the same as "add", and the distinction only comes into play when you're modifying an existing object (at which time "add" appends to the list whereas replace-all-with replaces it).
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