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


Re: [Xen-users] migrate a VM to another machine (XEN on SLES10SP1)

To: "Andre Konopka" <andre.konopka@xxxxxxxxxxxxxx>
Subject: Re: [Xen-users] migrate a VM to another machine (XEN on SLES10SP1)
From: "trilok nuwal" <tc.nuwal@xxxxxxxxx>
Date: Thu, 9 Aug 2007 17:08:11 +0530
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 09 Aug 2007 04:35:55 -0700
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=Pbz74xuANSNpyklOlgFX5O9FqVZ+K0bMViHuQKdyao8taJtew3saMnGSvHgXSKMnyWC2eFP7u2xlywIUcFozlnFXy9PtKnQ6EIJP5871OKu5qz8vOBQdpOw7nUg3horbsqNhDkw9i5jqeJtWpxCUKvXzC/4L7Dc2mom5wKS3bkQ=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=CLWAWtnjj4K4fl+fSR48sqWxSGBuE/UtTDTPCaM/bkENqpJNYJC2rkVsusyp3TMKoqMvN5E97Y580SwrtSm1Q3R3F1VpYvktYNj1yH22yhGOwrmC/Ho8KShobCnBuJ56dW3sue87rX2cvn5txnI+19QP0ammbFS+1clU+YYJuXg=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <46BAB9A9.9050305@xxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <46BAB9A9.9050305@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
What i think is disk0 is yr domU image on SAN.

Did u mount yr SAN disk partition at common mount point at both the machies.

mount /dev/sdc to common mount point like /virtmach on both machine.

Beacuse from the log, it looks like on destination machine u r not able to access the disk0.

Simple thing is just copy the domU onfig file to other machine and try to craete the domU. If it  goes fine then u could try migration.

On 8/9/07, Andre Konopka <andre.konopka@xxxxxxxxxxxxxx> wrote:


I'm trying to build a HA Xen Cluster on SLES10SP1

I have two machines running a XEN dom0, the two machines share a SAN
disk, installed as OCFS2 partition.

First I installed SLES10 as a guest machine. The image is stored on my
shared partion.
I can start and stop the VM on the machine where I created it without
any problem...

Okay, as next step I changed the xend-config.sxp config file and enabled

First I tried an offline migration. Without success...

In the log I found the following information (on the target machine).
Maybe someone can explain it a little bit:

[2007-08-08 14:31:58 xend 4730] ERROR (XendDomain:1011) Restore failed
Traceback (most recent call last):
   File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomain.py",
line 1006, in domain_restore_fd
     return XendCheckpoint.restore(self, fd, paused=paused)
   File "/usr/lib64/python2.4/site-packages/xen/xend/XendCheckpoint.py",
line 173, in restore
     dominfo.waitForDevices() # Wait for backends to set up
   File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py",
line 503, in waitForDevices
     self.getDeviceController (devclass).waitForDevices()
line 149, in waitForDevices
     return map(self.waitForDevice, self.deviceIDs())
line 168, in waitForDevice
     raise VmError("Device %s (%s) could not be connected. "
VmError: Device 51728 (vbd) could not be connected. Backend device not

For me it seems that the second machine can't activate the disc???

On the first machine my shared partion is mounted as /dev/sdc

  Device File: /dev/sdc (/dev/sg3)
   Device Files: /dev/sdc,

on the second machine as /dev/sdb

Device File: /dev/sdb (/dev/sg2)
  Device Files: /dev/sdb,

This is the config file, created by the graphical 'virt-manager'.

extra="TERM=xterm "
disk=[ 'file:/virtmach/images/sles10ak/disk0,xvda,w',
'file:/isoimages/SLES-10-SP1-x86_64-DVD1.iso,xvdb,r', ]
vif=[ 'mac=00:16:3e:6f:70:d0', ]

After booting both dom0 machines my fresh installed domU isn't visible
any longer.
The image ist still on my shared partition but 'xm list' only reports
the dom0 instance????

HOW can I 'import' my 'lost' domU???

I think this 'import' is also necessary for my HA solution. If my first
machine crashes, the second one must be able to 'import' the DOMU to
start it???

Best regards


Xen-users mailing list

Xen-users mailing list
<Prev in Thread] Current Thread [Next in Thread>