CSM simple WEB load balancing config

The following is a very simple configuration for load balancing a pair of webservers on a CSM in bridge-mode:

real WEB-REAL-01

address 10.10.10.1

inservice

real WEB-REAL-02

address 10.10.10.2

inservice

!

serverfarm WEB-SFARM

nat server

no nat client

predictor leastconns

real name WEB-REAL-01

inservice

real name WEB-REAL-02

inservice

!

vserver WEB-VSVR

virtual 10.10.10.10 tcp www

vlan 100

serverfarm WEB-SFARM

sticky 180

persistent rebalance

inservice

!

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

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