11-06-2008 12:54 PM
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?
Solved! Go to Solution.
11-07-2008 07:19 AM
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
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.
11-06-2008 02:10 PM
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
11-07-2008 06:23 AM
Ah, yes.
I specifically looked for an "inservice" parameter that might help with issue and was unable to find one. On my ACE, "inservice standby" is unrecognized.
I'm running A2(1.0a). Was this command introduced in a later version?
11-07-2008 07:19 AM
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
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.
11-07-2008 08:34 AM
Ah! Thank you.
I was looking in the rserver inservice command, not the serverfarm -> rserver inservice command.
This helped a bunch! Thanks again!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide