<div style="font-family: Arial; font-size: 13;">I looked around what you suggested, inside ocf-binaris and ocf-shellfuncs etc.<br>So I found also these logs in corosync.log :<br><br>Aug 25 17:50:33 [2250]       crmd:   notice: process_lrm_event: xstorage1-xstorage2_wan2_IP_start_0:22 [ /usr/lib/ocf/resource.d/heartbeat/IPaddr[71]: local: not found [No such file or directory]\n/usr/lib/ocf/resource.d/heartbeat/IPaddr[354]: local: not found [No such file or directory]\n/usr/lib/ocf/resource.d/heartbeat/IPaddr[355]: local: not found [No such file or directory]\n/usr/lib/ocf/resource.d/heartbeat/IPaddr[356]: local: not found [No such file or directory]\nocf-exit-reason:Setup problem: coul<br><br>Aug 25 17:50:33 [2246]       lrmd:   notice: operation_finished:        xstorage2_wan2_IP_start_0:3613:stderr [ /usr/lib/ocf/resource.d/heartbeat/IPaddr[71]: local: not found [No such file or directory] ]<br><br>Looks like the shell is not happy with the &quot;local&quot; variable definition.<br>I tried running ocf-shellfuncs manually with sh and bash and they all run without errors.<br>How can I see what shell is running these scripts? <br><br><div id="wt-mailcard"><div style="font-family: Arial;">----------------------------------------------------------------------------------------<br></div><div style="font-family: Arial;"><b>Sonicle S.r.l. </b>: <a href="http://www.sonicle.com/" target="_new">http://www.sonicle.com</a></div><div style="font-family: Arial;"><b>Music: </b><a href="http://www.gabrielebulfon.com/" target="_new">http://www.gabrielebulfon.com</a></div><div style="font-family: Arial;"><b>Quantum Mechanics : </b><a href="http://www.cdbaby.com/cd/gabrielebulfon" target="_new">http://www.cdbaby.com/cd/gabrielebulfon</a></div></div><tt><br><br><br>----------------------------------------------------------------------------------<br><br>Da: Ken Gaillot &lt;kgaillot@redhat.com&gt;<br>A: users@clusterlabs.org <br>Data: 25 agosto 2016 18.07.42 CEST<br>Oggetto: Re: [ClusterLabs] ocf::heartbeat:IPaddr<br><br></tt><blockquote style="BORDER-LEFT: #000080 2px solid; MARGIN-LEFT: 5px; PADDING-LEFT: 5px"><tt>On 08/25/2016 10:51 AM, Gabriele Bulfon wrote:<br>&gt; Hi,<br>&gt; <br>&gt; I&#39;m advancing with this monster cluster on XStreamOS/illumos ;)<br>&gt; <br>&gt; In the previous older tests I used heartbeat, and I had these lines to<br>&gt; take care of the swapping public IP addresses:<br>&gt; <br>&gt; primitive xstorage1_wan1_IP ocf:heartbeat:IPaddr params ip=&quot;1.2.3.4&quot;<br>&gt; cidr_netmask=&quot;255.255.255.0&quot; nic=&quot;e1000g1&quot;<br>&gt; primitive xstorage2_wan2_IP ocf:heartbeat:IPaddr params ip=&quot;1.2.3.5&quot;<br>&gt; cidr_netmask=&quot;255.255.255.0&quot; nic=&quot;e1000g1&quot;<br>&gt; <br>&gt; location xstorage1_wan1_IP_pref xstorage1_wan1_IP 100: xstorage1<br>&gt; location xstorage2_wan2_IP_pref xstorage2_wan2_IP 100: xstorage2<br>&gt; <br>&gt; They get configured, but then I get this in crm status:<br>&gt; <br>&gt; xstorage1_wan1_IP (ocf::heartbeat:IPaddr): Stopped<br>&gt; xstorage2_wan2_IP (ocf::heartbeat:IPaddr): Stopped<br>&gt; <br>&gt; Failed Actions:<br>&gt; * xstorage1_wan1_IP_start_0 on xstorage1 &#39;not installed&#39; (5): call=20,<br>&gt; status=complete, exitreason=&#39;Setup problem: couldn&#39;t find command:<br>&gt; /usr/bin/gawk&#39;,<br>&gt; last-rc-change=&#39;Thu Aug 25 17:50:32 2016&#39;, queued=1ms, exec=158ms<br>&gt; * xstorage2_wan2_IP_start_0 on xstorage1 &#39;not installed&#39; (5): call=22,<br>&gt; status=complete, exitreason=&#39;Setup problem: couldn&#39;t find command:<br>&gt; /usr/bin/gawk&#39;,<br>&gt; last-rc-change=&#39;Thu Aug 25 17:50:33 2016&#39;, queued=1ms, exec=29ms<br>&gt; * xstorage1_wan1_IP_start_0 on xstorage2 &#39;not installed&#39; (5): call=22,<br>&gt; status=complete, exitreason=&#39;Setup problem: couldn&#39;t find command:<br>&gt; /usr/bin/gawk&#39;,<br>&gt; last-rc-change=&#39;Thu Aug 25 17:50:30 2016&#39;, queued=1ms, exec=36ms<br>&gt; * xstorage2_wan2_IP_start_0 on xstorage2 &#39;not installed&#39; (5): call=20,<br>&gt; status=complete, exitreason=&#39;Setup problem: couldn&#39;t find command:<br>&gt; /usr/bin/gawk&#39;,<br>&gt; last-rc-change=&#39;Thu Aug 25 17:50:29 2016&#39;, queued=0ms, exec=150ms<br>&gt; <br>&gt; <br>&gt; The crm configure process already checked of the presence of the<br>&gt; required IPaddr shell, and it was ok.<br>&gt; Now looks like it&#39;s looking for &quot;/usr/bin/gawk&quot;, and that is actually there!<br>&gt; Is there any known incompatibility with the mixed heartbeat ocf ? Should<br>&gt; I use corosync specific ocf files or something else?<br><br>&quot;heartbeat&quot; in this case is just an OCF provider name, and has nothing<br>to do with the heartbeat messaging layer, other than having its origin<br>in the same project. There actually has been a recent proposal to rename<br>the provider to &quot;clusterlabs&quot; to better reflect the current reality.<br><br>The &quot;couldn&#39;t find command&quot; message comes from the ocf-binaries shell<br>functions. If you look at have_binary() there, it uses sed and which,<br>and I&#39;m guessing that fails on your OS somehow. You may need to patch it.<br><br>&gt; Thanks again!<br>&gt; <br>&gt; Gabriele<br>&gt; <br>&gt; ----------------------------------------------------------------------------------------<br>&gt; *Sonicle S.r.l. *: http://www.sonicle.com &lt;http://www.sonicle.com/&gt;<br>&gt; *Music: *http://www.gabrielebulfon.com &lt;http://www.gabrielebulfon.com/&gt;<br>&gt; *Quantum Mechanics : *http://www.cdbaby.com/cd/gabrielebulfon<br><br>_______________________________________________<br>Users mailing list: Users@clusterlabs.org<br>http://clusterlabs.org/mailman/listinfo/users<br><br>Project Home: http://www.clusterlabs.org<br>Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf<br>Bugs: http://bugs.clusterlabs.org<br><br><br></tt></blockquote></div>