Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I will have 2 Postfix servers. One will be a backup of the other.

What is the easiest method to provide central storage to both of these boxes? My infrastructure is very simple: Just a lot of Xen hosts, so there is no SAN or anything.

Each Xen host does have RAID1 though.

I don't mind mounting NFS shares on each of those mail servers, as long as the NFS server wasn't a single point of failure. Is there such a thing as redundant NFS?

Any help would be appreciated

Thanks

share|improve this question

1 Answer 1

up vote 1 down vote accepted

It might be an idea to have a look at setting up DRBD with NFS. At it's most basic think of DRBD as RAID 1 across two machines, however you can only read and write to one machine. You can then use heartbeat or similar to make sure that only one DRBD node is handling NFS at a time.

This is a gross simplification, but there's plenty of documentation on how to setup DRBD with NFS online.

share|improve this answer
1  
Something like this? tutorialsconnect.com/2009/01/… –  jtnire Jan 11 '11 at 20:04
    
Exactly. Make sure to test the hard way (what happens if I pull the power on one side etc.) before you put it live, and learn how to cure DRBD split brain early on, and it should give you good redundancy on the NFS. –  Niall Donegan Jan 11 '11 at 20:08
    
Thanks - You've been a great help –  jtnire Jan 11 '11 at 20:11

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.