<div dir="ltr">Hi all!<div><br></div><div style>I am setting up a new cluster on OracleLinux 6.4 (well, it is CentOS 6.4).</div><div style>I went through <a href="http://clusterlabs.org/quickstart-redhat.html">http://clusterlabs.org/quickstart-redhat.html</a><br>
Then I installed DRBD 8.4.2 from elrepo.</div><div style>This setup is unusable :-( with DRBD 8.4.2.</div><div style>I created three DRBD resources:</div><div style><br></div><div style><div>cat /proc/drbd</div><div>version: 8.4.2 (api:1/proto:86-101)</div>
<div>GIT-hash: 7ad5f850d711223713d6dcadc3dd48860321070c build by root@flashfon1, 2013-06-24 22:08:41</div><div> 0: cs:Connected ro:Primary/Secondary ds:UpToDate/UpToDate C r-----</div><div>    ns:97659171 nr:0 dw:36 dr:97660193 al:1 bm:5961 lo:0 pe:0 ua:0 ap:0 ep:1 wo:f oos:0</div>
<div> 1: cs:Connected ro:Primary/Secondary ds:UpToDate/UpToDate C r-----</div><div>    ns:292421653 nr:16 dw:16 dr:292422318 al:0 bm:17848 lo:0 pe:0 ua:0 ap:0 ep:1 wo:f oos:0</div><div> 2: cs:Connected ro:Primary/Secondary ds:UpToDate/UpToDate C r-----</div>
<div>    ns:292421600 nr:8 dw:8 dr:292422265 al:0 bm:17848 lo:0 pe:0 ua:0 ap:0 ep:1 wo:f oos:0</div><div><br></div><div style>It appeared that drbd resource-agent script did not work. Debugging showed that check_crm_feature_set() function always returned zeroes. Ok, just added &#39;exit&#39; as its first line for now.</div>
<div style><br></div><div style>Next, I created three drbd resources in pacemaker, three master-slave sets, three filesystem resources (and ip resources, but they are no problem):</div><div style><br></div><div style><div>
 pcs status</div><div>Last updated: Tue Jun 25 21:20:17 2013</div><div>Last change: Tue Jun 25 02:46:25 2013 via crm_resource on flashfon1</div><div>Stack: cman</div><div>Current DC: flashfon1 - partition with quorum</div>
<div>Version: 1.1.8-7.el6-394e906</div><div>2 Nodes configured, unknown expected votes</div><div>11 Resources configured.</div><div><br></div><div><br></div><div>Online: [ flashfon1 flashfon2 ]</div><div><br></div><div>Full list of resources:</div>
<div><br></div><div> Master/Slave Set: ms_wsoft [drbd_wsoft]</div><div>     Masters: [ flashfon1 ]</div><div>     Slaves: [ flashfon2 ]</div><div> Master/Slave Set: ms_oradata [drbd_oradata]</div><div>     Slaves: [ flashfon1 flashfon2 ]</div>
<div> Master/Slave Set: ms_flash [drbd_flash]</div><div>     Slaves: [ flashfon1 flashfon2 ]</div><div> Resource Group: WcsGroup</div><div>     wcs_vip_local      (ocf::heartbeat:IPaddr2):       Started flashfon1</div><div>
     wcs_fs     (ocf::heartbeat:Filesystem):    Started flashfon1</div><div> Resource Group: OraGroup</div><div>     ora_vip_local      (ocf::heartbeat:IPaddr2):       Started flashfon1</div><div>     oradata_fs (ocf::heartbeat:Filesystem):    Stopped</div>
<div>     oraflash_fs        (ocf::heartbeat:Filesystem):    Stopped</div><div><br></div><div style>See, only one master-slave set is recognizing DRBD state!</div><div style><br></div><div style>Resources are configured identically in CIB (except for drbd resource name parameter):</div>
<div style><br></div><div style><div>      &lt;master id=&quot;ms_wsoft&quot;&gt;</div><div>        &lt;primitive class=&quot;ocf&quot; id=&quot;drbd_wsoft&quot; provider=&quot;linbit&quot; type=&quot;drbd&quot;&gt;</div>
<div>          &lt;instance_attributes id=&quot;drbd_wsoft-instance_attributes&quot;&gt;</div><div>            &lt;nvpair id=&quot;drbd_wsoft-instance_attributes-drbd_resource&quot; name=&quot;drbd_resource&quot; value=&quot;wsoft&quot;/&gt;</div>
<div>          &lt;/instance_attributes&gt;</div><div>          &lt;operations&gt;</div><div>            &lt;op id=&quot;drbd_wsoft-interval-60s&quot; interval=&quot;60s&quot; name=&quot;monitor&quot;/&gt;</div><div>          &lt;/operations&gt;</div>
<div>        &lt;/primitive&gt;</div><div>        &lt;meta_attributes id=&quot;ms_wsoft-meta_attributes&quot;&gt;</div><div>          &lt;nvpair id=&quot;ms_wsoft-meta_attributes-master-max&quot; name=&quot;master-max&quot; value=&quot;1&quot;/&gt;</div>
<div>          &lt;nvpair id=&quot;ms_wsoft-meta_attributes-master-node-max&quot; name=&quot;master-node-max&quot; value=&quot;1&quot;/&gt;</div><div>          &lt;nvpair id=&quot;ms_wsoft-meta_attributes-clone-max&quot; name=&quot;clone-max&quot; value=&quot;2&quot;/&gt;</div>
<div>          &lt;nvpair id=&quot;ms_wsoft-meta_attributes-clone-node-max&quot; name=&quot;clone-node-max&quot; value=&quot;1&quot;/&gt;</div><div>          &lt;nvpair id=&quot;ms_wsoft-meta_attributes-notify&quot; name=&quot;notify&quot; value=&quot;true&quot;/&gt;</div>
<div>        &lt;/meta_attributes&gt;</div><div>      &lt;/master&gt;</div><div>      &lt;master id=&quot;ms_oradata&quot;&gt;</div><div>        &lt;primitive class=&quot;ocf&quot; id=&quot;drbd_oradata&quot; provider=&quot;linbit&quot; type=&quot;drbd&quot;&gt;</div>
<div>          &lt;instance_attributes id=&quot;drbd_oradata-instance_attributes&quot;&gt;</div><div>            &lt;nvpair id=&quot;drbd_oradata-instance_attributes-drbd_resource&quot; name=&quot;drbd_resource&quot; value=&quot;oradata&quot;/&gt;</div>
<div>          &lt;/instance_attributes&gt;</div><div>          &lt;operations&gt;</div><div>            &lt;op id=&quot;drbd_oradata-interval-60s&quot; interval=&quot;60s&quot; name=&quot;monitor&quot;/&gt;</div><div>          &lt;/operations&gt;</div>
<div>        &lt;/primitive&gt;</div><div>        &lt;meta_attributes id=&quot;ms_oradata-meta_attributes&quot;&gt;</div><div>          &lt;nvpair id=&quot;ms_oradata-meta_attributes-master-max&quot; name=&quot;master-max&quot; value=&quot;1&quot;/&gt;</div>
<div>          &lt;nvpair id=&quot;ms_oradata-meta_attributes-master-node-max&quot; name=&quot;master-node-max&quot; value=&quot;1&quot;/&gt;</div><div>          &lt;nvpair id=&quot;ms_oradata-meta_attributes-clone-max&quot; name=&quot;clone-max&quot; value=&quot;2&quot;/&gt;</div>
<div>          &lt;nvpair id=&quot;ms_oradata-meta_attributes-clone-node-max&quot; name=&quot;clone-node-max&quot; value=&quot;1&quot;/&gt;</div><div>          &lt;nvpair id=&quot;ms_oradata-meta_attributes-notify&quot; name=&quot;notify&quot; value=&quot;true&quot;/&gt;</div>
<div>        &lt;/meta_attributes&gt;</div><div>      &lt;/master&gt;</div><div style><br>I am stuck. :-((((</div><div style><br></div><div style>Best regards,</div><div style>Alexandr A. Alexandrov</div></div></div></div>
</div>