[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
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??
Thanks
Hi 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!!!!
-----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
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Mon, 24 Nov 2008, Peter Fern wrote:
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
Yep, http://www.drbd.org/home/mirroring/
"DRBD's primary-primary mode with a shared disk file system (GFS, OCFS2). These systems are very sensitive to failures of the replication network. Currently we cannot generally recommend this for production use."
Are they matured enough for production use? Although I find several hints about these three systems, none I've read so far claims that one of them is ready.
Bye,
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFJKo5TVJMDrex4hCIRAgqQAKDKT4OaiVG+tWCw8SbgI1wjEqjQMwCglRSM WOtVCrpGTrwdb/K/1iZAj38= =iyG+ -----END PGP SIGNATURE-----
Steffen Kaiser schrieb:
On Mon, 24 Nov 2008, Peter Fern wrote:
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
Yep, http://www.drbd.org/home/mirroring/
"DRBD's primary-primary mode with a shared disk file system (GFS, OCFS2). These systems are very sensitive to failures of the replication network. Currently we cannot generally recommend this for production use."
Are they matured enough for production use? Although I find several hints about these three systems, none I've read so far claims that one of them is ready.
Bye,
-- Steffen Kaiser
Hi, i have reports that there is no major Problems with OCFS2 and dovecot , i will test it in addition with drbd soon i dont expect it not working, there where no problems with it in a apache shared setup test on vmware
-- Best Regards
MfG Robert Schetterer
Germany/Munich/Bavaria
participants (5)
-
Osvaldo Alvarez Pozo
-
Peter Fern
-
Robert Schetterer
-
Scott Silva
-
Steffen Kaiser