[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Failed to create VM using configuration specified by Remus


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx, Brendan Cully <brendan@xxxxxxxxx>, Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
  • From: Minjia Zhang <zhangninja@xxxxxxxxx>
  • Date: Fri, 2 Apr 2010 22:29:56 +0800
  • Cc:
  • Delivery-date: Fri, 02 Apr 2010 07:39:35 -0700
  • 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=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

I fail to use remus with xen-unstable (4.1)+ Linux-2.6.18.8:

[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="0.0.0.0"
Â28 vncpasswd=''
Â29 serial='pty'
"hvm.hvm" 29L, 975C Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â

Thanks for any help.

Best

--Minjia

--
--
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

Email:zhangninja@xxxxxxxxx
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.