Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 6th November 2006, 21:32
cifroes cifroes is offline
Junior Member
Join Date: Nov 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem setting up LVS (load-balancer, linux virtual server) in Xen Virtual Machine

Hi all,

I'm trying to setup 3 virtual machines, 1 with LVS (Linux Virtual Server) load-balancing and 2 with Tomcat+Axis (webserver and stuff).

I'm using openSUSE 10.1 (xen 3.0.2) in all VMs and Dom0. rcSuseFirewall is stopped, iptables -l report everything "accept"'ing.

Here's my IP configuration:

You can see there are 3VMs running.

In the LB virtual machine I configure Linux Virtual Server (ipvsadm):
ipvsadm -A -t -s rr
ipvsadm -a -t -r -m
ipvsadm -a -t -r -m

I also set ip_forward:
echo "1" > /proc/sys/net/ipv4/ip_forward

Then, in dom0 I try my LVS:
but I only get "making http connection to xxxx..."

Tomcat logs in both VMs don't report the connection.
TCP sniffer in VM10/20 reports:
Capturing on eth0
1 0.000000 -> TCP 44000 > http-alt [SYN] Seq=0 Ack=0 Win=5840 Len=0 MSS=1460 TSV=19301554 TSER=0 WS=2
2 0.009607 -> TCP http-alt > 44000 [SYN, ACK] Seq=0 Ack=1 Win=5792 Len=0 MSS=1460 TSV=19273803 TSER=19301554 WS=2
3 0.009658 -> TCP 44000 > http-alt [RST] Seq=1 Ack=4283853535 Win=0 Len=0

TCP sniffer in LB reports:
1 0.000000 -> TCP 44000 > http-alt [SYN] Seq=0 Ack=0 Win=5840 Len=0 MSS=1460 TSV=19301554 TSER=0 WS=2
2 0.009344 -> TCP 44000 > http-alt [SYN] Seq=0 Ack=0 Win=5840 Len=0 MSS=1460 TSV=19301554 TSER=0 WS=2

Any ideas why this doesn't work? How should I do it? Any tutorial/howto help is appreciated.

Thanks in advance,
Reply With Quote
Sponsored Links
Old 7th November 2006, 17:55
falko falko is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts

Did you have a look at this tutorial? http://www.howtoforge.com/high_avail...apache_cluster
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Statistic not working mzo Installation/Configuration 49 20th April 2011 13:19
Setting up a backup mail server setup with two installations of ISPConfig zitch Tips/Tricks/Mods 7 30th December 2006 11:07
Postfix Problems Rocky Installation/Configuration 22 14th September 2006 10:03
Webmail Relay Error palkat General 17 23rd April 2006 19:12
KErnel not showing all my memory Jorem Kernel Questions 8 13th April 2006 13:59

All times are GMT +2. The time now is 12:54.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.