HTTP Redirect persistence logic
Hello!
1) The client comes into the first VIP (SSL offload) and picks a MEM-ID server. Let's say MEM-ID-SRV01. It then talks to Service-SRV-01. The client wants all future connections to stay in the same color servers. (The connections to the back end service srv's are a direct connection (not through the LB).
2) MEM-ID-SRV01 will send a redirect back to the client to go to the other VIP(SSL offload). But the requirement is that the request will go to OLB-SRV-01 in this case.
Is it best to have the MEM-ID-SRV01 send a specific header or append a unique HTTP path to the redirect back to the client? Then have the 2nd VIP have irule logic to send it to the specific server, or is there a way to create a hash value on the F5 during the initial LB selection and make sure that hash value gets appended to the MEM-ID-SRV redirect back to the client. (This 2nd option would prevent work done on the MEM-ID Servers)
Thanks!