cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
363
Views
0
Helpful
4
Replies

Loadbalancing between Servers using 4500 switch

hclisschennai
Level 1
Level 1

Hi All,

I have CISCO 4507R switch. It is working perfectly.

I have two Linux Server configured as web servers with IP address 192.168.1.100 and 192.168.1.200. The intention is to provide Load Balancing / High Availability in the servers. We have not configured clustering or Network Load Balancing (NLB) between servers as it does not support active / active clustering.

Servers are connected in the following ports

Giga 0/1 - SERVER 1

Giga 0/2 - SERVER 2

So I am trying to configure the load balancing in the switch, so that both the servers should the receiving the traffic from clients.

Is there any way I can configure Virtual IP address in the switch for this web servers, so that this Virtual IP address will be given to clients for communicating with the servers.

Or otherwise any workaround or solution is there to achieve my requirement.

I read that Etherchannel is not possible between One switch and two different servers. Is that true?

R.B.Kumar

4 Replies 4

Jon Marshall
Hall of Fame
Hall of Fame

R.B

IOS does have a feaure called SLB (Server Load Balancing) but unfortunately it is not supported on the 4500 series switch (it is on the 6500).

You are right that etherchannel is not a solution for you here.

One possible solution is "poor mans" load-balancing using DNS where you have 2 entries for the same URL and eg.

http://www.site.com -> 192.168.1.100

http://www.site.com -> 192.168.1.200

the DNS server will respond in a round robin fashion returning the .100 the first time a request for www.site.com is requested and .200 the next time.

There is a big drawback to this solution though. If one of the servers goes down DNS does not know it has gone down so it will still return the IP address. And if a client has cached it's DNS response and then the server goes down the client will continue to use that IP address until it times out of it's cache.

Jon

Hi Jon,

Thanks for your response and initivatives.

Can you please explain how to do Server Load Balancing in 6500 Series switch. So that i will use 6500 Switch in this case.

Also RRDNS is not the solution as you mentioned.

Please suggest me how to achieve this. I am also attaching the network diagram for your reference.

Attached is a link to configuring IOS SLB on the 6500. However one of the key restrictions is that the client(s) and server(s) cannot be on the same subnet/vlan so you would need to do some readdressing of your clients if you wanted to use SLB on the 6500 -

http://www.cisco.com/en/US/docs/ios/12_2sx/feature/guide/slbsxf5.html

There are of course other options ie. there are standalone load-balancers and an ACE module that can be inserted into the 6500 chassis. With these devices you can have the clients and servers on the same IP subnet. But obviously these would entail additional hardware costs.

Jon

Thankyou Jon,

I will read this document and let you know the status.

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