<div dir="ltr"><br><div class="gmail_extra">Hi Gianluca,<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
  I&#39;m not sure of the CIB XML syntax, but here is how it&#39;s done using pcs:<br></blockquote></div><br></div><div class="gmail_extra">OK, thanks Digimer.<br><br></div><div class="gmail_extra">It seems it worked this way using your suggestions<br>
<br>[root@srvmgmt01 ~]# pcs stonith show<br> Fencing    (stonith:fence_intelmodular):    Started <br><br># pcs cluster cib stonith_separate_cfg<br><br>[root@srvmgmt01 ~]# pcs -f stonith_separate_cfg stonith delete Fencing<br>
Attempting to stop: Fencing...Error: Unable to stop: Fencing before deleting (re-run with --force to force deletion)<br><br></div><div class="gmail_extra">(used --force later see below perhaps I had to use stop before, but I thought that working on file it would have done nothing...)<br>
<br></div><div class="gmail_extra"># pcs -f stonith_separate_cfg stonith create fence_srvmgmt01 fence_intelmodular \<br>pcmk_host_list=&quot;srvmgmt01.localdomain.local&quot; pcmk_host_map=&quot;srvmgmt01.localdomain.local:5&quot; \<br>
ipaddr=&quot;192.168.150.150&quot; login=&quot;snmpv3user&quot; passwd_script=&quot;/usr/local/bin/fence_pwd.sh&quot; \<br>snmp_version=&quot;3&quot; snmp_auth_prot=&quot;SHA&quot; snmp_sec_level=&quot;authNoPriv&quot; \<br>
power_wait=&quot;15&quot; action=&quot;reboot&quot; delay=15 \<br>op monitor interval=10m timeout=&quot;300s&quot;<br><br># pcs -f stonith_separate_cfg stonith create fence_srvmgmt02 fence_intelmodular \<br>pcmk_host_list=&quot;srvmgmt02.localdomain.local&quot; pcmk_host_map=&quot;srvmgmt02.localdomain.local:6&quot; \<br>
ipaddr=&quot;192.168.150.150&quot; login=&quot;snmpv3user&quot; passwd_script=&quot;/usr/local/bin/fence_pwd.sh&quot; \<br>snmp_version=&quot;3&quot; snmp_auth_prot=&quot;SHA&quot; snmp_sec_level=&quot;authNoPriv&quot; \<br>
power_wait=&quot;15&quot; action=&quot;reboot&quot; \<br>op monitor interval=10m timeout=&quot;300s&quot;<br><br>[root@srvmgmt01 ~]# pcs -f stonith_separate_cfg stonith delete Fencing --force <br>Deleting Resource - Fencing<br>
<br># pcs cluster cib-push stonith_separate_cfg<br>CIB updated<br><br></div><div class="gmail_extra">and now I have<br><br></div><div class="gmail_extra">[root@srvmgmt01 ~]# crm_mon -1<br>Last updated: Sat Jun 21 18:33:15 2014<br>
Last change: Sat Jun 21 18:31:35 2014 via cibadmin on srvmgmt01.localdomain.local<br>Stack: cman<br>Current DC: srvmgmt01.localdomain.local - partition with quorum<br>Version: 1.1.10-14.el6_5.3-368c726<br>2 Nodes configured<br>
5 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> fence_srvmgmt01    (stonith:fence_intelmodular):    Started srvmgmt02.localdomain.local <br>
 fence_srvmgmt02    (stonith:fence_intelmodular):    Started srvmgmt01.localdomain.local <br><br></div><div class="gmail_extra">I&#39;m going to test several scenarios to see behaviour is as expected.<br><br></div><div class="gmail_extra">
Thanks again.<br><br>Gianluca<br></div></div>