News for hackers. Stuff that matters.
Re:How I spend my first 5 minutes on a server by dave1010uk on Monday March 04, 2013 @03:44AM (#5317318)
Couple of related questions:

1) Many people seem to be recommending Puppet / Chef. How many servers or installs do you need before this is a good ROI? (Over using odd bash scripts or cPanel/WHM)

2) Am I right in thinking kernel updates don't get applied until the server is rebooted? If so, how / when do you manage this?

Re:How I spend my first 5 minutes on a server by stevekemp on Monday March 04, 2013 @03:50AM (#5317331)
I've always thought 10 was the magic cut-off. I can imagine running "apt-get update && apt-get upgrade" ten times in a row before I get annoyed. Any more than that and I'd want scripting.

Really there's nothing stopping you from automating "some" machines and later pushing that out to the rest of your hosts. (Or just setting up trivial automation "configure NTP", "Disable root logins", "Append 'steve' to sudoers" - and keeping doing the rest by hand until you're confident.)

FWIW I use my toy configuration system, slaughter:

http://www.steve.org.uk/Software/slaughter/

Re:How I spend my first 5 minutes on a server by crucialfelix on Monday March 04, 2013 @06:55AM (#5317785)
I wasted several days trying to get a good puppet setup. In the end it still needs more work, and the deploy system is complicated. I only have 4 boxes to manage.

Ansible looks great. Much lighter weight but it can still scale up.

Puppet and chef would both benefit by supporting single run light weight modes of usage.

Re:How I spend my first 5 minutes on a server by pindi on Monday March 04, 2013 @11:24AM (#5318915)
Puppet does have a single run mode of usage: http://docs.puppetlabs.com/man/apply.html

I use it to manage just 5 servers, with a Fabric script that rsyncs the manifests up to the servers then runs `puppet apply` to apply the changes.

Re:How I spend my first 5 minutes on a server by crucialfelix on Monday March 04, 2013 @05:50PM (#5321573)
true, and that's exactly what I was doing. rsync and then run puppet apply. that's just a lot of grinding if you only made one little typo.

and I see here I have capfiles and a system to bootstrap a new server. way too much stuff for this scale. (4 servers)

Re:How I spend my first 5 minutes on a server by kelnos on Monday March 04, 2013 @06:32AM (#5317728)
I think it's more about future planning. If you only have a few hosts now, but know that in the future you'll have many, then you're just going to have to rewrite all your bash scripts anyway. Might as well do them "right" from the start. Learning Chef isn't that hard, and it won't take you that much longer for the first host.
Re:How I spend my first 5 minutes on a server by lmm on Monday March 04, 2013 @04:10AM (#5317387)
Puppet/chef are certainly worth it for 3 machines. If it's an important machine they're worth it for even 1 machine (so that you have a disaster recovery procedure).
Re:How I spend my first 5 minutes on a server by justincormack on Monday March 04, 2013 @04:45AM (#5317493)
Re 2 yes that is true. You need to build this in to your maintenance.
Re:How I spend my first 5 minutes on a server by dave1010uk on Monday March 04, 2013 @05:27AM (#5317591)
Do you just reboot all machines every month or so or do you keep track of when kernel security patches come out some how?
Re:How I spend my first 5 minutes on a server by justincormack on Monday March 04, 2013 @02:17PM (#5320111)
Given that there have been real kernel security issues recently I would reboot sooner. You can do a risk assessment per issue. Monthly automated doesn't seem the best option.