- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- UPS Auto shutdown
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
09-09-2002 07:26 AM
09-09-2002 07:26 AM
UPS Auto shutdown
This past Saturday I attempted a test. I shutdown all the databases (just in case) then pulled the plug on the UPS. It immediately swithced to battery mode but nothing else happened. I waited 45 mins before aborting the test. At that time the battery life indicator was showing 50% remaining.
Why did the UPS not send a notification? Or if it did, why did the servers not shutdown as I expected? Maybe I have the wrong parameter set. I was expecting the "ONBattery" event to trigger this. Is that correct?
What else can I look at?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2002 07:48 AM
09-09-2002 07:48 AM
Re: UPS Auto shutdown
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2002 08:04 AM
09-09-2002 08:04 AM
Re: UPS Auto shutdown
Sandip
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2002 08:57 AM
09-09-2002 08:57 AM
Re: UPS Auto shutdown
# @(#) $Revision: 70.4 $
shutdown_delay_mins:1
shutdown_timeout_mins:5
upstty:/dev/tty0p1 # Port 1 (second) on terminal mux 0 for UPS rs-232
How do I tell if I have EMS installed?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2002 09:03 AM
09-09-2002 09:03 AM
Re: UPS Auto shutdown
Check /var/adm/syslog/syslog.log for ups_mond messages:
grep ups /var/adm/syslog/syslog.log
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2002 09:43 AM
09-09-2002 09:43 AM
Re: UPS Auto shutdown
For installing the EMS, install latest Online Diagnostics. OR you can give swlist -l fileset|grep -i ems.
Sandip
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2002 09:58 AM
09-09-2002 09:58 AM
Re: UPS Auto shutdown
No messages in syslog.log.
inittab was commented - I removed it. I will not be able to issue the init q until after work hours. This is on the production server and my boss gets nervous about these things being done when there is the possibility that customers may not be able to access the server/DB. I'm going to go back thru the UPS Manager manual to see it I missed this part.
I'll update this after I have a chance to test these suggestions.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2002 10:04 AM
09-09-2002 10:04 AM
Re: UPS Auto shutdown
I was thinking maybe it failed to start but it sounds like it never even tried to start. You should be able to see a process called ups_mond running when you do "ps -ef |grep ups". Let us know.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2002 01:43 PM
09-09-2002 01:43 PM
Re: UPS Auto shutdown
You could consider simply starting the ups_mond daemon without rereading the inittab. You can then run your test on the UPS and see how it works.
By default that line is commented out so you will probably have little worries about how well it works.
Just make sure you have the conf file set up how you want it.
Good luck,
Kel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2002 12:32 AM
09-10-2002 12:32 AM
Re: UPS Auto shutdown
Can you confirm whether you are using ups_mond or UPS Manager.
regards,
Darren.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2002 04:15 AM
09-10-2002 04:15 AM
Re: UPS Auto shutdown
I am definitely using the UPS Manager II software.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2002 05:08 AM
09-10-2002 05:08 AM
Re: UPS Auto shutdown
As you're not using ups_mond, you don't need to worry about the ups_conf file at all. I'd also ensure that you DON'T have the ups_mond line in inittab enabled, as having both ups_mond and UPS Manager II accessing a UPS will cause problems.
Other things to check - if you are expecting the system connected to the UPS to alert the others via a network connection then ensure the hub used is protected by the UPS too!
Personally I know very little about UPS Manager II, but there are a number of documents in the knowledge database with troubleshooting guidance (you'll need to have your contract details linked to your ITRC user id to view these). Here's a couple of docs to get you started: KBRC00008135 (How to configure UPS Manager II for two systems and one UPS), UUPSKBRC00009437 (HP UPS Manager II - shutdown alarm timing explained)
You may also wish to post your query in the Windows forums on the ITRC if you need help with the NetServer part.
Hope this helps,
Darren.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2002 05:18 AM
09-10-2002 05:18 AM
Re: UPS Auto shutdown
with SNMP passwords set to a non-default (secure) value.
Run throught the upsmgrclient
setup and see if you can
get the status of the UPS. If the client can't then the
ups manager software likely
can't either.
Given that you appear to have
well over an hours worth of
battery power, I would set the
delay before shutdown
significantly higher than
1 minute.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2002 05:36 AM
09-10-2002 05:36 AM
Re: UPS Auto shutdown
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2002 12:20 PM
09-18-2002 12:20 PM
Re: UPS Auto shutdown
Taking that for a clue I tried mgupsd by itself and got the usage dump of:
run: upsd -d
dump shared memory: upsd -a
kill all proxy daemons: upsd -k
So I took that to mean that I need to provide some arguments to the daemon to get it to run. I assumed that to mean details from the proxy setup so I issued:
mgupsd -d/dev/tty0p0 -n1
MGProxy: UpsId: 1, Device: /dev/tty0p0
Error: cannot set terminal attributes
So now it is complaining about terminal attributes.
Where do I go from here?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2003 09:26 AM
02-03-2003 09:26 AM
Re: UPS Auto shutdown
I have a very similar situation to the one you describe.
After rooting through the manual I found that in chapter six it mentions the amber light. Then it suggests adding a managed node and there's a picture with a tick box saying UPS Manager control.
This you can get to from
/opt/upsmgr/manager/bin/upsmgrmap
I found that by making that box darker (depressed) then running
/opt/upsmgr/manager/bin/upsmgrstop
/opt/upsmgr/manager/bin/upsmgrstart
The traffic light went green (I might have stopped /opt/upsmgr/client/bin/upsmgrclient & then restarted I'm not sure)
I haven't tested it yet, it certainly looks more hopeful than it did. I guess it's all in the manual i just found this bit a tad ambiguous.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2003 10:47 AM
02-03-2003 10:47 AM
Re: UPS Auto shutdown
It turns out I had the wrong UPS configured. I somehow had the Manufacturer and Model set to something that didn't match my actual UPS. Once I figured that out, I reconfigured so the Manufacturer/Model was Hewlett Packard/HP R09000. Then I started seeing status on the UPS - Info window that I hadn't seen before. I managed a 'pull the plug' test in December and it worked fine on the Unix boxes after I figured out where the delays were set. Note: even though I also configured the Netserver 3000 as part of this UPS group, it did not shutdown gracefully. It simply died when the battery ran out. The 2 Unix boxes shutdown gracefully after about 8 minutes of delay.
To check if you are communicating with the UPS go to the UPS Domain Map, UPS -> Info window. If you see UPS stats (colored bars on right, Active Alarms other than 'Communications Lost') then you are communicating and the rest should be a matter of configuring the separate alarm actions.
Hope this helps.
Don
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2003 01:33 AM
02-04-2003 01:33 AM