LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: linux virtual server

To: Pete Salazar <petes@xxxxxxxxxxxxxx>
Subject: Re: linux virtual server
Cc: VS List <linux-virtualserver@xxxxxxxxxxxx>
From: Wensong Zhang <wensong@xxxxxxxxxxxx>
Date: Sat, 20 Mar 1999 04:06:18 +0800
At 10:04 99-3-19 -0600, you wrote:
>I have read all of the instructions on your webpage for setting up a
>virtual server using IP tunneling and am still having some problems and
>questions.
>I installed the 2.0.36 kernel and patched (vs-0.8) it per the
>instructions, selected the kernel options including - enable ippfvs
>using IP tunneling and weighted round robin.
>This is where I get a little confused do I have to enable the kernel
>option: IP tunneling? IP Aliasing? I ran the command ippfvsadm -A -t
>virt.ip:25 -R real.server.1 -w 1
>and ippfvsadm -A -t  virt.ip:25 -R real.server.2 -w 2
>
>That seemed to work.  Then I went to the real server and added the
>tunnel with  ifconfig tunl0 virt.ip up  Does the real server need to be
>running the patched kernel?  With the same kernel options?

No, the real server doesn't need the patched kernel.

As you have done, you just need to 'ifconfig tunl0 virt.ip up'.

>
>Any help you can give is greatly appreciated.
>
>
>
>ippfvs (LinuxDirector) version 0.8  (Tunneling, WRR)
>IP Port Forwarding & Virtual Server Table
>Protocol Local Addr:Port ==>
>                        Remote Addr           Weight
>                        ...
>TCP      Virt.Server.IP:25 ==>
>                        Real.Server.1          1
>                        Real .Server.2         2
>
>Load Balancer
>
>lo        Link encap:Local Loopback
>          inet addr:127.0.0.1  Bcast:127.255.255.255  Mask:255.0.0.0
>          UP BROADCAST LOOPBACK RUNNING  MTU:3584  Metric:1
>          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>          Collisions:0
>
>eth0      Link encap:Ethernet  HWaddr 00:00:E8:3D:8F:F4
>          inet addr:Load.Blanacer.ip  Bcast: . . .255
>Mask:255.255.255.0
>          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>          RX packets:80518 errors:0 dropped:0 overruns:0 frame:0
>          TX packets:1789 errors:0 dropped:0 overruns:0 carrier:0
>          Collisions:0
>          Interrupt:5 Base address:0x320
>
>
>Real Server.1
>lo        Link encap:Local Loopback
>          inet addr:127.0.0.1  Mask:255.0.0.0
>          UP LOOPBACK RUNNING  MTU:3924  Metric:1
>          txqueuelen:0
>          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>          Collisions:0
>
>eth0      Link encap:Ethernet  HWaddr 00:E0:29:1D:4C:30
>          inet addr: Real.Server.1  Bcast: real.server.network.255
>Mask:255.255.255.0
>          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>          txqueuelen:100
>          RX packets:82938 errors:0 dropped:0 overruns:0 frame:0
>          TX packets:1515 errors:0 dropped:0 overruns:0 carrier:0
>          Collisions:2
>          Interrupt:9 Base address:0x6500
>
>tunl0     Link encap:IPIP Tunnel  HWaddr
>          inet addr:Virt.server.ip  Mask:255.255.255.0
>          UP RUNNING NOARP  MTU:1480  Metric:1
>          txqueuelen:0
>          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>          Collisions:0
>
>
>Real Server 2
>lo        Link encap:Local Loopback
>          inet addr:127.0.0.1  Mask:255.0.0.0
>          UP LOOPBACK RUNNING  MTU:3924  Metric:1
>          RX packets:18 errors:0 dropped:0 overruns:0 frame:0
>          TX packets:18 errors:0 dropped:0 overruns:0 carrier:0
>          Collisions:0
>
>eth0      Link encap:Ethernet  HWaddr 00:40:05:2B:96:35
>          inet addr:Real.Server.2 Bcast: real.server.network.255
>Mask:255.255.255.0
>          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>          RX packets:86664 errors:0 dropped:0 overruns:0 frame:0
>          TX packets:1459 errors:0 dropped:0 overruns:0 carrier:0
>          Collisions:0
>          Interrupt:10 Base address:0x320
>
>tunl0     Link encap:IPIP Tunnel  HWaddr
>          inet addr:virt.server.ip  Mask:255.255.255.0
>          UP RUNNING NOARP  MTU:1480  Metric:1
>          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>          Collisions:0
>
>
>
>Thanks,
>Pete
>
>
>


<Prev in Thread] Current Thread [Next in Thread>
  • Re: linux virtual server, Wensong Zhang <=