Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

IP SLB configuration in HSRP mode

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
Silver

Re: IP SLB configuration in HSRP mode

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

1 REPLY
Silver

Re: IP SLB configuration in HSRP mode

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

304
Views
5
Helpful
1
Replies
CreatePlease to create content