Server Load Balancing

August 21, 2008 at 4:56 pm | Posted in IOS services | Leave a comment

Server load balancing basics:

  • IOS Server load balancing hides multiple physical machines behind a single virtual IP adress, extending NAT logic.
  • Weight can be assigned to individual servers in order to influence load-balancing ratio
  • Sticky connections allow all connections from one client to the same server for consistency
  • Other features such as synguard, caching, fail/unfail detection, etc.

Configuration example:

Rack1R3#sb
Interface                  IP-Address      OK? Method Status                Protocol
Ethernet0/0                129.1.3.3       YES NVRAM  up                    down
Serial1/0                  129.1.13.3      YES NVRAM  up                    up
Serial1/1                  129.1.23.3      YES NVRAM  up                    up
Loopback0                  150.1.3.3       YES NVRAM  up                    up

Rack1R3#
ip slb serverfarm SERVERS
predictor leastconns
bindid 1
real 129.1.3.100
weight 16
maxconns 500
inservice
real 129.1.3.101
weight 32
maxconns 1000
inservice
!
ip slb vserver WEB
virtual 150.1.3.100 tcp www
serverfarm SERVERS
idle 1800
synguard 1000
inservice

Doc CD navigation

  • Cisco IOS IP Application Services Configuration Guide, Release 12.4
  • Cisco IOS Server Load Balancing
Advertisements

Leave a Comment »

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.
Entries and comments feeds.

%d bloggers like this: