Forum Discussion
Bret_McGinnis_1
Nimbostratus
Sep 14, 2006Changing persistence with an iRule
Hi,
I have a VIP that is assigned a persistence profile of source address. I want to change it to Cookie Insert persistence in an iRule. The BigIP doc implies that I can not do this. I created an iRule to test it and I'm unable to assign a persistence profile of source address with an iRule that changes the persistence to Cookie Insert.
Am I doing something worng or is it not possible to do this?
I'm running ver 9.1.1 on my BigIPs.
- Colin_Walker_12Historic F5 AccountMay I ask why it is that you're trying to do this? Is there a reason that you're not just using the iRule to do source address persistence when needed and insert a cookie for persistence in the cases when that's needed?
- Bret_McGinnis_1
Nimbostratus
I'm not sure I understand your response. Maybe I didn't ask the right question. The VIP is set for source address presistence. When a specific condition is met I want to change the persisence to cookie insert through an iRule. My problem is specific to changing persistence from source address to Cookie Insert. - Colin_Walker_12Historic F5 AccountWhile there are commands that allow you to to manipulate persistence via an iRule, there are not currently commands to change the profile type or switch between profiles.
- Bret_McGinnis_1
Nimbostratus
Ok, the link you listed shows the following syntax for the persis command: - Colin_Walker_12Historic F5 AccountI apologize if I wasn't clear above. There aren't currently commands available to switch between profile types (ftp, tcp, http), but you can certainly enlist the persistence options of your choice in real-time.
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