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

2016-07-22 Thread Jan Pokorný
On 21/07/16 21:51 +0200, Jan Pokorný wrote: > Yes, it's counterintuitive to have this asymmetry and it could be > made to work with some added effort at the side of pcs with > the original, disapproved, sequence as-is, but that's perhaps > sound of the future per the referenced pcs bug. > So take

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

2016-07-21 Thread Stephano-Shachter, Dylan
Thanks for all of the help! On Thu, Jul 21, 2016 at 4:16 PM, Jan Pokorný wrote: > On 21/07/16 16:02 -0400, Stephano-Shachter, Dylan wrote: > > So I should be using "pcs cluster cib > file" to get the config and then > > "pcs cluster cib-push --config file" to push it? > >

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

2016-07-21 Thread Stephano-Shachter, Dylan
So I should be using "pcs cluster cib > file" to get the config and then "pcs cluster cib-push --config file" to push it? Also I shouldn't have to add --config to the pcs -f commands right? On Thu, Jul 21, 2016 at 3:51 PM, Jan Pokorný wrote: > On 21/07/16 13:52 -0500, Ken

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

2016-07-21 Thread Jan Pokorný
On 21/07/16 13:52 -0500, Ken Gaillot wrote: > On 07/21/2016 01:35 PM, Stephano-Shachter, Dylan wrote: >> 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

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

2016-07-21 Thread Ken Gaillot
On 07/21/2016 02:20 PM, Stephano-Shachter, Dylan wrote: > I am familiar with pcs cluster cib. > > What I am thinking of doing is running "pcs cluster cib --config > > config.xml" to get a valid config. > > I will then put config.xml on the puppet server and have it push the > file and run "pcs

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

2016-07-21 Thread Stephano-Shachter, Dylan
I am familiar with pcs cluster cib. What I am thinking of doing is running "pcs cluster cib --config > config.xml" to get a valid config. I will then put config.xml on the puppet server and have it push the file and run "pcs cluster cib-push --config config.xml" every hour. Will this cause any

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

2016-07-21 Thread Ken Gaillot
On 07/21/2016 01:35 PM, Stephano-Shachter, Dylan wrote: > 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?

[ClusterLabs] Pacemaker in puppet with cib.xml?

2016-07-21 Thread Stephano-Shachter, Dylan
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