unsubscribe
MFK
-----Original Message-----
From: lvs-users-admin@xxxxxxxxxxxxxxxxxxxxxx
[mailto:lvs-users-admin@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of LVS Account
Sent: Wednesday, March 21, 2001 10:49 PM
To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE: New to List , have some questions.
I couldn't get the script to work so I set it up manually...
quick way to get Direct Server Return / routing working:
On the director:
ifconfig eth0:0 192.168.2.110
route add -host 192.168.2.110 netmask 255.255.255.255 broadcast
192.168.2.110 dev eth0:0
ipvsadm -A -t 172.26.20.110:80 -s wlc
ipvsadm -a -t 172.26.20.110:80 -r real.server.i.p
If you want to load balance to the director server too, add...
ipvsadm -a -t 172.26.20.110:80 -r 127.0.0.1
Then on the real servers you can just put in :
echo 1 > /proc/sys/net/ipv4/ip_forward
ipchains -A input -j REDIRECT 80 -d 172.26.20.110 80 -p tcp
Since the director is forwarding packets to a real server that doesn't have
the destination IP address defined, the ipchains command redirects that
destination IP (the VIP) to the local port. If your web server is listening
to 0.0.0.0 then it will answer.
I've had some scalability issues doing it this way, but I think that may be
on my testing tool and not LVS... I'm going to try hidden interfaces next
to see if they work better... I've heard that IPCHAINS adds some latency to
connections...
I don't want to use TUN or NAT since they definately have a performance
bottleneck...
Hope this helps...
Curtis Hays
-----Original Message-----
From: lvs-users-admin@xxxxxxxxxxxxxxxxxxxxxx
[mailto:lvs-users-admin@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Jeffrey
Watterson
Sent: Wednesday, March 21, 2001 6:21 PM
To: 'lvs-users@xxxxxxxxxxxxxxxxxxxxxx'
Subject: RE: New to List , have some questions.
Is the rc.lvs.nat script supposed to create a VIP on <lo> of the real
servers?
I run the script < sh -xve rc.lvs.nat > that was generated on my director
from configure and the script dies and the last output was NEW_VIP_DEVICE=
this after the sections where it looks like it was trying to configure the
VIP on <lo>. and never did.
I am reading through the archives I can see that I will need about a week or
so to plow through these and find what I can. I will try to refrain from
posting. I just can't help thinking I am missing something real obvious. I
do not know why it is complaining about my routes and hops being incorrect
if I followed the setup cart blanche.
Thanks
I am running kernel.org 2.2.18 with corresponding ipvs patch and scripts
from LVS site on top of RH6.2 with all latest applicable errata.
Client IP= 192.168.2.254 (eth0)
DIP= 192.168.1.1 (eth0)
VIP= 192.168.2.110 (eth0:0)
RIP1= 192.168.1.2 (eth0)
RIP2= 192.168.1.3 (eth0)
#lvs_nat.conf
LVS_TYPE=VS_NAT
INITIAL_STATE=on
VIP=eth0:0 192.168.2.110 255.255.255.0 192.168.2.255
DIRECTOR_INSIDEIP=eth0 192.1681.1 192.168.1.0 255.25.255.0 192.168.1.255
DIRECTOR_DEFAULT_GW=192.168.2.154
SERVICE=t telnet rr 192.168.1.2:telnet 192.168.1.3:telnet
SERVER_NET_DEVICE=eth0
SERVER_DEFAULT_GW=192.168.1.1
# End
-----Original Message-----
From: LVS Account [mailto:lvs@xxxxxxxxxxxxxxxxx]
Sent: Wednesday, March 21, 2001 11:51 AM
To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE: New to List , have some questions.
To what point do you currently have it working?
Are you using VS-NAT TUN or DR?
When you type ipvsadm do you see your service setup and a real server that
is tracking connections?
Are you using a patched kernel or a stock kernel with LVS support already
there?
I'm fairly new to the list (a month or so) and can say that it is very well
covered. Basically a bunch of people working with LVS that are helping each
other out. One thing though... read the HOWTO
http://www.linuxvirtualserver.org/Joseph.Mack/HOWTO/ and try searching
through the mailing list archive before posting. Funny how many people have
already had the same questions asked and answered.
Curtis Hays
-----Original Message-----
From: lvs-users-admin@xxxxxxxxxxxxxxxxxxxxxx
[mailto:lvs-users-admin@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Jeffrey
Watterson
Sent: Wednesday, March 21, 2001 12:48 PM
To: 'lvs-users@xxxxxxxxxxxxxxxxxxxxxx'
Subject: New to List , have some questions.
Hello
I would like to introduce myself to the list. I am very excited about LVS
and its potential to save many $ vs. F5 or Cisco solutions.
I am new to working with LVS. I have been reading up on the subject for
quite some time. I have begun setting up a LVS cluster in my lab but am
having little success to date. I have tried the simple test setup in the
mini-HOWTO as well as following the examples in the general HOWTO.
I tend to get wordy so in an effort to keep postings to the point I will
follow up with and example of my current test setup and descriptions of my
issues, diagnostics I have run and results of those efforts. I realize
from reading the current postings that the group is at a more advanced stage
than the level I am at. I hope that there will be some that are willing to
mentor and help me get up to speed. I do not expect anyone to do it for me,
I just need some sets of experienced eyes looking at what I am doing and
maybe presenting different points for me to focus on.
Thank You
jeff
_______________________________________________
LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://www.in-addr.de/mailman/listinfo/lvs-users
_______________________________________________
LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://www.in-addr.de/mailman/listinfo/lvs-users
_______________________________________________
LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://www.in-addr.de/mailman/listinfo/lvs-users
_______________________________________________
LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://www.in-addr.de/mailman/listinfo/lvs-users
|