<!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>&nbsp;</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.&nbsp;</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>&nbsp;</DIV>
<DIV>When I reboot primary node,something wrong:</DIV>
<DIV>&nbsp;</DIV>
<DIV>primary /proc/drbd (node1):</DIV>
<DIV>
<DIV>version:&nbsp;8.2.6&nbsp;(api:88/proto:86-88)</DIV>
<DIV>GIT-hash:&nbsp;3e69822d3bb4920a8c1bfdf7d647169eba7d2eb4&nbsp;build&nbsp;by&nbsp;buildsvn@c5-x8664-build,&nbsp;2008-10-03&nbsp;11:30:17</DIV>
<DIV>&nbsp;0:&nbsp;cs:StandAlone&nbsp;st:Secondary/Unknown&nbsp;ds:UpToDate/DUnknown&nbsp;&nbsp;&nbsp;r---</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;ns:0&nbsp;nr:0&nbsp;dw:0&nbsp;dr:0&nbsp;al:0&nbsp;bm:0&nbsp;lo:0&nbsp;pe:0&nbsp;ua:0&nbsp;ap:0&nbsp;oos:4</DIV></DIV>
<DIV>&nbsp;</DIV>
<DIV>secondary /proc/drbd (node2):</DIV>
<DIV>
<DIV>version:&nbsp;8.2.6&nbsp;(api:88/proto:86-88)</DIV>
<DIV>GIT-hash:&nbsp;3e69822d3bb4920a8c1bfdf7d647169eba7d2eb4&nbsp;build&nbsp;by&nbsp;buildsvn@c5-x8664-build,&nbsp;2008-10-03&nbsp;11:30:17</DIV>
<DIV>&nbsp;0:&nbsp;cs:WFConnection&nbsp;st:Primary/Unknown&nbsp;ds:UpToDate/DUnknown&nbsp;C&nbsp;r---</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;ns:60&nbsp;nr:4&nbsp;dw:8&nbsp;dr:77&nbsp;al:1&nbsp;bm:3&nbsp;lo:0&nbsp;pe:0&nbsp;ua:0&nbsp;ap:0&nbsp;oos:4</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>============config file start================</DIV>
<DIV>&nbsp;</DIV>
<DIV>======drbd config=======</DIV>
<DIV># cat /etc/drbd.conf</DIV>
<DIV>
<DIV>global&nbsp;{</DIV>
<DIV>&nbsp;&nbsp;usage-count&nbsp;yes;</DIV>
<DIV>}</DIV>
<DIV>common&nbsp;{</DIV>
<DIV>&nbsp;&nbsp;protocol&nbsp;C;</DIV>
<DIV>}</DIV>
<DIV>resource&nbsp;r0&nbsp;{</DIV>
<DIV>&nbsp;&nbsp;on&nbsp;node1&nbsp;{</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;device&nbsp;&nbsp;&nbsp;&nbsp;/dev/drbd0;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;disk&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/dev/sda2;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;address&nbsp;&nbsp;&nbsp;192.168.1.10:7789;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;meta-disk&nbsp;internal;</DIV>
<DIV>&nbsp;&nbsp;}</DIV>
<DIV>&nbsp;&nbsp;on&nbsp;node2&nbsp;{</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;device&nbsp;&nbsp;&nbsp;&nbsp;/dev/drbd0;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;disk&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/dev/sda2;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;address&nbsp;&nbsp;&nbsp;192.168.1.11:7789;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;meta-disk&nbsp;internal;</DIV>
<DIV>&nbsp;&nbsp;}</DIV>
<DIV>}</DIV>
<DIV>&nbsp;</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&nbsp;&nbsp;&nbsp;&nbsp; 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&nbsp;IPaddr::192.168.1.100 
drbddisk::r0&nbsp;Filesystem::/dev/drbd0::/mnt/drbd::ext3::defaults </DIV>
<DIV>&nbsp;</DIV>
<DIV>============config file end================</DIV>
<DIV>&nbsp;</DIV>
<DIV>Could anybody tells me what's wrong? Why Secondary node cannot become 
primary node when primary reboot?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks.</DIV>
<DIV>&nbsp;</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>&nbsp;</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>