Forum Discussion
Client get access from only one node
two nodes win21 and win22 have different webpage(just change default page in iis). when outside user access virtual server via google(repeatedly click on the address), the page that the browser show does not change between the two nodes, meaning the user almost visit one node win21. occasionly visit win22, or vice versa. no any other config on persistence etc
Then please read my first message. Chrome will keep the connection open between requests and the same pool member will get them as the F5 device will map connection 1:1 between frontend and backend. As long as the client side connection does not die, neither does the server side. This won't be a problem when you have more clients contacting the page.
If you want to validate this you can assign this iRule to the Virtual server:
when HTTP_RESPONSE {
HTTP::header insert "Connection" "Close"
}
Just don't leave this on the Virtual server when you ship this as it's terribly inefficient. 🙂
Or assign an HTTP profile to the virtual server and then assign a One connect profile (the default will do). Then the F5 device will establish server side connections and keep them open. This will allow you to load balance per request.
Kind regards,
Patrik
- davidy2001Nov 25, 2022
Cirrus
Thank you Patrik_Jonsson for your reply. I tried ie and chrome. both have same issue. and I added iRule you provided above to virtual server. It still cannot resolve the issue. but I am not sure if what i did iRule is correct. anyway thanks
- Nov 25, 2022
To be honest, I wrote the rule directly here on DC without testing but it should work.
You need to restart your browsers too before testing again since the F5 device caches irules by connection.
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