Re: Replicate to more than one replica?

2006-06-08 Thread Bron Gondwana
On Wed, Jun 07, 2006 at 11:52:16AM +1200, Roland Pope wrote: > Bron Gondwana wrote: > >Unless sync_server is logging all its actions to sync_client then this is > >a bit pointless, Replica2 will never have anything automatically sent to > >it. A quick grep of my 2.3.6 source directory suggests tha

Re: Replicate to more than one replica?

2006-06-07 Thread Wesley Craig
On 07 Jun 2006, at 15:10, David Korpiewski wrote: I am unable to apply the left behind transaction logs of the sync_client. Perhaps I'm just not sure how to do it. You ought to be able to do it with sync_client -r -f /path/to/log. My main concern is what applying these left overs to the ru

Re: Replicate to more than one replica?

2006-06-07 Thread David Korpiewski
My problem at the moment is that if you can't contact the replica then the master doesn't even [expletive] start, which is just insane. I've attached a patch that fixes that in a pretty hacky way - but still has global connection objects. I don't think it's worthy of inclusion upstream until

Re: Replicate to more than one replica?

2006-06-07 Thread David Korpiewski
If the original master is recoverable, shouldn't it have the list of what has not yet been propagated? Why not simply apply these logs? Are you worried about the logs causing mail to be deleted from the replica? This is technically easier than trying to reconstruct from the logs what was n

Re: Replicate to more than one replica?

2006-06-07 Thread Martin Schweizer
un 2006, at 13:56, David Korpiewski wrote: >> Is it possible for one master to rolling replicate to more than one >> replica? I'd like to have one master and two replicas. > > Can you share why you're interested in two replicas? > > :wes Sure. We have one maste

Re: Replicate to more than one replica?

2006-06-06 Thread Roland Pope
Bron Gondwana wrote: On Wed, 07 Jun 2006 09:49:13 +1200, "Roland Pope" <[EMAIL PROTECTED]> said: You cannot replicate from one master to more than one replica. However, you should be able to replicate from master to replica, then from replica to another replica. Ie. Master->Replica1->Replica2

Re: Replicate to more than one replica?

2006-06-06 Thread Wesley Craig
On 06 Jun 2006, at 16:04, David Korpiewski wrote: When we bring the master back up we make sure cyrus is turned off. Then we do a full mailstore diff on the original master and the silent replica. This will give us a list of the email that was not propagated when the master went down. Thi

Re: Replicate to more than one replica?

2006-06-06 Thread Roland Pope
David Korpiewski wrote: Is it possible for one master to rolling replicate to more than one replica? I'd like to have one master and two replicas. However, I can't determine how to do this within the imapd.conf file. I swear I read that you can have more than one replica. Can

Re: Replicate to more than one replica?

2006-06-06 Thread David Korpiewski
Wesley Craig wrote: On 06 Jun 2006, at 13:56, David Korpiewski wrote: Is it possible for one master to rolling replicate to more than one replica? I'd like to have one master and two replicas. Can you share why you're interested in two replicas? :wes Sure. We have one maste

Re: Replicate to more than one replica?

2006-06-06 Thread David Korpiewski
That is what I had tried in option (1). Unfortunately it doesn't work. Warren Turkal wrote: On Tuesday 06 June 2006 11:56, David Korpiewski wrote: (3) sync_host: lmc1.cs.umass.edu, lmc2.cs.umass.edu I have never messed with the replication, but does a space rather than a comma work? wt

Re: Replicate to more than one replica?

2006-06-06 Thread Warren Turkal
On Tuesday 06 June 2006 11:56, David Korpiewski wrote: > (3) sync_host: lmc1.cs.umass.edu, lmc2.cs.umass.edu I have never messed with the replication, but does a space rather than a comma work? wt -- Warren Turkal, Research Associate III/Systems Administrator Colorado State University, Dept. of

Replicate to more than one replica?

2006-06-06 Thread David Korpiewski
Is it possible for one master to rolling replicate to more than one replica? I'd like to have one master and two replicas. However, I can't determine how to do this within the imapd.conf file. I swear I read that you can have more than one replica. Can you let me know if I&