<HTML dir=ltr><HEAD>
<STYLE title=owaParaStyle>P {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
</STYLE>
</HEAD>
<BODY ocsi="x">
<DIV dir=ltr><FONT color=#000000 size=2 face=Tahoma>Hello folks,</FONT></DIV>
<DIV dir=ltr><FONT size=2 face=Tahoma></FONT> </DIV>
<DIV dir=ltr><FONT size=2 face=Tahoma>I'm noticing that DRBD is not starting automatically on boot in my Ubuntu 8.04 LTS Server implementation. All was working fine with DRBD and Pacemaker / Corosync until I restarted the two nodes. DRBD did not startup on boot, and crm_mon is showing errors.</FONT></DIV>
<DIV dir=ltr><FONT size=2 face=Tahoma></FONT> </DIV>
<DIV dir=ltr><FONT size=2 face=Tahoma>I was wondering how (1) I could get DRBD to start on boot (should Pacemaker / Corosync do this, or do I need to do something with update-rc.d?) and (2) how these Corosync errors can be eliminated, if DRBD not starting on boot is not the cause of the trouble. I'm pasting the results of crm_mon below, along with my Corosync configuration below that.</FONT></DIV>
<DIV dir=ltr><FONT size=2 face=tahoma></FONT> </DIV>
<DIV dir=ltr><FONT size=2 face=tahoma>I do know that the drbd init file (ver 8.3.8) is stored as /usr/local/etc/init.d/drbd</FONT></DIV>
<DIV dir=ltr><FONT size=2 face=Tahoma></FONT> </DIV>
<DIV dir=ltr><FONT size=2 face=Tahoma>Thanks!</FONT></DIV>
<DIV dir=ltr><FONT size=2 face=Tahoma>- Adam</FONT></DIV>
<DIV dir=ltr><FONT size=2 face=Tahoma></FONT> </DIV>
<DIV dir=ltr><STRONG><FONT size=2 face=Tahoma>crm_mon results:</FONT></STRONG></DIV>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px" dir=ltr>
<DIV dir=ltr><FONT size=2 face=Tahoma>============<BR>Last updated: Mon Jun 7 14:38:40 2010<BR>Stack: openais<BR>Current DC: vmdevel1 - partition with quorum<BR>Version: 1.0.4-2609e060ce0c516c95ae31f44a10fed0202abfb6<BR>2 Nodes configured, 2 expected votes<BR>2 Resources configured.<BR>============</FONT></DIV>
<DIV dir=ltr><FONT size=2 face=Tahoma>Online: [ vmdevel1 vmdevel2 ]</FONT></DIV>
<DIV dir=ltr><BR><FONT size=2 face=Tahoma>Failed actions:<BR> Cluster-FS-DRBD:0_monitor_0 (node=(null), call=2, rc=5, status=complete): no<BR>t installed<BR> Cluster-FS-Mount:0_start_0 (node=vmdevel2, call=4, rc=1, status=complete): u<BR>nknown error<BR> Cluster-FS-DRBD:0_monitor_0 (node=(null), call=2, rc=5, status=complete): no<BR>t installed<BR> Cluster-FS-Mount:0_start_0 (node=vmdevel1, call=4, rc=1, status=complete): u<BR>nknown error</FONT></DIV></BLOCKQUOTE>
<DIV dir=ltr><STRONG><FONT size=2 face=Tahoma>Corosync Configuration:</FONT></STRONG></DIV>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px" dir=ltr>
<DIV dir=ltr><FONT size=2 face=Tahoma>node vmdevel1<BR>node vmdevel2<BR>primitive Cluster-FS-DRBD ocf:linbit:drbd \<BR> params drbd_resource="cluster-ocfs" \<BR> operations $id="Cluster-FS-DRBD-ops" \<BR> op monitor interval="20" role="Master" timeout="20" \<BR> op monitor interval="30" role="Slave" timeout="20" \<BR> meta target-role="started"<BR>primitive Cluster-FS-Mount ocf:heartbeat:Filesystem \<BR> params device="/dev/drbd0" directory="/cluster" fstype="ocfs2" \<BR> meta target-role="started"<BR>ms Cluster-FS-DRBD-Master Cluster-FS-DRBD \<BR> meta resource-stickiness="100" master-max="2" notify="true" interleave="true"<BR>clone Cluster-FS-Mount-Clone Cluster-FS-Mount \<BR> meta interleave="true" ordered="true"<BR>order Cluster-FS-After-DRBD inf: Cluster-FS-DRBD-Master:promote Cluster-FS-Mount-Clone:start<BR>property $id="cib-bootstrap-options" \<BR> dc-version="1.0.4-2609e060ce0c516c95ae31f44a10fed0202abfb6" \<BR> cluster-infrastructure="openais" \<BR> expected-quorum-votes="2" \<BR> no-quorum-policy="ignore" \<BR> stonith-enabled="false" \<BR> default-resource-stickiness="1000"</FONT></DIV></BLOCKQUOTE></BODY></HTML>