News for hackers. Stuff that matters.
Re:I usually run 'w' first when troubleshooting unknown mach... by technion on Tuesday March 27, 2018 @04:26AM (#16686422)
Even the word "small" is quite relative. One of my clients is big enough that you've probably heard of them, and their website/app (which is the company's only thing) is one LAMP server. That was only last year upgraded from a Windows 2003 WAMP server on a desktop. I tell friends what I did there and they say "wow you must be really good at Puppet at scale" based on assumptions.
Re:I usually run 'w' first when troubleshooting unknown mach... by thunfischbrot on Tuesday March 27, 2018 @07:41AM (#16687346)
Most people have yet to discover what a tiny little machine can do if you spend some time addressing bottlenecks. I have fond memories of running websites on the cheapest VPSs I could find, and getting very respectable performance from them with little more than cutting down on resource-hungry services, going static html whenever possible and being vigilant about any resources loaded by the browser.

See also https://lowendbox.com/ and https://hackernoon.com/10-things-i-learned-making-the-fastes...

Re:I usually run 'w' first when troubleshooting unknown mach... by ryandrake on Tuesday March 27, 2018 @09:39AM (#16688187)
I run a couple of very small scale (mostly static content) web sites and E-mail serving and a few other services on a single "Cheapest VPS" and have never gotten interested in Puppet or Ansible or any of the other things mentioned in this thread. It just seems like adding abstraction and automation on top of things that are not worth abstracting or automating. To me, these things are Yet Another Software That Could Fail. When I need to change a configuration file, I ssh in, sudo vi /etc/blahblah.conf and get on with my life.
Re:I usually run 'w' first when troubleshooting unknown mach... by jethro_tell on Tuesday March 27, 2018 @04:51PM (#16692625)
I just use versioned Makefiles for my very simple personal projects with my artifacts and configs in git. Pull the repo to the box, and run the make file. I commit config file changes then pull and make as needed. Everything is simple, it's manual automation so there is nothing running, but it's repeatable.

I put the bootstrap into an OS package and my server images point to my personal repo so I can configure run and build time dependencies as needed. At the end of the day, I can get a new server, run update, install my package and walk away and everything should be running, but it takes almost no additional overhead over doing it all by hand the first time.

Re:I usually run 'w' first when troubleshooting unknown mach... by theonealtair on Tuesday March 27, 2018 @10:35AM (#16688789)
I also was never interested in Puppet, however I was only interested in Ansible, and only use it as sort of an automated check list when setting up my server, in case I need to rebuild the server, the tedious steps can be automated. But I've never used it for multiple server management.
Re:I usually run 'w' first when troubleshooting unknown mach... by kelnos on Tuesday March 27, 2018 @10:45AM (#16688902)
So what happens when the hard drive fails and you lose all the data and configuration on the box?
Re:I usually run 'w' first when troubleshooting unknown mach... by nickpsecurity on Tuesday March 27, 2018 @12:25PM (#16690057)
Avoiding the huge, fast-changing software for configuration management doesn't mean you can't have CM or high availability on cheap boxes. The OpenVMS approach (see Section VI) combined good filesystem, clustering, optional OS-level virtualization, and distributed lock manager to have clustered systems that ran for years without downtime. Record was 17.

http://h41379.www4.hpe.com/openvms/whitepapers/high_avail.ht...

Those few building blocks done in a highly-robust way on one of the stable, Linux platforms could probably achieve the same thing. Just RAID 0, a good filesystem, clustering itself, and backups would get far. I know there's Linux-oriented products out there but I don't know if their availability or failover time have caught up yet.

Re:I usually run 'w' first when troubleshooting unknown mach... by ryandrake on Tuesday March 27, 2018 @11:32AM (#16689471)
My VPS host fixes it and I restore from backup.
Re:I usually run 'w' first when troubleshooting unknown mach... by teddyh on Tuesday March 27, 2018 @01:04PM (#16690526)
That’s what RAID and daily backups are for.
Re:I usually run 'w' first when troubleshooting unknown mach... by telchar on Tuesday March 27, 2018 @02:07PM (#16691162)
Yep. I got to say to my boss recently "you know those 2-4 servers I requested? You can forgot about that now, I optimized some things and we have plenty of capacity now on the one machine we've been using." That's an easy conversation to have.