On 5/28/2014 12:47 PM, Dave M wrote: > Replication. > Anyone doing replication, ie to backup servers using Jakes replication > videos, > More specifically, anyone tried replication from master to two backup > servers, > I would like to see how it was done. > > FYI, I have successfully replicated from my Centos 5 qmailtoaster > server to my new build Centos6 qmail toaster, > As the New server was " empty " the only caveat I needed to do was , > when syncing initially with " unison " > mkdir -p /home/vpopmail/domains/dmain1.com > mkdir -p /home/vpopmail/domains/dmain2.com > > etc, for all your email domains. > Every thing else worked no problems. > > Dave M > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] >
Hey Dave, I have done the following for my own server and two clients' servers: http://wiki.qmailtoaster.com/index.php/QMT_Failover_replication_Setup. It is, unlike Jake's video, I think, in that when the primary server fails a script (qmail-replicateb) must be run on the backup server to activate it rather than the servers running in unison. I have not yet used the backup server after failure, so, I pretty much have my fingers crossed, but see no reason why it won't work. Two things: 1) I have DAG repo enabled to install unison rather than installing 'manually.' 2) I did change the call to unison in qmail-replicatec on the primary server in the following way: /usr/bin/unison -force / -batch -owner -group -times qmail >> $LOG 2>&1 so that owner, group, and time information is replicated to the backup server which means that the owner and group must exist on that server. Eric --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
