* Re: [gentoo-user] [OT] RAID 1 over network
@ 2009-06-16 13:45 99% ` Daniel Iliev
0 siblings, 0 replies; 1+ results
From: Daniel Iliev @ 2009-06-16 13:45 UTC (permalink / raw
To: gentoo-user
On Tue, 16 Jun 2009 18:58:56 +0600
Mike Kazantsev <mk.fraggod@gmail.com> wrote:
> On Tue, 16 Jun 2009 12:40:46 +0200
> Renat Golubchyk <ragermany@gmx.net> wrote:
>
> > Hi all!
> >
> > Short:
> > What is the best way to setup something similar to RAID 1 over a
> > WAN?
>
> ...
>
> > One purpose of the setup is to have data redundancy. Thus we have to
> > ensure that the data is replicated in a timely manner. Replicating
> > MySQL data is not difficult. The problem is the file system data
> > like uploaded documents and pictures. We can monitor changes in the
> > file system and initiate rsync to copy files over the network, but
> > I think it's not a good solution. What we are after is a network
> > equivalent of RAID 1. Are there any viable solutions that could
> > work over a WAN?
>
> If replication after file is completely hit the disk is not acceptable
> either because files are quite large or have to be really synchronous
> then I'll second DRBD-with-HA-cluster-fs suggestion.
>
DRBD is HA solution which is achieved by switching the role of the
nodes in case the "active node" goes offline. I think DRBD is not meant
for the schema OP has described, because only the "active node" is
accessible via FS. DRBD works between the FS and block device layers.
It catches the FS writes from the active node and sends them over the
network. DRBD on the backup node receives those and replicates them
directly to the disk driver. Thus you can't have mounted FS on the
backup node. If the active node goes offline, the backup node takes
over which means DRBD switches roles and the FS has to be mounted
afterwards.
--
Best regards,
Daniel
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2009-06-16 10:40 [gentoo-user] [OT] RAID 1 over network Renat Golubchyk
2009-06-16 12:58 ` Mike Kazantsev
2009-06-16 13:45 99% ` Daniel Iliev
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox