Re: changing a few things in our host mgmt tools

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Mar 18, 2011 at 9:19 AM, seth vidal <skvidal@xxxxxxxxxxxxxxxxx> wrote:
> On Fri, 2011-03-18 at 09:16 -0600, Clint Savage wrote:
>> On Fri, Mar 18, 2011 at 9:04 AM, seth vidal <skvidal@xxxxxxxxxxxxxxxxx> wrote:
>> > Hi folks,
>> > Âsome thoughts have been slowly coalescing in my head about how we're
>> > managing our boxes/services and I have some suggestions I've passed by
>> > various folks but I wanted to check them out with everyone:
>> >
>> >
>> > 1. puppetd sucks..... memory. Right now we have puppetd running on every
>> > box and it wakes up every half hour and runs itself. This is fine but in
>> > the time where it is not doing anything it just eats memory for no good
>> > reason. I'd like to suggest we move to a cron-driven model instead of
>> > puppetd. I'd write a simple cron job that runs every half hour to run
>> > puppetd, if a lock file is not found. Pretty straightforward, of
>> > course.
>>
>> I'd be happy to help get this going. ÂI've set up puppet a few times
>> in this fashion now and it's pretty easy to do.
>
> I have a script now ($RANDOM is my friend) - I was just going to drop it
> into a path and put a crontab into /etc/cron.d/
>
> is there more to it than that?

Well, you mentioned that it was puppetd, but I have never run puppetd
standalone since you can in fact run puppet 'filename' and it will
progress through the same way.  Though I do recall you have to have
the files locally, so maybe that's why you are using puppetd in this
way instead?

You are right though, it's not hard.  I was just trying to keep my
chops up with puppet and thought you guys could use a hand here so you
can move on to cooler, more important problems :)

>> 2. monitoring if puppetd has run properly:
>> > Â two things we want to know about puppet runs:
>> > Â a. when they last happened per-box
>> > Â b. if they fell over in a horrible way.
>>
>> It might be overkill, but puppet dashboard is pretty nice. ÂIt's a web
>> interface, kind of like a nagios for puppet, telling you exactly the
>> things you want to know above. ÂPlus, it has some pretty graphs :) ÂIt
>> runs on cron jobs too. ÂI've set it up once about a year ago, pretty
>> nice. ÂI'm sure it's improved some since then. ÂAgain, I'd be happy to
>> help set this up.
>
> feels like overkill. I'm not partial to web interfaces, personally, b/c
> to get them running and accessible on puppet.fp.o requires a fair bit of
> hoop jumping and reverse proxying.
>
> -sv

I debated even suggesting it.  I kind of thought it might be a pain in
that fashion, but I know that it generates some interesting detail.
If I remember correctly, it just grabs the .yaml file so maybe that's
good enough to do with the script you mention above.  I'll put some
other brainwaves into it today, but if nothing comes of it, I'd be
happy to help here too.

Clint
_______________________________________________
infrastructure mailing list
infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/infrastructure



[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux