<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->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><?xml version='1.0' encoding='UTF-8'?><br><grammar xmlns='http://relaxng.org/ns/structure/1.0' datatypeLibrary='http://www.w3.org/2001/XMLSchema-datatypes'><br>  <start><br>    <element name='cib'><br>      <element name='configuration'><br>        <interleave><br>          <externalRef href="fencing-2.4.rng"/><br>        </interleave><br>      </element><br>      <element name='status'><br>      </element><br>    </element><br>  </start><br></grammar><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 <gbulfon@sonicle.com><br><b>A:</b> Kristoffer Grönlund <kgronlund@suse.com> Cluster Labs - All topics related to open-source clustering welcomed <users@clusterlabs.org> <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'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's looking for available primitives?<br><br>Here'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>   > op monitor interval="25" timeout="25" start-delay="25" \<br>.INP: op monitor interval="25" timeout="25" start-delay="25" \<br>   > params hostlist="xstorage1"<br>.INP: params hostlist="xstorage1"<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önlund <kgronlund@suse.com><br>A: gbulfon@sonicle.com Cluster Labs - All topics related to open-source clustering welcomed <users@clusterlabs.org> Cluster Labs - All topics related to open-source clustering welcomed <users@clusterlabs.org> <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 <gbulfon@sonicle.com> writes:<br><br>> Hi,<br>> In my previous tests I used a prebuilt older pacemaker/heartbeat package with a configuration like:<br>> primitive xstor2-stonith stonith:external/ssh-sonicle \        op monitor interval="25" timeout="25" start-delay="25" \        params hostlist="xstor2"primitive xstor3-stonith stonith:external/ssh-sonicle \        op monitor interval="25" timeout="25" start-delay="25" \        params hostlist="xstor3"location xstor2-stonith-pref xstor2-stonith -inf: xstor2location xstor3-stonith-pref xstor3-stonith -inf: xstor3property stonith-action=poweroffcommit<br>> Now that I upgraded everything from sources and moved over to corosync 2, these commands are not recognized, refused<br>> with "primitive not supported by the RNG schema".<br>> Is there any way I can easily convert my old commands into the new ones?<br>> Gabriele<br><br>Hmm, that is a misleading error message. It sounds like crmsh isn'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ö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>