How To Configure PowerAlert on Linux with the APC BackUPS Pro 280VA (v2.0, 5Sept2002)

Similar documents
What this Guide Covers. Additional Info. 1. Linux based Servers. 2. Windows Servers. 3. GoldLite and Virtual Servers. 4. Other servers. 5.

Safe Mode: Solve Startup Problems & Crashes S 3/1. Solve (Almost) Any Problem Your Computer May Have

HomeTroller Zee S2 Getting Started Guide

Start Up and Shutdown Procedures (Unix)

Table of Contents. D-Link SharePort Plus... 4 Introduction...4 System Requirements...4 Features...5. Installation... 6

How To Force Restore A Computer That Won Boot Up After System

This chapter discusses some common problems and their solutions

v5: How to restore a backup image

Performing Maintenance Operations

FAQ No Q: What should we know before we start Windows 10 upgrade?

Uninterruptible Power Supplies

Magic Card User Manual

Firmware Update Procedure for RX-Z7

Chapter 21 Restart. Types of power supply

Magic Card Professional

Firmware Update Procedure for RX-V3900

CSE 265: System and Network Administration

CSE 265: System and Network Administration

A+ Guide to Managing & Maintaining Your PC, 8th Edition. Chapter 12 Troubleshooting Windows and Applications

PowerEdge 350 systems contain the following major features:

Performing Administrative Tasks

Managing Blade Servers

Certification. System Initialization and Services

Using GIGABYTE Notebook for the First Time

Red Hat Network Satellite 5.0.0: Virtualization Step by Step

How To Turn Off System Restore In Windows 7 Home Premium In Safe Mode

Using GIGABYTE Notebook for the First Time


NEC Versa 4200 Windows 98 Upgrade Information

Using iscsi with BackupAssist. User Guide

Install ISE on a VMware Virtual Machine

Reinstalling the Operating System on the Dell PowerVault 745N

Firmware Update Guide

Using GIGABYTE Notebook for the First Time

USER MANUAL. PowerFrame TM Personal. UPS Monitoring Software

1. Contents. b. Windows ME

FIRMWARE UPDATING PROCEDURE

Using GIGABYTE Notebook for the First Time

LANDesk Client Manager. Administrator s Manual

MySQL for Windows. Tak Auyeung. September 7, 2003

Using GIGABYTE Mini-PC for the First Time

FIRMWARE UPDATING PROCEDURE

How to Back-Up a fit-pc2 Using Only a USB Stick (and some creative partitioning)

Using GIGABYTE Tablet PC for the First Time

Subject: RX-V1065/HTR-6280 Firmware Update Ver

KODAK EASYSHARE Software CD V1.X Troubleshooting Guide for Mac OS X

Troubleshooting & Repair

The following table lists the supported upgrade paths to Cisco Finesse Release 11.5(1).

VISUAL QUICKPRO GUIDE

Intel Solid State Drive Firmware Update Tool

RA Triage Procedure. Product: DM8050 & DM8600 series. 1.0 Useful Components & Accessories

Firmware Update Procedure for RX-V2065/HTR-6295

Using AORUS Notebook for the First Time

Troubleshooting Troubleshooting Copyright 2018 Stone Computers Ltd. All Rights Reserved. 2

Windows NT Server Printer Driver Upgrade Instructions

NEC Express5800 Series

How to Dual-Boot OS X and Ubuntu

Software Evaluation Guide for Microsoft* Office Excel* 2007

Install ISE on a VMware Virtual Machine

Install ISE on a VMware Virtual Machine

Install ISE on a VMware Virtual Machine

Management Software for Uninterruptible Power Supply Systems

Software Evaluation Guide for Microsoft* Office Excel* 2007

4190 Information Management System (IMS) Software Upgrade Instructions

Reinstalling Windows 95/98/ME/2000 Professional

Finding information on your computer

The leg stand is located at the back of the product, on the top right. This adjustable-length leg stand will allow your ARCHOS to stand by itself on a

ExpressCluster for Linux Version 3 ExpressCluster LAN Installation Guide

Dell EMC OpenManage Message Reference Guide. Version 9.1

Using GIGABYTE Notebook for the First Time

Chapter 6: Connecting Windows Workstations

Documentation. OTRS Appliance Installation Guide. Build Date:

ViewPower HTML5. User Manual

Using GIGABYTE Tablet PC for the First Time

Install ISE on a VMware Virtual Machine

WINDOWS 8.1 RESTORE PROCEDURE

JetFlash User s Manual

Tutorial How to upgrade firmware on Phison S8 controller MyDigitalSSD using a Windows PE environment

Partitioning a disk prior to Linux Installation

Technical Note. Restoring Dell EMC Avamar Checkpoint Backups from a Dell EMC Data Domain System After a Single Node Avamar Failure

The following documents are included with your Sony VAIO computer.

Contents. Getting Started...1. Managing Your Drives...9. Backing Up & Restoring Folders Synchronizing Folders...52

NEC Versa 500D/550D Windows 98 Upgrade Information

Installing and Upgrading Cisco Network Registrar Virtual Appliance

VP- X Pro & VP- X Sport

Norstar Voice Mail 4.0 Software Add-on Guide

linkzone User ManUal

EAN-Firmware Upgrade Utility

BACKUP APP V7 MICROSOFT SYSTEM BACKUP AND RESTORE GUIDE

Using AORUS Notebook for the First Time

TECHNICAL DOCUMENT. Upgrading to PathPilot v2.0.x. 1.1 What's New in PathPilot v2.0.x

Server Administrator Version 8.5 Messages Reference Guide

Geneious Floating License Manager Version Biomatters Ltd

GETTING STARTED GUIDE. Cisco Small Business. NSS2000 Series Network Storage System

Getting Started. HP Business PCs

Users Manual. OP5 System 2.4. OP5 AB. Page 1 of 6

Using GIGABYTE Notebook for the First Time

Winpower. User Manual

ViewPower. User s Manual. Management Software for Uninterruptible Power Supply Systems

Transcription:

How To Configure PowerAlert on Linux with the APC BackUPS Pro 280VA (v2.0, 5Sept2002) This How-To explains the steps involved in setting up a Dell or Penguin computer system with Red Hat Linux v7.3 for use with the APC BackUPS Pro 280VA uninterruptible power supply (UPS) and Poweralert Plus UPS software. The document is divided into 7 sections: 1. Requirements 2. Hardware Configuration 3. Software, Part 1 (installation and configuration) 4. OS Configuration 5. Software, Part 2 (configuration) 6. Testing 7. Troubleshooting 1. Requirements: Red Hat Linux v7.3 (RH7.1) PowerAlert UPS software from Tripplite (pa11_04.tar.gz) APC BackUPS Pro 280VA APC UPS cable (PN: 940-0095B) Note that the version of PowerAlert listed here is has been tested and found to work with RedHat v7.3. There are older versions available. You will find this and other versions of the software here: http://www.tripplite.com/products/powermgmt/software_download.cfm The following Linux versions were current as of 5 September 2002: PowerAlert V10.2 (Size: 2.9MB) PowerAlert V11.0X (Size: 2.95MB) 2. Hardware Configuration Make available one COM port and connect the UPS using the APC UPS cable with part number 940-0095B. The cable should have been supplied with the UPS unit. Otherwise request one from APC and they will send it out free of charge. Turn the computer on and enter the bios settings display. Shortly after you power on the computer system you should see a brief message showing how to do this. Usually, depressing the F2 key during the boot process will get you there. Once in, look for power settings and ensure that the following requirement is met: state after AC power failure should be ON upon power restore Save the change and continue booting. 1

3. Software Installation and Configuration, Part 1 Log in as root and create a new user called poweralert. Obtain a copy of PowerAlert V11.0X and place the file in the newly created /home/poweralert directory. This should be available for download at: http://www.tripplite.com/products/powermgmt/software_download.cfm Issue the following command to extract the files within /home/poweralert: [root@localhost]# tar zxf pa11_04.tar.gx You should then find the following files: [root@localhost]# ls linux.pa pa11_04.tar.gz pa_install pa_uninstall README Run the installation script: [root@localhost]#./pa_install Answer the script s prompts such that: Installation directory: Automatically start at boot time: /home/poweralert yes 4. OS Configuration Edit system file: /etc/rc.d/init.d/halt Just about at the end of file you ll find these lines: HALTARGS= -i -d if [ -f /poweroff -o! -f /halt ]; then HALTARGS= HALTARGS -p fi Remove the -p option from HALTARGS= HALTARGS -p Explanation: -p tells the computer to power-down after a shutdown command. If the computer is powered down in this manner (with -p option enabled) the system will not power-up automatically after a utility power restore. The bios interprets this as a normal shutdown procedure; i.e., shutdown not due to a power failure. Removing the -p flag results in a properly shutdown OS but not physically powered down. Therefore, once the inverter in the UPS is killed the bios interprets this event as a power failure. When power is restored and the inverter is reset the bios automatically turns the system back on. Now reboot the machine 2

5. Software Configuration, Part 2 Configuring the PowerAlert software requires two steps. 1. Run pasetup (as root) to tell PowerAlert what type of UPS you have. [root@localhost]# cd ~poweralert/engine [root@localhost]#./pasetup Select American Power Conversion for the UPS manufacturer. Select SmartUPS for the UPS model. Enter the port the UPS is connected to (e.g., /dev/ttys0). Leave the remaining fields alone. Click on Ok. Fig 1. pasetup main screen. 3

2. Run paclient (as root) to fine-tune the behavior of PowerAlert. [root@localhost]# cd ~poweralert/console [root@localhost]#./paclient Upon startup the software will display a summary of the current state of the UPS. It may take up to 10 to 15 seconds for it to display the information. Fig 2. paclient summary screen (default upon startup). From the main screen click on the Events menu and choose the Events Manager Then select the Shutdown tab. Make selections such that: Operating System Shutdown: Enabled for this event Operating System Shutdown Delay: 2 minutes UPS Shutdown: UPS Shutdown delay: Remote Shutdown: Enabled for this event 3 minutes Leave default setting 4

Fig 3. paclient Events Manager - shutdown parameters screen. Next choose the Broadcast tab. Make selections such that broadcasting is enabled and Delay Before First Broadcast: Broadcast Interval: 0 seconds 15 seconds Fig 4. paclient Events Manager - broadcast parameters screen. 5

Click on Ok to get back to the main screen then select File then Exit when you are done. You may observe in real time the state of the system from the Summary screen. Test to make sure that everything is working in good order. Disconnect the UPS and the main screen should look like the following: Fig 5. paclient summary screen showing a utility power failure (system on battery). Notice that the time until system shutdown is displayed at the bottom of the screen. 6

6. Testing Simulate a power failure to test the machine. Perform the following three tests to confirm a properly working system: i) disconnect power, wait for full shutdown (inverter kill), restore power ii) disconnect power during bootup, wait for full shutdown, restore power iii) disconnect power, wait for shutdown process to begin, then restore power during shutdown process The computer should recover from all these circumstances. Keep in mind the time delays you have set. Impatience may bring about the appearance of a system not working properly. Just wait and see what happens keeping in mind the time delay you set. For the purpose of expediency you may want to temporarily set the ShutdownDelay variables to 30 seconds, for example. Just remember to change them back after confirming positive test results. If the system does not appear to be functioning as you would expect, refer to the troubleshooting section of this document. 7

7. Troubleshooting Problem 1. PowerAlert does not appear to install properly or won t install. 2. pa_install script not able to create new directory 3. pasetup does not appear to be communicating with the UPS 4. Computer won t shut down after disconnecting utility power. 5. Computer powers down completely after disconnecting utility power. Does not reboot automatically after restoring utility power. Must manually turn it back on. 6. Computer remains on after cutting utility power to the UPS and the UPS inverter shuts down. 7. The OS is halted (proper shutdown) and the inverter shuts off after utility power disconnect but after restoring the utility power the UPS turns back on but the computer doesn t. Remark a. Check that the version of PowerAlert matches the version of Red Hat Linux OS a. Run installer script as root only. a. Make sure you re using the correct UPS serial cable (940-0095B). b. Did you choose the right UPS from the list? c. Is there a port conflict? Make sure the port is available for use. d. Is the UPS plugged into the port? a. Did you reboot machine after installing the software? b. Refer to Remarks for Problem #2 Remove the -p option from the HALTARGS= HALTARGS -p line in /etc/rc.d/init.d/halt file. Did you plug the computer into the UPS in the first place??? Make sure the bios power settings are set so that the computer is on after a power failure recovery. 8. If all else fails TrippLite tech support: http://www.tripplite.com/support/index.cfm 8