Forum Discussion
iRule to chose persistence profile
Hi,
As far as I know, it is not possible to select a persistence profile in iRule or in politics.
Look this:
https://clouddocs.f5.com/api/irules/persist.html
To do this, you can set the persistence values from profiles to persist command parameters or create virtual servers for each persistence desired to deal with different origins.
e.g.
vs_one_persist_addr:
destination: 10.10.10.10:80
source: 10.223.13.42/32
persist: source_addr_vra
vs_two_persist_cookie:
destination: 10.10.10.10:80
source: 0.0.0.0/0
persist: OnBase_Cookie
Regards.
Thank you very much for the reply. Based on my research I was thinking I would likely need to have 2 VS to achieve this.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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