LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   drbd replication on ocfs (https://www.linuxquestions.org/questions/linux-newbie-8/drbd-replication-on-ocfs-4175506916/)

slowerogue 06-03-2014 02:11 PM

drbd replication on ocfs
 
hi guys,
as far as i know drbd replicate data from server1 to server2
they both connected to a same ocfs san storage. does that ocfs need to replicate itself?

is it right or wrong to do the replicate on the san storage, or it is better just to replicate the local hdd on server1&2

thanks in advance.

anomie 07-01-2014 07:00 PM

OCFS2 is a clustered filesystem. It's designed to be installed on a SAN storage LUN, and shared between systems that mount the LUN/filesystem. All nodes within the cluster (i.e. all nodes that mount the OCFS2 filesystem) can read and write to it simultaneously.

DRBD is block-level replication. It runs on top of block devices. Their project documentation (http://www.drbd.org/home/mirroring/) mentions a primary-primary mode, presumably with DRBD replicating blocks, and OCFS2 handling the clustered filesystem locking. Sounds potentially complicated to troubleshoot. Your best bet is to search the 'net for tutorials, and test thoroughly in a test environment.

Local disk and SAN LUNs are both block devices. You replicate the data wherever you please.


All times are GMT -5. The time now is 02:39 PM.