10-01-2007 03:19 AM - edited 03-05-2019 06:47 PM
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
Solved! Go to Solution.
10-01-2007 03:41 PM
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
10-01-2007 03:41 PM
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
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