Soumen Chakrabarti
2012-05-29 19:12:20 UTC
I have been using apcupsd for many years with 750, 800, 1000, 2200 and
3300 VA SmartUPSs, but I have seen nothing like this so far. This is
about the online 30kVA UPS model SUVTP30KH firmware 909.0501.I. This has
a DB9 port and a SmartUPS cable provided by APC, as well as a AP9619
network management card.
After several years of trying various versions of apcupsd and different
communication protocols, wondering why a power outage never results in
the UPS pulling down the load (although all servers shut down and need
to be rebooted via IPMI), I hooked up a laptop to it via serial, ran
apctest, and went into direct serial communication with the UPS. Then I
turned off utility power, so the load was on battery.
Request-response pairs are listed below.
Request: Y
Response: SM
(UPS enters smart mode)
Request: ^A
Response: Smart-UPS VT 30 kVA
Request: A
Response: Beep from front panel and all LEDs light up momentarily
So far so good. Next, something bold.
Request: S
Response: NA
Expected response: OK or * (and UPS going to sleep until utility power
returns)
Request: @000 (delay of 2 seconds between characters)
Response: NANANA
Expected response: OK or * (and UPS turning down load after grace delay)
Request: KK (delay of 2 seconds between characters)
Response: NANA
Expected response: OK or * (and UPS turning down load after grace delay)
Now getting really desperate ---
Request: ZZ (delay of 2 seconds between characters)
Response: NANA
Expected response: UPS should power off load immediately
On a hunch, I removed the network management card. Sadly, results did
not change for the better.
So, no wonder apcupsd killpower at the end of the NIS master's shutdown
does nothing to this UPS. Meanwhile I have been chasing down false leads
one after another (SNMP access control, PCNet pass phrase, keeping the
network up late in the halt script, etc.). The lesson being, reverse
engineering by Linux people without any cooperation from the gadget
maker can only go so far. Clearly the SmartUPS serial protocol coded
into apcupsd will also not work with this UPS. We have two such 30kVA
UPSs, and both show this behavior, so it is very unlikely to be a
hardware or firmware failure.
I have been trying for six weeks to get APC to send a technician to
study the situation; the UPSs are under warranty. They'll probably come
and just say my version of Linux is unsupported and go away. So I need
to try out an approved Linux with some form of PowerChute.
Anyone has experience with these UPSs? I posted the problem here in
different stages of my understanding on this group, but there has been
zero response, which has been disappointing.
3300 VA SmartUPSs, but I have seen nothing like this so far. This is
about the online 30kVA UPS model SUVTP30KH firmware 909.0501.I. This has
a DB9 port and a SmartUPS cable provided by APC, as well as a AP9619
network management card.
After several years of trying various versions of apcupsd and different
communication protocols, wondering why a power outage never results in
the UPS pulling down the load (although all servers shut down and need
to be rebooted via IPMI), I hooked up a laptop to it via serial, ran
apctest, and went into direct serial communication with the UPS. Then I
turned off utility power, so the load was on battery.
Request-response pairs are listed below.
Request: Y
Response: SM
(UPS enters smart mode)
Request: ^A
Response: Smart-UPS VT 30 kVA
Request: A
Response: Beep from front panel and all LEDs light up momentarily
So far so good. Next, something bold.
Request: S
Response: NA
Expected response: OK or * (and UPS going to sleep until utility power
returns)
Request: @000 (delay of 2 seconds between characters)
Response: NANANA
Expected response: OK or * (and UPS turning down load after grace delay)
Request: KK (delay of 2 seconds between characters)
Response: NANA
Expected response: OK or * (and UPS turning down load after grace delay)
Now getting really desperate ---
Request: ZZ (delay of 2 seconds between characters)
Response: NANA
Expected response: UPS should power off load immediately
On a hunch, I removed the network management card. Sadly, results did
not change for the better.
So, no wonder apcupsd killpower at the end of the NIS master's shutdown
does nothing to this UPS. Meanwhile I have been chasing down false leads
one after another (SNMP access control, PCNet pass phrase, keeping the
network up late in the halt script, etc.). The lesson being, reverse
engineering by Linux people without any cooperation from the gadget
maker can only go so far. Clearly the SmartUPS serial protocol coded
into apcupsd will also not work with this UPS. We have two such 30kVA
UPSs, and both show this behavior, so it is very unlikely to be a
hardware or firmware failure.
I have been trying for six weeks to get APC to send a technician to
study the situation; the UPSs are under warranty. They'll probably come
and just say my version of Linux is unsupported and go away. So I need
to try out an approved Linux with some form of PowerChute.
Anyone has experience with these UPSs? I posted the problem here in
different stages of my understanding on this group, but there has been
zero response, which has been disappointing.