<html><head><style type='text/css'>p { margin: 0; }</style><style type='text/css'>body { font-family: 'Times New Roman'; font-size: 12pt; color: #000000}</style></head><body>Would appreciate some help debugging this problem, and hopefully solving it.<br><br>I am running Paravirutalized 64-bit CentOS 5.x VMs on 64-bit CentOS 5.x Dom0 on DRBD partitions shared between two Dell 2590s. The DRBD connections are shared between two dedicated GB network ports using crossover cables. The DRBD partitions are logical volumes used as virtual disks for the actual VMs and as mounted pre-formated ext3 partitions for their data partitions.<br><br>Occationally, the VMs will lock up, usually (I think) unable to access their data partition. In this fault condition "drbdadm disconnect <resourcename>" times out on both nodes. I can only resolve the situation by breaking the network connection with an "ifdown ethn" command. The VM is then able to carry on working and I can reconnect DRBD and carry on.<br><br>Under fault condition I have had a VM where I could still log in via SSH but not able to access the data partition and another case this morning where SSH was not working. So I am not 100% sure yet if it is solely the data partitions of the VMs that is the problem.<br><br>I can't see anything strange in /var/log/messages other than the expected time-outs that occur when I disconnect the network.<br><br>Running kernel on both Dom0 machines is 2.6.18-92.1.6.el5xen.<br>DRBD rpms are<br>kmod-drbd82-xen-8.2.6-1.2.6.18_92.1.6.el5<br>drbd82-8.2.6-1.el5.centos<br><br>Here is a sample VM and it's drbd.conf entries. Although I am allowing dual primary, this mode is not normally used. This is for live migrating VMs as a (currently) manual operation from one machine to the other.<br><br><br>________drbd.conf___________<br>global { usage-count no; }<br>common { syncer { rate 600M; } }<br>resource webcast {<br> protocol C;<br><br> startup {<br> wfc-timeout 300;<br> degr-wfc-timeout 280;<br> }<br><br> disk {<br> on-io-error pass_on;<br> }<br><br> net {<br> allow-two-primaries;<br> cram-hmac-alg sha1;<br> shared-secret "webcast_server";<br> }<br> on xen1.bkwsu.eu {<br> device /dev/drbd5;<br> disk /dev/MultiCopy/webcast;<br> address 10.0.0.1:7789;<br> meta-disk internal;<br> }<br> on xen2.bkwsu.eu {<br> device /dev/drbd5;<br> disk /dev/SingleCopy/webcast;<br> address 10.0.0.2:7789;<br> meta-disk internal;<br> }<br>}<br>resource WebcastArchiveDRBD {<br> protocol C;<br><br> startup {<br> wfc-timeout 300;<br> degr-wfc-timeout 280;<br> }<br><br> disk {<br> on-io-error pass_on;<br> }<br><br> net {<br> allow-two-primaries;<br> cram-hmac-alg sha1;<br> shared-secret "webcast_server";<br> }<br> on xen1.bkwsu.eu {<br> device /dev/drbd21;<br> disk /dev/MultiCopy/WebcastArchiveDRBD;<br> address 10.0.0.1:7790;<br> meta-disk internal;<br> }<br> on xen2.bkwsu.eu {<br> device /dev/drbd21;<br> disk /dev/SingleCopy/WebcastArchiveDRBD;<br> address 10.0.0.2:7790;<br> meta-disk internal;<br> }<br>}<br><br>________webcast xen definition__________<br>name = "webcast"<br>uuid = "e550453f-d1a4-3430-b7d5-6c7a4bf40b5e"<br>maxmem = 256<br>memory = 256<br>vcpus = 2<br>bootloader = "/usr/bin/pygrub"<br>on_poweroff = "destroy"<br>on_reboot = "restart"<br>on_crash = "restart"<br>vfb = [ "type=vnc,vncunused=1" ]<br>disk = [ "phy:/dev/drbd5,xvda,w", "phy:/dev/drbd21,sdb1,w" ]<br>vif = [ "mac=00:16:3e:2e:6e:1b,bridge=xenbr0", "mac=00:16:3e:10:f7:d3,bridge=xenbr0" ]<br><br><br></body></html>