[ClusterLabs] best practice for scripting

d tbsky tbskyd at gmail.com
Tue Apr 13 11:32:25 EDT 2021

Tomas Jelinek <tojeline at redhat.com>
> As we are aware of the difficulties of using pcs in scripts, we indeed
> have a long term goal to provide machine readable output from pcs. Since
> pcs started with a focus on producing human readable output, it's a lot
> of work to do. Quite a big part of pcs code base cannot be easily
> switched to producing machine parsable output. We are slowly moving
> towards it (which in some cases may cause text output changes due to
> code reuse), but it is currently not seen as something to be finished in
> a year.

Thanks for the hint. maybe after pacemaker 2.1 the xml output will
become stable.
I will try to start with "pcs status xml" in the future.


More information about the Users mailing list