Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Jun 2018 16:28:14 +0200
From:      Julien Cigar <julien@perdition.city>
To:        Frank Leonhardt <frank2@fjl.co.uk>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: upgrade of an iSCSI zpool mirror
Message-ID:  <20180614142813.GB62135@mordor.lan>
In-Reply-To: <7ea3c3d0b1d05b032ff99fe977cf7a69@roundcube.fjl.org.uk>
References:  <20180611130407.GT48472@mordor.lan> <7ea3c3d0b1d05b032ff99fe977cf7a69@roundcube.fjl.org.uk>

next in thread | previous in thread | raw e-mail | index | archive | help

--b5gNqxB1S1yM7hjW
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Jun 14, 2018 at 02:53:25PM +0100, Frank Leonhardt wrote:
> On 2018-06-11 14:04, Julien Cigar wrote:
> > Hello,
> >=20
> > We have a "low-cost" active/passive HA ZFS based filer (with
> > NFS4/SMB/... on top) which consist of two tiny HP Proliant DL20
> > with 2 x 2 To disks in each. <snip>
> >=20
> > It works well, but those are still running FreeBSD 10.3 and I'd like to
> > upgrade to 11.x. During the upgrade process the pool should be=20
> > read-only
> > available. I planned to do something like:
>=20
> > Has anyone ever done something similar and/or does it sound good to=20
> > you?
>=20
> I've tried various combinations, but not that one I'm afraid. I'm not a=
=20
> fan of iSCSI except as a work-around, but FWIW I can't spot anything=20
> wrong with your plan, but I'm not sure where NFS fits in.
>=20
> You will probably want to upgrade the zpools at some point (optional).
>=20

After some exchanges with people smarter than me in this area I got the
confirmation that "There's no issue with the upgrade path." :)

> I've yet to get a fully redundant ZFS implementation up and running, as=
=20
> other solutions have been more useful - such as sending incremental=20
> datasets to a backup at a different location. I've also run it on top of=
=20
> HAST, but it scared me.

Yes, in fact all of this started after a question I started on
freebsd-fs@ some years ago:
https://lists.freebsd.org/pipermail/freebsd-fs/2016-June/023456.html

To my suprise I had a lot of answers and it was an interresting
discussion, you may want to check the whole thread if interested.

>=20
> One day I plan to look at heartbeat/pacemaker (available in ports/net),=
=20
> which is supposed to be the thing for it.
>=20

Yep, I had an interresting exchange on IRC (#freebsd freenode) about
it some days ago. It would be better than using a CARP only based
solution to failover (which is quite easy to split brain).

> In your situation, I think I'd proceed as follows:
>=20
> Set up a spare machine (e.g. desktop).
> Do a zfs send <zoot-dataset> to it.
> Turn off samba/nfs
> Do a zfs send <zoot-dataset> of any last minute changes.
> Make the spare machine live, but read-only.
>=20

As a security measure I have already a third "replication machine"=20
which zrep from the master, I could make the pool read-only from it

> They relax and do whatever I wanted to reconfigure the rack servers.
>=20
> Just a thought!

Thanks :)

>=20
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o=
rg"

--=20
Julien Cigar
Belgian Biodiversity Platform (http://www.biodiversity.be)
PGP fingerprint: EEF9 F697 4B68 D275 7B11  6A25 B2BB 3710 A204 23C0
No trees were killed in the creation of this message.
However, many electrons were terribly inconvenienced.

--b5gNqxB1S1yM7hjW
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEE7vn2l0to0nV7EWolsrs3EKIEI8AFAlsie3oACgkQsrs3EKIE
I8AYwhAA693hEsSN2CYtSsRP7dhueGUUsGdkxXioDq7uBZpDQS48AUvJ2DcQXH9E
f89SSBaWHIx3y6a/jqDEl3AdUum4ehJNgyOiUv5vYdIj0auGX1SkoLSRWOH8wpeo
xrcuAyQNnb8vYmMXvq/9r2NYiI/FT4T3qBS4DzPdFzkDTF4NXv/Z7tLGH3z6pbJs
30JiM38Kew4kLVJmy0l/75Soxo3SUPRaayQ8uJFs89idjk+00hFEoC+XF2HE/Avu
Qg/zLVEGZDpiiDgKFNAm9OCt1PTXmtrCGCPnSdEjMPEoyLB5nd0ByqLmduFcIY0o
jle99yqHZcyCtNNBTJsBhvjJgqovxnXJsHgPyrrx5Sk8RBR4jHMSLtqUd4qOJgBt
bi8hbgwrIeKpSn+SKJckHucoQGxEzUhaTSAmN7r485RY6pB5PeQSUTEQ06QOJHy7
5NCp1jr5MQ0mvszCGY27+WrLUnz62SIzjEIpy0ELF/rnwJJYmKJ82vz4mhpkT+ez
PozepgVr7lCVdpzulGluR8/vFWYjdM9J4f6vv+nsznjHrU6gLWb4djUWKZxDGQGD
pN8XGCSdfEi8m9mnIAVzT7z/98hOxcuMp0NCsmeXWr+8OeAwiKwp7NKe/5/dm6JC
1Zl9/y9gU5L/ZUPq7AGGvM78bZjVZ7lPHuDL5b/hjakSNiZ+e2A=
=BrEz
-----END PGP SIGNATURE-----

--b5gNqxB1S1yM7hjW--



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