[ClusterLabs] Antw: Pacemaker in puppet with cib.xml?

Ulrich Windl Ulrich.Windl at rz.uni-regensburg.de
Fri Jul 22 02:55:42 EDT 2016

>>> "Stephano-Shachter, Dylan" <dstathis at seas.harvard.edu> schrieb am 21.07.2016 um
20:35 in Nachricht
<CAOL2+gVqjGq_dtdiXF9OCvt3PLktGvP0j22fVvJP=_sv0y-UZA at mail.gmail.com>:
> Hello all,
> I want to put the pacemaker config for my two node cluster in puppet but,
> since it is just one cluster, it seems overkill to use the corosync module.
> If I just have puppet push cib.xml to each machine, will that work? To make
> changes, I would just use pcs to update things and then copy cib.xml back
> to puppet. I am not sure what happens when you change cib.xml while the
> cluster is running. Is it safe?

I guess updating the CIB XML via the proper command(!) is rather safe, unless you do that almost at the same time on another node (which is not needed at all, BTW). Directly replacing the file in a running cluster is not supported at all (AFAIK).


> Thanks for any help,
> Dylan

More information about the Users mailing list