[ClusterLabs] Change resource-stickiness during working hours with crmsh
Kristoffer Grönlund
kgronlund at suse.com
Sat Nov 5 21:55:33 CET 2016
Kostiantyn Ponomarenko <konstantin.ponomarenko at gmail.com> writes:
> Hi,
>
> I was reading about changing default resource stickiness based on time
> rules, but I didn't find a way to set using crmsh. I tried en example
> configuration from
> http://clusterlabs.org/doc/en-US/Pacemaker/1.1/html-single/Pacemaker_Explained/#_using_rules_to_control_cluster_options
> using cibadmin, and "crm configure show" showed me xml lines. Now I wander,
> is this OK?
It is OK in so far as everything will work just fine, it is just crmsh
that doesn't translate the XML to line syntax.
There are some gaps in the support for rule expressions in the line
syntax, and setting the score attribute for rsc_defaults meta_attributes
is unfortunately one of them.
However, this is not harmful and everything will still work fine, it's
just that crmsh will display the XML directly.
Cheers,
Kristoffer
>
> Thank you,
> Kostia
> _______________________________________________
> Users mailing list: Users at 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
--
// Kristoffer Grönlund
// kgronlund at suse.com
More information about the Users
mailing list