we have the following scenario: 2 servers running an application on port 9800 behind a CSS Loadbalancer.
In case one of the applications has stopped, the load balancer is still forwarding traffic to the stopped application. can you please help us in correcting this behavior?
Attached the CSS configuration.
thank you very much for your prompt response.
to prevent the CSS from sending traffic to a death server, keepalives should be used.
Looking at your config, you are using ICMP to check the health of your server. This means that you are only checking the network layer.
In your case, the server keeps responding to ICMP requests, but the upper application has failed.
Which application is this? Is it a webserver?
If it is HTTP, you can for example check an URL to see if the webserver is still alive.
A possibility for you is the make a TCP connection to port 9800.
keepalive type tcp
keepalive port 9800
But all depends on your application. If the TCP port keeps responding but the application failed, this will not work either.
Can you give a description of the application you are running?
Hope this helps.