LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: LVS DR Localnode mit heartbeat?

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: LVS DR Localnode mit heartbeat?
From: Joseph Mack <mack.joseph@xxxxxxx>
Date: Thu, 16 Jan 2003 11:59:00 -0500
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 
normal arping? Then you could route packets to the VIP.

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


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