ACE Graceful Server Shutdown with Sticky

Answered Question

I would like a way to gracefully shutdown a server without killing the sessions of the current users on that server.

I know the "no inservice" command will allow the server to finish servicing existing TCP connections, but what happens to the users that are 'stuck' to that server?

What happens with sticky sessions when you reduce the connection limit for a server below the current connection count? How about reducing the weight of the server in the farm? Will the 'stuck' sessions continue to go to the correct server in the farm?

I have this problem too.
0 votes
Correct Answer by Gilles Dufour about 8 years 1 month ago

switch/Admin(config)# serverfarm linux1

switch/Admin(config-sfarm-host)# rserver linux1

switch/Admin(config-sfarm-host-rs)# inservice ?

standby Only allow connections reassigned from failed servers

Carriage return.

switch/Admin(config-sfarm-host-rs)# do sho ver

Cisco Application Control Software (ACSW)

TAC support: http://www.cisco.com/tac

Copyright (c) 2002-2008, Cisco Systems, Inc. All rights reserved.

The copyrights to certain works contained herein are owned by

other third parties and are used and distributed under license.

Some parts of this software are covered under the GNU Public

License. A copy of the license is available at

http://www.gnu.org/licenses/gpl.html.

Software

loader: Version 12.2[121]

system: Version A2(1.0a) [build 3.0(0)A2(1.0a) adbuild_04:14:49-2008/04/18_

As you can see I run A2(1.0a) and the command is there.

G.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Syed Iftekhar Ahmed Thu, 11/06/2008 - 14:10

The no inservice command instructs the ACE to do the following:

•Tear down existing non-TCP connections to the server

•Allow existing TCP connections to complete

•Disallow any new connections to the server

With sticky configured, use the "inservice standby" command to gracefully take a primary real server out of service. The inservice standby command instructs the ACE to do the following:

•Tear down existing non-TCP connections to the server

•Allow current TCP connections to complete

•Allow new sticky connections for existing server connections that match entries in the sticky database

•Load balance all new connections (other than the matching sticky connections mentioned above) to the other servers in the server farm

•Eventually take the server out of service

Syed Iftekhar Ahmed

Correct Answer
Gilles Dufour Fri, 11/07/2008 - 07:19

switch/Admin(config)# serverfarm linux1

switch/Admin(config-sfarm-host)# rserver linux1

switch/Admin(config-sfarm-host-rs)# inservice ?

standby Only allow connections reassigned from failed servers

Carriage return.

switch/Admin(config-sfarm-host-rs)# do sho ver

Cisco Application Control Software (ACSW)

TAC support: http://www.cisco.com/tac

Copyright (c) 2002-2008, Cisco Systems, Inc. All rights reserved.

The copyrights to certain works contained herein are owned by

other third parties and are used and distributed under license.

Some parts of this software are covered under the GNU Public

License. A copy of the license is available at

http://www.gnu.org/licenses/gpl.html.

Software

loader: Version 12.2[121]

system: Version A2(1.0a) [build 3.0(0)A2(1.0a) adbuild_04:14:49-2008/04/18_

As you can see I run A2(1.0a) and the command is there.

G.

Actions

This Discussion