LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

RE: Is piranha enough?

To: <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: RE: Is piranha enough?
From: "VINOD" <vinodpj@xxxxxxxxxxxx>
Date: Thu, 21 Feb 2002 09:49:25 -0800
I am confused,  should i
        1) Bind 151.8.106.106 to both my real servers running at 192.168.1.2 
and 192.168.1.3 ?  
        2) shutdown the Apache in the director? 
But can i bind same ip in a a different network to both my real servers ?
  
        I notices one more thing. In my lvs.cf file , i am not finding any  
virtual services portions . only virtual server portion is there ? any thing 
wrong with that? 
                
        Smile all the way ...
                Vinod     

-----Original Message-----
From: lvs-users-admin@xxxxxxxxxxxxxxxxxxxxxx 
[mailto:lvs-users-admin@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Paul Lantinga
Sent: Wednesday, February 20, 2002 7:10 AM
To: 'lvs-users@xxxxxxxxxxxxxxxxxxxxxx'
Subject: RE: Is piranha enough?


Vinod, 
welcome to the list.  What I suggest you do is go into your Apache config file 
(httpd.conf) and specifically set the IP address that apache on the director 
will bind to - as in - make sure that apache doesn't bind to the external 
address on the director that you are using for load balancing.  In addition to 
that, you may also consider moving the webserver on the director to another 
port, such as 8080 or whatever port shoots your guns.  Of course, you could 
always shutoff apache on the director.  I haven't run piranha, but from my 
reading of the docs, I believe that you have to have to have a local webserver 
on the director.
-Paul 
> -----Original Message----- 
> From: VINOD [mailto:vinodpj@xxxxxxxxxxxx] 
> Sent: Wednesday, February 20, 2002 8:44 PM 
> To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx 
> Subject: Is piranha enough? 
> 
> 
>  Dear All, 
>         I have two real servers with a single virtual server 
> , , I have installed the Red Hat 6.2 Full installation , 
> which involves ipvsadm,  piranha , piranha GUI, and piranha 
> doc . NO extra packages have been tried so far. 
>         My first question 
>                 Are these packages sufficient for a load 
> balancing cluster ? 
>         Now my second question? 
> My setup is like this , 
>        
> Real server1 
>         eth0 :192.168.1.2 
>         default gateway :192.168.1.254 
> Real server2 
>         eth0:1921.168.1.3 
>         default gateway: 192.168.1.254 
> Director 
>         eth0 :151.8.105.105 
>         eth0:0 :151.8.106.106  (my virtual IP) 
>         eth1: 192.168.1.1 
>         eth1:0 :192.168.1.254 
>        
>  I configured my Apache in my both the real servers 
> identically, with the server names 192.168.1.2 & 192.168.1.3 
> respectively   Virtual server configuration in Piranha is like this .. 
>     Virtual server ip : 151.8.106 .106                    
>         Server type : http                                    
>                                                               
>           
>                 Real server1 : 192.168.1.2 : 80 
>                 Real server2 : 192.168.1.3 : 80 
>  Now to my second question  : I am not getting my web page 
> from the public network server 151.8.100.100 . Instead I am 
> getting the default page in the Apache running on my 
> director. I am getting the error as this 
> 
> ""    Connection was refused by the server 
>       Either the server is not recieving the requests or may 
> be busy ...   """ 
>               
>       I am getting the same from my director even . I checked 
> with my real servers there the web servers are running 
> normally. What could be the wrong? 
> 
>               Any suggestions please ...................... 
> Sorry for the Long letter , Consider me as a beginner 
>     
>      
>       Vinod. 
>     
> 
>        
>                 
> .)îÅX«¶æ¥Iêïzº+'f¢-)à-+--û.±êì.)îÅX«¶æ¥Iêïzº+?'§v·ª¹ë-²Ú%¾Ë¬z» 
> +z«?²Òâ?ìU?»njT?®÷«¢¸(® 
> -¢m§ÿðçi×kuïæj)fjå?Ëb?ú?-û.±êì 
> 
<Prev in Thread] Current Thread [Next in Thread>