<div style="font-family: Arial; font-size: 13;">Also found this :<br><br>sonicle@xstorage1:~# crm_verify -LV<br>xmlRelaxNGParseElement: element has no content<br>   error: crm_abort:    validate_with_relaxng: Triggered assert at xml.c:5285 : ctx-&gt;rng != NULL<br>   error: validate_with_relaxng:        Could not find/parse /usr/share/pacemaker/pacemaker-2.4.rng<br>   error: unpack_resources:     Resource start-up disabled since no STONITH resources have been defined<br>   error: unpack_resources:     Either configure some or disable STONITH with the stonith-enabled option<br>   error: unpack_resources:     NOTE: Clusters with shared data need STONITH to ensure data integrity<br>Errors found during check: config not valid<br><br>while pacemaker-2.4.rng is there, containing:<br><br>&lt;?xml version=&#39;1.0&#39; encoding=&#39;UTF-8&#39;?&gt;<br>&lt;grammar xmlns=&#39;http://relaxng.org/ns/structure/1.0&#39; datatypeLibrary=&#39;http://www.w3.org/2001/XMLSchema-datatypes&#39;&gt;<br>  &lt;start&gt;<br>    &lt;element name=&#39;cib&#39;&gt;<br>      &lt;element name=&#39;configuration&#39;&gt;<br>        &lt;interleave&gt;<br>          &lt;externalRef href=&quot;fencing-2.4.rng&quot;/&gt;<br>        &lt;/interleave&gt;<br>      &lt;/element&gt;<br>      &lt;element name=&#39;status&#39;&gt;<br>      &lt;/element&gt;<br>    &lt;/element&gt;<br>  &lt;/start&gt;<br>&lt;/grammar&gt;<br><br>and fencing-2.4.rng is there containing elements for stonith...<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><br><hr><br><br><font face="Arial, Helvetica, sans-serif" size="2"><b>Da:</b> Gabriele Bulfon &lt;gbulfon@sonicle.com&gt;<br><b>A:</b> Kristoffer Gr&ouml;nlund &lt;kgronlund@suse.com&gt; Cluster Labs - All topics related to open-source clustering welcomed &lt;users@clusterlabs.org&gt; <br><b>Data:</b> 25 agosto 2016 10.01.17 CEST<br><b>Oggetto:</b> Re: [ClusterLabs] converting configuration<br></font><br><br><blockquote style="BORDER-LEFT: #000080 2px solid; MARGIN-LEFT: 5px; PADDING-LEFT: 5px"><div style="font-family: Arial; font-size: 13;">Yes I&#39;m packaging for our distro from sources, pacemaker 1.1.14, corosync 2.4.1 and crm-shell 2.2.1<br>Our distro is an illumos distro, XStreamOS.<br>How can I check where it&#39;s looking for available primitives?<br><br>Here&#39;s the output from crm -dR:<br><br>sonicle@xstorage1:~# crm -dR<br>.EXT /usr/libexec/pacemaker/crmd version<br>DEBUG: pacemaker version: [err: ][out: CRM Version: 1.1.14 (70404b0)]<br>DEBUG: found pacemaker version: 1.1.14<br>crm(live)# configure<br>.INP: configure<br>.EXT cibadmin -Ql<br>crm(live)configure# show<br>.INP: show<br>node 1: xstorage1<br>node 2: xstorage2<br>property cib-bootstrap-options: \<br>        have-watchdog=false \<br>        dc-version=1.1.14-70404b0 \<br>        cluster-infrastructure=corosync<br>crm(live)configure# primitive xstorage1-stonith stonith:external/ssh-sonicle \<br>.INP: primitive xstorage1-stonith stonith:external/ssh-sonicle \<br>   &gt; op monitor interval=&quot;25&quot; timeout=&quot;25&quot; start-delay=&quot;25&quot; \<br>.INP: op monitor interval=&quot;25&quot; timeout=&quot;25&quot; start-delay=&quot;25&quot; \<br>   &gt; params hostlist=&quot;xstorage1&quot;<br>.INP: params hostlist=&quot;xstorage1&quot;<br>ERROR: primitive not supported by the RNG schema<br>crm(live)configure#<br><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: Kristoffer Gr&ouml;nlund &lt;kgronlund@suse.com&gt;<br>A: gbulfon@sonicle.com Cluster Labs - All topics related to open-source clustering welcomed &lt;users@clusterlabs.org&gt; Cluster Labs - All topics related to open-source clustering welcomed &lt;users@clusterlabs.org&gt; <br>Data: 24 agosto 2016 20.40.08 CEST<br>Oggetto: Re: [ClusterLabs] converting configuration<br><br></tt><blockquote style="BORDER-LEFT: #000080 2px solid; MARGIN-LEFT: 5px; PADDING-LEFT: 5px"><tt>Gabriele Bulfon &lt;gbulfon@sonicle.com&gt; writes:<br><br>&gt; Hi,<br>&gt; In my previous tests I used a prebuilt older pacemaker/heartbeat package with a configuration like:<br>&gt; primitive xstor2-stonith stonith:external/ssh-sonicle \        op monitor interval=&quot;25&quot; timeout=&quot;25&quot; start-delay=&quot;25&quot; \        params hostlist=&quot;xstor2&quot;primitive xstor3-stonith stonith:external/ssh-sonicle \        op monitor interval=&quot;25&quot; timeout=&quot;25&quot; start-delay=&quot;25&quot; \        params hostlist=&quot;xstor3&quot;location xstor2-stonith-pref xstor2-stonith -inf: xstor2location xstor3-stonith-pref xstor3-stonith -inf: xstor3property stonith-action=poweroffcommit<br>&gt; Now that I upgraded everything from sources and moved over to corosync 2, these commands are not recognized, refused<br>&gt; with &quot;primitive not supported by the RNG schema&quot;.<br>&gt; Is there any way I can easily convert my old commands into the new ones?<br>&gt; Gabriele<br><br>Hmm, that is a misleading error message. It sounds like crmsh isn&#39;t<br>finding the Pacemaker schema correctly. Try running it with -dR<br>arguments and see if you get any strange errors.<br><br>Did you build from source yourself? What distribution are you running?<br><br>You may need some different arguments to configure for it to locate<br>everything correctly.<br><br>Cheers,<br>Kristoffer<br><br>-- <br>// Kristoffer Gr&ouml;nlund<br>// kgronlund@suse.com<br><br><br></tt></blockquote></div>

<pre>_______________________________________________
Users mailing list: Users@clusterlabs.org
http://clusterlabs.org/mailman/listinfo/users

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org
</pre></blockquote></div>