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 12:11:53 -0400
Point taken, hadn't thought of that. Clever stuff this really :) 

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

true, but you could use it to failover the mysql as well.

it just checks if the master host is alive, if not it will take over the

virtual ip.

you can configure if the master gets back the vip when it comes back up 
or not.

jos

Purcocks, Graham wrote:

>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>