On November 29,2013 I had finally bought a UPS. Previously, my first server (Core2Quad) had been in continuous operation for 4 years, with only two interruptions due to a power failure. However, this was twice too much for me, especially since the Intel „fake“ RAID didn’t want to get into gear again and again. This was especially when I was at school or at work and had to retrieve data for the training. IT problems always arise when you can use them least.
So server, switch & router to the UPS and go. I hadn’t considered other factors like temperature at that time, because everything was in the attic, so it wasn’t „too cold / too warm“ or also: something between 14°-36°C – is already working….
A year ago, the UPS then migrated to the living area, where I had to switch it more often. In this case, the battery level usually dropped directly to 40% and then ran a little bit. (see measurement results)
So we needed a new battery and we all know where to get RBC123 (please use preferred suppliers here).
APC promises the following values ex works:
Expected battery life
This improved the runtime accordingly.
Measurement results: old battery
I have to say that I don’t have the UPS on my PC, so I didn’t tell her that she got new batteries.
This is an comment so Morten Video „My Cool Data Center, is getting Hot, Need to Improve on That – 527“.
I’ve ask my colleagues from the datacenter expert team how they would cool such a small 8-20m² colocation room.
They see the following as essential:
– filter the air (like an K&N filter from the car tuning store)
– mesure or calculate the air flow of your servers
– use a return flap on the intake and outtake, to have a defined airflow
– monitor temperature and humidity
– use A & B feed with ups and genset (they build Tier II to IV Datacenters the hole day)
– use surveillance, access control, intrusion detection (and allso high secure ones)
– use redundancy all time n+1/2 (WTF – for at home?!?)
– use high pressure intake fans, otherwise the fans in the server will become generators and that would damage the Servers over time
so one fan that push out the hot air is just fine
– short circuit the air typ’s
They told me tho use an PLC to controle the system like a Siemens Logo.
My idea was to use an raspi or aduino with
2/3x DHT22 (behind the rack, in front of/in the room, outside)
5V Relay board 4 or 8 channels to turn the fan’s on and off to reduce power consumption (easy way) or if possible control fan speeds
some scripts, wiringPi, lol_dht22
Here is an shot overview of my plan:
And here the simple script to check temperature and humidity, to make a switching decision:
# Script mit schaltbefehlen je nach Luftfeuchtigkeit und Temperatur
# Script to controll air exchange
#humi=$(sudo /var/www/loldht 7 | grep -i "humidity" | cut -d ' ' -f3)
humi=$(sudo /var/www/loldht 7 | grep -i "humidity" | cut -d ' ' -f3 | cut -d '.' -f1)
#temp=$(sudo /var/www/loldht 7 | grep -i "temperature" | cut -d ' ' -f7)
temp=$(sudo /var/www/loldht 7 | grep -i "temperature" | cut -d ' ' -f7 | cut -d '.' -f1)
# hier Vergleichswert einlesen
# fill variables with data
# Luftfeuchtigkeit - humidity 70% Max.
if [ $humi -ge $humi_max ];
# Temperatur 35° Max.
if [ $temp -ge $temp_max ];
# Temperatur 25° Max.
if [ $temp -ge $temp_mode25 ];
# Temperatur 24° Max.
if [ $temp -ge $temp_mode24 ];
# Temperatur 23° Max.
if [ $temp -ge $temp_mode23 ];
#Ende der IF's
echo "Luftfeuchtigkeit " $humi # > /home/pi/temp/demo
echo "Temperatur " $temp # >> /home/pi/temp/demo
or the download with all my tapstops: