Hi all,
here is my /var/log/messages file entries.
May 2 20:44:05 cvs pulse[2299]: STARTING PULSE AS MASTER
May 2 20:44:05 cvs pulse: pulse startup succeeded
May 2 20:44:23 cvs pulse[2299]: partner dead: activating lvs
May 2 20:44:23 cvs lvs: running command "/usr/sbin/ipvsadm" "-C"
May 2 20:44:23 cvs lvs[2303]: running command "/usr/sbin/ipvsadm" "-A"
"-t" "1
72.16.1.103:80" "-s" "wlc"
May 2 20:44:23 cvs lvs[2303]: running command "/usr/sbin/nanny" "-c" "-h"
"172
.16.2.3" "-p" "80" "-s" "GET / HTTP/1.0\r\n\r\n" "-x" "HTTP" "-a" "15" "-I"
"/us
r/sbin/ipvsadm" "-t" "6" "-w" "1000" "-V" "172.16.1.103" "-M" "m" "-U"
"ruptime"
May 2 20:44:23 cvs pulse[2312]: running command "/sbin/ifconfig" "eth1:0"
"172
.16.2.254" "up"
May 2 20:44:23 cvs pulse[2311]: running command "/sbin/ifconfig" "eth0:0"
"172
.16.1.103" "up"
May 2 20:44:23 cvs nanny[2310]: starting LVS client monitor for
172.16.1.103:80
May 2 20:44:23 cvs lvs[2303]: create_monitor for lvs104/phplogu running as
pid
2310
May 2 20:44:23 cvs pulse[2309]: running command "/usr/sbin/send_arp" "-i"
"eth
0" "172.16.1.103" "00C0CA115FA6" "172.16.1.255" "ffffffffffff"
May 2 20:44:23 cvs pulse[2308]: running command "/usr/sbin/send_arp" "-i"
"eth
1" "172.16.2.254" "00001C3A052E" "172.16.2.255" "ffffffffffff"
May 2 20:44:23 cvs nanny[2310]: making 172.16.2.3:80 available
May 2 20:44:23 cvs nanny[2310]: running command "/usr/sbin/ipvsadm" "-a"
"-t"
"172.16.1.103:80" "-r" "172.16.2.3" "-m" "-w" "1000"
May 2 20:44:23 cvs nanny[2310]: running command "ruptime" "172.16.2.3"
"uptime
"
May 2 20:44:23 cvs nanny[2310]: bad load average returned: cvs up
9:43, 3 users, load 0.00, 0.00, 0.00 linux down 1+02:47
May 2 20:44:28 cvs pulse[2306]: gratuitous lvs arps finished
May 2 20:44:41 cvs nanny[2310]: running command "ruptime" "172.16.2.3"
"uptime
"
May 2 20:44:41 cvs nanny[2310]: bad load average returned: cvs up
9:43, 3 users, load 0.00, 0.00, 0.00 linux down 1+02:48
May 2 20:44:41 cvs nanny[2310]: bad load average returned: cvs up
9:43, 3 users, load 0.00, 0.00, 0.00 linux down 1+02:48
----- Original Message -----
From: Schillaci <lvslog@xxxxxxxxx>
To: <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Tuesday, May 01, 2001 9:50 AM
Subject: Re: LVS not working
> Hi Thanks ,
> Here is the network map
>
>
> _________ __________
> | Client 1 | | Client 2 |
> |________| |_________|
> | 172.16.1.35 | 172.16.1.33
> | |
> |___________________ ___| Public Network
> |
> |
> |eth0:0 172.16.1.103 (Virtual Server ip)
> |eth0 172.16.1.104
> ____|_____
> | Director |
> |________|
> | eth1 172.16.2.4
> | eth1:0 172.16.2.254 (Router ip)
> |________________________
> | | Private
Network
> | |
> |eth0 172.16.2.3 | eth0 172.16.2.5
> ____|_____ _____|____
> | RS1 | | RS2 |
> |________| |_________|
>
>
>
> ----- Original Message -----
> From: Peter Mueller <pmueller@xxxxxxxxxxxx>
> To: <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
> Sent: Tuesday, May 01, 2001 1:24 AM
> Subject: RE: LVS not working
>
>
> > Can you provide this in a network map? It's confusing. Also, do you
mean
> > 172.16.1.254 for your default gateway on your clients instead of
> > 172.16.2.254? If not, what is 172.16.2.254?
> >
> > > -----Original Message-----
> > > From: Schillaci [mailto:lvslog@xxxxxxxxx]
> > > Sent: Monday, April 30, 2001 8:56 AM
> > > To: LVS
> > > Subject: LVS not working
> > >
> > >
> > > Hi all,
> > > I have machine with red linux 6.2 with kernel 2.2.16 patched with
> > > lvs-version 0.9.15. This machine which acts as load balancer
> > > has two NICs
> > > one eth0 172.16.1.104 and eth0:0 172.16.1.103 (vip) and the
> > > other eth1
> > > 172.16.2.4 and eth1:0 172.16.1.254 (router ip) .
> > >
> > > eth0 is connected to a client network whose ip starts from
> > > 172.16.1.1 to
> > > 172.16.1.110 and eth1 is connected to a real server network.
> > > I have two
> > > realservers with one with ip 172.16.2.3 and the other with 172.16.2.5.
> > >
> > > I have modified the file /etc/sysctl.conf for packet forwarding and
> > > defragmenting and added the line
> > > ipchains -A forward -j MASQ -s 172.16.2.0/24 -d 0.0.0.0/0
> > > in the file rc.local.
> > >
> > > I have set the default gateway for the real servers as 172.16.2.254
> > >
> > > Now when i start the pulse daemon and try to access the webpage from
> > > http://172.16.1.103 I am unable to get any
> > > page from the real servers.
> > >
> > > when i stop pulse and lvs daemons, i am able get the pages
> > > from the Load
> > > balancer machine.
> > >
> > >
> > > Here is my lvs.cf file.
> > > primary = 172.16.1.104
> > > service = lvs
> > > rsh_command = rsh
> > > backup_active = 0
> > > backup = 0.0.0.0
> > > heartbeat = 1
> > > heartbeat_port = 539
> > > keepalive = 6
> > > deadtime = 18
> > > network = nat
> > > nat_router = 172.16.2.254 eth1:0
> > > virtual lvs104 {
> > > active = 1
> > > address = 172.16.1.103 eth0:0
> > > port = 80
> > > send = "GET / HTTP/1.0\r\n\r\n"
> > > expect = "HTTP"
> > > load_monitor = ruptime
> > > scheduler = wlc
> > > protocol = tcp
> > > timeout = 6
> > > reentry = 15
> > > server php3{
> > > address = 172.16.2.3
> > > active = 1
> > > weight = 1000
> > > }
> > > server help{
> > > address = 172.16.2.5
> > > active = 1
> > > weight = 2000
> > > }
> > >
> > > }
> > >
> > > Someone please guide me to overcome this problem.
> > >
> > > -Schillaci
> > >
> > >
> > >
> > > _________________________________________________________
> > > Do You Yahoo!?
> > > Get your free @yahoo.com address at http://mail.yahoo.com
> > >
> > >
> > > _______________________________________________
> > > 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
>
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
>
> _______________________________________________
> 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
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
|