PDA

View Full Version : Possible UPS interface



Scrubby
05-27-2009, 08:40 AM
Greetings Y'all.


I live in the Deep South were power outages in Spring/Summer are all too regular. I was wondering if there are any potential solutions for an interface with VB and a UPS.


I have an APC UPS with a USB interface that is supposed to be able to signal a windows box to shut down if the UPS is active and the power supply passes a certain threshold. I, however, wonder if that same utility can be ported over to my VB, or perhaps something out there already exists?


Any thoughts are greatly appreciated.


Scrubby

Scrubby
05-27-2009, 11:35 AM
All right then!


I'll give this a shot and post to let everyone know how it goes.


Much obliged!

HalfBit
05-27-2009, 12:52 PM
Scrubby said:


All right then!


I'll give this a shot and post to let everyone know how it goes.


Much obliged!




Andrew,


How does the VortexBox respond to power loss without a UPS to shut it down gracefully? Is there any significant risk to OS, programs, or music files?


Thanks,
HalfBit

andrew
05-27-2009, 06:58 PM
No problem. Just install apcupsd, set it to start on boot, and edit the config file to make it do what you want. More info here http://www.apcupsd.com/


yum install apcupsd


chkconfig --level 345 apcupsd on


nano /etc/apcupsd/apcupsd.conf


service apcupsd start

andrew
05-27-2009, 06:59 PM
Vortexbox uses an XFS file system that is very resilient to being powered down in the middle of something. It journals what it's doing and will automatically recover. You should have no problems from a hard power off.

sable
06-06-2009, 09:14 PM
I've connected my vortexbox appliance to CyberPower 400VA UPS. And the server sometimes (rather frequently) reboots by itself. It doesn't matter whether it's connected to UPS via USB or not. I've looked into /var/log/messages, and it seems the reboot is "hard" i.e. server is rebooted like when pushed the "reset" button. Does anyone know what could be the problem?


I think that it's somehow connected with the fact that appliance has external AC adapter, and it is very low-powered, 25 watts.

andrew
06-07-2009, 05:04 PM
I there anything else connected to the UPS? Sometimes a UPS needs a decent load to work properlly. CyberPower is a very low cost UPS but I have had good luck with them. It's possible you have a bad UPS. Hook the USB cable up to a widnows machine, Load their software, and see if you can get some diag info from the UPS.

sable
06-09-2009, 12:13 AM
I've looked into the problem a liitle bit more, and found out that the problem only exists when UPS is USB connected to vortexbox. If I unplug USB cable everything works as it should.


If USB cable is connected, server reboots at boot time.

wizardofoz
06-09-2009, 01:53 AM
25Watts for a p/s is very very low, even an atom board will min more with a drive maybe more while reading cd's


http://www.pcper.com/article.php?aid=597&type=expert&pid=8