<div style="font-family: Arial; font-size: 13;">YESSS!!! That was it! :)))<br>Upgraded to 1.1.15, rebuilt and the rng files contain a lot more stuff.<br>Packaged, published, installed on the test machine: got all my instructions as is!!! :)))<br><br>...now last steps....making our custom agents/shells work on this new setup ;)<br><br>For example, what does the yellow &quot;stopped&quot; state mean?<br>Here is the last rows of crm output after my config instructions :<br><br>Full list of resources:<br><br> xstorage1-stonith   (stonith:external/ssh-sonicle): Stopped<br> xstorage2-stonith   (stonith:external/ssh-sonicle): Stopped<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: Ken Gaillot &lt;kgaillot@redhat.com&gt;<br>A: users@clusterlabs.org <br>Data: 25 agosto 2016 15.55.35 CEST<br>Oggetto: Re: [ClusterLabs] converting configuration<br><br></tt><blockquote style="BORDER-LEFT: #000080 2px solid; MARGIN-LEFT: 5px; PADDING-LEFT: 5px"><tt>On 08/25/2016 03:07 AM, Gabriele Bulfon wrote:<br>&gt; Also found this :<br>&gt; <br>&gt; sonicle@xstorage1:~# crm_verify -LV<br>&gt; xmlRelaxNGParseElement: element has no content<br>&gt; error: crm_abort: validate_with_relaxng: Triggered assert at xml.c:5285<br>&gt; : ctx-&gt;rng != NULL<br>&gt; error: validate_with_relaxng: Could not find/parse<br>&gt; /usr/share/pacemaker/pacemaker-2.4.rng<br>&gt; error: unpack_resources: Resource start-up disabled since no STONITH<br>&gt; resources have been defined<br>&gt; error: unpack_resources: Either configure some or disable STONITH with<br>&gt; the stonith-enabled option<br>&gt; error: unpack_resources: NOTE: Clusters with shared data need STONITH to<br>&gt; ensure data integrity<br>&gt; Errors found during check: config not valid<br>&gt; <br>&gt; while pacemaker-2.4.rng is there, containing:<br>&gt; <br>&gt; &lt;?xml version=&#39;1.0&#39; encoding=&#39;UTF-8&#39;?&gt;<br>&gt; &lt;grammar xmlns=&#39;http://relaxng.org/ns/structure/1.0&#39;<br>&gt; datatypeLibrary=&#39;http://www.w3.org/2001/XMLSchema-datatypes&#39;&gt;<br>&gt; &lt;start&gt;<br>&gt; &lt;element name=&#39;cib&#39;&gt;<br>&gt; &lt;element name=&#39;configuration&#39;&gt;<br>&gt; &lt;interleave&gt;<br>&gt; &lt;externalRef href=&quot;fencing-2.4.rng&quot;/&gt;<br>&gt; &lt;/interleave&gt;<br>&gt; &lt;/element&gt;<br>&gt; &lt;element name=&#39;status&#39;&gt;<br>&gt; &lt;/element&gt;<br>&gt; &lt;/element&gt;<br>&gt; &lt;/start&gt;<br>&gt; &lt;/grammar&gt;<br>&gt; <br>&gt; and fencing-2.4.rng is there containing elements for stonith...<br><br>That looks odd ... there should be a lot more there than just fencing<br>(options, nodes, constraints, etc.).<br><br>The pacemaker-*.rng files are automatically generated by the Makefile<br>from the other *.rng files. Something might be going wrong in that<br>process on your system. It uses sed and sort, so most likely the syntax<br>usage is different from what&#39;s on Linux.<br><br>You might try pacemaker-1.1.15 first; it had some non-Linux<br>compatibility improvements that might apply to your OS. It also has a<br>good number of bug fixes.<br><br><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>&gt; <br>&gt; ------------------------------------------------------------------------<br>&gt; <br>&gt; <br>&gt; *Da:* Gabriele Bulfon &lt;gbulfon@sonicle.com&gt;<br>&gt; *A:* Kristoffer Gr&ouml;nlund &lt;kgronlund@suse.com&gt; Cluster Labs - All topics<br>&gt; related to open-source clustering welcomed &lt;users@clusterlabs.org&gt;<br>&gt; *Data:* 25 agosto 2016 10.01.17 CEST<br>&gt; *Oggetto:* Re: [ClusterLabs] converting configuration<br>&gt; <br>&gt; <br>&gt;     Yes I&#39;m packaging for our distro from sources, pacemaker 1.1.14,<br>&gt;     corosync 2.4.1 and crm-shell 2.2.1<br>&gt;     Our distro is an illumos distro, XStreamOS.<br>&gt;     How can I check where it&#39;s looking for available primitives?<br>&gt; <br>&gt;     Here&#39;s the output from crm -dR:<br>&gt; <br>&gt;     sonicle@xstorage1:~# crm -dR<br>&gt;     .EXT /usr/libexec/pacemaker/crmd version<br>&gt;     DEBUG: pacemaker version: [err: ][out: CRM Version: 1.1.14 (70404b0)]<br>&gt;     DEBUG: found pacemaker version: 1.1.14<br>&gt;     crm(live)# configure<br>&gt;     .INP: configure<br>&gt;     .EXT cibadmin -Ql<br>&gt;     crm(live)configure# show<br>&gt;     .INP: show<br>&gt;     node 1: xstorage1<br>&gt;     node 2: xstorage2<br>&gt;     property cib-bootstrap-options: \<br>&gt;     have-watchdog=false \<br>&gt;     dc-version=1.1.14-70404b0 \<br>&gt;     cluster-infrastructure=corosync<br>&gt;     crm(live)configure# primitive xstorage1-stonith<br>&gt;     stonith:external/ssh-sonicle \<br>&gt;     .INP: primitive xstorage1-stonith stonith:external/ssh-sonicle \<br>&gt;     &gt; op monitor interval=&quot;25&quot; timeout=&quot;25&quot; start-delay=&quot;25&quot; \<br>&gt;     .INP: op monitor interval=&quot;25&quot; timeout=&quot;25&quot; start-delay=&quot;25&quot; \<br>&gt;     &gt; params hostlist=&quot;xstorage1&quot;<br>&gt;     .INP: params hostlist=&quot;xstorage1&quot;<br>&gt;     ERROR: primitive not supported by the RNG schema<br>&gt;     crm(live)configure#<br>&gt; <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>&gt; <br>&gt; <br>&gt; <br>&gt;     ----------------------------------------------------------------------------------<br>&gt; <br>&gt;     Da: Kristoffer Gr&ouml;nlund &lt;kgronlund@suse.com&gt;<br>&gt;     A: gbulfon@sonicle.com Cluster Labs - All topics related to<br>&gt;     open-source clustering welcomed &lt;users@clusterlabs.org&gt; Cluster Labs<br>&gt;     - All topics related to open-source clustering welcomed<br>&gt;     &lt;users@clusterlabs.org&gt;<br>&gt;     Data: 24 agosto 2016 20.40.08 CEST<br>&gt;     Oggetto: Re: [ClusterLabs] converting configuration<br>&gt; <br>&gt;         Gabriele Bulfon &lt;gbulfon@sonicle.com&gt; writes:<br>&gt; <br>&gt;         &gt; Hi,<br>&gt;         &gt; In my previous tests I used a prebuilt older<br>&gt;         pacemaker/heartbeat package with a configuration like:<br>&gt;         &gt; primitive xstor2-stonith stonith:external/ssh-sonicle \ op<br>&gt;         monitor interval=&quot;25&quot; timeout=&quot;25&quot; start-delay=&quot;25&quot; \ params<br>&gt;         hostlist=&quot;xstor2&quot;primitive xstor3-stonith<br>&gt;         stonith:external/ssh-sonicle \ op monitor interval=&quot;25&quot;<br>&gt;         timeout=&quot;25&quot; start-delay=&quot;25&quot; \ params hostlist=&quot;xstor3&quot;location<br>&gt;         xstor2-stonith-pref xstor2-stonith -inf: xstor2location<br>&gt;         xstor3-stonith-pref xstor3-stonith -inf: xstor3property<br>&gt;         stonith-action=poweroffcommit<br>&gt;         &gt; Now that I upgraded everything from sources and moved over to<br>&gt;         corosync 2, these commands are not recognized, refused<br>&gt;         &gt; with &quot;primitive not supported by the RNG schema&quot;.<br>&gt;         &gt; Is there any way I can easily convert my old commands into the<br>&gt;         new ones?<br>&gt;         &gt; Gabriele<br>&gt; <br>&gt;         Hmm, that is a misleading error message. It sounds like crmsh isn&#39;t<br>&gt;         finding the Pacemaker schema correctly. Try running it with -dR<br>&gt;         arguments and see if you get any strange errors.<br>&gt; <br>&gt;         Did you build from source yourself? What distribution are you<br>&gt;         running?<br>&gt; <br>&gt;         You may need some different arguments to configure for it to locate<br>&gt;         everything correctly.<br>&gt; <br>&gt;         Cheers,<br>&gt;         Kristoffer<br>&gt; <br>&gt;         -- <br>&gt;         // Kristoffer Gr&ouml;nlund<br>&gt;         // kgronlund@suse.com<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>