<div dir="ltr">Hi Jaco,<div><br></div><div>Maybe it is because crm is core component of Pacemaker (<a href="https://wiki.clusterlabs.org/wiki/File:Stack.png">https://wiki.clusterlabs.org/wiki/File:Stack.png</a>)?</div><div>&quot;crmd<span style="white-space:pre">        </span>Short for Cluster Resource Management Daemon. Largely a message broker for the PEngine and LRM, it also elects a leader to co-ordinate the activities (including starting/stopping resources) of the cluster.&quot;</div><div><br></div><div>Regards,</div><div>Roman.</div></div><div class="gmail_extra"><br><div class="gmail_quote">2018-07-25 7:43 GMT+03:00 Jaco van Niekerk <span dir="ltr">&lt;<a href="mailto:jaco@desktop.co.za" target="_blank">jaco@desktop.co.za</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div text="#000000" bgcolor="#FFFFFF">
<p>Hi</p>
<p>Sorry that was a typo. I use different name for my resource on in the LAB.</p>
<p>I found that after installing crmsh it fixed my problem, even though I don&#39;t use crm it self.</p>
<p>cat /etc/yum.repos.d/ha-cluster.<wbr>repo <br>
[network_ha-clustering_Stable]<br>
name=Stable High Availability/Clustering packages (CentOS_CentOS-7)<br>
type=rpm-md<br>
baseurl=<a class="m_7396548429665416560moz-txt-link-freetext" href="http://download.opensuse.org/repositories/network:/ha-clustering:/Stable/CentOS_CentOS-7/" target="_blank">http://download.<wbr>opensuse.org/repositories/<wbr>network:/ha-clustering:/<wbr>Stable/CentOS_CentOS-7/</a><br>
gpgcheck=1<br>
gpgkey=<a class="m_7396548429665416560moz-txt-link-freetext" href="http://download.opensuse.org/repositories/network:/ha-clustering:/Stable/CentOS_CentOS-7/repodata/repomd.xml.key" target="_blank">http://download.<wbr>opensuse.org/repositories/<wbr>network:/ha-clustering:/<wbr>Stable/CentOS_CentOS-7/<wbr>repodata/repomd.xml.key</a><br>
enabled=1<br>
</p>
<p>yum install -y crmsh<br>
</p>
<p>Regards<br>
</p>
<div class="m_7396548429665416560moz-signature">
<p style="font-family:Arial;background-color:rgb(255,255,255);margin-bottom:6pt;margin-top:6pt">
<span style="font-size:13.3333px">Jaco van Niekerk</span></p>
<br>
<span style="font-family:Arial;font-size:10pt;font-weight:bold;color:rgb(0,77,187)"><font color="#2b86cc">Office:</font></span>
<span style="font-family:Arial;font-size:11pt"> </span> <span style="font-family:Arial;font-size:10pt">
011 608 2663</span><span style="font-family:Arial;font-size:10pt"> </span> <span style="font-family:Arial;font-size:10pt;font-weight:bold;color:rgb(0,77,187)">
<font color="#2b86cc">E-mail:</font></span> <span style="font-family:Arial;font-size:10pt">
 jaco</span><span style="font-family:Arial;font-size:10pt">@<a href="http://desktop.co.za" target="_blank">desktop.co.za</a></span><br>
<img src="cid:part1.AE36ED5C.CEE49189@desktop.co.za" alt="Desktop"><br>
<span style="color:rgb(165,165,165);font-size:10pt;background-color:rgb(255,255,255);font-family:Arial">accepts no liability for the content of this email, or for the consequences of any actions taken on the basis of the information provided,
 unless that information is subsequently confirmed in writing. If you are not the intended recipient, you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.</span>
<div style="background-color:rgb(255,255,255);color:rgb(153,153,153);font-size:11px;font-family:verdana">
<br>
Disclaimer added by <b>CodeTwo Exchange Rules 2010</b><br>
<a style="color:purple" href="http://www.codetwo.com/?sts=1048" target="_blank">www.codetwo.com</a></div>
</div>
<div class="m_7396548429665416560moz-cite-prefix">On 25/07/2018 02:40, Igor Cicimov wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div class="gmail_default" style="font-size:small">Hi Jaco,<br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Mon, Jul 23, 2018 at 11:10 PM, Jaco van Niekerk <span dir="ltr">
&lt;<a href="mailto:jaco@desktop.co.za" target="_blank">jaco@desktop.co.za</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF">
<p>Hi</p>
I am using the following packages:<br>
pcs-0.9.162-5.el7.centos.1.x86<wbr>_64<br>
kmod-drbd84-8.4.11-1.el7_5.elr<wbr>epo.x86_64<br>
drbd84-utils-9.3.1-1.el7.elrep<wbr>o.x86_64<br>
pacemaker-1.1.18-11.el7_5.3.x8<wbr>6_64<br>
corosync-2.4.3-2.el7_5.1.x86_6<wbr>4<br>
targetcli-2.1.fb46-6.el7_5.noa<wbr>rch<br>
<br>
my /etc/drbd.conf <br>
global { usage-count no; }<br>
common { protocol C; }<br>
resource imagesdata {<br>
 on node1.san.localhost {<br>
  device /dev/drbd0;<br>
  disk   /dev/vg_drbd/lv_drbd;<br>
  address  <a href="http://192.168.0.2:7789" target="_blank">
192.168.0.2:7789</a>;<br>
  meta-disk internal;<br>
 }<br>
 on node2.san.localhost {<br>
  device /dev/drbd0;<br>
  disk   /dev/vg_drbd/lv_drbd;<br>
  address  <a href="http://192.168.0.3:7789" target="_blank">
192.168.0.3:7789</a>;<br>
  meta-disk internal;<br>
 }<br>
}<br>
<br>
my /etc/corosync/corosync.conf:<br>
totem {<br>
    version: 2<br>
    secauth: off<br>
    cluster_name: san_cluster<br>
    transport: udpu<br>
    interface {<br>
        ringnumber: 0<br>
        bindnetaddr: 192.168.0.0<br>
        broadcast: yes<br>
        mcastport: 5405<br>
    }<br>
}<br>
<br>
nodelist {<br>
    node {<br>
    ring0_addr: node1.san.localhost<br>
        name: node1<br>
        nodeid: 1<br>
    }<br>
<br>
    node {<br>
    ring0_addr: node2.san.localhost<br>
        name: node2<br>
        nodeid: 2<br>
    }<br>
}<br>
<br>
quorum {<br>
    provider: corosync_votequorum<br>
    two_node: 1<br>
    wait_for_all: 1<br>
    last_man_standing: 1<br>
    auto_tie_breaker: 0<br>
}<br>
<br>
logging {<br>
    to_logfile: yes<br>
    logfile: /var/log/cluster/corosync.log<br>
    to_syslog: yes<br>
}<br>
<br>
Pacemaker setup:<br>
pcs cluster auth node1.san.localdomain node2.san.localdomain -u hacluster -p PASSWORD<br>
pcs cluster setup --name san_cluster node1.san.localdomain node2.san.localdomain<br>
pcs cluster start --all<br>
pcs cluster enable --all<br>
pcs property set stonith-enabled=false<br>
pcs property set no-quorum-policy=ignore<br>
<br>
The following command doesn&#39;t work:<br>
pcs resource create my_iscsidata ocf:linbit:drbd <b>
<div style="font-size:small;display:inline" class="gmail_default">​​</div>
<div style="font-size:small;display:inline" class="gmail_default">​​</div>
drbd_resource=iscsidata</b> op monitor interval=10s <br>
pcs resource master MyISCSIClone my_iscsidata master-max=1 master-node-max=1 clone-max=2 clone-node-max=1 notify=true<br>
<br>
I receive the following on pcs status:<br>
* my_iscsidata_monitor_0 on node2.san.localhost &#39;not configured&#39; (6): call=9, status=complete, exitreason=&#39;meta parameter misconfigured, expected clone-max -le 2, but found unset.&#39;,<br>
<br>
</div>
</blockquote>
<div> </div>
<div>
<div style="font-size:small" class="gmail_default">​I guess it&#39;s a typo. See the highlighted part above,
<b>drbd_resource</b> ​has to match your DRBD resource you created which in your case would be 
<b>
<div style="font-size:small;display:inline" class="gmail_default"><b>imagesdata</b></div>
</b><br>
</div>
<br>
</div>
</div>
</div>
</div>
</blockquote>
<br>
</div>

<br>______________________________<wbr>_________________<br>
drbd-user mailing list<br>
<a href="mailto:drbd-user@lists.linbit.com">drbd-user@lists.linbit.com</a><br>
<a href="http://lists.linbit.com/mailman/listinfo/drbd-user" rel="noreferrer" target="_blank">http://lists.linbit.com/<wbr>mailman/listinfo/drbd-user</a><br>
<br></blockquote></div><br></div>