[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-API] Re: XCP / xenAPI shows no vms but vm is still running
Hi Dave Thanks so much for the info. The list_domains really help me Another question: I did try the destroy_domain - however, I thought since I destroy the domain - I can start vm again - but it gives me VDI error may I ask destroy_domain command - not actually cleanup shutdown the vms? I need to reboot the machine in order to make it start this ken-debian-vm3 Please advice? ChonDuy/TNguyen [root@septedecim ~]# xe vm-start vm=ken-debian-vm-3 on=quindecim The server failed to handle your request, due to an internal error. The given message may give details useful for debugging the problem. message: Failure("The VDI 12acfcd0-de66-4eed-ab0b-56226cbec9a4 is already attached in RW mode; it can't be attached in RO mode!") so below are steps I am doing 1. Make node quindecim down but ifdown 2 interfaces 2. from master host ==>run xe vm-reset-power-state vm=ken-debian-vm-3 3. from master host ==> xe vm-star vm=ken-debian-vm-3 on=master 4. list_domains on quindecim -did show 2 entries [root@quindecim ~]# list_domains id | uuid | state 0 | 24bdb04b-6809-4cea-b4d0-758f97a4b732 | R 1 | d787745d-ad7d-91c1-2f09-084d8c9d4aea | B 5. run destroy domain [root@quindecim ~]# /opt/xensource/debug/destroy_domain -domid 1 6. list_domains: now show 1 entry: [root@quindecim ~]# list_domains id | uuid | state 0 | 24bdb04b-6809-4cea-b4d0-758f97a4b732 | R 7. shutdown vm=ken-debian-vm-3 on maseter 8. Make node quindecim up 9. [root@septedecim ~]# xe vm-start vm=ken-debian-vm-3 on=quindecim The server failed to handle your request, due to an internal error. The given message may give details useful for debugging the problem. message: Failure("The VDI 12acfcd0-de66-4eed-ab0b-56226cbec9a4 is already attached in RW mode; it can't be attached in RO mode!") From: Dave Scott <Dave.Scott@xxxxxxxxxxxxx> To: Chonduy Nguyen <chonduy9@xxxxxxxxx> Cc: "xen-api@xxxxxxxxxxxxxxxxxxx" <xen-api@xxxxxxxxxxxxxxxxxxx>; Stephen Spector <stephen.spector@xxxxxxxxxx> Sent: Fri, March 5, 2010 3:15:26 PM Subject: RE: XCP / xenAPI shows no vms but vm is still running Hi,
Xapi considers a VM to be âresident-onâ one host at a time. It sounds like youâre interested in which *domains* are running on the host (each domain has the same UUID as the corresponding VM). Have a look at the command âlist_domainsâ. If some domains need cleaned up itâs possible to run commands like â/opt/xensource/debug/destroy_domain âdomid <domid>â
HTH, Dave
From: Chonduy Nguyen
[mailto:chonduy9@xxxxxxxxx]
Hi Dave, Please let me know From: Dave Scott
<Dave.Scott@xxxxxxxxxxxxx> Hi,
You should only use âreset-power-stateâ on VMs which have failed e.g. if the host has failed. If the VMs are still running then you shouldnât do this â if you start a VM twice then there is a high chance of disk corruption.
Cheers, Dave
From: Chonduy Nguyen
[mailto:chonduy9@xxxxxxxxx]
Hi
_______________________________________________ xen-api mailing list xen-api@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/mailman/listinfo/xen-api
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |