Forum Discussion
xett_113697
Nimbostratus
Nov 26, 2007Updating Persistence from an iRule
I'm trying to find a way to update my persistence from a URL parameter. Here is my problem:
Lets say I have a pool called test-pool. In that pool I have server1, server2, server3. I need to be able to test that an application is functioning properly on each of the server, but I cannot access the server directly. I have to go through the F5 BigIP. What I would like to be able to do is add a parameter like query string like f5persistence=server1 which then would tell the iRule to change the persistence to server1. Now, I have been able to use the 'node' command to forward requests to the correct server, but on the next click in the application the f5persistence parameter goes away and I get pushed back to the original server.
Any help would be greatly appreciated.
- hoolio
Cirrostratus
Hello, - xett_113697
Nimbostratus
Thanks for your response Aaron. - hoolio
Cirrostratus
Hi, - xett_113697
Nimbostratus
This is the error I get when I try to update the iRule: - JRahm
Admin
Try this: - xett_113697
Nimbostratus
That didn't work either. - JRahm
Admin
I don't have any problem saving either format in 9.4.3. maybe it's an issue with your version? - xett_113697
Nimbostratus
You're probably right. We are running BIG-IP 9.1.2 Build 69.0. - hoolio
Cirrostratus
What do you see in the persistence table for the client IP? You can run 'b persist all show all' to see the records. - hoolio
Cirrostratus
One other thing... you might want to specify a port with the node command--particularly if you're vip is on a different port than the nodes:
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