<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=gb2312" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 9.00.8112.16421"><LINK rel=stylesheet
href="BLOCKQUOTE{margin-Top: 0px; margin-Bottom: 0px; margin-Left: 2em}"></HEAD>
<BODY style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: 10pt">
<DIV><FONT size=2 face=Verdana></FONT> </DIV>
<DIV><FONT size=2 face=Verdana><SPAN
style="WIDOWS: 2; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; FONT: medium Simsun; WHITE-SPACE: normal; ORPHANS: 2; COLOR: rgb(0,0,0); WORD-SPACING: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"
class=Apple-style-span><SPAN
style="LINE-HEIGHT: 23px; FONT-FAMILY: 'lucida Grande', Verdana; FONT-SIZE: 14px"
class=Apple-style-span>
<DIV><FONT size=2 face=Verdana>Hi,all</FONT></DIV>
<DIV>I'm using heartbeat-2.13 and drbd 8.2.6 in CentOS 5.6 with kernel
2.6.18-238.el5. </DIV>
<DIV>node1, 192.168.1.10, primary node</DIV>
<DIV>node2, 192.168.1.11, secondary node</DIV>
<DIV>vip 192.168.1.100</DIV>
<DIV> </DIV>
<DIV>When I reboot primary node,something wrong:</DIV>
<DIV> </DIV>
<DIV>primary /proc/drbd (node1):</DIV>
<DIV>
<DIV>version: 8.2.6 (api:88/proto:86-88)</DIV>
<DIV>GIT-hash: 3e69822d3bb4920a8c1bfdf7d647169eba7d2eb4 build by buildsvn@c5-x8664-build, 2008-10-03 11:30:17</DIV>
<DIV> 0: cs:StandAlone st:Secondary/Unknown ds:UpToDate/DUnknown r---</DIV>
<DIV> ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 oos:4</DIV></DIV>
<DIV> </DIV>
<DIV>secondary /proc/drbd (node2):</DIV>
<DIV>
<DIV>version: 8.2.6 (api:88/proto:86-88)</DIV>
<DIV>GIT-hash: 3e69822d3bb4920a8c1bfdf7d647169eba7d2eb4 build by buildsvn@c5-x8664-build, 2008-10-03 11:30:17</DIV>
<DIV> 0: cs:WFConnection st:Primary/Unknown ds:UpToDate/DUnknown C r---</DIV>
<DIV> ns:60 nr:4 dw:8 dr:77 al:1 bm:3 lo:0 pe:0 ua:0 ap:0 oos:4</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>============config file start================</DIV>
<DIV> </DIV>
<DIV>======drbd config=======</DIV>
<DIV># cat /etc/drbd.conf</DIV>
<DIV>
<DIV>global {</DIV>
<DIV> usage-count yes;</DIV>
<DIV>}</DIV>
<DIV>common {</DIV>
<DIV> protocol C;</DIV>
<DIV>}</DIV>
<DIV>resource r0 {</DIV>
<DIV> on node1 {</DIV>
<DIV> device /dev/drbd0;</DIV>
<DIV> disk /dev/sda2;</DIV>
<DIV> address 192.168.1.10:7789;</DIV>
<DIV> meta-disk internal;</DIV>
<DIV> }</DIV>
<DIV> on node2 {</DIV>
<DIV> device /dev/drbd0;</DIV>
<DIV> disk /dev/sda2;</DIV>
<DIV> address 192.168.1.11:7789;</DIV>
<DIV> meta-disk internal;</DIV>
<DIV> }</DIV>
<DIV>}</DIV>
<DIV> </DIV>
<DIV>======heartbeat config======</DIV></DIV></DIV>
<DIV>
<DIV># cat /etc/ha.d/ha.cf</DIV>
<DIV>debugfile /var/log/ha.debug</DIV>
<DIV>logfile /var/log/ha.log</DIV>
<DIV>logfacility local0</DIV>
<DIV>keepalive 1</DIV>
<DIV>initdead 60</DIV>
<DIV>deadtime 5</DIV>
<DIV>node node1</DIV>
<DIV>node node2</DIV>
<DIV>bcast eth1</DIV>
<DIV>auto_failback off</DIV>
<DIV># cat /etc/ha.d/haresources</DIV>
<DIV>node1 IPaddr::192.168.1.100
drbddisk::r0 Filesystem::/dev/drbd0::/mnt/drbd::ext3::defaults </DIV>
<DIV> </DIV>
<DIV>============config file end================</DIV>
<DIV> </DIV>
<DIV>Could anybody tells me what's wrong? Why Secondary node cannot become
primary node when primary reboot?</DIV>
<DIV> </DIV>
<DIV>Thanks.</DIV>
<DIV> </DIV>
<DIV>BTW: why cannot I recieve mail from this maillist? I searched maillist
archive and found someone replay my previous mail but I didnt recieve itĄŁ</DIV>
<DIV> </DIV></DIV></SPAN></SPAN></FONT></DIV>
<DIV align=left><FONT color=#c0c0c0 size=2 face=Verdana>2011-06-09
</FONT></DIV><FONT size=2 face=Verdana>
<HR style="WIDTH: 122px; HEIGHT: 2px" align=left SIZE=2>
<DIV><FONT color=#c0c0c0 size=2 face=Verdana><SPAN>xixi</SPAN>
</FONT></DIV></FONT></BODY></HTML>