<html>

<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
 
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {mso-style-priority:99;
        mso-style-link:"Nur Text Zchn";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.5pt;
        font-family:Consolas;}
span.E-MailFormatvorlage17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.NurTextZchn
        {mso-style-name:"Nur Text Zchn";
        mso-style-priority:99;
        mso-style-link:"Nur Text";
        font-family:Consolas;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal>Hello,</p>

<p class=MsoNormal>&nbsp;</p>

<p class=MsoNormal><span>we use two Citrix XenServer 5.5 with DRBD
and DRBD-Proxy and we have slow HDD performance.</span></p>

<p class=MsoNormal><span>&nbsp;</span></p>

<p class=MsoNormal><span>We use an extra NIC for DRBD on both
servern and the connection for DRBD is a SDSL with 2MBit sym.</span></p>

<p class=MsoNormal><span>For dom0 is dom0_mem configured with
2048MB.</span></p>

<p class=MsoNormal><span>&nbsp;</span></p>

<p class=MsoNormal><span>Here is our /etc/drbd.conf:</span></p>

<p class=MsoNormal><span>&nbsp;</span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'>global { usage-count yes; }</span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'>common {</span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'>  protocol A;</span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'>  net {</span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'>    shared-secret &quot;xenserver&quot;;</span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'>    after-sb-0pri discard-zero-changes;</span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'>    after-sb-1pri consensus;</span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'>    after-sb-2pri disconnect;</span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'>    ping-timeout 20;</span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'>  }</span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'>&nbsp;</span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'>  disk {</span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'>    max-bio-bvecs 1;</span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'>  }</span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'>&nbsp;</span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'>  startup {</span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'>    # leave this disabled for now</span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'>    </span><span style='font-family:"Courier New"'>become-primary-on
bornheim;</span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'> 
}</span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'>&nbsp;</span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'>  handlers {</span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'>    split-brain
&quot;/usr/lib/drbd/notify-split-brain.sh&quot;;</span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'>  }</span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'>&nbsp;</span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'>  syncer { rate 284k; }</span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'>}</span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'>&nbsp;</span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'>resource drbd-sr {</span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'>  device /dev/drbd1;</span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'>  disk /dev/sda3;</span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'>  meta-disk internal;</span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'>&nbsp;</span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'>  syncer {</span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'>    csums-alg md5;</span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'>  }</span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'>&nbsp;</span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'>  proxy {</span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'>    compression on;</span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'>    memlimit 1024M;</span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'>  }</span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'>&nbsp;</span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'>  on bornheim {</span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'>    address 127.0.0.1:7789;</span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'>    proxy on bornheim {</span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'>      inside 127.0.0.1:7788;</span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'>      outside 192.168.93.1:7788;</span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'>    }</span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'>  }</span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'>&nbsp;</span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'>  on koeln {</span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'>    address 127.0.0.1:7789;</span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'>    proxy on koeln {</span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'>      </span><span style='font-family:"Courier New"'>inside
127.0.0.1:7788;</span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'>     
outside 192.168.94.1:7788;</span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'>   
}</span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'> 
}</span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'>}</span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'>&nbsp;</span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'>&nbsp;</span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'>One VM is Debian Lenny with bonnie++.</span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'>&nbsp;</span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'>Some tests with bonnie show this:</span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'>bonnie with drbd and primary/secondary
uptodate</span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'>&nbsp;</span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'>Version  1.03       ------Sequential
Output------ --Sequential Input- --Random-</span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'>                    -Per Chr- --Block--
-Rewrite- -Per Chr- --Block-- --Seeks--</span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'>Machine        Size K/sec %CP K/sec %CP K/sec
%CP K/sec %CP K/sec %CP  /sec %CP</span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'>test           512M 13325  22 12646   1  
275   0 46463  34 129431   1   2.4   0</span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'>                    ------Sequential
Create------ --------Random Create--------</span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'>                    -Create-- --Read---
-Delete-- -Create-- --Read--- -Delete--</span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'>              files  /sec %CP  /sec %CP  /sec
%CP  /sec %CP  /sec %CP  /sec %CP</span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'>                 16 +++++ +++ +++++ +++ +++++
+++ +++++ +++ +++++ +++ +++++ +++</span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'>test,512M,13325,22,12646,1,275,0,46463,34,129431,1,2.4,0,16,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++</span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'>&nbsp;</span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'>&nbsp;</span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'>The VM&#8217;s (Windows Server 2000) are very
slow and hang sometimes.</span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'>&nbsp;</span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'>We observed that the primary HDD&#8217;s
sometimes in use (flashing) and the secondary HDD&#8217;s permanently in use. And
there is much traffic on the DRBD network.</span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'>&nbsp;</span></p>

<p class=MsoPlainText><span>I don't know where the error is ... </span>Any
ideas ?</p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'>&nbsp;</span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-family:"Courier New"'>Thanks </span></p>

<p class=MsoNormal><span>&nbsp;</span></p>

<p class=MsoNormal><span>&nbsp;</span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Mit
freundlichen Grüßen</span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Dietmar
Simons</span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:#365F91'>- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - -</span></p>

<p class=MsoNormal><b><span style='font-size:14.0pt;font-family:
"Arial","sans-serif";color:#365F91'>&nbsp;</span></b><b><span style='font-size:
14.0pt;font-family:"Arial","sans-serif";color:#365F91'>ican GmbH</span></b><span style='font-size:14.0pt;font-family:"Arial","sans-serif";color:#365F91'><br>
</span><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&nbsp;&nbsp;&nbsp;&nbsp;
Wanheimer Str. 408<br>
&nbsp;&nbsp;&nbsp;&nbsp; 47055 Duisburg<br>
&nbsp;&nbsp;&nbsp;&nbsp; Tel.:&nbsp; +49 (0) 203 73804 249<br>
&nbsp;&nbsp;&nbsp;&nbsp; Fax:&nbsp; +49 (0) 203 73804 300<br>
<span style='color:#365F91'>&nbsp;&nbsp;&nbsp;&nbsp; </span></span><a href="mailto:dietmar.simons@ican-gmbh.de"><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:blue'>ds@ican-gmbh.de</span></a><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#365F91'></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:#365F91'>&nbsp;&nbsp;&nbsp;&nbsp; </span><a href="http://www.ican-gmbh.de/"><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>http://www.ican-gmbh.de</span></a><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:#365F91'></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:#365F91'>- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - -</span></p>

<p class=MsoNormal><span style='font-size:8.0pt;font-family:"Arial","sans-serif";
color:#365F91'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Geschäftsführer: Khodayar
Alambeigi</span></p>

<p class=MsoNormal><span style='font-size:8.0pt;font-family:"Arial","sans-serif";
color:#365F91'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Registergericht: Amtsgericht
Duisburg, HRB9504</span></p>

<p class=MsoNormal><span style='font-size:8.0pt;font-family:"Arial","sans-serif";
color:#365F91'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; USt-IdNr. DE 202 074 039<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Steuer-Nr. 29/457/5113</span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:#365F91'>- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - -</span></p>

<p class=MsoNormal>&nbsp;</p>

</div>

</body>

</html>