[ClusterLabs] ocf::heartbeat:IPaddr

Gabriele Bulfon gbulfon at sonicle.com
Thu Aug 25 11:51:50 EDT 2016


Hi,
I'm advancing with this monster cluster on XStreamOS/illumos ;)
In the previous older tests I used heartbeat, and I had these lines to take care of the swapping public IP addresses:
primitive xstorage1_wan1_IP ocf:heartbeat:IPaddr params ip="1.2.3.4" cidr_netmask="255.255.255.0" nic="e1000g1"
primitive xstorage2_wan2_IP ocf:heartbeat:IPaddr params ip="1.2.3.5" cidr_netmask="255.255.255.0" nic="e1000g1"
location xstorage1_wan1_IP_pref xstorage1_wan1_IP 100: xstorage1
location xstorage2_wan2_IP_pref xstorage2_wan2_IP 100: xstorage2
They get configured, but then I get this in crm status:
xstorage1_wan1_IP   (ocf::heartbeat:IPaddr):        Stopped
xstorage2_wan2_IP   (ocf::heartbeat:IPaddr):        Stopped
Failed Actions:
* xstorage1_wan1_IP_start_0 on xstorage1 'not installed' (5): call=20, status=complete, exitreason='Setup problem: couldn't find command: /usr/bin/gawk',
last-rc-change='Thu Aug 25 17:50:32 2016', queued=1ms, exec=158ms
* xstorage2_wan2_IP_start_0 on xstorage1 'not installed' (5): call=22, status=complete, exitreason='Setup problem: couldn't find command: /usr/bin/gawk',
last-rc-change='Thu Aug 25 17:50:33 2016', queued=1ms, exec=29ms
* xstorage1_wan1_IP_start_0 on xstorage2 'not installed' (5): call=22, status=complete, exitreason='Setup problem: couldn't find command: /usr/bin/gawk',
last-rc-change='Thu Aug 25 17:50:30 2016', queued=1ms, exec=36ms
* xstorage2_wan2_IP_start_0 on xstorage2 'not installed' (5): call=20, status=complete, exitreason='Setup problem: couldn't find command: /usr/bin/gawk',
last-rc-change='Thu Aug 25 17:50:29 2016', queued=0ms, exec=150ms
The crm configure process already checked of the presence of the required IPaddr shell, and it was ok.
Now looks like it's looking for "/usr/bin/gawk", and that is actually there!
Is there any known incompatibility with the mixed heartbeat ocf ? Should I use corosync specific ocf files or something else?
Thanks again!
Gabriele
----------------------------------------------------------------------------------------
Sonicle S.r.l.
:
http://www.sonicle.com
Music:
http://www.gabrielebulfon.com
Quantum Mechanics :
http://www.cdbaby.com/cd/gabrielebulfon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clusterlabs.org/pipermail/users/attachments/20160825/2d28a878/attachment-0002.html>


More information about the Users mailing list