On Fri, 8 Aug 2008 14:50:36 -0700 (PDT),
mrdarrett@gmail.com wrote:
>On Aug 8, 10:10 am, Jeff Liebermann <je...@cruzio.com> wrote:
>> 5. Setup a reset button that cycles the power to the DSL modem,
>> router, and wireless. X10 controllers are tolerable. So is a common
>> AC power strip. The idea is to make it easy for the staff to cycle
>> the power and not force them to unplug wall warts and such.
>For (5), since you're using a Linux box, does it matter if it's
>powered down properly or not? 'shutdown -h now' and all that...?
>Michael
There are two types of RADIUS servers that I'm tinkering with. One is
a local RADIUS server at the coffee shop location. It doesn't have a
keyboard on which to type the proper shutdown incantation. All admin
is done with SSH or HTML. I make sure that write caching to the hard
disk is disabled. EXT3 is a journaling filesystem, which recovers
nicely from unexpected power failures. I'm currently using a PC104
SBC (single board computah) for the RADIUS server, running from a 2GB
CF (compact flash) card. I twice managed to trash some syslog junk
that I was storing locally, but otherwise, it seems reliable. One
location has utility power problems and I get about 5 reboots per
week. Good enough, but with only one live system, it's really too
soon to tell.
So far, I haven't lost any "sectors" on the CF cards. In anticipation
of a CF card drive failure, I have 2 spares sitting next to each
machine. When all else fails, or I can't login remotely, I have them
swap CF cards. That causes lots of problems with dropped connections
and authentication failures, so I save that for special occasions.
I'm also working on a mini-ITX version, as my supply of cheap PC-104
boards has hit zero.
<http://www.mini-itx.com>
The other type of RADIUS server is located at my office and eventually
in an ISP's server farm. The customer does not power down this RADIUS
server. It services multiple customers, stays up all the time, and is
not expected to survive a graceless power failure (which it will do
quite nicely anyway).
However, neither of these fit my recommendation for easy power
cycling. It's not intended to power cycle a server, just the DSL
modem, router, and wireless devices. Such commodity hardware is not
particularly known for high uptime, and will sometimes hang. I just
want to make it easy for the coffee shop owner to recover.
--
Jeff Liebermann
jeffl@cruzio.com
150 Felker St #D
http://www.LearnByDestroying.com
Santa Cruz CA 95060
http://802.11junk.com
Skype: JeffLiebermann AE6KS 831-336-2558