LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

RE: stop switching between primary and secondary

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: RE: stop switching between primary and secondary
From: "Purcocks, Graham" <grahamp@xxxxxxxxxxxxx>
Date: Wed, 11 May 2005 11:39:43 -0400
That applies to failover of the directors not the real servers, doesn't
it?

I don't think that is what is being asked. 

-----Original Message-----
From: lvs-users-bounces@xxxxxxxxxxxxxxxxxxxxxx
[mailto:lvs-users-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Jos
Houtman
Sent: 11 May 2005 16:33
To: LinuxVirtualServer.org users mailing list.
Subject: Re: stop switching between primary and secondary

you can have a look at heartbeat and then namely the auto_failback 
option in combination with a virtual ip?

James.Q.L wrote:

>hi,
>
>I have two mysql servers in a dual master setup. i want to setup LVS so
that when active master
>down, it switches to the secondary. that's no problem. however, the
problem is that LVS switch to
>the old master again when the old master come back alive. that's not
what i want. 
>
>my question is how do i setup LVS so that it will stick to the current
master and only switch when
>it goes down ?
>
>Also, I want the active master replay all the updates it has read
before actually accepting
>connection. how do i set up LVS so that it will wait for some
signal(the master gonnabe has
>finished reading all the log) then direct all connections to it.
>
>thanks, 
>
>Qiang
>
>
>______________________________________________________________________ 
>Post your free ad now! http://personals.yahoo.ca
>  
>



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