Re: [Puppet Users] Agent thundering herd solutions?

2012-04-28 Thread Len Rugen
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  wrote:

> On Fri, Apr 27, 2012 at 3:54 PM, Ryan Bowlby  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 puppet-users@googlegroups.com.
> To unsubscribe from this group, send email to
> puppet-users+unsubscr...@googlegroups.com.
> 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 puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



Re: [Puppet Users] Agent thundering herd solutions?

2012-04-27 Thread Nan Liu
On Fri, Apr 27, 2012 at 3:54 PM, Ryan Bowlby  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 puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



[Puppet Users] Agent thundering herd solutions?

2012-04-27 Thread Ryan Bowlby
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.

Thanks,
Ryan

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.