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

Re: [Xen-users] Re: using DRBD VBDs with Xen



* khris4 <khris4@xxxxxxxxx> [20100930 00:50]:
> 
> Can you please provide me a copy of your domU config.

This works:

kernel      = '/boot/vmlinuz-2.6.32-5-xen-amd64'
ramdisk     = '/boot/initrd.img-2.6.32-5-xen-amd64'
vcpus       = '1'
memory      = '2048'
root        = '/dev/xvda2 ro'
disk        = [
                 'file:/xen_cluster/r1/xennode-1/disk.img,xvda2,w',
                 'file:/xen_cluster/r2/xennode-1/swap.img,xvda1,w',
             ]
name        = 'xennode-1'
vif         = [ 'ip=xxx.xxx.xxx.xxx,mac=00:16:3E:B7:6F:70,bridge=eth0' ]
on_poweroff = 'destroy'
on_reboot   = 'restart'
on_crash    = 'restart'

If I replace the disk entry with

disk        = [ 'drbd:r1,xvda2,w', 'drbd:r2,xvda1,w', ]

the Domu doesn't come up.
/xen_cluster/r1 is the mount point for drbd resource r1. Same for r2.

jf

> -- 
> View this message in context: 
> http://xen.1045712.n5.nabble.com/using-DRBD-VBDs-with-Xen-tp3046483p3046546.html
> Sent from the Xen - User mailing list archive at Nabble.com.
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users

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


 


Rackspace

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