Sysadmin/Add virtual machine: Difference between revisions

No edit summary
No edit summary
Line 8: Line 8:
This procedure creates a clone of the [[Sysadmin/Template virtual machine]].
This procedure creates a clone of the [[Sysadmin/Template virtual machine]].


  virt-clone --prompt -o template-precise --file=/var/lib/libvirt/images/boot/pootle-boot.img --file=/dev/justice/FOOBAR-root -n FOOBAR
  virt-clone --prompt -o template-precise --file=/var/lib/libvirt/images/boot/FOOBAR-boot.img --file=/dev/justice/FOOBAR-root -n FOOBAR
virsh autostart FOOBAR
  virsh start --console FOOBAR
  virsh start --console FOOBAR


Line 40: Line 41:
  ssh-keygen -N "" -f /root/.ssh/id_rsa -t rsa
  ssh-keygen -N "" -f /root/.ssh/id_rsa -t rsa


* Setup wizbackup on backup server (See [[Service/backup]]
* Setup wizbackup on a backup server (See [[Service/backup]])


* Move daily, weekly, monthly cronjobs to a unique timeslot to avoid cpu/net storms
* Move daily, weekly, monthly cronjobs to a unique timeslot to avoid cpu/net storms