[DRBD-user] see replicated data

Lars Ellenberg lars.ellenberg at linbit.com
Thu May 31 12:37:43 CEST 2012

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


On Wed, May 30, 2012 at 07:15:06AM -0700, agag wrote:
> 
> I found that I can set two disks as primary and then mount them but if I
> write anything into mounted drive, then I mus remount disk in second
> machine.
> 
> Any solution?

 * read the User's Guide

 * DO NOT use DRBD in dual-primary with cluster file systems,
   unless you really have to have access to the same data at the same
   time from both nodes
 
 * if you think you need that, reconsider, and go for the simple
   single-primary failover solution anyways.

Getting a DRBD dual-primary + cluster file systems "right"
is complex, and even if you'd follow a cookbook tutorial on it
still requires understanding of the whole setup, redundancy,
reliable networking and other components,
and reliable and tested fencing and stonith.

> agag wrote:
> > 
> > When I connected two drives in two hosts, I have two virtual driver
> > /dev/drbd1 in every host.
> > I can mount both but in secondary server it is mounted as read-only (it is
> > OK in my opinion), but when I write something in drbd1 in primary server,
> > I can't see anything in secondary. Is it possible to change that begavior?
> > Can I see in secondary server files to be sure that data is synchronized
> > and it can be read?
> > 
> > I can see that data when I set primary as secondary but is it not so good
> > idea in my opinion.
> > 
> > Without that option I can't also synchronize "Whole system" - in example
> > /etc (but I'm not sure if it is good idea ;) ).

-- 
: Lars Ellenberg
: LINBIT | Your Way to High Availability
: DRBD/HA support and consulting http://www.linbit.com

DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.
__
please don't Cc me, but send to list   --   I'm subscribed



More information about the drbd-user mailing list