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'm really new to this. I've been struggling with how to keep multiple webservers synced. It seems like DRBD8 and OCFS2 is the way to go. However, every example I see so far keeps referencing dual-primary and two nodes. I don't see anything indicating this is the way to go for say 5-10 webservers. So the question is mostly, can DRBD8 be used to sync 5-10 web servers and would it be good in an environment were we frequently add/remove web servers?

share|improve this question
1  
drbd.org/users-guide/… –  quanta Dec 27 '12 at 3:55
    
    
DRBD is not the best tool for that job. For web servers I would recommend a shared storage backend like NFS. DRBD would be useful in setting up two mirrored NFS servers. That way if one fails, the other will pick up the slack. (It's not that easy, you still need to set up Heartbeat, Pacemaker, Keepalived, etc.) –  Soviero Dec 27 '12 at 4:08
    
THanks for the feedback Kevin. very helpful –  michael Dec 28 '12 at 16:32
add comment

1 Answer 1

DRBD 8.x does only support two nodes, if you count the stacking option, it's up to 4 nodes. So it's not a solution for syncing data of 5-10 webservers. The upcoming DRBD version 9 will support up to 32 nodes. Another solution would be to use a cluster file system like GFS or GlusterFS, see: http://en.wikipedia.org/wiki/Clustered_file_system

share|improve this answer
add comment

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.