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-devel] Failed to create VM using configuration specified by Remus

To: xen-devel@xxxxxxxxxxxxxxxxxxx, Brendan Cully <brendan@xxxxxxxxx>, Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Subject: [Xen-devel] Failed to create VM using configuration specified by Remus
From: Minjia Zhang <zhangninja@xxxxxxxxx>
Date: Fri, 2 Apr 2010 22:29:56 +0800
Delivery-date: Fri, 02 Apr 2010 07:39:35 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:received:message-id :subject:from:to:content-type; bh=58A56LImZlbKXWArRBKIc+X+bUZBZKj52IL+ZTj4PmQ=; b=FL3IEdi/m9ug8O8obn+lBYFlhRIgggppLp/pdMlzTEySq7ba/naRBZUnVrIQF7E2ye VYY6pTNkzL65iHAyzjq4JWTAv2sBPUO3xmPFbT4PV1oDpb4x6f+V5dLAfCU3xb7pBgeO f5hBfBOZg3mu4hl20skTJYL3RwL5W/s8S2Eeo=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=tLmaEobx2GrSbq56rBuxrESbngEjZ3Inc+FisCWAu7BL0yhxm7Wk2CvZ3gXcH6Abzc a2yPX2UQBM+auDNSqvz/35r4tXgNmR3wb8L1XyPi1hiLYfCfor0/x3haK1msqZoYEco5 y/3WsRxzs63ew4UwANEqqvJlN7jWC4LWyyszA=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
I fail to use remus with xen-unstable (4.1)+ Linux-

[root@server1 img]# xm create rhel5.hvm 
Using config file "./rhel5.hvm".
Error: Device 768 (tap) could not be connected. server1:9000|aio:/dev/vgxen/hvmsnap does not exist

Am I missing something? Any hints will be appreciated.

According to Brendan's instruction on http://dsg.cs.ubc.ca/remus/doc.html
the config should like following:
disk = [ 'tap:remus:bkup:9000|aio:/dev/vmdisk/myguest,xvda1,w' ] 

According to my understanding,remus doesn't need the support of DRBD, cause it can continuously send memory state to backup server as well as write operation and network 
packages. So, what I do is to only ensure that /dev/vgxen/hvmsnap existing on both the primary and the backup and contain identical data.

My config file:
  1 import os, re
  2 arch = os.uname()[4]
  3 if re.search('64', arch):
  4     arch_libdir = 'lib64'
  5 else:
  6     arch_libdir = 'lib'
  7 kernel = '/usr/lib/xen/boot/hvmloader'
  8 builder = 'hvm'
  9 memory = '512'
 14 disk = [ 'tap:remus:server1:9000|aio:/dev/vgxen/hvmsnap,hda,w']
 16 vif = ['type=ioemu, mac=00:1c:3e:17:22:13']
 17 #boot = 'dc'
 18 boot = 'c'
 19 name = 'Rhel5-hvm1'
 20 acpi = 1
 21 apic = 1
 22 device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'
 23 vnc=1
 24 vncdisplay=2
 25 sdl=0
 26 opengl=1
 27 vnclisten=""
 28 vncpasswd=''
 29 serial='pty'
"hvm.hvm" 29L, 975C                                                                                                                                            

Thanks for any help.



Best Regards

Minjia Zhang

Huazhong University of Science and Technology

Room 328,Dong 8 Building 8, No.1037 Luoyu Road, Wuhan 430074, P.R.C.

Tel: +86-159-2625-3437

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