<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: times new roman,new york,times,serif; font-size: 12pt; color: #000000'><h2 class="title" style="clear: both"><font face="arial,helvetica,sans-serif" size="2">The DRBD documentation states in Chapter 13(DRBD +8.4) and in Chapter 14 (DRBD < 8.4), Using Xen with DRBD <br></font></h2><h2 class="title" style="clear: both"><font face="arial,helvetica,sans-serif" size="2">"Using DRBD VBDs"</font></h2><p><font face="arial,helvetica,sans-serif" size="2">In order to use a DRBD resource as the virtual block device, you must
add a line like the following to your Xen domU configuration:</font><font face="arial,helvetica,sans-serif" size="2"><br>disk = [ 'drbd:<resource>,xvda,w' ]</font><font face="arial,helvetica,sans-serif" size="2"><br>This example configuration makes the DRBD resource named <span class="emphasis"><em>resource</em></span>
available to the domU as <code class="literal">/dev/xvda</code> in read/write mode ( <code class="literal">w</code>)."</font></p><p><font face="arial,helvetica,sans-serif" size="2"><br></font></p><p><font face="arial,helvetica,sans-serif" size="2">What versions of Xen does this apply to? <br></font></p><p><font face="arial,helvetica,sans-serif" size="2"><br></font></p><p><font face="arial,helvetica,sans-serif" size="2">I have just installed Xen 4.2.1 (released Dec 18 2012) with <font size="2">drbd-</font>8.3.11-remus<font size="2">.tar.gz</font> (from http://resmusha.wikidot.com) with Ubuntu 12.10, following the instructions at http://wiki.xen.org/wiki/Install_Xen_4.2.1_with_Remus_and_DRBD_on_Ubuntu_12.10, and I cannot create my HVM domUs if I use the drbd VBD type. I have to use the phy VBD type which is not desirable since Xen will not automatically promote the DRBD resource roles (Secondary,Primary)<font size="2"> if I do this.<br></font></font></p><p><font face="arial,helvetica,sans-serif" size="2"><br></font></p><p><font face="arial,helvetica,sans-serif" size="2">I just wish to know if I need to apply the patch from remusha.wikidot, called "drbd-hvm-fix" in order to use HVM domUs<font size="2">, or if I need convert <font size="2">my HVM<font size="2">s to PVs<font size="2"> <font size="2">or</font> do something else.</font></font></font></font><br></font></p><p><br></p><div><span name="x"></span>Urban Hakansson<br>Senior Software Engineer<br>Tecore Networks<br>Phone: +1 410 872 6315<br>Fax: +1 410 872 6010 <br>Email: uhakansson@tecore.com<span name="x"></span><br></div><br></div>
<br><html><body><font size=-10 color=#333300 face=arial, sans-sarif><p> </p>This e-mail may contain privileged, confidential, copyrighted or other legally protected information, and is intended exclusively for the intended recipient. If you are not the intended recipient (even if the e-mail address above is yours), you may not review, store, use, copy, disclose or retransmit it in any form. If you are not the intended recipient or otherwise have received this by mistake, please immediately notify the sender by return e-mail (or sysadmin@tecore.com), then delete the message in its entirety. Thank you.</font></body></html>
<br></body></html>