LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

no load balance with ldirectord

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: no load balance with ldirectord
From: Markus Markert <mma@xxxxxxxxxxxxxx>
Date: Mon, 2 Jun 2003 17:25:05 +0200
hi list,

i have two machines with apache,ipvsadm,ldirectord and heartbeat on it.
the haresources,ldirectord.cf and the ha.cf are attached.
but when i stop the apache service on the ds11(master),
the http service on the virtual server is not reachable :-( fu**, this
is the last what i must do with the servers and such problems with it.

ipvsadm says before stopping the apache this:
[slave-ds10]
ds10:/etc/ha.d # ipvsadm
IP Virtual Server version 1.0.6 (size=4096)
Prot LocalAddress:Port Scheduler Flags
> RemoteAddress:Port           Forward Weight ActiveConn InActConn
TCP  192.168.0.162:http rr
   -> ds11:http                         Masq    1      0          0
   -> ds10.suchtreffer.de:http     Local   1      0          0

[master-ds11]
ds11:/usr/lib/perl5/site_perl/5.8.0 # ipvsadm
IP Virtual Server version 1.0.6 (size=4096)
Prot LocalAddress:Port Scheduler Flags
 RemoteAddress:Port           Forward Weight ActiveConn InActConn

TCP  192.168.0.162:http rr
  -> ds11:http                    Local    1      0          0
  -> ds10:http                    Masq    1      0          0

and after stopping the apache on the ds11 (ds11 has the virtual ip adress)

[slave-ds10]
ds10:/etc/ha.d # ipvsadm
IP Virtual Server version 1.0.6 (size=4096)
Prot LocalAddress:Port Scheduler Flags
  -> RemoteAddress:Port           Forward Weight ActiveConn InActConn
TCP  192.168.0.162:http rr
  -> ds10.suchtreffer.de:http     Local   1      0          0

[master-ds11]
ds11:/usr/lib/perl5/site_perl/5.8.0 # ipvsadm
IP Virtual Server version 1.0.6 (size=4096)
Prot LocalAddress:Port Scheduler Flags
  -> RemoteAddress:Port           Forward Weight ActiveConn InActConn
TCP  192.168.0.162:http rr
 -> ds10:http                    Masq    1      0          0

hmmmm, whats going wrong here?

greetings from a very stormy lake contance

markus
-- 
-----------------------------------------------------------
Suchtreffer AG
Bleicherstrasse 20
D-78467 Konstanz
Germany

fon:       +49-(0)7531-89207-17
fax:       +49-(0)7531-89207-13
e-mail:   mma@xxxxxxxxxxxxxx
internet: http://www.suchtreffer.de
-----------------------------------------------------------
In a world without walls and fences,
who need gates?

Attachment: ds10_ha.cf
Description: Text document

Attachment: ds10_ldirectord.cf
Description: Text Data

Attachment: ds10_haresources
Description: Text document

Attachment: ds11_ha.cf
Description: Text document

Attachment: ds11_haresources
Description: Text document

Attachment: ds11_ldirectord.cf
Description: Text Data

<Prev in Thread] Current Thread [Next in Thread>