Skip to ContentSkip to Footer
Start of content
- Community Home
- >
- Servers and Operating Systems
- >
- Servers - General
- >
- HP PowerTrust II LR config file?
Servers - General
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
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
- Email to a Friend
- 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.
End of content
United States
Hewlett Packard Enterprise International
Communities
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP