[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ezjail] install 60 jails



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jorge R. Constenla wrote:

> I need to install 60 jails.
> All Jails should run apache-php5-mysql5-perl-ftp-qmail-vpopmail-courrier
> 
> What approach would you recommend to install and then update the 60 jails?
> 
> Do you know some documentation to do this?

for i in `jot - 1 60 1`; do
  ezjail-admin create \
  -f apache-php5-mysql5-perl-ftp-qmail-vpopmail-courrier \
  apmpfqvc-${i}.foo.com 42.42.42.${i} ;\
done

I also would set up only one mysql jail that can be backupped and
updated centrally, would go for lighty instead of apache, centralize my
mail infrastructure in one jail by offering virtual hosts as outlined in
http://erdgeist.org/epost.pdf, consider using dovecot. Then I would
create one disc-image containing a clone-able read-only setup which I
would deploy and script-configure 60 times. In case of an update I would
just delete them, roll a new image and clone that.

Regards

  erdgeist
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)

iD8DBQFHH/4JImmQdUyYEgkRAhBYAJwNy/lwBldp4qNzgDHySRi9MHmOpwCeK8XA
nDBrlmjF1MyOJS1meE0dkS0=
=7WTP
-----END PGP SIGNATURE-----