cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
391
Views
0
Helpful
2
Replies

CSS LoadBalancing Issue

jeansamarani
Level 1
Level 1

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.

1 Accepted Solution

Accepted Solutions

dario.didio
Level 4
Level 4

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

View solution in original post

2 Replies 2

dario.didio
Level 4
Level 4

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

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