I have an application that communicate using both https and 8443/tcp port on the same back-end web server. Healthcheck is done by checking a server response on 8080/tcp port. There are a total of 2 web servers.
https service is setup using standard VS.
8443/tcp service using fastL4 VS since nothing else would work.
How should I setup the nodes so that the same node will always be servicing each client?
What options do I have regarding the healthcheck option?
Would it simplifies things if only one node can be active at any given time?
OK, so, assuming it’s OK terminating SSL at the F5 I’d recommend;
a) Configure the 443 VS to terminate the SSL and apply a custom Cookie Persistence profile (if the server currently terminates the SSL, some reconfiguration at the server may be required) and OneConnect profile
b) Configure the 8443 VS as a standard VS with a HTTP profile (no SSL profile) and apply the same Cooke Persistence profile and OneConnect profile
c) Use the a custom http monitor to do the health check for each pool (do not specify a port, it’ll use the Pool Member port automatically). You could also use tcp_half_open but http is preferable.
If it’s possible to use source IP address persistence, that might be more reliable with the ‘Match Across Services and Pools’ options enabled
You may need to do some tcpdumps on the F5 to better understand the port 8443 traffic?
b) I will try doing as you suggested. I recalled it was one of the setup that I attempted before but didn’t work--it wouldn’t hurt to try again. So the end goal is to use the same Persistence and OneConnect profiles? Which profile would dictate the persistent node or do I need both profiles for that?
c) the problem is the healthcheck in on a totally different port 8080/tcp. I am considering doing the healthcheck on each node instead.
Yes, I will need to schedule a time to do b) since it is a production system and cross my finger that it won’t break the app. I will be back if it’s not working.