CSS LoadBalancing Issue

Answered Question
Mar 2nd, 2009

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.

I have this problem too.
0 votes
Correct Answer by dario.didio about 7 years 9 months ago

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

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Correct Answer
dario.didio Tue, 03/03/2009 - 01:09

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

jeansamarani Tue, 03/03/2009 - 01:32

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

Actions

This Discussion