WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] drbd integration in Xen3.3(Ubuntu)

To: Alexandre CABROL PERALES <alexandre.cabrol@xxxxxxxx>
Subject: Re: [Xen-users] drbd integration in Xen3.3(Ubuntu)
From: Longina Przybyszewska <longina@xxxxxxxxxxxx>
Date: Thu, 27 Aug 2009 15:57:11 +0200 (CEST)
Cc: Xen mailinglist <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 27 Aug 2009 06:57:17 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4A968D52.9000405@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: <alpine.DEB.2.00.0908271513130.14638@xxxxxxxxxxxxxxxxxxxx> <4A968D52.9000405@xxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Alpine 2.00 (DEB 1167 2008-08-23)
The problem is that xm doesn't recognize 'drbd' as blok device type;

Since drbd-8.0.6 it is allowed to use drbd resource as VBD.

Ubuntu Hardy's drbd version is 8.0.11

In my configuration 'test-swap', 'test-root' are lvm partitions, defined with full path in drbd.conf as resources.

Such configuration gives (according to drbd manual) nice feature - automatic change done by Xen between Primary/Secondary during migration.

Longina


On Thu, 27 Aug 2009, Alexandre CABROL PERALES wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

you might use GFS or lvm partition on drbd device usually /dev/drbd0

Longina Przybyszewska a écrit :
Hi,
it seems that Xen3.3 in Ubuntu Hardy is missing integration with drbd:

I get -
Error: "Block device must have "phy", "file", or "tap" specified to type"
when I try 'xm create test.cfg".

VM 'test' has in config file 'drbd' resource as block device.

disk    = ['drbd:test-swap,xvda1,w', 'drbd:test-disk,xvda2,w' ]

Does anybody have success with this type of configuration on Ubuntu Hardy?

Longina


- --
Alexandre CABROL PERALES
- --
Ingenieur Securite des Systemes d'Information
Mob. :    06.98.82.03.06
Mail :    alexandre.cabrol@xxxxxxxx
Key fingerprint = 1E6B B8DF 5001 A6A8 E057  9D31 7B3B EAB1 4AE4 8953
- --
ARTAL Technologies

Rue Pierre-Gilles de Gennes
Ens."La Rue", Bat. 9, BP 38138
31681 Labege cedex

Tel. :    05.61.00.39.30
Fax :     05.61.00.20.43


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkqWjVIACgkQezvqsUrkiVPGzQCbBybuvFgWdKTic0uOZeiCP+qs
wKIAnihH0TPwVMph7Ld1UdE6HrXabihJ
=l3xK
-----END PGP SIGNATURE-----


--
--
Longina Przybyszewska, system programmer
IT@Naturvidenskab

IMADA, Department of Mathematics and Computer Science

University of Southern Denmark, Odense
Campusvej 55,DK-5230 Odense M, Denmark

tel: +45 6550 2359 - http://www.imada.sdu.dk
email: longina@xxxxxxxxxxxx
--
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users