Portables as Servers?
vincecate asks: "Do portables make reliable Linux servers? The power on the island where I live is very unreliable. With the screen off the battery should last through a long power outage. I could even put on a UPS and have it last a day. My servers have little load (DNS and some web). Prices on portables are getting reasonable. Can anyone report on using portables as servers?"
If you use such little server space/bandwidth it could be more cost productive to get one of the multiple under $5 plans that some hosting companies have.
Sadly I have no experiance with portables though.
I don't preview or spellcheck.
with some caveats:
I/O on a laptop likely to suck, due to compromises in HD size/speed/DTR
limited memory upgradeability...but do you need 16GB in a laptop doing 'light duty' as a server?
I've run L.A.M.P stuff and Samba on an old K6-400 laptop, and it ran fine.
I want to delete my account but Slashdot doesn't allow it.
Maybe you'll find some answers here.
The best advice I can give is - try to make it not use any moving parts in normal operations.
Boot is okay from either HD or CD, but it should have enough ram to not poll the HD. 512m is usually a good bet, 1g will definitely be enough for pretty much anything (aside from running a mysql server with a large db or something), if you calculate everything you may find that 256 is enough... Then make it turn off HD after 1 minute of operations. Disconnecting either the CD or the HD might be a good idea too. If you boot from a CompactFlash or similar card, you don't need HD/CD at all - even less electricity consumption.
Fewer moving parts translates directly into longer battery life and better performance (standard HD speed is still 5400 RPM on laptops). It'll probably live longer, to boot (pun intended)
Heat dissipation is another issue you may want to look into (if the CPU is not one of those new low-power ones.. if you have a 15W core duo, you're golden). Since it'll be a server, you can easily pop off the keyboard and bare the cooling pipes (better cooling performance).
HTH
Did you know that "FTW" ("for the win") is a direct translation of "Sieg Heil"?
A regular laptop will have even worse hardware. The HD especially is a weakpoint. However for non-heavy use where either the number of reads is limited or even avoided by loading everything in memory a laptop is just a lowend pc.
It can be very usefull as long as you don't expect it to perform the same as a real server.
The build in UPS is however very handy. I worked at an ISP where for some reason the power wasn't that stable for a year or so. Didn't matter for the important stuff because they were on a UPS like system but it did mean regular power failures in the offices (I think it was because workmen kept digging up the powerlines or something).
Anyway I put the ISP job to good use in the form of running my own FTP server. Hey, when you got a fat pipe you need to share it right? It is what I tell my gf anyway :P
It ran of an old laptop hidden in my cupboard (note, do not store chocolate in drawer above a laptop running 24/7) and it just ran regardless of power interruptions. Our workfloor test server was not so lucky and because it was badly adminned it never automatically recovered after a powerfailure.
So I developer on a laptop against my server laptop with power down all around me. Kinda cool although I now realize I was the only one working while everyone else was goofing around.
So yes, laptops can be used to overcome power outages. HOWEVER for what reason? In my case the network was on its own UPS. Will your laptop be as lucky?
No point in running a server when there is no network to serve right?
On the other hand if you can get a cheap UPS to power your network then the batteries of a laptop can last a long time especially if you add all the batteries you can by replacing the cd. Mine lasted through a 8 hour power outage once. The screen being off makes a huge difference.
Just remember heat and HD performance. Then again, I did have the old HD from that computer in my normal server (with adapter) running for years afterwards. I think HD reliability is severly underestimated.
Go for it. Just don't post your server on slashdot.
MMO Quests are like orgasms:
You may solo them, I prefer them in a group.