Chapter 2 Content Switching Module with SSL Commands

serverfarm (virtual server submode)

serverfarm (virtual server submode)

To associate a server farm with a virtual server, use the serverfarm command in SLB virtual server configuration submode. To remove a server farm association from the virtual server, use the no form of this command.

serverfarm primary_serverfarm [backup backup_serverfarm [sticky] [threshold outservice

real_value inservice real_value][sticky]

 

 

 

no serverfarm

 

 

 

 

 

 

 

 

 

 

Syntax Description

 

primary_serverfarm

Character string used to identify the server farm.

 

 

 

 

 

 

 

 

 

backup

(Optional) Sets the name of a backup server farm.

 

 

 

 

 

 

 

 

 

backup_serverfarm

(Optional) Backup server farm name.

 

 

 

 

 

 

 

 

 

sticky

(Optional) Associates the backup server farm with a virtual server.

 

 

 

 

 

 

 

 

 

threshold

(Optional) Configures the server farm health threshold.

 

 

 

 

 

 

 

 

 

outservice real_value

(Optional) Specifies the minimum number of active real servers

 

 

 

 

required to remain as healthy. The outservice value must be lower

 

 

 

 

than the inservice real_value.

 

 

 

 

 

 

 

 

 

inservice real_value

(Optional) Specifies the number of active real servers required for the

 

 

 

 

server farm to be activated.

 

 

 

 

 

 

 

 

 

 

 

 

 

Defaults

 

This command has no default settings.

 

 

 

 

Command Modes

 

SLB virtual server configuration submode

 

 

 

 

 

Command History

 

Release

Modification

 

 

 

 

 

 

 

 

 

 

CSM-S release 1.1(1)

This command was introduced.

 

 

 

 

 

 

 

 

 

CSM-S release 1.1(1)

The backup server option was added to this command.

 

 

 

 

 

 

 

 

CSM-S release 2.1(1)

The threshold outservice real_value inservice real_value options

 

 

 

 

 

were added to this command.

 

 

 

 

 

 

 

 

 

 

 

 

 

Usage Guidelines

 

The server farm name must match the server farm name specified in a previous module CSM submode

 

 

 

serverfarm command.

 

 

 

The backup server farm can be associated with a policy. A primary server farm must be associated with

 

 

 

that policy to allow the backup server farm to function properly. The backup server farm can have a

 

 

 

different predictor option than the primary server. When the sticky option is used for a policy, then

 

 

 

stickiness can apply to real servers in the backup server farm. Once a connection has been balanced to

 

 

 

a server in the backup server farm, subsequent connections from the same client can be stuck to the same

 

 

 

server even when the real servers in the primary server farm come back to the operational state. You may

 

 

 

allow the sticky attribute when applying the backup server farm to a policy.

 

 

 

 

Catalyst 6500 Series Switch Content Switching Module with SSL Command Reference

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

OL-7029-01

 

 

 

 

2-175

 

 

 

 

 

 

 

 

Page 197
Image 197
Cisco Systems OL-7029-01 manual Serverfarm virtual server submode, Backup, Serverfarm command