This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-users] RE: Xen Cloud Platform, Lost VMs

To: 'Vern Burke' <vburke@xxxxxxxx>, "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] RE: Xen Cloud Platform, Lost VMs
From: Dave Scott <Dave.Scott@xxxxxxxxxxxxx>
Date: Mon, 28 Dec 2009 23:55:13 +0000
Accept-language: en-US
Acceptlanguage: en-US
Delivery-date: Mon, 28 Dec 2009 15:58:52 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4B393C3A.2030208@xxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4B393C3A.2030208@xxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcqIE8IAH6MKhDcVTL+E1RGdcZgi7QABPX9A
Thread-topic: Xen Cloud Platform, Lost VMs
Hi Vern,

If you can discover the VDI uuids (using 'xe vdi-list' or looking at the VHD 
filenames) then you can (for each VHD/VM)

* create a new blank VM

# VM=$(xe vm-install template='Other install media' new-name-label=foo)

* reattach the VDI to the VM using

# xe vbd-create vm-uuid=$VM vdi-uuid=... device=0

* restart the VM

# xe vm-start uuid=$VM


> -----Original Message-----
> From: Vern Burke [mailto:vburke@xxxxxxxx]
> Sent: 28 December 2009 23:16
> To: xen-users@xxxxxxxxxxxxxxxxxxx; Dave Scott
> Subject: Xen Cloud Platform, Lost VMs
> Boy, when I hose myself, I do a good job of it.
> In the process of juggling machines around in the resource pool, I'v
> managed to lose most of the machines from the VM list. The VHDs are
> still in the storage repository, can I recover/reattach the VHDs to
> bring the VMs back?
> --
> Vern Burke
> SwiftWater Telecom
> http://www.swiftwatertel.com
> ISP/CLEC Engineering Services
> Data Center Services
> Remote Backup Services

Xen-users mailing list

<Prev in Thread] Current Thread [Next in Thread>