Larry Ludwig
2008-Apr-12 17:46 UTC
[Puppet Users] Question: Do all puppetd run at the same time?
(I know more questions... :-)) I know the default for puppetd is to check puppetmasterd every half hour, but my question does each puppetd check at the same time? Or does it depend when puppetd is started or like a cronjob does it run at the 1/2 hour and hour mark? Is there some randomness to the times they run? My point is if they all run at the same time then if you have a large amount of puppetd running the puppetmaster will get overtaxed during those peek times. Even if they do not all run at the same time can a randomness feature be introduced (ie have an option to allow -+ seconds from the normal internal?) for each puppetd? -L -- Larry Ludwig Empowering Media 1-866-792-0489 x600 Managed and Unmanaged Xen VPSes http://www.hostcube.com/ --~--~---------~--~----~------------~-------~--~----~ 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-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
James Turnbull
2008-Apr-12 17:59 UTC
[Puppet Users] Re: Question: Do all puppetd run at the same time?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Larry Ludwig wrote:> Even if they do not all run at the same time can a randomness feature > be introduced (ie have an option to allow -+ seconds from the normal > internal?) for each puppetd?See the splay option (http://reductivelabs.com/trac/puppet/wiki/ConfigurationReference). Regards James Turnbull - -- James Turnbull (james@lovedthanlost.net) - -- Author of: - - Pulling Strings with Puppet (http://www.amazon.com/gp/product/1590599780/) - - Pro Nagios 2.0 (http://www.amazon.com/gp/product/1590596099/) - - Hardening Linux (http://www.amazon.com/gp/product/1590594444/) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIAPiU9hTGvAxC30ARAobrAKCwWhkUIO03tTNc3iqYy8XK7iVyaACgn7cx 5VKQHyElRwW8UprHre1Cubo=nqOV -----END PGP SIGNATURE----- --~--~---------~--~----~------------~-------~--~----~ 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-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Larry Ludwig
2008-Apr-12 18:44 UTC
[Puppet Users] Re: Question: Do all puppetd run at the same time?
thanks I didn''t see this option. so my guess is correct that all puppetd by default run at the same time unless this option is set? On Apr 12, 1:59 pm, James Turnbull <ja...@lovedthanlost.net> wrote:> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Larry Ludwig wrote: > > Even if they do not all run at the same time can a randomness feature > > be introduced (ie have an option to allow -+ seconds from the normal > > internal?) for each puppetd? > > See the splay option > (http://reductivelabs.com/trac/puppet/wiki/ConfigurationReference). > > Regards > > James Turnbull > > - -- > James Turnbull (ja...@lovedthanlost.net) > - -- > Author of: > - - Pulling Strings with Puppet > (http://www.amazon.com/gp/product/1590599780/) > - - Pro Nagios 2.0 > (http://www.amazon.com/gp/product/1590596099/) > - - Hardening Linux > (http://www.amazon.com/gp/product/1590594444/) > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.7 (MingW32) > Comment: Using GnuPG with Mozilla -http://enigmail.mozdev.org > > iD8DBQFIAPiU9hTGvAxC30ARAobrAKCwWhkUIO03tTNc3iqYy8XK7iVyaACgn7cx > 5VKQHyElRwW8UprHre1Cubo> =nqOV > -----END PGP SIGNATURE-------~--~---------~--~----~------------~-------~--~----~ 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-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Blake Barnett
2008-Apr-12 19:16 UTC
[Puppet Users] Re: Question: Do all puppetd run at the same time?
Yes but usually clients will drift apart due to either manual intervention or just differences in their manifests. It''s actually pretty hard to keep them synchronized if that''s a goal. -Blake On Apr 12, 2008, at 11:44 AM, Larry Ludwig wrote:> > thanks I didn''t see this option. > > so my guess is correct that all puppetd by default run at the same > time unless this option is set? > > > On Apr 12, 1:59 pm, James Turnbull <ja...@lovedthanlost.net> wrote: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> Larry Ludwig wrote: >>> Even if they do not all run at the same time can a randomness >>> feature >>> be introduced (ie have an option to allow -+ seconds from the normal >>> internal?) for each puppetd? >> >> See the splay option >> (http://reductivelabs.com/trac/puppet/wiki/ConfigurationReference). >> >> Regards >> >> James Turnbull >> >> - -- >> James Turnbull (ja...@lovedthanlost.net) >> - -- >> Author of: >> - - Pulling Strings with Puppet >> (http://www.amazon.com/gp/product/1590599780/) >> - - Pro Nagios 2.0 >> (http://www.amazon.com/gp/product/1590596099/) >> - - Hardening Linux >> (http://www.amazon.com/gp/product/1590594444/) >> -----BEGIN PGP SIGNATURE----- >> Version: GnuPG v1.4.7 (MingW32) >> Comment: Using GnuPG with Mozilla -http://enigmail.mozdev.org >> >> iD8DBQFIAPiU9hTGvAxC30ARAobrAKCwWhkUIO03tTNc3iqYy8XK7iVyaACgn7cx >> 5VKQHyElRwW8UprHre1Cubo>> =nqOV >> -----END PGP SIGNATURE----- > >--~--~---------~--~----~------------~-------~--~----~ 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-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Larry Ludwig
2008-Apr-12 20:31 UTC
[Puppet Users] Re: Question: Do all puppetd run at the same time?
actually I don''t want them to update at the same time is the goal. On Apr 12, 3:16 pm, Blake Barnett <sha...@gmail.com> wrote:> Yes but usually clients will drift apart due to either manual > intervention or just differences in their manifests. It''s actually > pretty hard to keep them synchronized if that''s a goal. > > -Blake > > On Apr 12, 2008, at 11:44 AM, Larry Ludwig wrote: > > > > > thanks I didn''t see this option. > > > so my guess is correct that all puppetd by default run at the same > > time unless this option is set? > > > On Apr 12, 1:59 pm, James Turnbull <ja...@lovedthanlost.net> wrote: > >> -----BEGIN PGP SIGNED MESSAGE----- > >> Hash: SHA1 > > >> Larry Ludwig wrote: > >>> Even if they do not all run at the same time can a randomness > >>> feature > >>> be introduced (ie have an option to allow -+ seconds from the normal > >>> internal?) for each puppetd? > > >> See the splay option > >> (http://reductivelabs.com/trac/puppet/wiki/ConfigurationReference). > > >> Regards > > >> James Turnbull > > >> - -- > >> James Turnbull (ja...@lovedthanlost.net) > >> - -- > >> Author of: > >> - - Pulling Strings with Puppet > >> (http://www.amazon.com/gp/product/1590599780/) > >> - - Pro Nagios 2.0 > >> (http://www.amazon.com/gp/product/1590596099/) > >> - - Hardening Linux > >> (http://www.amazon.com/gp/product/1590594444/) > >> -----BEGIN PGP SIGNATURE----- > >> Version: GnuPG v1.4.7 (MingW32) > >> Comment: Using GnuPG with Mozilla -http://enigmail.mozdev.org > > >> iD8DBQFIAPiU9hTGvAxC30ARAobrAKCwWhkUIO03tTNc3iqYy8XK7iVyaACgn7cx > >> 5VKQHyElRwW8UprHre1Cubo> >> =nqOV > >> -----END PGP SIGNATURE-------~--~---------~--~----~------------~-------~--~----~ 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-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Luke Kanies
2008-Apr-13 16:39 UTC
[Puppet Users] Re: Question: Do all puppetd run at the same time?
On Apr 12, 2008, at 12:46 PM, Larry Ludwig wrote:> (I know more questions... :-)) > > I know the default for puppetd is to check puppetmasterd every half > hour, but my question does each puppetd check at the same time? Or > does it depend when puppetd is started or like a cronjob does it run > at the 1/2 hour and hour mark? Is there some randomness to the times > they run?Puppet clients run every half an hour based on when they are started. Given the unlikelihood of rebooting your whole network at once (unless you''re running a cluster), you should see a relatively even load across the runinterval. -- A bore is a man who deprives you of solitude without providing you with company. -- Gian Vincenzo Gravina --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com --~--~---------~--~----~------------~-------~--~----~ 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-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Larry Ludwig
2008-Apr-13 20:11 UTC
[Puppet Users] Re: Question: Do all puppetd run at the same time?
> Puppet clients run every half an hour based on when they are started. > Given the unlikelihood of rebooting your whole network at once (unless > you''re running a cluster), you should see a relatively even load > across the runinterval.Well if say all VPSes are restarted on a node (VPS node that is) then yes they will all be running at the same time. Kernel upgrades that require a reboot will make them sync up to be either close to each other. So it is possible. -L -- Larry Ludwig Empowering Media 1-866-792-0489 x600 Managed and Unmanaged Xen VPSes http://www.hostcube.com/ --~--~---------~--~----~------------~-------~--~----~ 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-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Ohad Levy
2008-Apr-14 01:24 UTC
[Puppet Users] Re: Question: Do all puppetd run at the same time?
Hi Larry, I think that you''ll see that over time, this method have its way of balancing the load over your server. there are a lot of factors, for example your hardware, the host specific manifest, the server load at that specific time etc.. so even if most servers starts more or less at the same time, I have seen in my environment that after some time the load is more or less average across the 30 minutes. Ohad On Mon, Apr 14, 2008 at 4:11 AM, Larry Ludwig <larrylud@gmail.com> wrote:> > > Puppet clients run every half an hour based on when they are started. > > Given the unlikelihood of rebooting your whole network at once (unless > > you''re running a cluster), you should see a relatively even load > > across the runinterval. > > Well if say all VPSes are restarted on a node (VPS node that is) then > yes they will all be running at the same time. > > Kernel upgrades that require a reboot will make them sync up to be > either close to each other. So it is possible. > > -L > -- > Larry Ludwig > Empowering Media > 1-866-792-0489 x600 > Managed and Unmanaged Xen VPSes > http://www.hostcube.com/ > > >--~--~---------~--~----~------------~-------~--~----~ 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-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Vincent Bernat
2008-Apr-14 06:05 UTC
[Puppet Users] Re: Question: Do all puppetd run at the same time?
OoO En cette soirée bien amorcée du dimanche 13 avril 2008, vers 22:11, Larry Ludwig <larrylud@gmail.com> disait:>> Puppet clients run every half an hour based on when they are started. >> Given the unlikelihood of rebooting your whole network at once (unless >> you''re running a cluster), you should see a relatively even load >> across the runinterval.> Well if say all VPSes are restarted on a node (VPS node that is) then > yes they will all be running at the same time.On VPS, I choosed to not run puppet as a daemon on all nodes. I have a crontab like this: vsomething -q vserver --running -- exec /usr/sbin/puppetd --onetime --no-daemonize This will call puppet in sequence on each vserver. -- Use statement labels that mean something. - The Elements of Programming Style (Kernighan & Plauger) --~--~---------~--~----~------------~-------~--~----~ 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-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---