Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Feb 2016 07:47:10 -0500
From:      Alejandro Imass <aimass@yabarana.com>
To:        Aristedes Maniatis <ari@ish.com.au>
Cc:        freebsd-jail <freebsd-jail@freebsd.org>
Subject:   Re: Jail management
Message-ID:  <CAHieY7REKnWHMG5c36a1=N9Bc9L8zcs0FACEuF6mV19o0SDW7Q@mail.gmail.com>
In-Reply-To: <ff8307f6-1264-30ec-1ef8-ed3b0a18dd84@ish.com.au>
References:  <ff8307f6-1264-30ec-1ef8-ed3b0a18dd84@ish.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Feb 21, 2016 at 8:13 PM, Aristedes Maniatis <ari@ish.com.au> wrote:

> I've been using FreeBSD jails (with ezjail) for many years and they work
> very well. However I'm now reaching a critical mass (30+ jails) where I
> want to be able to manage them in bulk more easily.
>
>
>
[...]


> * FreeBSD's packaging system doesn't understand the concept of installing
> a particular package version, so all my scripts will by default upgrade the
> application to the current version even if I don't want to. I can't easily
> install a new jail at an old version.
>
> * It is hard to reproduce the environment exactly, matching the
> application to the same version of Java that was available at the time of
> deployment. Again I'm fighting against the pkg system which always wants
> the latest version.
>
> * For failover I want each jail reproduced exactly on another host, or at
> least a snapshot which could be sent to another host within a few seconds.
> The jails are quite small (< 500Mb). Most of that is just the openjdk pkg.
>
>
Hi Aristides,

I read most of this thread and since you are already using EzJail why not
just create a "base" jail with and then use EzJail's archive feature and
then create/replace your existing jails with the archive as base? We did
something similar for Perl Catalyst applications, precisely to support
specific versions of Catalyst, albeit I did never automated alot, the
create from archive even worked on multiple servers so long the base system
and EzJail set-up was the same on all servers.

Best,
Alejandro Imass



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