UPS support in Amahi 8 / Fedora 21?

luco
Posts: 47
Joined: Sat Oct 17, 2015 8:09 am

UPS support in Amahi 8 / Fedora 21?

Postby luco » Sun Mar 06, 2016 2:08 pm

I was about to buy the CyberPower CP1000PFCLCD UPS for my HP ML310e Gen8 V2 server running Amahi 8, but then I realized that I should first check whether there's any compatible software to be able to perform automatic server shutdown when the battery gets low.

I cannot find any definite information on this.
Cyberpower page has "Power Panel for Linux: Shutdown software for Linux. Requires Linux kernel >2.6.12".

On Amahi wiki, I can only find references to setup NUT for old versions of Fedora and the apps only show one "UPS Monitor" app that is in alpha stage.

So, is there really no support for UPS in Amahi 8?? That would be very strange given that it should be running servers with data.

Can someone tell me whether the above UPS from Cyberpower can work with Amahi to perform a controlled shutdown?

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: UPS support in Amahi 8 / Fedora 21?

Postby bigfoot65 » Sun Mar 06, 2016 3:36 pm

So, is there really no support for UPS in Amahi 8?? That would be very strange given that it should be running servers with data.
This is add-on software and not supported out-of-the-box by Amahi. There are many who don't even use them believe it or not.

I am sure it's possible to use the UPS for programmed shutdown as you mentioned. We currently don't provide that capability, however there are several tutorials on the internet that should work. I use apcupsd on Linux for mine.

Once day we hope to provide an app, but with so many varieties of UPS Backup made it's hard to cover them all.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

luco
Posts: 47
Joined: Sat Oct 17, 2015 8:09 am

Re: UPS support in Amahi 8 / Fedora 21?

Postby luco » Sun Mar 06, 2016 3:42 pm

Thank you.

Would apcupsd work even for the above Cyberpower unit?

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: UPS support in Amahi 8 / Fedora 21?

Postby bigfoot65 » Sun Mar 06, 2016 3:43 pm

It should. I used to have an off brand UPS and it worked.

The shutdown scripts are not always simple, but the guidance should help with that too.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

luco
Posts: 47
Joined: Sat Oct 17, 2015 8:09 am

Re: UPS support in Amahi 8 / Fedora 21?

Postby luco » Mon Mar 07, 2016 5:48 am

Thank you.
I have ordered the above UPS and I'll report back once it comes in and I get it working.

mcinroy
Posts: 35
Joined: Wed Feb 03, 2016 11:51 am

Re: UPS support in Amahi 8 / Fedora 21?

Postby mcinroy » Mon Mar 07, 2016 11:05 am

This is something that interests me, as well.

I took a look at the guide (minding the "update needed" disclaimer), which suggests apcupsd or nut...
I use apcupsd on Linux for mine.
Did you try nut? Just wondering whether your selection was based on experience... and how relevant the guide is.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: UPS support in Amahi 8 / Fedora 21?

Postby bigfoot65 » Mon Mar 07, 2016 2:02 pm

I have used both and preferred apcupsd because it was simple.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

mcinroy
Posts: 35
Joined: Wed Feb 03, 2016 11:51 am

Re: UPS support in Amahi 8 / Fedora 21?

Postby mcinroy » Mon Mar 07, 2016 2:15 pm

I have used both and preferred apcupsd because it was simple.
I like simple. :)
If/when I give it a try I'll report back (and update the guide, if applicable).

Thanks.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: UPS support in Amahi 8 / Fedora 21?

Postby bigfoot65 » Mon Mar 07, 2016 2:23 pm

Sounds good.

Thanks!
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

luco
Posts: 47
Joined: Sat Oct 17, 2015 8:09 am

Re: UPS support in Amahi 8 / Fedora 21?

Postby luco » Thu Mar 10, 2016 8:52 pm

I have received my UPS, so now I'm trying to learn how to make the shutdown software work on Amahi/Fedora.

I've learned that install using .deb is not readily supported by Fedora. Then I found this site with software packages in .rpm format: http://www.cyberpower-eu.com/products/s ... _linux.htm

Should I just download the "PowerPanel for Linux .rpm 1.3.2 (Linux 64 bit)" package through my Windows client then move it to an HDA share and run the install from there using command line per the installation guide here?

Will this work for Amahi?

What would be my "idiot's guide to UPS install" steps?

1. Shutdown my server.
2. Connect UPS via USB to the server
3. Power on and hopefully Fedora/Amahi picks up the new USB device.
4. Move the .rpm installation file from Windows client to an HDA share.
5. SSH to Amahi, navigate to the dir where the package was moved and execute install from the command line:
rpm -ivh powerpanel-ver-rev-x86_64.rpm
6. Done.

Do I have the steps right?

Thank you.

Who is online

Users browsing this forum: No registered users and 21 guests