<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; ">Hi,</div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; "><br></div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; ">I've 2 xen server setup using DRBD. The VM is run on the DRBD partition. </div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; ">Both server running on Centos 5.6 with 2 NIC, 1 NIC is use by DRBD direct connect to another server using cross over cable. One run on Primary mode and another run on Secondary Mode.</div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; ">Everything work fine so far, but we just found that when the VM is running and if we remove the cross over cable, the primary host will get reboot.</div><div style="font-family: arial,
helvetica, sans-serif; font-size: 10pt; "><br></div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; ">Is it something to do to DRBD setup?</div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; "><br></div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; ">here is my drbd.conf</div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; "><br></div><div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2">global {</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"> usage-count no;</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2">}</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"><br></font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2">common
{</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"> protocol C;</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"> startup {</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"> #become-primary-on both; </font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"> degr-wfc-timeout 60;</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"> wfc-timeout 30;</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2">
}</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"><br></font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"> net {</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"> allow-two-primaries; </font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"> cram-hmac-alg sha1;</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"> shared-secret "123456";</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"> after-sb-0pri
discard-zero-changes;</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"> #after-sb-1pri violently-as0p;</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"> after-sb-1pri discard-secondary;</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"> #after-sb-2pri violently-as0p;</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"> after-sb-2pri disconnect;</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"> }</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif"
size="2"><br></font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"> syncer {</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"> rate 24M;</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"> verify-alg sha1;</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"> }</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2">}</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"> </font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2">resource vm1 {</font></div><div><font class="Apple-style-span" face="arial, helvetica,
sans-serif" size="2"> </font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"> disk /dev/vmVg/vm1;</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"> device /dev/drbd1;</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"> meta-disk internal;</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"><br></font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"> on primary.host.com {</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"> address 172.16.66.1:7789;</font></div><div><font class="Apple-style-span" face="arial,
helvetica, sans-serif" size="2"> }</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"> </font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"> on secondary.host.com {</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"> address 172.16.66.2:7789;</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"> }</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2">}</font></div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; "><br></div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; "><br></div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt;
">Regards</div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; ">Louis</div></div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; "><br></div></div></body></html>