- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- Servers - General
- >
- HP PowerTrust II LR config file?
Servers - General
1753626
Members
5624
Online
108797
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
12-02-2004 05:50 AM
12-02-2004 05:50 AM
HP PowerTrust II LR config file?
We have an A1354A (240V, 2kVA). It seems to be working, and I find ups_mond running (from ps -ef):
/usr/lbin/ups_mond -f /etc/ups_conf -e ups_monchild
(What's '-e ups_monchild'?)
The config file is
shutdown_delay_mins:10
shutdown_timeout_mins:1
upstty:/dev/tty0p1:SOLA
We had a power failure a few weeks ago, and the system (HP9000 K200) disks came up badly trashed. I had to restore /usr from backup tapes, one set of which wouldn't read.
I found the manual, but there's no mention of the config file. I did a search here for "powertrust", but none of the posts talk about the config file. (Google finds a lot of these posts, too - more, in fact, than 'search' here.)
UPS messages seem to get logged in daemon.log:
Oct 17 05:23:58 dms-1 /usr/lbin/ups_mond[1267]: /usr/lbin/ups_mond: UPS /dev/tty
0p1 AC POWER FAILURE - running on UPS battery
Oct 17 05:34:59 dms-1 /usr/lbin/ups_mond[1267]: /usr/lbin/ups_mond: reboot -halt invoked due to UPS error cited in previous syslog message
The time is close to that reported by a UPS on another system (except for 4 h difference, which may be due to time zone settings). The reboot happened 10 min after the power failure. I don't know what the "timeout 1 min" does.
Shouldn't it call 'shutdown -h' with some grace period (for us, 0 is OK)? Or if it does, shouldn't that be logged?
Can I have it do anything else beside shut down - like try to log off idle users?
/usr/lbin/ups_mond -f /etc/ups_conf -e ups_monchild
(What's '-e ups_monchild'?)
The config file is
shutdown_delay_mins:10
shutdown_timeout_mins:1
upstty:/dev/tty0p1:SOLA
We had a power failure a few weeks ago, and the system (HP9000 K200) disks came up badly trashed. I had to restore /usr from backup tapes, one set of which wouldn't read.
I found the manual, but there's no mention of the config file. I did a search here for "powertrust", but none of the posts talk about the config file. (Google finds a lot of these posts, too - more, in fact, than 'search' here.)
UPS messages seem to get logged in daemon.log:
Oct 17 05:23:58 dms-1 /usr/lbin/ups_mond[1267]: /usr/lbin/ups_mond: UPS /dev/tty
0p1 AC POWER FAILURE - running on UPS battery
Oct 17 05:34:59 dms-1 /usr/lbin/ups_mond[1267]: /usr/lbin/ups_mond: reboot -halt invoked due to UPS error cited in previous syslog message
The time is close to that reported by a UPS on another system (except for 4 h difference, which may be due to time zone settings). The reboot happened 10 min after the power failure. I don't know what the "timeout 1 min" does.
Shouldn't it call 'shutdown -h' with some grace period (for us, 0 is OK)? Or if it does, shouldn't that be logged?
Can I have it do anything else beside shut down - like try to log off idle users?
- Tags:
- UPS
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP