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.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Comments
Ansible
Cfengine?
Set up and configure model VM (or many model VM's) using OS/OS's of your choice.
Install same OS on target VM or VM's.
Clone model to target VM/VM's using a 1-line rsync command.
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
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..?