In your situation, I'd be tempted to not run the puppet agent in daemon
mode at all so that you can retain full control of when the agents will
check in.  I can't see how the splay option will help avoid concurrent
checkins:

Imagine HA node 1 is rebooted for whatever reason and comes back up at
12:00 at which point the puppet agent checks in due to its boot script
running.  Its splay parameter is set to true, its runinterval is the
default 30m and its psuedo-random splay time is 5 mins.  It will therefore
next check in at 12:35.

Now, HA node 2 just so happens to have checked in last at 11:55 and its
pseudo-random splay time is 10 mins, so it's going to next check in at
12:35.  As you, by definition, cannot control the pseudo-random delay time
you cannot guarantee the availability of services managed by Puppet.

So, instead of running puppet in daemon mode, I'd look to use something
like mcollective to control when the agents check in with the master.

Kind Regards,

Matt.


On 29 August 2013 21:50, <rjbutl...@gmail.com> wrote:

> How do I avoid a situation where all of my Linux servers execute a service
> restart at the same time upon receiving a new configuration change via
> Puppet?  I am trying to avoid any possibility that the service would be
> unavailable for any length of time.  The servers are behind a load
> balancer.  At least one node needs to remain available.  Any idea how I
> might configure Puppet to work in this HA environment?****
>
> Thank you for your feedback!
>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to puppet-users+unsubscr...@googlegroups.com.
> To post to this group, send email to puppet-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/puppet-users.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to