My original thought was Puppet, but I didn't really want to install Puppet on the Proxmox host itself. My thought was keeping it clean would be much better in case I need support from Proxmox or the community. I was thinking that if I had a VM on each system that had a clean OS, and the Puppet client, it could be used to pull files from a Puppet master and save those files to a mount point that is on the Proxmox host.
As far as scripting goes (without Puppet), I know I can write a script on my computer to copy files to each host which would look something like:
Code:
scp /images/105/disk1.qcow user@host1:/mnt/images/105/
scp /images/105/disk1.qcow user@host2:/mnt/images/105/
If I did this, then it would be sequential.
I wrote a script that would copy a script to each machine the copied script could be the same on each machine.
Code:
scp user@masterhost:/mnt/images/105/disk1.qcow /images/105/
If I did that, is there a way to easily run that script on each machine at the same time? Could I write a script that would do something similar but write it to a cron job?
I am not sure what LnxBil mean in regard to multicasting. I know what multicasting is, but how would you set that up?
A quick Google search discussed using BitTorrent to do it. This sounds like a good idea, but I am not sure how you would shutdown the BitTorrent client when everyone had the file, or how you would even know they have it. I know there is also BitTorrent Sync, which I have never used. Anyone have thoughts on it, or am I better off with scripting or Puppet?