lvs-users@xxxxxxxxxxxxxxxxxxxxxx schrieb am 16.01.03 18:00:20:
>
> Uwe Kruse wrote:
> >
> > lvs-users@xxxxxxxxxxxxxxxxxxxxxx schrieb am 16.01.03 16:25:17:
> > >
> > > Uwe Kruse wrote:
> > > >
> > > > Hallo,
> > > > i try to realize a local node cluster with LVS DR. On my Real server,
> > > > there ist the VIP on
> > > > lo:0 with ifconfig. I have implemeted the hidden patch. All works fine.
> > > > Now i try to use heartbeat for ha.
> > >
> > >
> > > you have 2 directors which you are doing the failover on?
> > >
> > > > In case of fail over, heatbeat uses the vip defined on the lo:0.
> > >
> > > the lo:0 VIP is on the realservers. You don't use HA to failover the
> > > realservers.
> > > For the realservers you use mon or some equivalent.
> > >
> >
> > The director starts on a server, which was a real server before.
>
> so you have an LVS with one director and some number of realservers and for
> failout
> you use Linux-HA to promote a realserver to being a director?
>
>
> > > > The gratious arp can not work.
> > >
> > > what is the problem with it?
> > >
> >
> > heartbeat makes in ifconfig for the vip to lo:0 on the realserver. So it
> > can arp.
> > When i haven't startet the realserver before the vip is on eth0:0. That
> > would be correct-
>
> I don't understand the problem yet.
> heartbeat can run a script. Can you have the script change the hidden flag on
> lo:0 to
Where can i configure the script? I should start it at the begin of the
takeover.
> normal arping? Then you could route packets to the VIP.
>
The real server has the vip on lo:0 as a hidden device.
In the case of a failover heartbeat starts the director on the backup, that was
the real server. Heartbeat assigns the vip to lo:0 and not to eth0:0.
Normal Operation:
Server 1: heartbeat start
VIP is on eth0:0
lvs start with dr
Server 2: heartbeat start
VIP on lo:0 !--------
hide lo:0 --! because of the
arp problem manually startet
hostroute fpr vip to lo:0 !--------
In case of Failover:
Server 1: heartbeat stop
release vip
Server 2: heartbeat takes control to server2
Assigns vip - vip vip already exist from normal oeration.
I hope that my problem is now transparent. At the begin of the failover-process
a
must stop the manually startet VIP assignment, but how?
Uwe
> Joe
>
> --
> Joseph Mack PhD, Senior Systems Engineer, SAIC contractor
> to the National Environmental Supercomputer Center,
> ph# 919-541-0007, RTP, NC, USA. mailto:mack.joseph@xxxxxxx
>
> _______________________________________________
> LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
> Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
> or go to http://www.in-addr.de/mailman/listinfo/lvs-users
______________________________________________________________________________
E-Mails verschicken und auf Antwort warten? Mit der Kurier-SMS kann
das nicht mehr passieren - http://freemail.web.de/features/?mc=021174
|