[CentOS] "power outage"-save / like embedded systems

Tue Sep 30 17:28:47 UTC 2014
Valeri Galtsev <galtsev at kicp.uchicago.edu>

On Tue, September 30, 2014 12:08 pm, m.roth at 5-cent.us wrote:
> Leon Fauster wrote:
>> I would like to setup a small system based on CentOS6
>> "power outage"-save as possible. The hardware will be
>> switch off by pulling the plug.
>>
>> To accomplishing this goal, I would mounting some fs parts
>> readonly (e.g. /usr) and thinking about tmpfs for volatile
>> parts (e.g. lock, run under var). Additionally "optimize"
>> some vm.dirty_* kernel- and fs/ext4 parameters. /persistent
>> would be used with jffs2 on a CF card. So far the theory.
>>
>> Does anyone have some experience with such type of systems?
>> Any pointer to pitfalls are welcome.
>>
> Put it on a UPS, and install apcupsd.
>

I would say almost the same: put it behind _APC_ UPS, and install apcupsd.
As apcupsd will is designed to talk to APC made UPSes. It may talk nicely
to other brands, but I myself do not take chances. And APC is the best in
my experience. (Of course, there will be a couple of brands with hardware
on the same level...)

Valeri

++++++++++++++++++++++++++++++++++++++++
Valeri Galtsev
Sr System Administrator
Department of Astronomy and Astrophysics
Kavli Institute for Cosmological Physics
University of Chicago
Phone: 773-702-4247
++++++++++++++++++++++++++++++++++++++++