Thread: avaya ups
View Single Post
Old September 1st, 2007, 10:03 AM   #2 (permalink)
ahays
Moderator
 
ahays's Avatar
 
Join Date: Jul 2003
Posts: 1,351
ahays will become famous soon enoughahays will become famous soon enough
Re: avaya ups

Quote:
Originally Posted by btrain2871
I have an avaya ups and I'm curious to know about the network cable that gets plugged into that. Is that strictly to for the ups to be connected to the network for monitoring??


In "theory" it is to allow the UPS to send SNMP traps to the server in order to facilitate a gracefull shutdown. However, the relevant code in CM that received the trap and generated the shutdown sequence was removed in CM 2.0. Here is an explanation from a Tier IV Engineer as posted in the ProVision forum:
The original intent of graceful shutdown on imminent power failure was to prevent the filesystem damage caused by sudden removal of server power, but the strategy could backfire and require a site visit for server restoral.

The S8700 executed a "shutdown -h now" command when it received the 3-minutes-to-battery-exhaustion SNMP trap from the UPS's SNMP agent. That command caused the server to exit CM and Linux software and go into the APMS firmware (part of the BIOS). The server did NOT power itself off, because the APMS firmware prevented that. If the power outage lasted long enough for the UPS batteries to run completely down and the server to completely power off, then things were fine, because the server would then automatically boot back up on restoral of power. However, if commercial power was restored before the UPS batteries gave up completely, then the server would be stuck in the APMS (BIOS) firmware and would not reboot. The only way to get the server back then would be to hit the reset button on the S8700 front bezel, or else physically disconnect and reconnect the power cable (or use an external circuit breaker to achieve the same effect). Both of those actions required a site visit, i.e., a longer service outage and more cost and inconvenience.

The CM1.X releases for the S8700 used the ReiserFS journaling filesystem, which was supposed to be highly resistant to filesystem damage during spontaneous server shutdowns, but it turned out to have some weak points, and the graceful shutdown was intended to prevent those weak points from causing filesystem damage. With CM2.0, we replaced the ReiserFS with the Linux ext3 filesystem, a journaling filesystem that has proven to be much more robust, and the graceful shutdown is no longer required, so the relevant code has been removed from the software base.
Mind you, this post was generated some time ago and the SNMP trap code may, at some time in the future, be included in future releases of CM ... but right now the network cable does little more than take up an ethernet port. However, the Avaya UPS is simply OEM PowerWare gear. If you have SNMP monitoring software on your network (HP OpenView, etc.) then you can capture the traps using that software and be alerted of eminent power failure.

regs,

.al.
__________________
Al Hays, ACE, MCSE, CCNA
Homepage: http://www.jeral.com/
Training: http://www.jeral.com/avaya-learning.html
ahays is offline   Reply With Quote