Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Mar 2020 20:44:54 +0700
From:      Victor Sudakov <vas@sibptus.ru>
To:        freebsd-questions@freebsd.org
Subject:   Re: Technological advantages over Linux
Message-ID:  <20200317134454.GA31413@admin.sibptus.ru>
In-Reply-To: <20200317093122.GB1183@x1>
References:  <mailman.19358.1581761921.21074.freebsd-questions@freebsd.org> <fde4cbec-efa0-de36-18f9-696e5cdfea3d@defert.com> <20200215141238.GY1879@aurora.gregv.net> <20200316110246.GB95052@admin.sibptus.ru> <20200316114638.GD1410@belspo> <20200317050226.GC19098@admin.sibptus.ru> <20200317093122.GB1183@x1>

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

--qDbXVdCdHGoSgWSk
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Julien Cigar wrote:
> > > > I've just come across two related things which may convince me to
> > > > migrate some machines from FreeBSD to Debian.
> > > >=20
> > > > 1. On Debian, you can run several instances of php-fpm with differe=
nt
> > > > PHP versions in them.
> > > >=20
> > > > 2. On Debian, you can install and run several versions of PostgreSQL
> > > > simultaneously thanks to the pg_createcluster/pg_lsclusters/...
> > > > infrastructure.
> > > >=20
> > > > All that from standard packages, without manual compiling and tweak=
ing,
> > > > jails etc, with minimal effort.
> > >=20
> > > that's true, but once you setup a dedicated Poudriere machine,=20
> >=20
> > I do have a dedicated Poudriere machine. It can *build* different
> > versions and combinations of PHP/whatever (even that not always unless
> > you build separate -z sets with different make.conf files),
> > unfortunately you cannot *install* them simultaneously.
> >=20
> > > that all
> > > your deployments are happening in jails,=20
> >=20
> > *All" deployments in jails is an overkill.
> >=20
>=20
> why? jails are so lightweight and are created almost instantly..=20

But upgraded and updated painfully. I still see nightmares about ezjail
on our web-hosting server.

However, I've learnt in this thread of new tools emerging:
sysutils/{iocage,pot,bastille}. So maybe there is hope yet.

>=20
> > Using jails will be especially counterproductive in case of PostgreSQL
> > because you will not be able to do smart things like=20
> > "pg_update --link --old-datadir XXX --new-datadir YYY".
>=20
> there are workarounds, see 20190829 un ports/UPDATING for an example.

You are right, these are provisional workarounds, while in Debian you
can *run* different instances of different versions simultaneously, they
all will be managed by systemd, started/stopped as regular services etc.

> > > that you use some CMS (like
> > > SaltStack), and that everything is based on ZFS it's a *lot* easier to
> > > maintain on the long term, and you have a lot of flexibility. I think
> >=20
> > I don't quite agree with you. Keeping multiple jails in an updated
> > state, and building multiple Poudriere sets (combination of packages)
> > for all your service jails is a huge administrative overhead best
> > avoided when not absolutely necessary.
>=20
> that's what I'm doing here and it's perfectly manageable (with=20
> SaltStack)..

Is SaltStack something like ansible?

--=20
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
2:5005/49@fidonet http://vas.tomsk.ru/

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

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

iQEcBAEBAgAGBQJecNRWAAoJEA2k8lmbXsY0vuIIALOHJqY8ClMId1KKLyrl37aY
rVd3HT0QdVKUtMukk8e7JofEfYGcf/5QF8+C5LqlwUDQSy2jmesm7zQuWZVQV481
Z4Mws0YPoRJKpel8DfrafZ6v0Jb2U3EvRWzfNfjBt7+FfXKzIWCax7FdOB1S3m7I
L90ZIBOdEtSXkJ2JxwNnxSK+o8q6u8w5n9qzyEYQGIivlY8qBzlvqmxArsxhbek8
BDiykuQglkXFwiHjqN98LxZfMDthq04qyx5iaes9gpj6hk0Tydjhbz69Y4Vtgjpc
UpfgLPMi1aDcdyJvnSvFs7tFWJRlKzrs4pKaKMER6n4UlXdQERAGvGnhY1btUZ8=
=RgiA
-----END PGP SIGNATURE-----

--qDbXVdCdHGoSgWSk--



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