Forum Discussion
Bret_McGinnis_1
Nimbostratus
Nov 10, 2005source addr persistence
I have an VIP that is configurated for source addr persistence. I want to write an irule that based on certain criteria will change which pool a specfic type of request goes to. When the iRule changes the pool I also want to remove the persistence.
VIP1 ---> Pool1 - source addr persistence
VIP1 ---> Pool2 - no persistence
|
+ Pool changed by iRule
I've tried to use the "persist delete" command but don't know what the proper syntax.
Is there a better/preferred way to do something like this?
Regards
1 Reply
- persist none will disable persistence.
From the 9.x Manual
The following list shows the persist command and the persistence-related keywords that you can specify when defining a persistence type within an iRule. For some persistence keywords, you must specify additional arguments.
* persist cookie
* persist destaddr [mask ] []
* persist hash
* persist msrdp
* persist sip
* persist srcaddr [mask ] []
* persist ssl
* persist uie []
* persist none
You can use the persist none, hash, srcaddr, destaddr, and uie commands in any circumstance, even if a corresponding persistence profile is not configured and assigned to the virtual server. However, the persist ssl, cookie, msrdp, and sip commands require that you assign a corresponding persistence profile to the virtual server. Attempts to use these commands without a corresponding profile result in a run-time iRule error. For information on assigning a persistence profile to a virtual server, see Chapter 2, Configuring Virtual Servers.
-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
