Re: Director Failover
ong cheechye <[email protected]>
| Newsgroups | gmane.linux.redhat.piranha |
|---|---|
| Message-ID | <[email protected]> |
Hi Sebastien,
I'm using piranha-0.7.0-3.src.rpm. I'm using the patch
file piranha-0.7.0.patch.txt you sent on 19-Dec-2002.
I don't get pulse1 and pulse2 after make & make
install, only pulse.
Pls help. Thanks.
I got the following when applying the patch:
patch -p1 < piranha-0.7.0.patch
(Stripping trailing CRs from patch.)
patching file Makefile
(Stripping trailing CRs from patch.)
patching file fos.c
(Stripping trailing CRs from patch.)
patching file lvs.c
Hunk #1 FAILED at 412.
1 out of 6 hunks FAILED -- saving rejects to file
lvs.c.rej
(Stripping trailing CRs from patch.)
patching file lvsconfig.c
(Stripping trailing CRs from patch.)
patching file lvsconfig.h
(Stripping trailing CRs from patch.)
patching file nanny.c
(Stripping trailing CRs from patch.)
patching file pulse.c
(Stripping trailing CRs from patch.)
patching file pulse.init
(Stripping trailing CRs from patch.)
patching file util.c
(Stripping trailing CRs from patch.)
patching file util.h
The lvs.c.rej as follow:
***************
*** 412,417 ****
*arg++ = (char *) "--lvs";
/* Terminate the command line call */
*arg++ = NULL;
--- 412,423 ----
*arg++ = (char *) "--lvs";
+ /* pass along the real server hostname which might
be used */
+ /* by the loadMonitor command */
+
+ *arg++ = (char *) "--servername";
+ *arg++ = service->name;
+
/* Terminate the command line call */
*arg++ = NULL;
--- Sébastien Bonnet <[email protected]>
wrote: > > I'm testing Piranha+Direct routing with
telnet
> service using a
> > primary director and a backup director which is
> also acting as
> > a realserver (due to shortage of machines).
>
> Then the stock piranha is missing a feature and
> you'll have to apply a
> patch (I've provided many times on this list)
> against piranha-0.7.0 and
> handle what you've foreseen in a later post
> (handling of VIP on eth/lo
> during failover).
>
> > I telnet from another machine to the VIP. I then
> stop the pulse in
> > the primary director and the backup director take
> over. Would the
> > existing telnet connection be disconnected ?
>
> If you've started the sync daemon (manually with
> your version of
> piranha, might be automatic with the patch), you
> telnet session *should*
> survive a director failover.
>
> --
> Sébastien Bonnet
> Centre de contacts - Experian France
>
>
>
> _______________________________________________
> Piranha-list mailing list
> [email protected]
>
https://listman.redhat.com/mailman/listinfo/piranha-list
__________________________________________________
Do You Yahoo!?
Promote your business from just $5 a month!
http://sg.biztools.yahoo.com