Thanks 

But when i use  virsh  list --all command


-----------------------------------------------------------------
[root@opennebula-node1 ~]# virsh  list --all
 Id    Name                           State
----------------------------------------------------
 43    one-111                        running
 44    one-104                        running
 48    one-123                        running
 -     centos5.6.kvm                  shut off
----------------------------------------------------------------


if the vm managed by one  is runnning ,it can be list by virsh list --all 
command

when I destory a vm.


------------------------------------------------------------------------- 
[root@opennebula-node1 ~]# virsh  destroy 44
Domain 44 destroyed
------------------------------------------------------------------------


It can't be display by virsh command


--------------------------------------------------------
[root@opennebula-node1 ~]# virsh  list --all
 Id    Name                           State
----------------------------------------------------
 43    one-111                        running
 48    one-123                        running
 -     centos5.6.kvm                  shut off
-----------------------------------------------------------

How to fix this 



Best Wishes!
Dennis

From: Sharuzzaman Ahmat Raslan
Date: 2013-11-12 11:48
To: caohf
CC: [email protected]
Subject: Re: Re: [one-users] How to manage vm created by opennebula by virsh 
tools?
Hi Dennis,


Opennebula is still using libvirt for KVM-based nodes.


You can still stop/start the VM using normal virsh command, such as virsh stop, 
virsh start, virsh attach-device etc.


But doing so directly to the VM, will cause your VM to not shutting down 
properly if you onevm shutdown from Opennebula later. That's what I have 
experience before.


Thanks.







On Tue, Nov 12, 2013 at 11:34 AM, caohf <[email protected]> wrote:

Hi :
 I have another  system use virsh(libvirt) manage the kvm vms,when i use 
opennebula ,I also want to use my old system.
 Opennebula provide the libvirt drivers in the old version.



  
Best Wishes!
Dennis

From: Sharuzzaman Ahmat Raslan
Date: 2013-11-12 11:13
To: caohf
CC: [email protected]
Subject: Re: [one-users] How to manage vm created by opennebula by virsh tools?
Hi Dennis,


What actually that you want to achieve?


Thanks.






On Tue, Nov 12, 2013 at 9:58 AM, caohf <[email protected]> wrote:

Dear All:
How to manage vm created by opennebula by virsh tool? 




Best Wishes!
Dennis


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





-- 
Sharuzzaman Ahmat Raslan 



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

Reply via email to