LBT PROJECT 2 X 8,4M OPTICAL TELESCOPE UPS and Thermal Monitor Client System Configuration
Total Page:16
File Type:pdf, Size:1020Kb
LBT PROJECT 2x8,4m TELESCOPE Doc.No. : 228s010 Issue : b Date : 10-May-2012 LBT PROJECT 2 X 8,4m OPTICAL TELESCOPE UPS and Thermal Monitor Client System Configuration LBT PROJECT Doc.No : 228s010 Issue : b Page 2 UPS Client System Configuration Date : 10-May-12 Signature Date Prepared Dan Cox 31-Oct-11 Reviewed Norm Cushing 05-Jan-12 Approved Joar Brynnel 05-Jan-12 LBT PROJECT Doc.No : 228s010 Issue : b Page 3 UPS Client System Configuration Date : 10-May-12 1. Revision History Issue Date Changes Responsible a 31-Oct-11 First draft Dan Cox b 10-May-12 References to “red button” replaced with Dan Cox “yellow button”; section added for testing shutdown applications. LBT PROJECT Doc.No : 228s010 Issue : b Page 4 UPS Client System Configuration Date : 10-May-12 2. Table Of Contents 1.Revision History...............................................................................................................3 2.Table Of Contents.............................................................................................................4 4.List Of Abbreviations........................................................................................................5 5.About this document.........................................................................................................6 1.1. Purpose......................................................................................................................6 1.2. Reference Documents...............................................................................................6 6.Overview...........................................................................................................................7 7.Power Events....................................................................................................................7 8.Thermal Events.................................................................................................................8 9.NUT Overview..................................................................................................................8 1.3. UPS and Thermal Monitor........................................................................................9 10.Installing NUT..............................................................................................................12 1.4. Installing From Source............................................................................................12 1.5. Windows Installation..............................................................................................12 11.Configuration of Client System....................................................................................12 1.6. Suggested Configuration Values.............................................................................13 1.6.1. MONITOR.......................................................................................................13 1.6.2. MINSUPPLIES................................................................................................13 1.6.3. DEADTIME.....................................................................................................13 1.6.4. SHUTDOWNCMD..........................................................................................14 1.6.5. POWERDOWNFLAG.....................................................................................14 1.7. Notification Directives............................................................................................14 1.7.1. NOTIFYFLAG................................................................................................15 12.Client System Shutdown...............................................................................................15 1.8. Shutdown scripts.....................................................................................................16 1.9. Shutdown Wrapper.................................................................................................16 13.TCS Interface................................................................................................................16 14.Testing Automatic Shutdown........................................................................................17 1.10. Configuration........................................................................................................17 1.10.1. ups.conf..........................................................................................................17 1.10.2. upsd.conf........................................................................................................18 1.10.3. upsd.users.......................................................................................................18 1.10.4. upsmon.conf...................................................................................................18 1.11. Starting Your Test Environment...........................................................................19 1.12. Toggling Simulated UPS Events..........................................................................19 3. LBT PROJECT Doc.No : 228s010 Issue : b Page 5 UPS Client System Configuration Date : 10-May-12 4. List Of Abbreviations BYB Big Yellow Button CRA Computer Room A CRB Computer Room B DD TCS Data Dictionary FSD Fast Shutdown LB Low Battery NUT Network UPS Tools OB On Battery OL Online SNMP Simple Network Management Protocol TCS Telescope Control System UPS Uninterruptible Power Supply LBT PROJECT Doc.No : 228s010 Issue : b Page 6 UPS Client System Configuration Date : 10-May-12 5. About this document 1.1. Purpose This document serves as a guide to configuring the client software tied to the LBT’s UPS and thermal monitoring system. It provides an overview of the UPSes at the LBT, identifies scenarios in which client systems using the UPS and thermal monitoring software would be commanded to perform an orderly shutdown and explains how to address special shutdown-time requirements that client systems may have. This document does not provide details of the underlying design and administration of the UPS and thermal monitoring system, such as the “Big Yellow Button” or thermal monitoring, other than as they apply to conditions client systems must accommodate. 1.2. Reference Documents [RD1] Network UPS Tools documentation, http://www.networkupstools.org/documentation.html [RD2] UPS Monitor Design and Administration, LBT CAN 228sTBD [RD3] Computing Infrastructure Technical Specification, LBT CAN 228s540 [RD4] UPS Cleanout Maintenance Procedure, LBT CAN 300s003 LBT PROJECT Doc.No : 228s010 Issue : b Page 7 UPS Client System Configuration Date : 10-May-12 6. Overview The LBT has three large UPSes for backup power, each of which, in general, serves different zones of the rotating and non-rotating building. These UPSes are of different sizes, capabilities and ages. • The Exide Powerware 125 is a 125kVA UPS located on Level 1 in the passageway near the Instrument Lab. This UPS provides backup power to Level 2, with the primary usage being the control room and computer room A (CRA) and computer room B (CRB). The Exide - an older generation UPS - does not have built-in and native networking capabilities and was later modified to provide rudimentary information over a network. • A 65kVA Liebert nPower Series UPS on Level 4 provides backup power to the telescope and all instruments on the telescope. The Liebert is a modern, fully- networked UPS and provides its status via SNMP. • The 10kVA Savin 900 UPS, also located on Level 4, backs up the non-rotating parts of Levels 4 and 5. The Savin is also an older model UPS, yet does have a 300 baud UART which is used to connect to the network. Details about the modifications to provide network capability to the older model UPS’s are provided in [RD2]. The three UPS zones, however, do not cover the entire LBT observatory. None of the circuits on Level 1 is backed by any of the UPSs, including the clean room and instrument lab. A UPS is present in the LBT clean room, but it remains unmonitored and its use is not supported by the UPS monitor. Even in a UPS-backed zone, not all circuits are backed by a UPS. Requirements for such circuits should be made to LBT mountain personnel. With a few exceptions, network switches throughout the LBT are on UPS circuits to maintain networking during power interruptions. However, network connections to and from the mountain cannot be guaranteed. The relay to the Internet is located in the VATT and, while it is on its own UPS, it may not be available for extended periods and should not be relied upon to be present. 7. Power Events Historically, systems inside the LBT were unaware of the loss of commercial power. The UPSes at the LBT were not connected to the internal network or, if they did have a network connection, it was not monitored. Systems would continue to run until power was restored, either by the MGIO generator or the return of commercial power, or explicitly shut down. LBT PROJECT Doc.No : 228s010 Issue : b Page 8 UPS Client System Configuration Date : 10-May-12 When commercial power is interrupted, the MGIO generator is used to supply power to all telescopes on Mt. Graham. It typically requires three to five minutes for the generator to start and ramp up before it begins to provide power, during which time all systems and instruments run on UPS power. This is the preferred scenario for when power is lost at the LBT. The UPS monitor and Network UPS Tools (NUT) is in place for when this scenario does not occur. 8. Thermal Events Similar to the UPSes at