LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: connection between MySQL and Apache LVS-NAT

To: ""LinuxVirtualServer.org users mailing list."" <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: connection between MySQL and Apache LVS-NAT
From: francois mounier <irt01.mouf@xxxxxxxxxxxx>
Date: Thu, 04 Sep 2003 13:11:50 +0200
> Please read the ipvsadm man page for details on how the command
> line options work. -n is a flag that suplements other options.
> So logiclly if you want to do ipvsadm -L this would become ipvsadm
-n -L
> 


Hi,

Ok so I ran ipvsadm -L -n and it works well. The output are
instantanous

TCP 192.168.2.1:80 rr
 -> 192.168.1.5:80       Masq    1      0      0
 -> .....
 -> 192.168.1.2:80       Masq    1      0      0
 
But when I do 
ipvsadm -L the output is 

TCP 192.168.2.1:www rr 
 -> 192.168.1.5:www     Masq     1      0      0
 -> ...
 -> 192.168.1.2:www       Masq    1      0      0

But its taking ages (sevral minutes)...Is it just due to the fact that
it resolving the name of the service (looking in the
/etc/services?)???

In my script I use the name of the service and not the port
ipvsadm -A -t 192.168.2.1:www ....etc

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