[one-users] vm State Issue

Csom Gyula csom at interface.hu
Wed Jul 28 04:59:49 PDT 2010


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/kvm@vger.kernel.org/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/kvm@vger.kernel.org/msg27699.html (Debian)
http://libvirt.org/formatdomain.html#elementsFeatures (libvirt)
http://www.opennebula.org/documentation:rel1.4:kvmg#features (ONE)

________________________________
Feladó: users-bounces at lists.opennebula.org<mailto:users-bounces at lists.opennebula.org> [users-bounces at lists.opennebula.org<mailto:users-bounces at lists.opennebula.org>] ; meghatalmazó: Sandeep at kqinfotech.com<mailto:Sandeep at kqinfotech.com> [sandeep at kqinfotech.com<mailto:sandeep at kqinfotech.com>]
Küldve: 2010. július 28. 13:36
Címzett: users at lists.opennebula.org<mailto:users at lists.opennebula.org>
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




More information about the Users mailing list