linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* host based mirror distance in a fc-based SAN environment
@ 2006-07-26  5:58 Stefan Majer
  2006-07-26 10:56 ` David Greaves
  2006-07-26 20:31 ` Luca Berra
  0 siblings, 2 replies; 3+ messages in thread
From: Stefan Majer @ 2006-07-26  5:58 UTC (permalink / raw)
  To: linux-raid

Hi,

im curious if there are some numbers out up to which distance its possible
to mirror (raid1) 2 FC-LUNs. We have 2 datacenters with a effective
distance of 11km. The fabrics in one datacenter are connected to the
fabrics in the other datacenter with 5 dark fibre both about 11km in
distance.

I want to set up servers wich mirrors their LUNs across the SAN-boxen in
both datacenters. On top of this mirrored LUN i put lvm2.

So the question is does anybody have some numbers up to which distance
this method works ?

greetings

Stefan Majer


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

* Re: host based mirror distance in a fc-based SAN environment
  2006-07-26  5:58 host based mirror distance in a fc-based SAN environment Stefan Majer
@ 2006-07-26 10:56 ` David Greaves
  2006-07-26 20:31 ` Luca Berra
  1 sibling, 0 replies; 3+ messages in thread
From: David Greaves @ 2006-07-26 10:56 UTC (permalink / raw)
  To: Stefan Majer; +Cc: linux-raid

Stefan Majer wrote:
> Hi,
> 
> im curious if there are some numbers out up to which distance its possible
> to mirror (raid1) 2 FC-LUNs. We have 2 datacenters with a effective
> distance of 11km. The fabrics in one datacenter are connected to the
> fabrics in the other datacenter with 5 dark fibre both about 11km in
> distance.
> 
> I want to set up servers wich mirrors their LUNs across the SAN-boxen in
> both datacenters. On top of this mirrored LUN i put lvm2.
> 
> So the question is does anybody have some numbers up to which distance
> this method works ?

No. But have a look at man mdadm in later mdadm:

       -W, --write-mostly
             subsequent devices lists in a --build, --create,  or  --add
             command  will  be flagged as 'write-mostly'.  This is valid
             for RAID1 only and means that the 'md'  driver  will  avoid
             reading from these devices if at all possible.  This can be
             useful if mirroring over a slow link.

       --write-behind=
             Specify that write-behind mode should be enabled (valid for
             RAID1  only).  If an argument is specified, it will set the
             maximum number of outstanding writes allowed.  The  default
             value  is  256.  A write-intent bitmap is required in order
             to  use  write-behind  mode,  and  write-behind   is   only
             attempted on drives marked as write-mostly.

Which suggests that the WAN/LAN latency shouldn't impact you except on
failure.

HTH

David

-- 

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

* Re: host based mirror distance in a fc-based SAN environment
  2006-07-26  5:58 host based mirror distance in a fc-based SAN environment Stefan Majer
  2006-07-26 10:56 ` David Greaves
@ 2006-07-26 20:31 ` Luca Berra
  1 sibling, 0 replies; 3+ messages in thread
From: Luca Berra @ 2006-07-26 20:31 UTC (permalink / raw)
  To: linux-raid

On Wed, Jul 26, 2006 at 07:58:09AM +0200, Stefan Majer wrote:
>Hi,
>
>im curious if there are some numbers out up to which distance its possible
>to mirror (raid1) 2 FC-LUNs. We have 2 datacenters with a effective
>distance of 11km. The fabrics in one datacenter are connected to the
>fabrics in the other datacenter with 5 dark fibre both about 11km in
>distance.

as you probably already know with LX (1310nm) GBICS and single-mode fiber you can
reach up to a theoretical limit of 50Km, and you can double that using 1550 nm lasers (ZX?)

>I want to set up servers wich mirrors their LUNs across the SAN-boxen in
>both datacenters. On top of this mirrored LUN i put lvm2.
>
>So the question is does anybody have some numbers up to which distance
>this method works ?
>
the method is independent of the distance, if your FC hardware can do
that, then you can.
the only thing you should consider (and that is not directly related to
distance) is the bandwith you have between the two sites (i mean the
number of systems that might be using those 5 fibers)


Regards,
L.

-- 
Luca Berra -- bluca@comedia.it
        Communication Media & Services S.r.l.
 /"\
 \ /     ASCII RIBBON CAMPAIGN
  X        AGAINST HTML MAIL
 / \

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

end of thread, other threads:[~2006-07-26 20:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-26  5:58 host based mirror distance in a fc-based SAN environment Stefan Majer
2006-07-26 10:56 ` David Greaves
2006-07-26 20:31 ` Luca Berra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).