03-02-2009 10:14 PM
Dear,
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.
Solved! Go to Solution.
03-03-2009 01:09 AM
Hello,
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.
Kind regards,
Dario
03-03-2009 01:09 AM
Hello,
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.
Kind regards,
Dario
03-03-2009 01:32 AM
Hi Dario,
thank you for your hint, yes indeed i want to monitor the application layer but i didn't know that i need to add this line : keepalive type tcp.
now the service status is down when the application is stopped.
thank you again for your help.
Jean
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide