cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
706
Views
5
Helpful
1
Replies

IP SLB configuration in HSRP mode

rajeshbarhia
Level 1
Level 1

Can somebody help me in configuring IOS ip SLB in HSRP mode in 6509. Also do we need to add the configuration to real server.

Thanks

Rajesh Barhia

1 Accepted Solution

Accepted Solutions

ariela
Level 4
Level 4

Hi,

1. create a serverfarm; in this case we have two real servers in pure load balancing (weight 1 each):

ip slb serverfarm SERVERFARM

nat server

real 10.70.12.21

weight 1

inservice

!

real 10.70.12.22

weight 1

inservice

!

2. then create a vserver istances, for services to load balance (in this case, two web services). Please take a look the "inservice standby" name

!

ip slb vserver APACHE-1667

virtual 10.70.12.8 tcp 1667

serverfarm SERVERFARM

replicate casa 10.70.252.4 10.70.252.6 62668

inservice standby TEST

!

ip slb vserver APACHE-HTTPS

virtual 10.70.12.7 tcp https

serverfarm SERVERFARM

replicate casa 10.70.252.4 10.70.252.6 62669

inservice standby TEST

!

3. then the SVI with HSRP: note, the standby name is the same as the inservice standby. This is fundamental!

!

interface Vlan12

ip address 10.70.12.2 255.255.255.0

no ip redirects

standby 12 ip 10.70.12.1

standby 12 priority 140

standby 12 preempt

standby 12 name TEST

!

HTH

Regards

Andrea

View solution in original post

1 Reply 1

ariela
Level 4
Level 4

Hi,

1. create a serverfarm; in this case we have two real servers in pure load balancing (weight 1 each):

ip slb serverfarm SERVERFARM

nat server

real 10.70.12.21

weight 1

inservice

!

real 10.70.12.22

weight 1

inservice

!

2. then create a vserver istances, for services to load balance (in this case, two web services). Please take a look the "inservice standby" name

!

ip slb vserver APACHE-1667

virtual 10.70.12.8 tcp 1667

serverfarm SERVERFARM

replicate casa 10.70.252.4 10.70.252.6 62668

inservice standby TEST

!

ip slb vserver APACHE-HTTPS

virtual 10.70.12.7 tcp https

serverfarm SERVERFARM

replicate casa 10.70.252.4 10.70.252.6 62669

inservice standby TEST

!

3. then the SVI with HSRP: note, the standby name is the same as the inservice standby. This is fundamental!

!

interface Vlan12

ip address 10.70.12.2 255.255.255.0

no ip redirects

standby 12 ip 10.70.12.1

standby 12 priority 140

standby 12 preempt

standby 12 name TEST

!

HTH

Regards

Andrea