<div dir="ltr"><div><div><div>Actually I did it for the stonith resource agent external:xen0.<br></div>xm and xl are supposed to be semantically very close and as far as I can see the ocf:heartbeat:Xen agent doesn't seem to use any xm command that shouldn't work with xl.<br>
</div>What error do you have when using xl instead of xm?<br><br></div>Regards.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-07-09 8:39 GMT+02:00 Tobias Reineck <span dir="ltr"><<a href="mailto:tobias.reineck@hotmail.de" target="_blank">tobias.reineck@hotmail.de</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div><div dir="ltr">Hello,<br><br>do you mean the "Xen" script in /usr/lib/ocf/resource.d/heartbeat/ ?<br>I also tried this to replace all "xm" with "xl" with no success.<br>Is it possible that you can show me you RA resource for Xen ?<br>
<br>Best regards<br>T. Reineck<br><br><br><br><div><hr>Date: Tue, 8 Jul 2014 22:27:59 +0200<br>From: <a href="mailto:alxgomz@gmail.com" target="_blank">alxgomz@gmail.com</a><br>To: <a href="mailto:pacemaker@oss.clusterlabs.org" target="_blank">pacemaker@oss.clusterlabs.org</a><br>
Subject: Re: [Pacemaker] Pacemaker with Xen 4.3 problem<div><div class="h5"><br><br><p dir="ltr">IIRC the xen RA uses 'xm'. However fixing the RAin is trivial and worked for me (if you're using the same RA)</p>

<div>Le 2014-07-08 21:39, "Tobias Reineck" <<a href="mailto:tobias.reineck@hotmail.de" target="_blank">tobias.reineck@hotmail.de</a>> a écrit :<br><blockquote style="border-left:1px #ccc solid;padding-left:1ex">




<div><div dir="ltr">Hello,<br><br>I try to build a XEN HA cluster with pacemaker/corosync.<br>Xen 4.3 works on all nodes and also the xen live migration works fine.<br>Pacemaker also works with the cluster virtual IP. <br>

But when I try to create a XEN OCF Heartbeat resource to get online, an error<br>appears:<br><br>######################<br>Failed actions:<br>xen_dns_ha_start_0 on xen01.domain.dom 'unknown error' (1): call=31, status=complete, last-rc-change='Sun Jul 6 15:02:25 2014', queued=0ms, exec=555ms<br>

xen_dns_ha_start_0 on xen02.domain.dom 'unknown error' (1): call=10, status=complete, last-rc-change='Sun Jul 6 15:15:09 2014', queued=0ms, exec=706ms<br>######################<br><br>I added the resource with the command<br>

<br>crm configure primitive xen_dns_ha ocf:heartbeat:Xen \<br>params xmfile="/root/xen_storage/dns_dhcp/dns_dhcp.xen" \<br>op monitor interval="10s" \<br>op start interval="0s" timeout="30s" \<br>

op stop interval="0s" timeout="300s"<br><br>in the /var/log/messages the following error is printed:<br>2014-07-08T21:09:19.885239+02:00 xen01 lrmd[3443]:   notice: operation_finished: xen_dns_ha_stop_0:18214:stderr [ Error: Unable to connect to xend: No such file or directory. Is xend running? ]<br>

<br>I use xen 4.3 with XL toolstack without xend .<br>Is it possible to use pacemaker with Xen 4.3 ?<br>Can anybody please help me ?<br><br>Best regards<br>T. Reineck<br><br><br>                                          </div></div>
<br>_______________________________________________<br>
Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org" target="_blank">Pacemaker@oss.clusterlabs.org</a><br>
<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
<br>
Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
<br></blockquote></div>
<br>_______________________________________________
Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org" target="_blank">Pacemaker@oss.clusterlabs.org</a>
<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a>

Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a>
Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a>
Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a></div></div></div>                                           </div></div>
<br>_______________________________________________<br>
Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
<br>
Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
<br></blockquote></div><br></div>