Forum Discussion
i-rules and persistence
I am not sure if this is the right forum, but here it goes.
We have two webservers lets say they are 10.1.1.1/24 and 10.1.1.2/24
Those servers need to talk to a virtual for 10.2.1.170 which has 2 nodes 10.2.1.1 & 10.2.1.2
Autosnat is turned on.
I need to make sure the connection from the webserers to these spotfire app servers has some kind of persistence because the webserver is loading data from them and all the connections must be seen on the same server for the specific request.
In addition these two spotfire app servers also talk to another virtual 10.2.1.171 for 10.2.1.3 & 10.2.1.4 which are on the same subnet hence the autosnat.
I tried just turning on source address persistance and/or cookie persistence, but it is not working correctly.
Any ideas?
Thanks
Chris
9 Replies
- What_Lies_Bene1
Cirrostratus
I don't see any reason why source address persistence wouldn't work. I'd say you don't need the SNAT for the 10.1.1.170 virtual as the sources and destinations are on two different subnets.
P.S Where do iRules come into the equation?
- Chris_DiPietro_
Nimbostratus
Not long after I posted this I realized I did not need snat on that 10.1.1.170 virtual and have turned that off. We will be testing again later. - What_Lies_Bene1
Cirrostratus
OK, so this is a web application? SSL anywhere? What's the actual application? Just so I'm clear, the persistence appears to be failing with the first Virtual Server yes? - Chris_DiPietro_
Nimbostratus
Its a web application, SSL lands at the F5, but it stops being SSL traffic at that point. The first Virtual a customer hits is just a reverse proxy that pulls data from the Spotfire servers on port 8080 which is the 10.1.1.170 Virtual and that is what breaks right at the start. - hoolio
Cirrostratus
It sounds like you have two tiers that you're load balancing. To do this you could use cookie insert persistence on the web VS and a UIE persistence rule on the app VS: - hoolio
Cirrostratus
Actually, here's a more complete post: - What_Lies_Bene1
Cirrostratus
OK, so there are three Virtual Servers? The client facing (proxy) one that lb's to 1.1 and 1.2 and terminates the SSL, then the Spotfire one (2.170), then a third (.2.171) that the Spotfire servers communicate with; - Chris_DiPietro_
Nimbostratus
I am not using any persistence on the first VS, it is not needed. I only need persistence between the reverse proxies that are behind the first VS and the second VS. I was hoping I could just use source persistence or OneConnect or even cookie persistence, but that has not worked. - What_Lies_Bene1
Cirrostratus
Chris,
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