Osvaldo Alvarez Pozo
2008-Nov-21 09:53 UTC
[Dovecot] two dovecot server using the same file system
Hi all. I want to use two servers with dovecot using a common file system with drbd. So I have several questions. If one server write a mail to th file system he will use his name as part of the mail identification. the second server will use his own name. Each server will generate it own mail numbers . When an imap or pop user will consult the mails i shoul be confusion. Am I correct. is there a way of solving this issue?? Thanks
Robert Schetterer
2008-Nov-21 10:05 UTC
[Dovecot] two dovecot server using the same file system
Osvaldo Alvarez Pozo schrieb:> Hi all. > > I want to use two servers with dovecot using a common file system with drbd. > So I have several questions. > If one server write a mail to th file system he will use his name as > part of the mail identification. > the second server will use his own name. Each server will generate it > own mail numbers . When an imap or pop user will consult the mails i > shoul be confusion. Am I correct. is there a way of solving this > issue?? > > > ThanksHi Oswaldo, i will test all this during next weeks i had positv reports with ocfs2 and iSCSI so it should work with drbd and ocfs2 -- Best Regards MfG Robert Schetterer Germany/Munich/Bavaria
on 11-21-2008 1:53 AM Osvaldo Alvarez Pozo spake the following:> Hi all. > > I want to use two servers with dovecot using a common file system with drbd. > So I have several questions. > If one server write a mail to th file system he will use his name as > part of the mail identification. > the second server will use his own name. Each server will generate it > own mail numbers . When an imap or pop user will consult the mails i > shoul be confusion. Am I correct. is there a way of solving this > issue?? > > > Thanks >I thought DRBD only let one node have write access to the shared filesystem at a time? -- MailScanner is like deodorant... You hope everybody uses it, and you notice quickly if they don't!!!! -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 250 bytes Desc: OpenPGP digital signature URL: <http://dovecot.org/pipermail/dovecot/attachments/20081121/71d594dc/attachment-0002.bin>
Steffen Kaiser
2008-Nov-24 09:11 UTC
[Dovecot] two dovecot server using the same file system
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Fri, 21 Nov 2008, Scott Silva wrote:> I thought DRBD only let one node have write access to the shared filesystem at > a time?And I though DRDB is not a filesystem at all, but a block sharing protocol. http://www.drbd.org/home/mirroring/ is very clear about it: "A consequence of mirroring data on block device level is that you can only access your data (using a file system) on the active node. This is not a shortcoming of DRBD; this is caused due to the nature of most file systems (ext3, XFS, JFS, ext4, ...). These file systems are designed for one computer accessing one disk, so they cannot cope with two computers accessing one (virtually) shared disk." Just use a filesystem that allows to be accessed multiple times natively. Unfortunately, DRDB.org does not mention a filesystem to overcome the restriction. Bye. - -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFJKm++VJMDrex4hCIRAsg3AJ9qZZv1Q1lBefE0R5mkJDZUh94vEACfUP8u JRkleuGdLrW6s+Ul4hf/FAc=wHYn -----END PGP SIGNATURE-----
Steffen Kaiser wrote:> Just use a filesystem that allows to be accessed multiple times > natively. Unfortunately, DRDB.org does not mention a filesystem to > overcome the restriction. >OCFS2 or GFS(2) are the usual suspects... be prepared for the performance hit and fun with fences/quorum though, particularly with only two nodes