Gerben Wierda
2023-Jan-04 12:46 UTC
Migrating, syncing, maybe load-balancing/failover two dovecot servers?
I am in the process of migrating from dovecot on one OS (macOS/darwin) to a new server running dovecot with another OS (Ubuntu Linux 22.4). I have mostly copied/adapted the setup of the old server to the new. I am in the process of finishing that and adding some stuff that still needs to be added/migrated, like rspamd. And the data of course before the new one takes over from the old. I have done a migration before (MacOS X Server dovecot to MacPorts dovecot on macOS), many years ago, I recall that I used dovecot syncing but also rsync and I don't really recall (and anyway, the software has changed since) I have been thinking about keeping them both alive, with one as a failover for the other. They will not share their storage (e.g. NFS), So, I was wondering if I can do something with syncing between instances and dovecot director. I have been looking at the documentation, but a quick scan reveals I cannot locate some sort of tutorial and I am uncertain what will work and what not. If keeping both alive in parallel is too problematic, it is OK to have regular syncing in one direction (old to new) at first and then switch over and have syncing in the other direction (new to old) Can someone enlighten me? Gerben Wierda (LinkedIn <https://www.linkedin.com/in/gerbenwierda>) R&A IT Strategy <https://ea.rna.nl/> (main site) Book: Chess and the Art of Enterprise?Architecture <https://ea.rna.nl/the-book/> Book: Mastering ArchiMate <https://ea.rna.nl/the-book-edition-iii/> -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20230104/fd3bb060/attachment.htm>
Paul Kudla
2023-Jan-04 12:54 UTC
Migrating, syncing, maybe load-balancing/failover two dovecot servers?
maybe look a replicator / replication its designed to do exactly that Happy Wednesday !!! Thanks - paul Paul Kudla Scom.ca Internet Services <http://www.scom.ca> 004-1009 Byron Street South Whitby, Ontario - Canada L1N 4S3 Toronto 416.642.7266 Main?1.866.411.7266 Fax?1.888.892.7266 Email?paul at scom.ca On 1/4/2023 7:46 AM, Gerben Wierda wrote:> I am in the process of migrating from dovecot on one OS (macOS/darwin) > to a new server running dovecot with another OS (Ubuntu Linux 22.4). > > I have mostly copied/adapted the setup of the old server to the new. I > am in the process of finishing that and adding some stuff that still > needs to be added/migrated, like rspamd. And the data of course before > the new one takes over from the old. > > I have done a migration before (MacOS X Server dovecot to MacPorts > dovecot on macOS), many years ago, I recall that I used dovecot syncing > but also rsync and I don't really recall (and anyway, the software has > changed since) > > I have been thinking about keeping them both alive, with one as a > failover for the other. They will not share their storage (e.g. NFS), > So, I was wondering if I can do something with syncing between instances > and dovecot director. I have been looking at the documentation, but a > quick scan reveals I cannot locate some sort of tutorial and I am > uncertain what will work and what not. > > If keeping both alive in parallel is too problematic, it is OK to have > regular syncing in one direction (old to new) at first and then switch > over and have syncing in the other direction (new to old) > > Can someone enlighten me? > > Gerben Wierda (LinkedIn <https://www.linkedin.com/in/gerbenwierda>) > R&A IT Strategy <https://ea.rna.nl/>?(main site) > Book: Chess and the Art of Enterprise?Architecture > <https://ea.rna.nl/the-book/> > Book: Mastering ArchiMate <https://ea.rna.nl/the-book-edition-iii/> > > > -- > This message has been scanned for viruses and > dangerous content by *MailScanner* <http://www.mailscanner.info/>, and is > believed to be clean.