:-) Nice<br><br><div class="gmail_quote">2013/2/15 Cristiane França <span dir="ltr">&lt;<a href="mailto:cristianedefranca@gmail.com" target="_blank">cristianedefranca@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div>Hi Emmanuel,</div><div><br></div><div>Thank you very much!</div><div>I changed my pacemaker config as you suggested and the problem was solved.<br></div><div><br></div><div>Thanks.</div><span class="HOEnZb"><font color="#888888"><div>
Cristiane</div>
</font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Feb 14, 2013 at 4:38 PM, emmanuel segura <span dir="ltr">&lt;<a href="mailto:emi2fast@gmail.com" target="_blank">emi2fast@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello Cristiane<br><br>You need to change your pacemaker config(drbd primitive) like this<br><br>example:<div>
<br><br><div>primitive drbd_home ocf:linbit:drbd \</div></div><div>        params drbd_resource=&quot;home&quot; \</div>
<div>        op monitor interval=&quot;15s&quot;</div><br>In drbd_resource parameter put the name of your drbd resource, not the name of devices<br><br>Thanks<div><div><br><br><div class="gmail_quote">
2013/2/14 Cristiane França <span dir="ltr">&lt;<a href="mailto:cristianedefranca@gmail.com" target="_blank">cristianedefranca@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi,</div><div>I configured resources with options &quot;is-managed=true&quot;.</div><div><br></div>


<div>crm(live)configure# edit ms_drbd_home</div><div>ms ms_drbd_home drbd_home \</div><div>        meta is-managed=&quot;true&quot; master-max=&quot;1&quot; master-node-max=&quot;1&quot; clone-max=&quot;2&quot; clone-node-max=&quot;1&quot; notify=&quot;true&quot;</div>



<div><br></div><div><br></div><div><br></div><div>But the problem remains :</div><div><br></div><div><br></div><div> Master/Slave Set: ms_drbd_home [drbd_home]</div><div><div>     drbd_home:1<span style="white-space:pre-wrap">        </span>(ocf::linbit:drbd):<span style="white-space:pre-wrap">        </span>Slave primario (unmanaged) FAILED</div>



</div><div>     Stopped: [ drbd_home:0 ]</div><div><div> Master/Slave Set: ms_drbd_sistema [drbd_sistema]</div><div>     drbd_sistema:0<span style="white-space:pre-wrap">        </span>(ocf::linbit:drbd):<span style="white-space:pre-wrap">        </span>Slave primario (unmanaged) FAILED</div>



</div><div>     Stopped: [ drbd_sistema:1 ]</div><div><div> Master/Slave Set: ms_drbd_database [drbd_database]</div><div>     drbd_database:0<span style="white-space:pre-wrap">        </span>(ocf::linbit:drbd):<span style="white-space:pre-wrap">        </span>Slave primario (unmanaged) FAILED</div>



</div><div>     Stopped: [ drbd_database:1 ]</div><div><br></div><div><br></div><div>regards, <br></div><div><br></div></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Feb 14, 2013 at 11:21 AM, emmanuel segura <span dir="ltr">&lt;<a href="mailto:emi2fast@gmail.com" target="_blank">emi2fast@gmail.com</a>&gt;</span> wrote:<br>



<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello Cristiane<br><br>I think your pacemaker config doesn&#39;t call the resource defined in your drbd config<br><br>


<div class="gmail_quote">
2013/2/14 Cristiane França <span dir="ltr">&lt;<a href="mailto:cristianedefranca@gmail.com" target="_blank">cristianedefranca@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr"><div>hello,</div><div>I installed Pacemaker (1.1.7-6) and DRBD (8.4.2-2) on my server CentOS 6.3 (kernel 2.6.32-279.19.1 - 64 bits).</div>




<div>I&#39;m having the following problem:</div><div>The Pacemaker is not automatically mounting the DRBD partitions or setting which is the main machine.</div>
<div>Where is configured to mount the partitions?</div><div><br></div><div>my server configuration:</div><div><br></div><div>node primario</div><div>node secundario</div><div>primitive ClusterIP ocf:heartbeat:IPaddr2 \</div>





<div>        params ip=&quot;192.168.0.110&quot; cidr_netmask=&quot;32&quot; \</div><div>        op monitor interval=&quot;30s&quot;</div><div>primitive database_fs ocf:heartbeat:Filesystem \</div><div>        params device=&quot;/dev/drbd3&quot; directory=&quot;/database&quot; fstype=&quot;ext4&quot;</div>





<div>primitive drbd_database ocf:linbit:drbd \</div><div>        params drbd_resource=&quot;drbd3&quot; \</div><div>        op monitor interval=&quot;15s&quot;</div><div>primitive drbd_home ocf:linbit:drbd \</div><div>        params drbd_resource=&quot;drbd1&quot; \</div>





<div>        op monitor interval=&quot;15s&quot;</div><div>primitive drbd_sistema ocf:linbit:drbd \</div><div>        params drbd_resource=&quot;drbd2&quot; \</div><div>        op monitor interval=&quot;15s&quot;</div><div>





primitive home_fs ocf:heartbeat:Filesystem \</div><div>        params device=&quot;/dev/drbd1&quot; directory=&quot;/home&quot; fstype=&quot;ext4&quot;</div><div>primitive sistema_fs ocf:heartbeat:Filesystem \</div><div>




        params device=&quot;/dev/drbd2&quot; directory=&quot;/sistema&quot; fstype=&quot;ext4&quot;</div>
<div>ms ms_drbd_database drbd_database \</div><div>        meta master-max=&quot;1&quot; master-node-max=&quot;1&quot; clone-max=&quot;2&quot; clone-node-max=&quot;1&quot; notify=&quot;true&quot;</div><div>ms ms_drbd_home drbd_home \</div>





<div>        meta master-max=&quot;1&quot; master-node-max=&quot;1&quot; clone-max=&quot;2&quot; clone-node-max=&quot;1&quot; notify=&quot;true&quot;</div><div>ms ms_drbd_sistema drbd_sistema \</div><div>        meta master-max=&quot;1&quot; master-node-max=&quot;1&quot; clone-max=&quot;2&quot; clone-node-max=&quot;1&quot; notify=&quot;true&quot;</div>





<div>colocation database_on_drbd inf: database_fs ms_drbd_database:Master</div><div>colocation fs_on_drbd inf: home_fs ms_drbd_home:Master</div><div>colocation sistema_on_drbd inf: sistema_fs ms_drbd_sistema:Master</div>




<div>
order database_after_drbd inf: ms_drbd_database:promote database_fs:start</div><div>order fs_after_drbd inf: ms_drbd_home:promote home_fs:start</div><div>order sistema_after_drbd inf: ms_drbd_sistema:promote sistema_fs:start</div>





<div>property $id=&quot;cib-bootstrap-options&quot; \</div><div>        dc-version=&quot;1.1.7-6.el6-148fccfd5985c5590cc601123c6c16e966b85d14&quot; \</div><div>        cluster-infrastructure=&quot;openais&quot; \</div><div>





        stonith-enabled=&quot;false&quot; \</div><div>        no-quorum-policy=&quot;ignore&quot; \</div><div>        expected-quorum-votes=&quot;2&quot; \</div><div>        last-lrm-refresh=&quot;1360756132&quot;</div><div>





rsc_defaults $id=&quot;rsc-options&quot; \</div><div>        resource-stickiness=&quot;100&quot;</div><div><br></div><div><br></div><div><br></div><div><br></div><div>============</div><div>Last updated: Thu Feb 14 10:21:47 2013</div>





<div>Last change: Thu Feb 14 09:45:16 2013 via cibadmin on primario</div><div>Stack: openais</div><div>Current DC: primario - partition with quorum</div><div>Version: 1.1.7-6.el6-148fccfd5985c5590cc601123c6c16e966b85d14</div>





<div>2 Nodes configured, 2 expected votes</div><div>10 Resources configured.</div><div>============</div><div><br></div><div>Online: [ secundario primario ]</div><div><br></div><div> ClusterIP<span style="white-space:pre-wrap">        </span>(ocf::heartbeat:IPaddr2):<span style="white-space:pre-wrap">        </span>Started primario</div>





<div> Master/Slave Set: ms_drbd_home [drbd_home]</div><div>     drbd_home:0<span style="white-space:pre-wrap">        </span>(ocf::linbit:drbd):<span style="white-space:pre-wrap">        </span>Slave secundario (unmanaged) FAILED</div>





<div>     drbd_home:1<span style="white-space:pre-wrap">        </span>(ocf::linbit:drbd):<span style="white-space:pre-wrap">        </span>Slave primario (unmanaged) FAILED</div><div> Master/Slave Set: ms_drbd_sistema [drbd_sistema]</div>





<div>     drbd_sistema:0<span style="white-space:pre-wrap">        </span>(ocf::linbit:drbd):<span style="white-space:pre-wrap">        </span>Slave primario (unmanaged) FAILED</div><div>     drbd_sistema:1<span style="white-space:pre-wrap">        </span>(ocf::linbit:drbd):<span style="white-space:pre-wrap">        </span>Slave secundario (unmanaged) FAILED</div>





<div> Master/Slave Set: ms_drbd_database [drbd_database]</div><div>     drbd_database:0<span style="white-space:pre-wrap">        </span>(ocf::linbit:drbd):<span style="white-space:pre-wrap">        </span>Slave primario (unmanaged) FAILED</div>





<div>     drbd_database:1<span style="white-space:pre-wrap">        </span>(ocf::linbit:drbd):<span style="white-space:pre-wrap">        </span>Slave secundario (unmanaged) FAILED</div><div><br></div><div>Failed actions:</div><div>
    drbd_database:0_stop_0 (node=primario, call=23, rc=5, status=complete): not installed</div><div>    drbd_home:1_stop_0 (node=primario, call=8, rc=5, status=complete): not installed</div><div>    drbd_sistema:0_stop_0 (node=primario, call=22, rc=5, status=complete): not installed</div>





<div>    drbd_home:0_stop_0 (node=secundario, call=18, rc=5, status=complete): not installed</div><div>    drbd_sistema:1_stop_0 (node=secundario, call=20, rc=5, status=complete): not installed</div><div>    drbd_database:1_stop_0 (node=secundario, call=19, rc=5, status=complete): not installed</div>





<div><br></div><div><br></div><div><br></div><div>I&#39;m sorry for my English.<span><font color="#888888"><br></font></span></div><span><font color="#888888"><div>Cristiane</div><div><br></div>
</font></span></div>
<br></div></div><div>_______________________________________________<br>
Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org" target="_blank">Pacemaker@oss.clusterlabs.org</a><br>
<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
<br>
Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
<br></div></blockquote></div><div><div><br><br clear="all"><br>-- <br>esta es mi vida e me la vivo hasta que dios quiera
</div></div><br>_______________________________________________<br>
Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org" target="_blank">Pacemaker@oss.clusterlabs.org</a><br>
<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
<br>
Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
<br></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org" target="_blank">Pacemaker@oss.clusterlabs.org</a><br>
<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
<br>
Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>esta es mi vida e me la vivo hasta que dios quiera
</div></div><br>_______________________________________________<br>
Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org" target="_blank">Pacemaker@oss.clusterlabs.org</a><br>
<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
<br>
Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
<br></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
<br>
Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>esta es mi vida e me la vivo hasta que dios quiera