<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 "stopped" 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 <kgaillot@redhat.com><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>> 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<br>> : ctx->rng != NULL<br>> error: validate_with_relaxng: Could not find/parse<br>> /usr/share/pacemaker/pacemaker-2.4.rng<br>> error: unpack_resources: Resource start-up disabled since no STONITH<br>> resources have been defined<br>> error: unpack_resources: Either configure some or disable STONITH with<br>> the stonith-enabled option<br>> error: unpack_resources: NOTE: Clusters with shared data need STONITH to<br>> 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'<br>> 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>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'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>> ----------------------------------------------------------------------------------------<br>> *Sonicle S.r.l. *: http://www.sonicle.com <http://www.sonicle.com/><br>> *Music: *http://www.gabrielebulfon.com <http://www.gabrielebulfon.com/><br>> *Quantum Mechanics : *http://www.cdbaby.com/cd/gabrielebulfon<br>> <br>> ------------------------------------------------------------------------<br>> <br>> <br>> *Da:* Gabriele Bulfon <gbulfon@sonicle.com><br>> *A:* Kristoffer Grönlund <kgronlund@suse.com> Cluster Labs - All topics<br>> related to open-source clustering welcomed <users@clusterlabs.org><br>> *Data:* 25 agosto 2016 10.01.17 CEST<br>> *Oggetto:* Re: [ClusterLabs] converting configuration<br>> <br>> <br>>     Yes I'm packaging for our distro from sources, pacemaker 1.1.14,<br>>     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<br>>     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>>     ----------------------------------------------------------------------------------------<br>>     *Sonicle S.r.l. *: http://www.sonicle.com <http://www.sonicle.com/><br>>     *Music: *http://www.gabrielebulfon.com <http://www.gabrielebulfon.com/><br>>     *Quantum Mechanics : *http://www.cdbaby.com/cd/gabrielebulfon<br>> <br>> <br>> <br>>     ----------------------------------------------------------------------------------<br>> <br>>     Da: Kristoffer Grönlund <kgronlund@suse.com><br>>     A: gbulfon@sonicle.com Cluster Labs - All topics related to<br>>     open-source clustering welcomed <users@clusterlabs.org> Cluster Labs<br>>     - All topics related to open-source clustering welcomed<br>>     <users@clusterlabs.org><br>>     Data: 24 agosto 2016 20.40.08 CEST<br>>     Oggetto: Re: [ClusterLabs] converting configuration<br>> <br>>         Gabriele Bulfon <gbulfon@sonicle.com> writes:<br>> <br>>         > Hi,<br>>         > In my previous tests I used a prebuilt older<br>>         pacemaker/heartbeat package with a configuration like:<br>>         > primitive xstor2-stonith stonith:external/ssh-sonicle \ op<br>>         monitor interval="25" timeout="25" start-delay="25" \ params<br>>         hostlist="xstor2"primitive xstor3-stonith<br>>         stonith:external/ssh-sonicle \ op monitor interval="25"<br>>         timeout="25" start-delay="25" \ params hostlist="xstor3"location<br>>         xstor2-stonith-pref xstor2-stonith -inf: xstor2location<br>>         xstor3-stonith-pref xstor3-stonith -inf: xstor3property<br>>         stonith-action=poweroffcommit<br>>         > Now that I upgraded everything from sources and moved over to<br>>         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<br>>         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<br>>         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>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>