<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: trebuchet ms,sans-serif; font-size: 10pt; color: #000000'><div><br></div><hr id="zwchr"><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px; color: rgb(0, 0, 0); font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><b>From: </b>"Eric Robinson" &lt;eric.robinson@psmnv.com&gt;<br><b>To: </b>drbd-user@lists.linbit.com<br><b>Sent: </b>Tuesday, December 11, 2012 1:01:43 PM<br><b>Subject: </b>[DRBD-user] FileSystem Resource Won't Start<br><br>





<div><span class="330565617-11122012"><font face="Calibri">When I try to start a filesystem resource, I get the following in the logs. The resource will not start on either node. Any idea what this means? The underlying device is available.</font></span></div>
<div><span class="330565617-11122012"><font face="Calibri"></font></span>&nbsp;</div>
<div><span class="330565617-11122012"><font face="Calibri">--</font></span></div>
<div><span class="330565617-11122012"><font face="Calibri"></font></span>&nbsp;</div>
<div><span class="330565617-11122012"><font face="Calibri">Dec 11 09:56:16 ha09a pengine[2642]:&nbsp; warning: unpack_rsc_op: Processing failed op start for p_fs_clust08 on ha09a: not installed (5)</font></span></div>
<div><span class="330565617-11122012"><font face="Calibri">Dec 11 09:56:16 ha09a pengine[2642]:&nbsp;&nbsp; notice: unpack_rsc_op: Preventing p_fs_clust09 from re-starting on ha09a: operation start failed 'not installed' (rc=5)</font></span><span class="330565617-11122012"><font face="Calibri"><br>
Dec 11 09:56:16 ha09a pengine[2642]:&nbsp; warning: unpack_rsc_op: Processing failed op start for p_fs_clust09 on ha09a: not installed (5)</font></span><span class="330565617-11122012"><font face="Calibri"><br>
Dec 11 09:56:16 ha09a pengine[2642]:&nbsp; warning: unpack_rsc_op: Processing failed op start for p_fs_clust08 on ha09b: unknown error (1)</font></span><span class="330565617-11122012"><font face="Calibri"><br>
Dec 11 09:56:16 ha09a pengine[2642]:&nbsp; warning: unpack_rsc_op: Processing failed op start for p_fs_clust09 on ha09b: unknown error (1)</font></span><span class="330565617-11122012"><font face="Calibri"><br>
Dec 11 09:56:16 ha09a pengine[2642]:&nbsp; warning: common_apply_stickiness: Forcing p_fs_clust08 away from ha09a after 1000000 failures (max=1000000)</font></span><span class="330565617-11122012"><font face="Calibri"><br>
Dec 11 09:56:16 ha09a pengine[2642]:&nbsp; warning: common_apply_stickiness: Forcing p_fs_clust09 away from ha09a after 1000000 failures (max=1000000)</font></span><span class="330565617-11122012"><font face="Calibri"><br>
Dec 11 09:56:16 ha09a pengine[2642]:&nbsp; warning: common_apply_stickiness: Forcing p_fs_clust08 away from ha09b after 1000000 failures (max=1000000)</font></span><span class="330565617-11122012"><font face="Calibri"><br>
Dec 11 09:56:16 ha09a pengine[2642]:&nbsp; warning: common_apply_stickiness: Forcing p_fs_clust09 away from ha09b after 1000000 failures (max=1000000)</font></span></div>
<div id="DWT25470"><span class="330565617-11122012"><font face="Calibri"></font></span></div></blockquote>Your resources are not starting in the proper order and/or 
on the wrong node. &nbsp;You need to specify the order they need to start in 
and which need to collocate with each other. &nbsp;Specifically the 
relationships between the DRBD resources and the fs/vip groups. &nbsp;More 
here:<br>http://clusterlabs.org/doc/en-US/Pacemaker/1.1-plugin/html/Pacemaker_Explained/s-resource-ordering.html<br>http://clusterlabs.org/doc/en-US/Pacemaker/1.1-plugin/html/Pacemaker_Explained/s-resource-colocation.html<br><br>Also here - scroll down from Configure to the subsection for collocation and order:<br>http://www.nongnu.org/crmsh/crm.8.html#cmdhelp_configure<blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px; color: rgb(0, 0, 0); font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><div>&nbsp;</div>
<div><span class="330565617-11122012"><font face="Calibri"></font></span>&nbsp;</div>
<div><span class="330565617-11122012"><font face="Calibri">Here is what the cib looks like.</font></span></div>
<div><span class="330565617-11122012"><font face="Calibri"></font></span>&nbsp;</div>
<div><span class="330565617-11122012"><font face="Calibri"></font></span>&nbsp;</div>
<div><span class="330565617-11122012"><font id="DWT25471" face="Calibri">node ha09a \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; attributes standby="off"<br>
node ha09b \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; attributes standby="off"<br>
primitive p_drbd0 ocf:linbit:drbd \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; params drbd_resource="ha01_mysql" \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; op monitor interval="31s" role="Slave" \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; op monitor interval="30s" role="Master"<br>
primitive p_drbd1 ocf:linbit:drbd \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; params drbd_resource="ha02_mysql" \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; op monitor interval="31s" role="Slave" \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; op monitor interval="30s" role="Master"<br>
primitive p_fs_clust08 ocf:heartbeat:Filesystem \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; params device="/dev/drbd0" directory="/ha01_mysql" fstype="ext3" options="noatime" \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; meta target-role="Started"<br>
primitive p_fs_clust09 ocf:heartbeat:Filesystem \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; params device="/dev/drbd1" directory="/ha02_mysql" fstype="ext3" options="noatime"<br>
primitive p_vip_clust08 ocf:heartbeat:IPaddr2 \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; params ip="192.168.10.210" cidr_netmask="32" \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; op monitor interval="30s"<br>
primitive p_vip_clust09 ocf:heartbeat:IPaddr2 \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; params ip="192.168.10.211" cidr_netmask="32" \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; op monitor interval="30s"<br>
group g_clust08 p_fs_clust08 p_vip_clust08 \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; meta target-role="Started"<br>
group g_clust09 p_fs_clust09 p_vip_clust09 \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; meta target-role="Started"<br>
ms ms_drbd0 p_drbd0 \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; meta master-max="1" master-node-max="1" clone-max="2" clone-node-max="1" notify="true" target-role="Master"<br>
ms ms_drbd1 p_drbd1 \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; meta master-max="1" master-node-max="1" clone-max="2" clone-node-max="1" notify="true" target-role="Master"</font></span></div></blockquote>Add something like this:<br><br>order o_drbd_then_group_clust08 inf: ms_drbd0:promote g_clust08:start<br>order o_drbd_then_group_clust09 inf: ms_drbd1:promote g_clust09:start<br>
collocate c_group_clust08_on_drbd_master inf: g_clust08 ms_drbd0:master<br>collocate c_group_clust09_on_drbd_master inf: g_clust09 ms_drbd1:master<br><br>HTH<br><br>Jake<br><br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px; color: rgb(0, 0, 0); font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><div><span class="330565617-11122012"><font face="Calibri"><br>
property $id="cib-bootstrap-options" \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dc-version="1.1.8-4.el6-394e906" \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cluster-infrastructure="openais" \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; expected-quorum-votes="2" \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; stonith-enabled="false" \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; no-quorum-policy="ignore" \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; last-lrm-refresh="1355247551"<br>
rsc_defaults $id="rsc-options" \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; resource-stickiness="100"<br>
#vim:set syntax=pcmk<br>
</font></span></div>
<div><span class="330565617-11122012"><font face="Calibri"><br>
&nbsp;</font></span></div>
<font face="Calibri"></font>
<div><font face="Calibri">--</font></div>
<div align="left"><font face="Calibri">Eric Robinson</font></div>
<div align="left"><font face="Calibri"></font>&nbsp;</div>
<div align="left"><font face="Calibri"></font>&nbsp;</div>
<div align="left"><font face="Calibri"></font>&nbsp;</div>
<div align="left"><font face="Calibri"></font>&nbsp;</div>
<div align="left"><font face="Calibri"></font>&nbsp;</div>
<div align="left"><font face="Calibri"></font>&nbsp;</div>
<div align="left"><font face="Calibri"></font>&nbsp;</div>
<div>&nbsp;</div>
<br><br><font color="silver"><span style="font-size: 7.5pt; color: gray; font-family: Verdana;"><font size="1">Disclaimer - December 11, 2012</font></span></font> <p></p><font size="1"><font color="gray" face="Verdana"><span style="font-size: 7.5pt; color: gray; font-family: Verdana;">This email and any files <font size="1">transmitted</font> with it are confidential and intended solely for <strong>drbd-user@lists.linbit.com</strong></span></font><font color="gray" face="Verdana"><span style="font-size: 7.5pt; color: gray; font-family: Verdana;">. If you are not the named addressee you should not disseminate, distribute, copy or alter this email. Any views or opinions presented in this email are solely those of the author and might not represent those of Physicians' Managed Care or Physician Select Management. Warning: Although Physicians' Managed Care or Physician Select Management has taken reasonable precautions to ensure no viruses are present in this email, the company cannot accept responsibility for any loss or damage arising from the use of this email or attachments.</span></font></font><br>_______________________________________________<br>drbd-user mailing list<br>drbd-user@lists.linbit.com<br>http://lists.linbit.com/mailman/listinfo/drbd-user<br></blockquote><br></div></body></html>