Hi,
to my undertsanding ONE shutdown uses virsh shutdown for KVM VMM [1] . However 
virsh
shutdown is not guaranteed to succeed. As the virsh man [2] says:

shutdown domain-id
Gracefully shuts down a domain. This coordinates with the domain OS to perform
graceful shutdown, so there is no guarantee that it will succeed, and may take a
variable length of time depending on what services must be shutdown in the 
domain.

You may check whether your guest OS supports acpi...

Cheers,
Gyula

---

[1] KVM VMM MAD: 
http://dev.opennebula.org/projects/opennebula/repository/revisions/master/entry/src/vmm_mad/kvm/one_vmm_kvm.rb
[2] virsh man: http://linux.die.net/man/1/virsh
[3] There are some posts on 'graceful shutdown of KVM guests' you might find 
useful too:
http://www.mail-archive.com/[email protected]/msg04032.html (OpenBSD)
http://www.codigomanso.com/en/2009/11/solved-qemu-kvm-virtual-machine-ignores-shutdown-and-reset/
 (Ubuntu)
http://www.mail-archive.com/[email protected]/msg27699.html (Debian)
http://libvirt.org/formatdomain.html#elementsFeatures (libvirt)
http://www.opennebula.org/documentation:rel1.4:kvmg#features (ONE)

________________________________
Feladó: 
[email protected]<mailto:[email protected]> 
[[email protected]<mailto:[email protected]>] 
; meghatalmazó: [email protected]<mailto:[email protected]> 
[[email protected]<mailto:[email protected]>]
Küldve: 2010. július 28. 13:36
Címzett: [email protected]<mailto:[email protected]>
Tárgy: [one-users] vm State Issue

Hi,
    I am using opennebula 1.4. I used Ubuntu 10.04 for all node (front 
node/worker node) .
I Deployed opennebula with few worker node with kvm hyperwiser.
There is lot of confusion about vm states.

When i shutdown or suspend the vm from front node, it show the status
"shutdown / save / suspend" at front node.
But if i check on worker node with virsh or virt-manager, it shows the vm status
running.

I am not able to change vm state by any way from front node.
I just want to know that It's default behavior or I did something wrong with
opennebula configuration.

There was same problem with 1.2.
I Migrated to 1.4 with the hope that the problem will get solved with version 
1.4.
So , kindly reply for the solution of problem.


--
Thanks & Regards,
Sandeep Kapse

_______________________________________________
Users mailing list
[email protected]
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to