<div dir="ltr"><div><div><div><div>Hello,<br></div><div>I have a CentOS 6.5 based cluster with <br>pacemaker-1.1.10-14.el6_5.3.x86_64<br>cman-3.0.12.1-59.el6_5.2.x86_64<br><br></div><div>and configured pacemaker with cman integration.<br>
</div><div>The nodes are two blades inside an Intel enclosure.<br><br></div>At the moment my configuration has this in cluster.conf<br><br>  &lt;fencedevices&gt;<br>    &lt;fencedevice name=&quot;pcmk&quot; agent=&quot;fence_pcmk&quot;/&gt;<br>
  &lt;/fencedevices&gt;<br><br>and this if I run &quot;pcs cluster edit&quot;<br><br>      &lt;primitive id=&quot;Fencing&quot; class=&quot;stonith&quot; type=&quot;fence_intelmodular&quot;&gt;<br>        &lt;instance_attributes id=&quot;Fencing-params&quot;&gt;<br>
          &lt;nvpair id=&quot;Fencing-passwd-script&quot; name=&quot;passwd_script&quot; value=&quot;/usr/local/bin/fence_pwd.sh&quot;/&gt;<br>          &lt;nvpair id=&quot;Fencing-login&quot; name=&quot;login&quot; value=&quot;snmpv3user&quot;/&gt;<br>
          &lt;nvpair id=&quot;Fencing-ipaddr&quot; name=&quot;ipaddr&quot; value=&quot;192.168.150.150&quot;/&gt;<br>          &lt;nvpair id=&quot;Fencing-debug&quot; name=&quot;power_wait&quot; value=&quot;15&quot;/&gt;<br>
          &lt;nvpair id=&quot;Fencing-snmp_version&quot; name=&quot;snmp_version&quot; value=&quot;3&quot;/&gt;<br>          &lt;nvpair id=&quot;Fencing-snmp_auth_prot&quot; name=&quot;snmp_auth_prot&quot; value=&quot;SHA&quot;/&gt;<br>
          &lt;nvpair id=&quot;Fencing-snmp_sec_level&quot; name=&quot;snmp_sec_level&quot; value=&quot;authNoPriv&quot;/&gt;<br>          &lt;nvpair id=&quot;Fencing-pcmk_host_list&quot; name=&quot;pcmk_host_list&quot; value=&quot;srvmgmt01.localdomain.local,srvmgmt02.localdomain.local&quot;/&gt;<br>
          &lt;nvpair id=&quot;Fencing-pcmk_host_map&quot; name=&quot;pcmk_host_map&quot; value=&quot;srvmgmt01.localdomain.local:5;srvmgmt02.localdomain.local:6&quot;/&gt;<br>        &lt;/instance_attributes&gt;<br>        &lt;operations&gt;<br>
          &lt;op id=&quot;Fencing-monitor-10m&quot; interval=&quot;10m&quot; name=&quot;monitor&quot; timeout=&quot;300s&quot;/&gt;<br>        &lt;/operations&gt;<br>      &lt;/primitive&gt;<br><br><br></div>If I want to set a delay on one of the two nodes to make it privileged in case of split brain, what is the right place and how to put it?<br>
</div>Or do I have to decouple the fencing definition?<br><br></div>BTW: the fencing in general seems ok, but running crm_mon -1 on the two nodes I have in my opinion confusing output (see below); is this expected?<br><br>
[root@srvmgmt01 ~]# crm_mon -1<br>Last updated: Sat Jun 21 10:24:25 2014<br>Last change: Thu Jun 12 00:09:21 2014 via crmd on srvmgmt01.localdomain.local<br>Stack: cman<br>Current DC: srvmgmt02.localdomain.local - partition with quorum<br>
Version: 1.1.10-14.el6_5.3-368c726<br>2 Nodes configured<br>4 Resources configured<br><br><br>Online: [ srvmgmt01.localdomain.local srvmgmt02.localdomain.local ]<br><br> Master/Slave Set: ms_drbd_kvm-ovirtmgr [p_drbd_kvm-ovirtmgr]<br>
     Masters: [ srvmgmt01.localdomain.local ]<br>     Slaves: [ srvmgmt02.localdomain.local ]<br> p_kvm-ovirtmgr    (ocf::heartbeat:VirtualDomain):    Started srvmgmt01.localdomain.local <br> Fencing    (stonith:fence_intelmodular):    Started srvmgmt02.localdomain.local <br>
<br>[root@srvmgmt02 ~]# crm_mon -1<br>Last updated: Sat Jun 21 10:24:19 2014<br>Last change: Thu Jun 12 00:09:21 2014 via crmd on srvmgmt01.localdomain.local<br>Stack: cman<br>Current DC: srvmgmt02.localdomain.local - partition with quorum<br>
Version: 1.1.10-14.el6_5.3-368c726<br>2 Nodes configured<br>4 Resources configured<br><br><br>Online: [ srvmgmt01.localdomain.local srvmgmt02.localdomain.local ]<br><br> Master/Slave Set: ms_drbd_kvm-ovirtmgr [p_drbd_kvm-ovirtmgr]<br>
     Masters: [ srvmgmt01.localdomain.local ]<br>     Slaves: [ srvmgmt02.localdomain.local ]<br> p_kvm-ovirtmgr    (ocf::heartbeat:VirtualDomain):    Started srvmgmt01.localdomain.local <br> Fencing    (stonith:fence_intelmodular):    Started srvmgmt02.localdomain.local <br>
<br><div><div>Thanks in advance,<br>Gianluca<br></div></div></div>