[ClusterLabs] Change resource-stickiness during working hours with crmsh

Kostiantyn Ponomarenko konstantin.ponomarenko at gmail.com
Wed Nov 9 11:36:59 EST 2016


Thank you for the answer, Kristoffer.

Thank you,
Kostia

On Sat, Nov 5, 2016 at 10:55 PM, Kristoffer Grönlund <kgronlund at suse.com>
wrote:

> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/users/attachments/20161109/be604438/attachment-0003.html>


More information about the Users mailing list