LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Problems with FOS

To: John Cronin <jsc3@xxxxxxxxxxxxx>
Subject: Re: Problems with FOS
Cc: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
From: "Teh Yong Wei" <ywteh@xxxxxxxxxxxxxx>
Date: Tue, 24 Oct 2000 08:37:57 +0800
> > 1) Why when I startup the pulse at backup node, it straight away
become
> > active and the primary node become inactive??
> I don't know this one.  When you say backup node, are you talking
about
> a the realservers or the LVS directors?  (ie is gretel and gretelf
different
> from gretel3 and gretel4).

Yes, the gretel is the director and the gretelf is the backup node. The
gretel3 and gretel4 is the real servers.

  
> > 2) After that, I cannot access the VIP address via a client. But,
when I
> > use "ps axw" on both primary and backup nodes, there is only pulse
> > running on primary node. Here is the 
> > backup"ps axw":
> > =================
> > 15421 ?        S      0:00 pulse
> > 15505 ?        S      0:00 /usr/sbin/fos --active -c /etc/lvs.cf
> > --nofork
> > 15531 ?        S      0:00 httpd
> > 15534 ?        S      0:00 httpd
> > 15535 ?        S      0:00 httpd
> > 15536 ?        S      0:00 httpd
> > 15537 ?        S      0:00 httpd
> > 15538 ?        S      0:00 httpd
> > 15539 ?        S      0:00 httpd
> > 15540 ?        S      0:00 httpd
> > 15541 ?        S      0:00 httpd
> > 
> > 3) Furthermore, it seems that the httpd on primary node is stopped.
Why
> > is this happen?
> 
> Don't know.  I am not sure which of these is which - are we talking
> directors or web servers.
> 
> When you set up two nodes in a fos, then those two nodes run the
services
> and coordinate between each other.  In other words, run piranha on the
nodes
> you want to run the service on in this case.
> 
> If you set up an LVS load balancer, then you run piranha on the
directors,
> which you can set up one as primary and one as backup.  THIS IS NOT
fos
> in this case, but one director should fail over to the other.  The
only
> web server on the nodes running piranha should probably be the one
that
> serves up the piranha gui, and I would use TCP wrappers to secure that
> (ie launch httpd from inetd).  The realservers in this case would just
> be web servers, nothing special needed (in LVS/NAT, anyway - the arp
> problem needs to be dealt with in LVS/DR).
> 
> > 4) I also try to unplug the primary node from the Internet, the
backup
> > node is failover. But, when I plugged the primary node back to the
> > Internet, the primary node doesn't seem to failover. The primary
node
> > still is inactive wheareas the backup node is active. Pls advice.
> 
> I don't know about this - I think your setup is confused, and it
confuses
> me.

U mentioned that set the configuration to lvs and not fos. Then, if the
primary node, gretel fail, the backup node, gretelf will take over?
confuse...
 

Don't worry, Be happy! :)


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