This file is a compilation of the few various AppLabs text files found in the tarball. These are made as one text file for quick and easy online viewing. The text files which come with the testing programs themselves are in separate folders in the tarball. The various text files are separated with lines like: >>> BEGIN UPS WORKSHEET <<< >>> END UPS WORKSHEET <<< >>> BEGIN TTCP TEST TOOL TEXT FILE <<< >>> END TTCP TEST TOOL TEXT FILE <<< The text files included in this file are: ups_cert.txt >>> BEGIN UPS WORKSHEET >>> UPS Certificaton Worksheet AppLabs UPS Certification Test, Revision 1.2 - JCW Tester Name: ______________________________________ Date: __________________ Section 1: Product Information ============================== Manufacturer: __________________________________________________________________ Product Name & Model Number: ___________________________________________________ Product Description: ___________________________________________________________ Product Features: ______________________________________________________________ Overall Result: PASS FAIL Details: _______________________________________________________________________ Section 2: Setup Information ============================ Is the UPS being tested a smart or dumb UPS? Smart Dumb Does the manufacturer provide any cables if special cabling is needed? Yes No Does the manufacturer provide product-specific software? Yes No Does the manufacturer provide a script/instructions for setup? Yes No Do the script/instructions work according to the documentation? Yes No List software/program name and version used to operate/test product: ________________________________________________________________________________ Test System Configuration: (Attach separate sheet listing all components of the system being used to load the UPS device.) Distribution being tested: []Solaris 2.6 []Solaris 7 []Solaris 8 []RedHat ____ []SuSE []TurboLinux Section 3: Tests ================ Serial Port Testing Kernel Detection: PASS FAIL STAT SetSerial Compatibility: PASS FAIL STAT Throughput Testing: PASS FAIL STAT Unit Operation Tests Power Rating Test PASS FAIL Time: ______ Switching Time Test PASS FAIL TIme: ______ Battery Endurance Test PASS FAIL Time: ______ Recharge Time PASS FAIL Time: ______ UPS/Computer Communicaton Testing Power Loss: PASS FAIL Power Return: PASS FAIL Computer Shutdown: PASS FAIL UPS/Computer Hot Tests Computer Shutdown: PASS FAIL Section 4: Testing Procedures ============================= Serial Port Verification & Test Purpose: To verify the serial ports on the testing computer are active and working prior to the beginning of testing of the UPS. This is done to eliminate possible mis-directed troubleshooting on the part of the tester. A pass/fail determination on this test does not in any way reflect upon the UPS unit being tested, but provides the tester with verification the serial ports on the test computer will and do work properly. If the tester _knows_ the test computer has capable and functioning serial ports, then this test can be marked as STAT. If the tester subsequently has problems with any communication between the computer and the UPS, tester is to run the serial tests before proceeding with troubleshooting or testing. Procedure: Tester first verifies the serial ports are detected during bootup by checking dmesg where the serial port(s) should be listed as being activated during bootup. Secondly, tester verifies serial ports can work with setserial (use setserial to get a report from the serial port to be used in the test. "Setserial -a /dev/ttyS0" for example.) Thirdly, tester tests the serial ports by connecting a null modem, compiles the miniterm program and passes data through the serial port(s) to be used in the testing of the UPS. Determination: All three of the above-listed tests must pass for the Serial Port Testing to pass; otherwise, fail dmesg: serial ports must be properly detected during bootup. Setserial: serial ports must be configurable via setserial. Null modem: serial ports must be able to pass data through the modem. All three above test must pass for the Serial Port Testing to pass; otherwise, fail. Unit Operations Tests Power Rating Test Procedure: Tester uses a measuring device (multimeter, etc.) to determine the power range the unit is capable of sustaining. Tester compares this with the power range reported for the unit by the manufacturer. Determination: Measured range and manufacturer's range must be roughly comparable (within 5%) to pass; otherwise, fail. Switching Time Test Procedure: Tester attached a measurement device and checking the switching time from power to battery and then battery to power switching times. Determination: Switching times must not exceed 5 milliseconds in either direction to pass; otherwise, fail. Battery Endurance Test Procedure: Tester determines battery run time with a specified load. Load should include the basic setup as might be used by a custormer of this UPS (no monitor if a server-class UPS, with a monitor on a workstation-class UPS. ) Tester should refer to the manufacturer's marketing materials when determining the target market of the UPS. Tester sets up the UPS and connected equipment, brings all components up (operating normally) and removes power to the UPS. Tester times the duration from time of power removal to time of battery being 100% exhausted (or all connected equipment has stopped running.) Determination: Testers measures battery duration time under load and compares this with the manufacturer's reported battery operation. Minimum battery time under load is five minutes. If the battery lasts at least five minutes and is within 80% of what the manufacturer states for endurance under load, then the test is a pass; otherwise, fail. Recharge Time Procedure: Tester determines the amount of time it takes to recharge the battery to 100% after the Run Time test. Determination: If the battery recharges with 80% of the time the manufacturer reports, then the test is a pass; otherwise, fail. Power Loss Test Procedure: Tester connects the computer serial port to the UPS serial port but does not yet plug the computer power into the UPS. The tester then plugs a light into the UPS and turns on both the UPS and the light. The tester next runs powerd on the computer and then unplugs the UPS from its power supply (outlet) and verifies that: the light stays on; the /etc/powerfailscript runs; shutdown is running. Determination: The following three checks must be correct to pass; otherwise, fail. The light must stay on when power to the UPS is removed. The /etc/powerfailscript must run when power is removed from the UPS. The shutdown script must start when power is removed from the UPS. If all three of the above steps result in proper operation of the computer and UPS then the tester procedes to the Power Return Test below; otherwise, fail. Power Return Test Procedure: Tester plugs the UPS back into its power supply (outlet) and verifies that: the light stays on; the /etc/powerokscript runs; the /etc/powerfailscript is not running; the shutdown program is no longer running. Determination: The following four checks must be correct: The light must stay on when power is returned to the UPS. The /etc/powerokscript must run when power is returned. The /etc/powerfailscript must be stopped/killed. The shutdown program must be stopped/killed. If all four of the above listed steps result in proper operation of the computer and UPS then the tester continues to the Computer Shutdown Test; otherwise, fail. Computer Shutdown Test Procedure: The tester again unplugs the UPS from its power supply (outlet) and verifies the computer and other components connected to the UPS shut down completely (power off or system halt) within a reasonable amount of time. Determination: The following check must be correct to pass; otherwise, fail. The computer and other UPS-connected components must power down or reach system halt before the battery of the UPS is fully discharged. UPS/Computer Hot Test Procedure: Tester powers down the computer and connects its power supply to the fully-charged UPS. Tester powers up the UPS, computer and other connected components. Tester next runs the sync and find scripts then unplugs the UPS from its power supply (outlet.) Determination: To pass, the computer and connected components must be shut down completely or reach the state of "system halted" before the battery of the UPS is exhausted; otherwise, fail. References UPS-HOWTO http://www.linuxdoc.org/HOWTO/UPS-HOWTO.html NUT: Network UPS Tools: http://www.exploits.org/nut/ If you have questions you can direct them to linux@applabs.com. >>> END UPS WORKSHEET >>>