Date: Wed, 21 Dec 2016 09:04:48 +0100 From: Alexander Leidinger <Alexander@leidinger.net> To: Randy Westlund <rwestlun@gmail.com> Cc: ports@freebsd.org Subject: Re: Custom base jails for ZFS replication Message-ID: <20161221090448.Horde.fK575MhqoAE_RuQHx4wf3Y-@webmail.leidinger.net> In-Reply-To: <20161221055923.GA24599@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This message is in MIME format and has been PGP signed. --=_M_k5xLPGujvx39qM1x9hkt5 Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Quoting Randy Westlund <rwestlun@gmail.com> (from Wed, 21 Dec 2016=20=20 00:59:23=20-0500): > Is there a jail management tool that lets you install packages in a base > jail, and share that with multiple thin jails? > > I want to deploy many thin jails across multiple servers, and be able to > update both the base system and ports in a base jail and then ZFS > replicate that to the base jails on the production servers. I'd like > the thin jails to only contain my customer-specific application data, so > I don't have to manually update all of them. > > I don't see any way to do this with ezjail or iocage. Does anyone else > have a deployment like this? I don't but what about this idea (should work with ezjail and iocage=20=20 with=20a little bit of manual work): - create an usr/local in the base-area - create a jail just for installation of the packages you want - mount the usr/local area from the base-area as read-write instead=20=20 of=20read-only in this install-jail (one time config action in ezjail,=20= =20 not=20sure about iocage... maybe once in the fstab of the jail as a=20=20 null-mount=20if it doesn't clone everything automatically, or every time=20= =20 as=20unmount+null-mount if it clones automatically) - install in the install-jail what you need - have the usr/local mounted read-only from all other jails=20=20 (respectively=20cloned in the iocage case) Bye, Alexander. --=20 http://www.Leidinger.net=20Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF http://www.FreeBSD.org netchild@FreeBSD.org : PGP 0x8F31830F9F2772BF --=_M_k5xLPGujvx39qM1x9hkt5 Content-Type: application/pgp-signature Content-Description: Digitale PGP-Signatur Content-Disposition: inline -----BEGIN PGP SIGNATURE----- iQIcBAABAgAGBQJYWjegAAoJEKrxQhqFIICE81MP/3Fq3R1f5Z14PBon13lY3kvD CB4/LxH3R6VScBxcGmwprSJsl+1OkGK4KNJbMb9ZSYrpCCcJqSFzisMUZQH8KcU1 4/GCeOcmkmBSRDZ3Y20PD3cqvOYqItcB+d/ujYr+mwCquSLy7CPCmm+fMaIFVfY4 5TBhbgnyZ+Ept9KBCLCAbONzYr3zJIHESuaFi/yX9iV9BNJQ3DpALChcMk3hRUab D91HTwOhvJP/opmPR9tv1uWH+aM/uzwEcA9sv6Og4I7CC/1tDvV21u3/xxK93pkJ dWOpxKDviHPVZ4QulcxvftfRk2ymleU1APJvqn+rg6MYqHGJNmZH41gpBVfgikSS OgPsVzIuj1Rk+hcoqDjgzEeAPtwncDDALpezUHWbi7HNXiFncBlQKhz7X/pyMIba BmT2FlVoCF/oEDhaapw1We9960T4amZSVVULKyhfQNyVWWz1FEXC3kBiQgBp/Kx7 ypD7eqTLfIMoCsR2jlZ9PVSysUyFICMt4KrC7B7J3A29y7IgZORZF43vuu9xPekf 2fo0pY7PtdThU6Q0scth0W+lOQXkpiq62bwi+fsCN53YWvimVKPXh825yWaxNeZM qS9AjEI1XsKBUtm7pNnuGGDp/Em+XjZshuEweHX8g3IgSHWniBYf5YtCQyIg18KJ DZEwckavismqI6da+cci =SLPj -----END PGP SIGNATURE----- --=_M_k5xLPGujvx39qM1x9hkt5--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20161221090448.Horde.fK575MhqoAE_RuQHx4wf3Y->