cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1219
Views
0
Helpful
7
Replies

Ip slb configuration on 6500 switch

mangesh.kamble
Level 1
Level 1

Hi all,

Well I am trying to configure ip slb feature on my 6500 series Switch. I have done following configuration on my switch.

ip slb serverfarm TEST

real 172.16.1.215

inservice

!

real 172.16.1.237

inservice

!

ip slb vserver VERIFY_TEST

virtual 172.16.10.150 tcp 0

serverfarm TEST

sticky 60

inservice

exit

int Vlan10

ip add 172.16.10.252 255.255.255.0

exit

My servers are in vlan 1 and my clients are vlan 10. I am having 2 servers, on which I have configured 1.235 and 1.237. both the ports are in vlan 1, and virtual ip is of vlan 10.

I want to use Server Load balancing feature for http and other features.

Please help me on this.

Thanking you.

regards,

Mangesh.

7 Replies 7

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hi Giuseppe,

I have followed the same document but it's not working. The request reaching till my Switch after that nothing happening.

On real servers it shows me the status goes from failed to testing and then ready for test states. And then fall back to Failed.

6506_SW2#sh ip slb conn

vserver prot client real state nat

-------------------------------------------------------------------------------

VERIFY_TEST TCP 172.16.10.72:1646 172.16.1.215 SYNCLIENT none

6506_SW2#sh ip slb conn

vserver prot client real state nat

-------------------------------------------------------------------------------

And then it goes to Closing state. Can you please help me with Server end configuration also.

And also if there is any correctin required in my Switch configuration.

Thanks and Regards,

MAngesh.

Mangesh

What are you trying to load-balance. Is it http ?

Whatever it is can you from a client connect to the real address (NOT the VIP) and see if that works. If that does work then we can concentrate on the SLB side, if it doesn't it could be something wrong with your servers.

Jon

Hi Jon,

Yes I can ping, telnet to my servers directly.

I am trying right now http application.

Please help me out......

Thanks and regards,

Mangesh.

Mangesh

What are you load-balancing - sounds like http. You have to try accessing real servers on whatever port you are trying to load-balance on so if it is http then you need to try and connect using http - ping and telnet don't really tell us anything.

Jon

Hello Mangesh,

try to telnet to tcp port 80 to verify HTTP service is running on real servers

from a PC shell

telnet ipaddress port#

Hope to help

Giuseppe

Giuseppe

Agreed this is a useful premliminary test but Mangesh needs to actually try and bring a page up based on the real IP address unless of course he telnets and then uses the correct http get request syntax :-)

Jon

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card