Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!pilchuck!amc-gw!sumax!briand From: briand@sumax.seattleu.edu (Brian Daugherty) Newsgroups: comp.sys.hp Subject: Re: How do I shutdown an HP9000/332 on orders from a UPS. Summary: BEST supplied software available Keywords: BEST UPS shutdown UNIX systems Message-ID: <2123@sumax.seattleu.edu> Date: 13 Jan 91 23:14:01 GMT References: <98@cscdec.cs.com> Reply-To: briand@sumax.seattleu.edu.UUCP (Brian Daugherty) Organization: Seattle University, Seattle, WA Lines: 31 In article <98@cscdec.cs.com> jack@cscdec.cs.com (Jack Hudler) writes: >We have just installed a UPS for our network and HP9000. >I have connected the UPS (BEST) to an unused serial port, and I am able >to talk to it and know when power has failed. >But what I don't know how to handle is shutting down the HP9000 gracefully >without operator intervention. > >Is there a PD version of UPS monitoring software out there? > I couldn't tell from your posting, but are you aware of the generic UNIX C program supplied (at a small fee) by BEST just for this purpose? It is supposed to run on the HP, and monitors the serial port every couple minutes. When power is interrupted, the program detects this, and lets you do whatever you want to shut down the UNIX system. We plan to start a modified "shutdown" script, ending with reboot -h, after stopping all other processes. We haven't installed all this and made it work, but we have the hardware and software, and an approach that ought to work. You can also help reach your scenario by changing the settings in the UPS that control how long the UPS will run after AC-line interrupt, whether it will restore power when AC returns, etc. Sounds like we have similar setups and needs (BEST UPS, HP9000, Novell). Stay in touch; we can probably both benefit. NOTES: the BEST software comes as source on DOS 5 1/4" disks, with a manual for installation and customization. It is cheap (<$100) compared to the UPS, anyway. Hope this helps, Brian NUWES (student at Seattle U)