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

[Xen-users] Xen & DRBD

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Xen & DRBD
From: Stuart Poulton <swp@xxxxxxxxxxxxxx>
Date: Mon, 17 Mar 2008 15:08:47 +0000
Delivery-date: Mon, 17 Mar 2008 08:09:23 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Dear All,

I'm using drbd to provide a HA pair of servers to run xen domains on.

I've created a test domain as follows

x-host-2:~ # more /etc/xen/vm/opensuse
name="opensuse"
ostype="opensuse"
uuid="ee62226a-8487-cc02-d89f-dafafd1f35e6"
memory=1214
vcpus=2
on_crash="destroy"
on_poweroff="destroy"
on_reboot="restart"
localtime=0
builder="linux"
bootloader="/usr/lib/xen/boot/domUloader.py"
bootargs="--entry=xvda1:/boot/vmlinuz-xen,/boot/initrd-xen"
extra=" "
disk=[ 'phy:/dev/drbd0,xvda,w',]
vif=[ 'mac=00:16:3e:29:fb:80', ]
vfb=['type=vnc,vncunused=1']

This works fine, and start and stop the domain on both of the nodes.
However if I try to use

disk=[ 'drbd:xendomains,xvda,w',]

I get the following error....

x-host-2:~ # xm create opensuse
Using config file "/etc/xen/vm/opensuse".
Error: Disk isn't accessible

I'm expecting the block-drbd script to do something here, but from what
I can tell it's not.

I suspect I've missed something fundamental. Any pointers please ?

Thanks

Stuart


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

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