Forum Discussion
Eddie_H_26456
Nimbostratus
Jul 22, 2013Interpret a string as an IP address
The background is I have two virtual servers, one fort port 80 traffic and the other for port 443 traffic. Both are using different pools with the same nodes, but different ports. Here is my iRule:...
Michael_Yates
Nimbostratus
Jul 24, 2013Hi Eddie,
Thank you for the additional explanation. It makes more sense to me now on what you are trying to accomplish.
I still see a problem though, the cookies that you are creating and injecting are Session Based on the browser, so unless they are going to use the same browser for 7 days straight there is still a very good chance that they could bounce back and forth between your new and old servers.
Another idea (and it still has caveats to it) would be to create a Table (iRule Table Command) that would store the Client's IP Address with a lifetime of 7 days. When the client connects, if their IP Address is in the table then route them to the new server. So unless their IP Address changes you have them tied to the new server.
Where this could be problematic is if you have a large number of clients behind a NAT hide or something.
It's just a thought. In the end I would recommend that you do whatever works best for you. :-)
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
