23 points · by scumola · 18y ago · 35 comments
You can't really build a one-size-fits-all distribution for everyone. Sure you can get a basic LAMP stack setup, but 1) is that what you really want in a PHP situation and 2) not everyone is rolling a simple PHP website these days.
If what you're trying to solve is the problem with "scalability" then a Distro isn't gonna help. A carefully constructed architecture and implementation is what will. I personally tend to shy away from a big cluster of apt-get installations in favor of installing certain things straight from source. You can bet that all of the huge sites out there are rolling their own too.. Facebook has their own version of Apache and so do companies like Yahoo.
I think something like this might be good for simple in-house development and testing, but again, not everyone's needs are the same. I totally love server configuration, and oftentimes it gives me a real nice break from coding and designing. There is nothing more fun and satisfying than getting a new server up in just a few hours configured to the best of my abilities.
Whateva hopefully these comments make sense. Been up all night and running on adderall and mcdonalds.
And if you're past 4 machines you really want to start looking at cfengine.
; You acknowledge that system administration takes time and effort. If you have more than some 10-15 machines, you ought to automate the work of keeping them in sync. You want to minimize effort of administration.
; You install something along the lines of puppet from http://reductivelabs.com and use that to manage your server infrastructure.
; You install a monitoring suite for the infrastructure. Ganglia is popular when the servers are forming a cluster.
With the above, any reasonable operating system will work, be it .deb/.rpm based linux distros, *BSD, or OSX (I honestly don't know how to do this properly in Windows).
I figure that once I have a proof-of-concept I can show it to people who might be willing to invest in it so I could afford to host it somewhere and so on.
Right now I'm focusing on package installation / removal, but I plan on adding the ability to put some stuff in your home folder for first user creation, and upload specific configuration files.
apt-get install lighttpd memcached ...Yeah, you could install an improved collection of prewired config files for everything so that all the tools are better integrated out of the box. But given that each web 2.0 app probably has a unique configuration, which requires a sysadmin to hand-edit all of those config files anyway, is it really going to save that much time? Configuration space is kind of large. The odds that the prewired configuration is a close match to the one you want may be fairly low.
And if your code doesn't need a custom configuration of servers, but is designed to run on some kind of standard server-farm-in-a-box configuration (with, at most, minor tweaks of a couple of config files), why are you even installing your own distros? Aren't there hosting companies that run farms of standardized boxes that your app can be designed to, and that will handle the provision and administration of those boxes for a monthly fee? Kind of like the Google App Engine business model? I haven't done business with such a company, but I've been presuming they exist. Isn't this how (e.g.) Engine Yard works?
The potential problem with the distro idea is that it sits between these two business models (bespoke setups by your own sysadmin on the one hand, one-stop shopping for standardized architectures, standardized server farms, and standardized sysadmins on the other). Is there much daylight between the two?
Why do you have an issue with this? Isn't the whole point of a company to solve its customers' problems for them??
As the author of the article alluded to, if it were to get made, it would probably get made by hobbyists.
Well, that's different. How much is the author willing to pay?
A larger site can usually afford to staff up in ways that smaller sites can't.
So, someone needs to make a Linux distribution targeted explicitly to those companies that currently spend as little as possible on their infrastructure. I smell a hugely profitable business model.
Small to medium businesses are a huge market, Intuit, Dell and Microsoft have all done very well selling in to it.
Of course the first thing that is going to happen is htat you are going to have a batch of arguments:
Xen vs. VMWare vs. $virtualiser
cfengine vs. bcfg2 vs. $(cool_haskell_config_that_will_be_cool_as_soon_as_it_is_done)
dpkg vs. yum vs. rpm vs. $packagemanagerthatdoesnotsuck
Ubuntu vs. Fedora vs. $(my_favorite_distro) vs. BSD
emacs vs. vi #this one may be orthogonal
It would be nice if we had something that just routed around all of those arguments and helped to set up a straightforward way to manage multiple images as part of one security domain, with monitoring and rekeying baked in.
(Loading pre-built images to ec2 seems like a good answer to the op's question; I know I've seen some built-to-purpose images around.)
Ideally you'd have one location where you define the services you're running and the variables you're monitoring and you'd be able to do things like rekey the entire cluster in one operation, set ACLs for resources that exist on multiple locations, schedule batch jobs by priority and deadline; and do all this while totally abstracting away CPUs, filesystems, networks and all of the messy and bothersome failure-prone hardware.
The rest of the work is custom (user access, software specific requirements, etc). I'm also the lead sys-admin for a dot-com company, and I think I can safely say I've NEVER had a Linux install that wasn't, in his words, something that I "can just deploy, configure and turn off what I don't need?"
That's the reason we use it.
It be cool if there was a site where you could just click the options you wanted and it would create a customised distro for you, without all the added extras?
I'm no linux guru and I dread the thought of having to set up a new system under linux. If there was a site where I could just pay a couple bucks for a customised distro for what I wanted (as its not always the same thing) that just worked, I would absolutely pay it.
I think this kind of approach may also help to increase the adoption rate of linux amongst less technically inclined people too.
EDIT - Sorry about the stream of conciousness, just noticed someone supplied a link for SUSE, is there anything similar for debian based systems? Ubuntu undoubtedly is getting the "lions share" off attention for linux systems, so is there anything like this for it?
Their "conary" package management system (developed by at least one of the same folks that were involved in RPM, presumably with a reasonable amount of confidence that RPM didn't really get it right) is designed for the construction of specific purpose distributions. It, obviously, hasn't taken the world by storm, so they seem to have evolved in a different direction of late, and also changed their name I'm pretty sure--though I can't remember what they used to be called (I could only remember the name "conary"). Anyway, technologically speaking conary is awe-inspiring. But, I'm not using it...so obviously, it's not providing value that I can figure out a use for.
I'm planning on setting it up eventually so that it'll automatically clone from the most recent backup of our databases.
I wish there existed, and looked for, tools to manage such a roll-out, but really, it was only a few hours of work to get everything set up. VMWare is your friend there for testing the script, fixing, rolling back to the fresh-installed point, wash, rinse, repeat.
It lets you create customised OpenSuSE-based images for deployment/installation. It would be fairly easy to construct the distro you've got in mind, you'll just get the added benefit of having everything kept up to date for you.