<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>I found the problem. When I used wget to retrieve the file, I was actually downloading an HTML error page from my proxy server instead of the intended file.
<br>
</p>
<p><br>
</p>
<p>Oops.<br>
</p>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" color="#000000" face="Calibri, sans-serif"><b></b></font><br>
</div>
<div>
<div id="divtagdefaultwrapper" style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif">
<p>I've created a Pacemaker cluster and have created a virtual IP address resource that works properly. I am now attempting to add HAProxy as a resource and I'm having problems.</p>
<p><br>
</p>
<p>- I installed HAProxy on all nodes of the cluster</p>
<p>- I downloaded <a title="Ctrl+Click or tap to follow the link" id="LPlnk131896" href="http://github.com/russki/cluster-agents/raw/master/haproxy">
http://github.com/russki/cluster-agents/raw/master/haproxy</a> to <span class="InlineCode">
<span style="font-size:11.0pt; line-height:107%">/usr/lib/ocf/resource.d/heartbeat/haproxy</span></span> on each node</p>
<p>- I ran chmod 755 on <span class="InlineCode"><span style="font-size:11.0pt; line-height:107%">/usr/lib/ocf/resource.d/heartbeat/haproxy</span></span> on each node</p>
<p>- I configured HAProxy.cfg on each node</p>
<p>- I edited /etc/default/haproxy to enable haproxy<br>
</p>
<p>- I've tested and confirmed that HAProxy will start as a service on the node hosting the virtual IP address<br>
</p>
<p><br>
</p>
<p>However, when I run the command:</p>
<p><br>
</p>
<p>crm configure primitive haproxy ocf:heartbeat:haproxy op monitor interval=15s</p>
<p><br>
</p>
<p>I get output:</p>
<p><br>
</p>
<p><br>
ERROR: None<br>
ERROR: ocf:heartbeat:haproxy: meta-data contains no resource-agent element<br>
ERROR: None<br>
ERROR: ocf:heartbeat:haproxy: meta-data contains no resource-agent element<br>
ERROR: ocf:heartbeat:haproxy: no such resource agent<br>
</p>
<p><br>
</p>
<p>I've been unable to find a solution to this problem in the searching I've done online. Does anyone have any idea what the cause and the solution to this problem might be?</p>
<p><br>
</p>
<p>Thanks,</p>
<p><br>
</p>
<p>-Matthew<br>
</p>
</div>
</div>
</div>
</div>
</body>
</html>