Alex Davies wrote: > Hi All, > > I am trying to create some DRBD based virtual machines. The correct > syntax for these in the xen configuration is: > > disk = [ 'drbd:resource,xvda,w' ] > > (there is a "drbd" script in /etc/xen/scripts, provided by the DRBD package). > > Is there a way of telling cobbler/koan to use this? > > Many thanks, > > Alex > _______________________________________________ > cobbler mailing list > [email protected] > https://fedorahosted.org/mailman/listinfo/cobbler >
I'm familiar with the purpose of DRBD, but it's not a constant we have exposed in the underlying libraries (python-virtinst) that support koan. The constants provided by libvirt are: DRIVER_FILE = "file" DRIVER_PHY = "phy" DRIVER_TAP = "tap" driver_names = [DRIVER_FILE, DRIVER_PHY, DRIVER_TAP] DRIVER_TAP_RAW = "aio" DRIVER_TAP_QCOW = "qcow" DRIVER_TAP_VMDK = "vmdk" driver_types = [DRIVER_TAP_RAW, DRIVER_TAP_QCOW, DRIVER_TAP_VMDK] DEVICE_DISK = "disk" DEVICE_CDROM = "cdrom" DEVICE_FLOPPY = "floppy" devices = [DEVICE_DISK, DEVICE_CDROM, DEVICE_FLOPPY] TYPE_FILE = "file" TYPE_BLOCK = "block" types = [TYPE_FILE, TYPE_BLOCK] This is probably because KVM does not support it, or because it's not very stable, or not exposed in all versions of Xen. I would check with et-mgmt-tools if you are interested and see why it's not there. (As a sidenote, we are going to tweak Koan to use tap when possible... something the underlying library python-virtinst will be fixed for, but we want to make it use tap when possible on older versions of python-virtinst as well, but this change would not require the user to specify, it would be automatic) --Michael _______________________________________________ cobbler mailing list [email protected] https://fedorahosted.org/mailman/listinfo/cobbler
