When we started with splay, over time we found that puppet runs would flock together. If there were network or system load issues causing multiple puppet runs to be slow, they would seem to clear at the same time, then be on the same schedule from then on. As other clients would hit a slow run, they would eventually find themselves in the flock with the others. The foreman chart of number of runs over past few minutes showed this clearly. Our solution was to cron a weekly puppet agent restart on all clients, then they re-splay and life is good.
When we put puppet in crontab, we had puppet manage that and used fqnd-rand to randomize the minute value. On Fri, Apr 27, 2012 at 6:18 PM, Nan Liu <[email protected]> wrote: > On Fri, Apr 27, 2012 at 3:54 PM, Ryan Bowlby <[email protected]> wrote: > > I'm hoping to have all the puppet agents run on a 20 minute interval > > with 480sec on either side. I don't want to launch the agent from cron > > in order to achieve a level of randomness. Is there a splay/random > > option that can be included in the sysconfig file or config file? > > > > I want to continue running the agent as a daemon. > > The puppet options related to this are runinterval, splay, and splaylimit. > > Nan > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
