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

2016-11-09 Thread Kostiantyn Ponomarenko
Thank you for the answer, Kristoffer.

Thank you,
Kostia

On Sat, Nov 5, 2016 at 10:55 PM, Kristoffer Grönlund 
wrote:

> Kostiantyn Ponomarenko  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@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
> // kgronl...@suse.com
>
___
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


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

2016-11-05 Thread Kristoffer Grönlund
Kostiantyn Ponomarenko  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@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
// kgronl...@suse.com

___
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