On Tue, Apr 21, 2009 at 6:56 AM, Mike Renfro <ren...@tntech.edu> wrote:
>
> Jean-Baptiste Quenot wrote:
>> 2009/4/6 Mike Renfro <ren...@tntech.edu>:
>>
>>> I'd normally expect that to work, but I just have puppet keep cron
>>> running, and have a periodic cron job that checks if puppet has died,
>>> and if so, restarts it:
>>
>> Interesting, but why would you expect Puppet to die? Would you expect
>> Apache, Nginx or worse MySQL to die randomly like this?

Why not? Isn't that why we have sitters and puppet ensuring services
are running? :)

my 2c is that we had persistent performance and reliability problems
with puppetd as a daemon, and switched to cron/launchd jobs that
simply run puppetd --onetime --no-daemonize instead.



>
> At the time I put together that recipe, I didn't particularly expect
> puppet to die randomly, but I knew there was a similar practice for
> cfengine users. And though I wouldn't *expect* any of those other
> services to die randomly, I'd certainly monitor all of them with Nagios
> and write puppet manifests to restart them if they're found to be not
> running.
>
> I have had some puppetd's die and get restarted from cron. On the few
> dozen systems I have with puppetd, I don't think it happens even once
> per day for the entire group.
>
> --
> Mike Renfro  / R&D Engineer, Center for Manufacturing Research,
> 931 372-3601 / Tennessee Technological University -- ren...@tntech.edu
>
> >
>



-- 
Nigel Kersten
nig...@google.com
System Administrator
Google, Inc.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to