[ClusterLabs] converting configuration

Jan Pokorný jpokorny at redhat.com
Wed Aug 24 17:26:05 UTC 2016


Hello ,

[First, please note that your email sending application does not
treat plaintext part of what is sent correctly -- formatting,
at least new lines, are lost, which impacts readability in both
text-only email clients and on ClusterLabs users ML archive pages:
http://oss.clusterlabs.org/pipermail/users/2016-August/003784.html
Perhaps, it could be remediated by instructing you preferred app
to compose emails in plaintext right away (or to send plaintext
only).

Lower, I reformatted your question manually...]

On 24/08/16 18:18 +0200, Gabriele Bulfon wrote:
> In my previous tests I used a prebuilt older pacemaker/heartbeat
> package with a configuration like:
> 
> 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: xstor2
> location xstor3-stonith-pref xstor3-stonith -inf: xstor3
> property stonith-action=poweroffcommit
> 
> Now that I upgraded everything from sources and moved over to
> corosync 2, these commands are not recognized, refused with
> "primitive not supported by the RNG schema".

Element "primitive" is really long with us and definitely not going
away any time soon.  There's likely an issue elsewhere, just resulting
with such a misleading message.

> Is there any way I can easily convert my old commands into the new
> ones?

Others can advise on crm usage, or help you troubleshoot that message
first.

-- 
Jan (Poki)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.clusterlabs.org/pipermail/users/attachments/20160824/10ae177b/attachment-0002.sig>


More information about the Users mailing list