Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Feb 2024 11:55:54 +0100
From:      Andrea Brancatelli <andrea@brancatelli.it>
To:        fs@freebsd.org
Subject:   ZFS on a shared iSCSI
Message-ID:  <CAGqQmRPssfrb9S6r0H4SaQLEfOTp5Qx7-HSvHtYkxMnpeqKWjQ@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
--0000000000009fc66e0610c88a16
Content-Type: text/plain; charset="UTF-8"

Hello guys, I'm not 100% this is the correct list to ask this question, if
not please feel free to point me in the right direction.

I was wondering what could be the best recipe to have an HA cluster sharing
an external ZFS storage.

Let's say I have two servers running a bunch of Jails and, thus, I'd like
to use ZFS as the underlying storage layer and I have an external (iSCSI)
storage connected.

Would it be "easily possible" to have some (2?) iSCSI LUN exposed to both
servers and then activate the pool on one or the other server?

The idea would be to reactivate the filesystem from server A on server B if
the server A fails.

Would it be "easier" to replicate everything and zfs send datas back and
forth? Clearly that would mean doubling datas and havin a scheduled replica
with a possible delay in data replication, so I'd like to avoid this.

Any thoughts?

Thanks a lot.

-- 
*Andrea Brancatelli*

--0000000000009fc66e0610c88a16
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hello guys, I&#39;m not 100% this is the correct=C2=A0list=
 to ask this question,=C2=A0if not please feel=C2=A0free to point me in the=
 right=C2=A0direction.<div><br></div><div>I was wondering what could be the=
 best recipe to have an HA cluster sharing an external ZFS storage.</div><d=
iv><br></div><div>Let&#39;s say I have two servers running a bunch of Jails=
 and, thus, I&#39;d like to use ZFS as the underlying storage layer and I h=
ave an external (iSCSI) storage connected.</div><div><br></div><div>Would i=
t be &quot;easily possible&quot; to have some (2?) iSCSI LUN exposed to bot=
h servers and then activate=C2=A0the pool on one or the other server?=C2=A0=
</div><div><br></div><div>The idea would=C2=A0be to reactivate the filesyst=
em=C2=A0from server A on server B if the server A fails.</div><div><br></di=
v><div>Would it be &quot;easier&quot; to replicate everything and zfs send =
datas back and forth? Clearly that would mean doubling datas and havin a sc=
heduled replica with a possible delay in data replication, so I&#39;d like =
to avoid this.</div><div><br></div><div>Any=C2=A0thoughts?</div><div><br></=
div><div>Thanks a lot.</div><div><div><br></div><span class=3D"gmail_signat=
ure_prefix">-- </span><br><div dir=3D"ltr" class=3D"gmail_signature" data-s=
martmail=3D"gmail_signature"><div dir=3D"ltr"><b>Andrea Brancatelli</b><div=
><b><br></b></div></div></div></div></div>

--0000000000009fc66e0610c88a16--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGqQmRPssfrb9S6r0H4SaQLEfOTp5Qx7-HSvHtYkxMnpeqKWjQ>