This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to shutdown UTM 9 when UPS power is low?

Hi folks,

just a few days ago I upgraded my ASG 8.3.07 for Sophos UTM 9.004-33. I'm using a "home license" on my own hardware with 5 NICs and all things are working fine so far and over years now [:)] Thank you, Astaro!

I'm running a few linux servers with debian squeeze. One of them is directly connected by USB to an APC BACK-UPS RS 1500. On all debian machines the APCUPSD is installed. On the machine directly connected to the UPS by USB in "Master" mode and on the other ones in "Slave" mode.The slaves are polling the master on port 3551/TCP every n seconds to keep informed about power failures and getting shutdown signals if required.

Now I'd like to keep my UTM 9 machine informed about current power status and get shut down signals on power failure also. Not just hard "switched off" like tracking the power plug when UPS is empty.

Well, actually I'm able to install the apcupsd in slave mode on my UTM 9 machine and let it poll the master. But, is this the right way? I.e. just installing my own software on a system running a firewall? I think that's no good idea ;-)

So my question is: Is there is any "build in" or "default" methode in UTM 9 to shut down the device over ethernet when power in UPS is running down?

Many thanks in advance and greetinx

Guido


This thread was automatically locked due to age.
Parents
  • Hi,
    Astaro has a UPS system, but it requires a USB connection to the UPS.

    If you can get NUT or apcupsd running on Astaro, please post a how-to.

    An alternative would be to have one of the other servers send a shutdown command to Astaro via SSH.

    Barry
  • Hi Barry,

    thanks a lot for your reply which leads me to the right way.

    I think  I'll turn the tables and make my UTM 9 the master using NUT. Because a NUT daemon seems to be built-in. Have a look here.

    Anyway, NUT seems to be derived or develop starting from the same code base and by the same authors of APC Smart-UPS protocol respectively apcupsd, see here.

    On the NUT docs page there can be found some interesting articles dealing with using NUT in a cluster and Monitoring UPS with NUT on debian.

    Based on these two articles I'll try to connect my APC UPS by USB to my UTM 9 running it as master and set up my debian machines running as slaves.

    Another way would be to keep my current debian UPS "master" machine but switching it's daemon from apcupsd to nutd and run my other debian maschines and the UTM 9 as NUT slaves.

    As you suggested by you, Barry,  I'll come back to this topic later when it's up and running and will post my experiences, i.e. a how-to.

    Anyway, a solution for this issue seems to be needed / wanted by several people. Have a look here.

    Greetinx 

    Guido
Reply
  • Hi Barry,

    thanks a lot for your reply which leads me to the right way.

    I think  I'll turn the tables and make my UTM 9 the master using NUT. Because a NUT daemon seems to be built-in. Have a look here.

    Anyway, NUT seems to be derived or develop starting from the same code base and by the same authors of APC Smart-UPS protocol respectively apcupsd, see here.

    On the NUT docs page there can be found some interesting articles dealing with using NUT in a cluster and Monitoring UPS with NUT on debian.

    Based on these two articles I'll try to connect my APC UPS by USB to my UTM 9 running it as master and set up my debian machines running as slaves.

    Another way would be to keep my current debian UPS "master" machine but switching it's daemon from apcupsd to nutd and run my other debian maschines and the UTM 9 as NUT slaves.

    As you suggested by you, Barry,  I'll come back to this topic later when it's up and running and will post my experiences, i.e. a how-to.

    Anyway, a solution for this issue seems to be needed / wanted by several people. Have a look here.

    Greetinx 

    Guido
Children
No Data