All of lore.kernel.org
 help / color / mirror / Atom feed
* [Drbd-dev] 0.8 & GFS
@ 2005-10-03 23:43 Joshua Mouch
  2005-10-05  8:56 ` Lars Ellenberg
  0 siblings, 1 reply; 2+ messages in thread
From: Joshua Mouch @ 2005-10-03 23:43 UTC (permalink / raw)
  To: drbd-dev

I'd like to test the newest version of 0.8 that is in SVN with GFS 6.1 with
the following storage failover setup:

_________        _________
|   A   |        |   B   |
|       |        |       |
| DiskA |<-DRBD->| DiskB |
---------        ---------

1) DiskA+DiskB should act as a networked stripped raid, which will be
accomplished by DRBD syncing the data between DiskA and DiskB.

2) Nodes A & B both provide an IMAP service (using Cyrus) with storage on
DiskA+DiskB.

3) GFS will ensure that locking occurs on DiskA+DiskB such that NodeA and
NodeB cannot write to the same spot on disk simultaneously.

However, I can't quite figure out how to accomplish part 3 so that I can
begin testing.  My first thought is export DiskA using GNBD and import it
into Node B and do the same for DiskB to node A so that Node A & B can "see"
both disks and therefore be able to perform locking.

_________        _________
|   A   |        |   B   |
|       |        |       |
| DiskA |<-DRBD->| DiskB |
|       |\      /|       |
|       | \    / |       |
| GnbdB |--\--/  |       |
|       |   \    |       |
|       |    \---| GnbdA |
---------        ---------

But that's where I get stuck.  Is this the correct approach?

Joshua Mouch

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Drbd-dev] 0.8 & GFS
  2005-10-03 23:43 [Drbd-dev] 0.8 & GFS Joshua Mouch
@ 2005-10-05  8:56 ` Lars Ellenberg
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Ellenberg @ 2005-10-05  8:56 UTC (permalink / raw)
  To: drbd-dev

for those on the list: I let this post pass for "originality"

/ 2005-10-03 19:43:19 -0400
\ Joshua Mouch:
> I'd like to test the newest version of 0.8 that is in SVN with GFS 6.1 with
> the following storage failover setup:
> 
> _________        _________
> |   A   |        |   B   |
> |       |        |       |
> | DiskA |<-DRBD->| DiskB |
> ---------        ---------
> 
> 1) DiskA+DiskB should act as a networked stripped raid, which will be
> accomplished by DRBD syncing the data between DiskA and DiskB.

drbd does mirror. no striping.

> 2) Nodes A & B both provide an IMAP service (using Cyrus) with storage on
> DiskA+DiskB.

cyrus is evil.

> 3) GFS will ensure that locking occurs on DiskA+DiskB such that NodeA and
> NodeB cannot write to the same spot on disk simultaneously.
> 
> However, I can't quite figure out how to accomplish part 3 so that I can
> begin testing.  My first thought is export DiskA using GNBD and import it
> into Node B and do the same for DiskB to node A so that Node A & B can "see"
> both disks and therefore be able to perform locking.
> 
> _________        _________
> |   A   |        |   B   |
> |       |        |       |
> | DiskA |<-DRBD->| DiskB |
> |       |\      /|       |
> |       | \    / |       |
> | GnbdB |--\--/  |       |
> |       |   \    |       |
> |       |    \---| GnbdA |
> ---------        ---------
> 
> But that's where I get stuck.
> Is this the correct approach?

not at all.
nbd has nothing to do with it.
if you know how to setup gfs with shared disk, then you just substitute
the shared disk device nodes with the drbd device nodes.
both nodes "see" /dev/drbd0, and once initialized, it in fact has the
same data on both nodes, as if it where a shared disk.
how drbd does this? it's a mircale...

whether current svn in fact already works successfully in this way
is an other question.

-- 
: Lars Ellenberg                                  Tel +43-1-8178292-0  :
: LINBIT Information Technologies GmbH            Fax +43-1-8178292-82 :
: Schoenbrunner Str. 244, A-1120 Vienna/Europe   http://www.linbit.com :

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-10-05  8:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-03 23:43 [Drbd-dev] 0.8 & GFS Joshua Mouch
2005-10-05  8:56 ` Lars Ellenberg

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.