Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

CSS LoadBalancing Issue

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
Silver

Re: CSS LoadBalancing Issue

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

2 REPLIES
Silver

Re: CSS LoadBalancing Issue

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

New Member

Re: CSS LoadBalancing Issue

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

116
Views
0
Helpful
2
Replies