Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Automate VPS deployment solution?
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Automate VPS deployment solution?

JupiterJupiter Member
edited January 2014 in Help

Was wondering which are the best Debian/Ubuntu solution to script automated installations via scripting language and templates.

Some kind of framework above Kickstart ,,, or something like declarative puppet labs enterprise ...

Comments

  • BradNDBradND Member
    edited January 2014

    Ansible

  • charliecharlie Member, Host Rep

    Cfengine?

    1. Set up and configure model VM (or many model VM's) using OS/OS's of your choice.

    2. Install same OS on target VM or VM's.

    3. Clone model to target VM/VM's using a 1-line rsync command.

    4. Reboot target VM/VM's. Voila!

    Works under KVM and OpenVZ both, but best under OpenVZ as there is no need to modify anything (hostnames, IP's) on the target system(s) - OpenVZ conveniently takes care of everything (i.e. overwrites stuff) after reboot :)

    Disclaimer: may not work for some applications - Aegir CP for one, needs additional tweaking, but that's about it.

  • Puppet/Chief

  • Ansible. If you're looking to setup a personal "cloud" or just automate install of some internet services, check out Sovereign - a set of ansible playbooks that do most of the heavy lifting: https://github.com/al3x/sovereign

  • aglodek said: Clone model to target VM/VM's using a 1-line rsync command.

    Have you accounted for when rsync fails?

  • @concerto49 said: Have you accounted for when rsync fails?

    Ran this numerous times with one failure only. Then re-ran the command and was done. I'm no sysadmin, but rsync seems to be pretty redundant-like ;) This said, for commercial and mission critical applications, maybe encapsule this in a bash script - to run AND monitor rsync execution..?

Sign In or Register to comment.