Jump to content

How to do determine UPS load?


dogmanky

Recommended Posts

I used unmenu pkg mgr to install the APC package, but I need to figure out how much load my Tower is using on the UPS.  I'd like to plug a couple other things in the UPS.  

Many of the UPS have status reports will give you the load.

 

When I run the

/sbin/apcaccess status

command, either at a linux prompt when logged in, or by pressing the "UPS Status" button on the System-Info tab in unMENU, I can see the load-percentage.  I can also see the nominal wattage of my UPS.

 

Below is my output.  My UPS on the unRAID server is a 450 Watt nominal unit. 

It is reporting it is at 55% of capacity with all 15 of my disks spinning.   

To figure out the actual current drawn is just a bit of basic math.  (450 * .55 = 247.5 watts )

 

Just be aware that the disks can draw a lot more when spinning up to speed at the same time, and they will all need to spin up in order to be unmounted to shut down the server cleanly, so you would want to take a conservative approach on loading the UPS.

 

UPS Status

(from /sbin/apcaccess status)

 

APC      : 001,038,0940

DATE    : Thu Jun 03 11:58:36 EDT 2010

HOSTNAME : Tower

RELEASE  : 3.14.3

VERSION  : 3.14.3 (20 January 2008) slackware

UPSNAME  : Tower

CABLE    : Custom Cable Smart

MODEL    : Back-UPS ES 750

UPSMODE  : Stand Alone

STARTTIME: Mon May 31 15:13:25 EDT 2010

STATUS  : ONLINE

LINEV    : 120.0 Volts

LOADPCT  :  55.0 Percent Load Capacity

BCHARGE  : 100.0 Percent

TIMELEFT :  10.9 Minutes

MBATTCHG : 10 Percent

MINTIMEL : 5 Minutes

MAXTIME  : 300 Seconds

SENSE    : Medium

LOTRANS  : 092.0 Volts

HITRANS  : 139.0 Volts

ALARMDEL : Always

BATTV    : 13.8 Volts

LASTXFER : Low line voltage

NUMXFERS : 0

TONBATT  : 0 seconds

CUMONBATT: 0 seconds

XOFFBATT : N/A

SELFTEST : NO

STATFLAG : 0x07000008 Status Flag

MANDATE  : 2008-01-13

SERIALNO : 3B0802X63649 

BATTDATE : 2001-09-25

NOMINV  : 120 Volts

NOMBATTV :  12.0 Volts

NOMPOWER : 450 Watts

FIRMWARE : 841.I2 .D USB FW:I2

APCMODEL : Back-UPS ES 750

END APC  : Thu Jun 03 11:58:36 EDT 2010

Link to comment

Thanks Joe.  I should have looked in the unmenu options first.   ;) 

It  has a lot of stuff built into it, that's for sure.    Lots of people have made suggestions and contributions of their code and configuration files for additional packages, and it really evolved into a pretty useful addition. 

 

What UPS do you have?  What does it show as its "status" report?

 

Joe L.

Link to comment

Thanks Joe.  I should have looked in the unmenu options first.   ;)  

It  has a lot of stuff built into it, that's for sure.    Lots of people have made suggestions and contributions of their code and configuration files for additional packages, and it really evolved into a pretty useful addition.  

 

What UPS do you have?   What does it show as its "status" report?

 

Joe L.

 

 

 

ES-750

 

Everything here look normal? (drives all sleeping)

 

 

 

APC      : 001,038,0946

DATE     : Thu Jun 03 13:16:18 GMT+5 2010

HOSTNAME : Tower

RELEASE  : 3.14.3

VERSION  : 3.14.3 (20 January 2008) slackware

UPSNAME  : Tower

CABLE    : Custom Cable Smart

MODEL    : Back-UPS ES 750

UPSMODE  : Stand Alone

STARTTIME: Tue Jun 01 17:38:48 GMT+5 2010

STATUS   : ONLINE

LINEV    : 118.0 Volts

LOADPCT  :  16.0 Percent Load Capacity

BCHARGE  : 100.0 Percent

TIMELEFT :  27.6 Minutes

MBATTCHG : 10 Percent

MINTIMEL : 5 Minutes

MAXTIME  : 300 Seconds

SENSE    : Medium

LOTRANS  : 092.0 Volts

HITRANS  : 139.0 Volts

ALARMDEL : Always

BATTV    : 13.7 Volts

LASTXFER : Low line voltage

NUMXFERS : 0

TONBATT  : 0 seconds

CUMONBATT: 0 seconds

XOFFBATT : N/A

SELFTEST : NO

STATFLAG : 0x07000008 Status Flag

MANDATE  : 2009-12-27

SERIALNO : 3B0952X42851  

BATTDATE : 2001-09-25

NOMINV   : 120 Volts

NOMBATTV :  12.0 Volts

NOMPOWER : 450 Watts

FIRMWARE : 841.I3 .D USB FW:I3

APCMODEL : Back-UPS ES 750

END APC  : Thu Jun 03 13:16:50 GMT+5 2010

 

Link to comment

It is the same unit I have, only a year newer, and more lightly loaded.

 

Mine has worked wonderfully for the past few years... 

 

Looks like you found the UPS Status button. ;D

 

Which of the two APCUPSD packages did you install?  The older release?, or the newer?

 

I tried the newer, and ended up at one point after a few weeks where I could not get a status report from the UPS.  I'm back to using the older version now, and will try again at some point with the newer once I move some disks off of the server.  I did not want to take chances with the UPS losing communications with the server.

 

Joe L.

Link to comment

 

Which of the two APCUPSD packages did you install?  The older release?, or the newer?

 

Joe L.

 

 

I just installed the older one.  Considering the purpose, I decided to just go with something tried and tested.  I'll run another status the next time all 19 drives spin up.

 

;D

Link to comment

 

Which of the two APCUPSD packages did you install?  The older release?, or the newer?

 

Joe L.

 

 

I just installed the older one.  Considering the purpose, I decided to just go with something tried and tested.  I'll run another status the next time all 19 drives spin up.

 

;D

I feel the same way...

 

And just to make you feel good, this is in my syslog as of a bit under two hours ago:

Jun 3 12:24:07 Tower apcupsd[1837]: Power failure.

Jun 3 12:24:08 Tower apcupsd[1837]: Power is back. UPS running on mains.

 

Apparently a tiny power glitch... I did not notice it, but the UPS did.

 

Joe L.

Link to comment

Joe,

 

I'm at 38% load with all 19 disks spinning.. i have 16 of them in the same spin up group, 2 in another and the parity.  Do you think I have any room to plug up anything else to the UPS?

I guess it depends on what else it is.

 

Don't forget, they will ALL spin up at the same time when you go to stop the array.

 

Joe L.

Link to comment
  • 2 years later...

sorry for bringing up this old thread but i would like to read my power draw  8)

 

this is what i got:

 

APC      : 001,042,1063
DATE     : Tue May 07 20:26:48 CEST 2013
HOSTNAME : storageserver
RELEASE  : 3.14.3
VERSION  : 3.14.3 (20 January 2008) slackware
UPSNAME  : storageserver
CABLE    : Custom Cable Smart
MODEL    : Smart-UPS 750 RM 
UPSMODE  : Stand Alone
STARTTIME: Tue May 07 19:55:36 CEST 2013
STATUS   : ONLINE 
LINEV    : 237.6 Volts
LOADPCT  :  33.8 Percent Load Capacity
BCHARGE  : 100.0 Percent
TIMELEFT :  34.0 Minutes
MBATTCHG : 50 Percent
MINTIMEL : 5 Minutes
MAXTIME  : 300 Seconds
OUTPUTV  : 237.6 Volts
SENSE    : High
DWAKE    : -01 Seconds
DSHUTD   : 090 Seconds
LOTRANS  : 208.0 Volts
HITRANS  : 253.0 Volts
RETPCT   : 000.0 Percent
ITEMP    : 17.5 C Internal
ALARMDEL : Always
BATTV    : 27.7 Volts
LINEFREQ : 50.0 Hz
LASTXFER : No transfers since turnon
NUMXFERS : 0
TONBATT  : 0 seconds
CUMONBATT: 0 seconds
XOFFBATT : N/A
SELFTEST : NO
STATFLAG : 0x07000008 Status Flag
SERIALNO : AS1010140588
BATTDATE : 2010-03-02
NOMOUTV  : 230 Volts
NOMBATTV :  24.0 Volts
FIRMWARE : 668.19.I USB FW:11.
APCMODEL : Smart-UPS 750 RM 
END APC  : Tue May 07 20:26:58 CEST 2013

 

the "nompower" field is missing ?

 

what can i do to get the correct value ?

 

best regards

 

Christoph

Link to comment

The APC UPS package can only show what's being communicated from the UPS.  I'm surprised the SmartUPS doesn't show the "Nompower" field -- but I don't think you can do anything about it.  Perhaps the 220v units have slightly different status info.

 

Mine looks fine:

(from /sbin/apcaccess status)APC      : 001,039,1013

DATE    : Tue May 07 13:37:11 CDT 2013

HOSTNAME : JMCBakup

RELEASE  : 3.14.3

VERSION  : 3.14.3 (20 January 2008) slackware

UPSNAME  : JMCBakup

CABLE    : Custom Cable Smart

MODEL    : Back-UPS RS 700G

UPSMODE  : Stand Alone

STARTTIME: Wed Apr 24 04:39:11 CDT 2013

STATUS  : ONLINE

LINEV    : 121.0 Volts

LOADPCT  :  6.0 Percent Load Capacity

BCHARGE  : 100.0 Percent

TIMELEFT :  70.7 Minutes

MBATTCHG : 10 Percent

MINTIMEL : 5 Minutes

MAXTIME  : 300 Seconds

SENSE    : Medium

LOTRANS  : 088.0 Volts

HITRANS  : 141.0 Volts

ALARMDEL : Always

BATTV    : 13.7 Volts

LASTXFER : Low line voltage

NUMXFERS : 2

XONBATT  : Tue Apr 30 05:20:48 CDT 2013

TONBATT  : 0 seconds

CUMONBATT: 4 seconds

XOFFBATT : Tue Apr 30 05:20:50 CDT 2013

SELFTEST : NO

STATFLAG : 0x07000008 Status Flag

MANDATE  : 2012-06-30

SERIALNO : 3B1226X38978 

BATTDATE : 2001-09-25

NOMINV  : 120 Volts

NOMBATTV :  12.0 Volts

NOMPOWER : 420 Watts

FIRMWARE : 856.L3 .D USB FW:L3

APCMODEL : Back-UPS RS 700G

END APC  : Tue May 07 13:37:41 CDT 2013

 

 

Link to comment

 

the "nompower" field is missing ?

 

 

Note:  There is a firmware update for your UPS model, dated 12/03/2012, on the APC site.

 

I tend to be an "if it ain't broke, don't fix it" kind of guy -- but if you want to register with APC and download the update, it may very well add the additional information fields to the status info  :)

Link to comment

 

Which of the two APCUPSD packages did you install?  The older release?, or the newer?

 

Joe L.

 

 

I just installed the older one.  Considering the purpose, I decided to just go with something tried and tested.  I'll run another status the next time all 19 drives spin up.

 

;D

I feel the same way...

 

And just to make you feel good, this is in my syslog as of a bit under two hours ago:

Jun 3 12:24:07 Tower apcupsd[1837]: Power failure.

Jun 3 12:24:08 Tower apcupsd[1837]: Power is back. UPS running on mains.

 

Apparently a tiny power glitch... I did not notice it, but the UPS did.

 

Joe L.

 

I had a glitch a few days ago. All three servers are plugged into the same 20amp circuit on separate UPS units, but only Subdivisions had its power interrupted.

Link to comment

Post a note and let us know if the firmware update adds any additional status -- just curious  :)

 

mmmh APC.. that hurts... is there any way to update that damn beast in unraid ? I think I won't get to the point where I install windows on my laptop (or even VM), walk down the stairs and update the firmware this way  ?!  ???

 

best regards

 

Christoph

Link to comment

Post a note and let us know if the firmware update adds any additional status -- just curious  :)

 

mmmh APC.. that hurts... is there any way to update that damn beast in unraid ? I think I won't get to the point where I install windows on my laptop (or even VM), walk down the stairs and update the firmware this way  ?!  ???

 

best regards

 

Christoph

I would never update the firmware on the UPS unless you knew what it affected.  You might give APC a call a find out.  There is no way to give a parameter the UPS cannot supply.  As I said, a wattmeter is FAR easier to attach and figure out the load.  (besides, you already have a good idea based on the LOADPCT.
Link to comment

Post a note and let us know if the firmware update adds any additional status -- just curious  :)

 

mmmh APC.. that hurts... is there any way to update that damn beast in unraid ? I think I won't get to the point where I install windows on my laptop (or even VM), walk down the stairs and update the firmware this way  ?!  ???

 

best regards

 

Christoph

I would never update the firmware on the UPS unless you knew what it affected.  You might give APC a call a find out.  There is no way to give a parameter the UPS cannot supply.  As I said, a wattmeter is FAR easier to attach and figure out the load.  (besides, you already have a good idea based on the LOADPCT.

 

I absolutely agree with Joe L ==>  your UPS is working fine;  any firmware update will, at most, simply add another bit of status info that you don't really need ... and as with any firmware based device, a bad flash could effectively destroy the unit !!    As I noted earlier, "...  I tend to be an "if it ain't broke, don't fix it" kind of guy "

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...