Manu_Nair
Apr 25, 2019Cirrus
Redirect connection to a pool member based on http code
Hi, Our DB team has setup two POSTGRESQL servers and one is active and one is passive. They have come up with a request stating, is there anyway the LB can check HTTP error code, and if the error code returns 200 then the connection should go to that particular server.
I have seen here in DevCentral lot of posts about iRules checking for http codes. But i am a bit new and not sure about how can i achieve this.
So to summarize, the ask is.
if http error code is 200 in anyone of the server, then connect to that server.