- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Automatic shutdown of APC-UPS protected rp7410...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2007 11:40 PM
02-28-2007 11:40 PM
Pete
Pete
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2007 12:06 AM
03-01-2007 12:06 AM
Re: Automatic shutdown of APC-UPS protected rp7410 (w/ VPars)
We tried to use this instead of an HP provided power solution. It did not work.
I've heard of others that succeeded in this task. Nothing is perfect. Good Luck.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2007 02:34 AM
03-01-2007 02:34 AM
Re: Automatic shutdown of APC-UPS protected rp7410 (w/ VPars)
Is anyone out there using an APC UPS?
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2007 05:57 AM
03-01-2007 05:57 AM
Re: Automatic shutdown of APC-UPS protected rp7410 (w/ VPars)
Powerchute Network Shutdown I've heard is APC's networked UPS management solution. I think it works in conjuntion with APC UPS Network Management Card - there was a pitch months ago but we did not implement it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2007 06:13 AM
03-01-2007 06:13 AM
Re: Automatic shutdown of APC-UPS protected rp7410 (w/ VPars)
Nelson, I, too, have hooked up a UPS via serial port, however, this doesn't appear to be an option nowadays [what's a serial port? ;^) ]. APC provides "documentation/installation instructions" but they apparently suffered in translation from whatever language the random thoughts were originally written in and include nothing hp-ux related so I'm stuck with a strictly manual shutdown scenario.
We're still attempting to get some sort of support from APC, but I thought surely there must be someone out there that's using an APC UPS and the associated Network Shutdown software.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2007 06:33 AM
03-01-2007 06:33 AM
Re: Automatic shutdown of APC-UPS protected rp7410 (w/ VPars)
I've not used it, and the APC site is full of dead links, but I did scrounge this off the internet:
http://www.kt.agh.edu.pl/~miklesz/programs/PowerChute%20network%20shutdown%20Installation%20Guide.htm
It *might* be of some help.....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2007 07:07 AM
03-01-2007 07:07 AM
Re: Automatic shutdown of APC-UPS protected rp7410 (w/ VPars)
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2007 01:59 PM
03-01-2007 01:59 PM
Re: Automatic shutdown of APC-UPS protected rp7410 (w/ VPars)
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2007 10:05 PM
03-01-2007 10:05 PM
Re: Automatic shutdown of APC-UPS protected rp7410 (w/ VPars)
I thought we had APC PowerChute here once, I've looked for manuals and sadly can't find them.
We weren't using it for HPUX, can you get it to work on Windows then run a script from that machine or does it not work like that?
Hmmm not very helpful I'm afraid.
Cheers,
Gavin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2007 10:14 PM
03-01-2007 10:14 PM
Re: Automatic shutdown of APC-UPS protected rp7410 (w/ VPars)
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2007 11:40 AM
03-02-2007 11:40 AM
Re: Automatic shutdown of APC-UPS protected rp7410 (w/ VPars)
However, the UPS management card (aka, LAN card) provides a very nice set of web pages that could be parsed with web parsing tools such as Lynx, wget, curl, snarf. And a simple SNMP program could handle traps when an event occurs.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2007 10:10 PM
03-04-2007 10:10 PM
Re: Automatic shutdown of APC-UPS protected rp7410 (w/ VPars)
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2007 05:05 AM
03-09-2007 05:05 AM
Re: Automatic shutdown of APC-UPS protected rp7410 (w/ VPars)
I successfully tested today, shutting down a workstation from Powerchute Network Shutdown. Here's the installation/configuration summary:
1) I downloaded the latest client software from APC's web site, just in case.
2) Use your browser to connect to the management card's IP address and set the "Low-Battery Duration" to at least 5 minutes.
3) Ignore the "installation program must be run on the server console" note.
4) Use tar to extract the installation files from the pcns201.tar file downloaded in step 1.
5) Enter "java -cp .:pcns201.jar:swingall.jar:util.jar load" to install (after cd'ing to the directory where these files are located).
6) Follow along the install process, accepting the license agreement, specifying the install location, and filling in the IP address, the UserName and Password for the card.
7) The software should now be running (use ps -ef |grep java to check) and you connect to it from your browser by specifying the IP address and port number (xxx.xxx.xxx.xxx:3052)
8) Configure the client software by selecting "Configure Events" and setting the "UPS: On Battery" event to "Run Command File" and to "Shut Down System". This is where you specify how long you have to be on battery power before shutdown is initiated.
9) Then select "Configure Shutdown" and fill in the command file to run and how much time it takes to run said command file. You can also set it to turn off the UPS after shutdown, which I did, figuring that when power is restored, the UPS will come back on and the HP-UX machine will be rebooted.
I was a bit confused about what command file did what, so I made two: /pre-whoa and /whoa. The first, specified in step 8, simply announces the attention to shut down. The second, in step 9, actually invokes the shutdown.
By default, the install puts startup/shutdown in /etc/rc.APCpcns and then invokes from /etc/inittab, I'm going to move it to comply with the /sbin/init.d paradigm, but that should be the last step that I can think of.
Good luck to anyone who needs to attempt this.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2007 05:09 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2007 05:16 AM
03-09-2007 05:16 AM
Re: Automatic shutdown of APC-UPS protected rp7410 (w/ VPars)
I'm glad you replied, I really felt like you deserved more points than I had given you. Without your improved Install Instructions, I never would have figured it out. Well, maybe eventually, but you were a big help.
Have a bunny on me!!
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2007 01:12 AM
05-01-2007 01:12 AM
Re: Automatic shutdown of APC-UPS protected rp7410 (w/ VPars)
I'm more confused than ever. Is there an HP software solution that would work with APC ups's or am I stuck with Powerchute?
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2007 01:27 AM
05-01-2007 01:27 AM
Re: Automatic shutdown of APC-UPS protected rp7410 (w/ VPars)
My understanding is you are stuck with powerchute (or however they spell it).
I've talked to a few non-ITRC'ers. How it works with vpars, or if it works with vpars I'm not sure. All the people I know that have APC use powerchute.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2007 12:59 AM
05-22-2007 12:59 AM
Re: Automatic shutdown of APC-UPS protected rp7410 (w/ VPars)
So, rather than risk trashing my delicate antique workstation again, I loaded the software on my own workstation, following the above described procedure, then configured it, then pulled the plug on the UPS being monitored. The workstation shut down perfectly. The command files ran, the rc shutdown scripts were executed just as they should be and everything is working as advertised. I finally decided I don't need the command files anyway, since the normal, graceful shutdown takes care of everything properly. I have since loaded it onto a small server to ensure that Informix gets shut down as it should and that was successful too. This morning I'm removing the UPS monitor startup from /etc/inittab and placing it into /sbin/init.d where it should be, but I expect no problems with that.
Should you attempt this, be sure to print out (or at least refer to) the help file on the install CD (d:/PCNS/help.html). There is detailed information on the shutdown steps and the timing between steps, definitions of all the various delay times, descriptions of the various events that can be monitored, etc., etc., etc. Truly invaluable.
Pete
P.S. If you do decide to use a command file, there is a supposed requirement that the script be run with the bourne shell (/usr/old/bin/sh). That's what I tried when I did get the command files to run. I did not try again without the bourne shell so I can't say definitively that that is why they didn't run before, but they sure ran this time.
Pete