Saturday, June 16, 2012

Membuat Virtual Machine (VM) Autostart

Kegiatan ini juga sudah selesai saya lakukan pada tanggal 8 Maret 2012. Dan sejak itu, saya tidak dipusingkan lagi dengan telpon dari Client yang menanyakan server mati atau tidak :-D #bersyukur



-----------------------

1. Start VM again. The Host server shows Up Status : 14 hours

2. See below about VM_production.xml configuration file which is working.

3. Change boot='hd'/  into boot dev='hd'/

4. Create VM_production domain. I don't know why, the VM_production domain is missing.
   a. virsh create VM_production.xml

5. Make all VM autostart
   a. virsh autostart VM_production
   b. virsh autostart VM_development (if exist)


6. I found this error when I tried to make VM_production marked autostart. “internal error cannot set autostart for transient domain”
   Here the solution :
   a. virsh define VM_production.xml
   b. virsh autostart VM_production


7. Make sure that libvirt-bin is also auto-start on boot at HOST Machine. You should see libvirt-bin inside /etc/init.d folder
   a. ls /etc/init.d/libvrit-bin

-------------
References :
-------------

1. http://lynema.org/2011/08/13/moving-from-xen-to-kvm
2. http://www.cyberciti.biz/faq/rhel-centos-linux-kvm-virtualization-start-virtual-machine-guest/
3. http://wiki.libvirt.org/page/VM_lifecycle#Transient_guest_domains_vs_Persistent_guest_domains
4. http://ubuntuforums.org/showthread.php?t=1534821
Post a Comment