Block connection to real server in CSS

Answered Question
Feb 28th, 2012
User Badges:

HI


Is there anyway i can block connection to a specific server in CSS serverfarm without suspending and retaining the existing connections to that server?


Thanks

Shanil

Correct Answer by Daniel Arrondo Ostiz about 5 years 5 months ago

Hi Shanil,


Yes, suspending a service will stop new connections but not break the ones already established.


After suspending the service, you can check the amount of connections still present on that service with the "show service" command. Once the "Current Local Connections" counter reaches 0, you can go ahead with the maintenance without causing any impact.


Regards


Daniel

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Daniel Arrondo Ostiz Tue, 02/28/2012 - 07:01
User Badges:
  • Cisco Employee,

Hi Shanil,


The way to stop sending new connections to a server is suspending it. Anyway, suspending a service will not affect the connections already established on it, those will will continue to work.


Why do you want to block these connections without suspending the service?


Daniel

shanilkumar2003 Tue, 02/28/2012 - 08:26
User Badges:

Thanks Daniel..


There is a requirement for application to do not make new connections during some maintenance.


So if i suspend a real server all the established connection are still serve to the same server and will not establish new connections right? how can i see the established connections with sh service ?

Correct Answer
Daniel Arrondo Ostiz Wed, 02/29/2012 - 01:00
User Badges:
  • Cisco Employee,

Hi Shanil,


Yes, suspending a service will stop new connections but not break the ones already established.


After suspending the service, you can check the amount of connections still present on that service with the "show service" command. Once the "Current Local Connections" counter reaches 0, you can go ahead with the maintenance without causing any impact.


Regards


Daniel

shanilkumar2003 Wed, 03/07/2012 - 11:50
User Badges:

Thank you very much daniel..i have successfully completed the activity


Regards

Shanil


Sent from Cisco Technical Support iPhone App

Actions

This Discussion