[ClusterLabs] Antw: Re: Where to Find pcs and pcsd for OpenSUSE LEAP 4.23
Ulrich Windl
Ulrich.Windl at rz.uni-regensburg.de
Wed Nov 8 02:22:08 EST 2017
>>> Eric Robinson <eric.robinson at psmnv.com> schrieb am 08.11.2017 um 03:19 in
Nachricht
<MWHPR03MB3296C68F2CC2E26AB3BD3782FA560 at MWHPR03MB3296.namprd03.prod.outlook.com>
>> Which aspects of its constraints handling do you like, and why? I'm
> curious,
>> since I wasn't aware that it was significantly different from crmsh in this
>> respect.
>>
>
> Well, to be fair, in the past I have always configured my clusters by using
> 'crm configure edit' and building the config in a full-screen editor, and then
> saving it. Using that method, I have often had trouble getting my colocations
> and orderings to work properly. You have to use parenthesis and brackets to
> group things, and when you're done and save it, the cluster sometimes
> re-writes your statements for you. When you edit the config again, it looks
> different than what you typed and the resource dependencies are not what you
> wanted. It's very frustrating.
Can you give an example? I never had that (maybe except if the input syntax was wrong anyway).
>
> With pcs, the colocation syntax 'constraint add resource1 with resource2'
> and order syntax 'resource2 then resource1" are very intuitive, and
> cumulative. I always get exactly what I want. The first time I configured a
> cluster with pcs I fell in love with it.
So basically it's "syntactic sugar" what you like, it seems. I admin that the command syntax for ordering and colocation may not be optimal in crm shell.
Regards,
Ulrich
>
> --Eric
>
> _______________________________________________
> Users mailing list: Users at clusterlabs.org
> http://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
More information about the Users
mailing list