[ClusterLabs] Q: Configure date_expression rule with crm shell without using XML
Kristoffer Grönlund
kgronlund at suse.de
Tue Sep 4 10:17:30 EDT 2018
On Tue, 2018-09-04 at 16:00 +0200, Ulrich Windl wrote:
> Hi!
>
> I have a question: Can I use crm shell to configure time-based
> meta_attributes without using XML?
> I tried to configure it using XML, but since then the resource
> configuration can be displayed as XML only.
> What I'm trying to do is to configure resource-specific stickiness
> based on time only, wanting to set stickiness to 0 in the evening
> hours to allow re-balancing resources.
>
It should be possible to do this via rule expressions in crm shell, but
not all XML that possible is expressible via crm shell syntax.
If you can show me the XML for the resource which doesn't render in crm
shell I could probably be more specific.
http://crmsh.github.io/man/#topics_Syntax_RuleExpressions
> Regards,
> Ulrich
>
>
>
> _______________________________________________
> Users mailing list: Users at clusterlabs.org
> https://lists.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
>
--
Cheers,
Kristoffer
More information about the Users
mailing list