- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Shutting down HPUX on complete power loss
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
Discussions
Discussions
Forums
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
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
тАО03-09-2006 06:24 PM
тАО03-09-2006 06:24 PM
Shutting down HPUX on complete power loss
There is a short period of time between loss of power to the power supplies and when the system actually goes down. Is it possible to utilize this time to do as much clean shutdown as possible? Is it possible to set the system up to shutdown cleanly when upon powerloss to both power supplies?
One method to do this would be to use EMS but was hoping to avoid this route if there is already an easier configurable way built in the OS.
Again, thanks so much.
Bryan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-09-2006 07:49 PM
тАО03-09-2006 07:49 PM
Re: Shutting down HPUX on complete power loss
I'm not too sure this might meet your purpose. Have a look at the following links..
http://docs.hp.com/en/939/KCParms/KCparam.PfailEnabled.html
http://docs.hp.com/en/B2355-90672/index.html
regards,
Senthil Kumar .A
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-09-2006 07:56 PM
тАО03-09-2006 07:56 PM
Re: Shutting down HPUX on complete power loss
It's an innovative idea but as of now i don't think it's possible to really utilise that fraction of time.
HPUX 11.31 is coming up with some proactive features so probably we can expect something similar to this.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-09-2006 08:04 PM
тАО03-09-2006 08:04 PM
Re: Shutting down HPUX on complete power loss
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-09-2006 08:34 PM
тАО03-09-2006 08:34 PM
Re: Shutting down HPUX on complete power loss
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-09-2006 08:40 PM
тАО03-09-2006 08:40 PM
Re: Shutting down HPUX on complete power loss
It is preferrable to use a ups monitoring software that would trigger a graceful shutdown before the UPS power runs out!
we have been using it for years...
hope this helps!
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2006 12:23 PM
тАО03-10-2006 12:23 PM
Re: Shutting down HPUX on complete power loss
If power came-back in that time, the OS would go through some rather nasty power failure recovery code - reinitializing I/O cards was some of the hariest part and go on its way.
It was complicated.
If the power went away for too long the system was fubar anyway.
A UPS is a _much_ better solution. It keeps the whole system going for a while, and gives enough warning that when its batteries are about to go the system can execute a nice clean shutdown. And that shutdown process can invoke your shutdown handler in rc.init.d or whatever the right thing is :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2006 01:44 PM
тАО03-10-2006 01:44 PM
Re: Shutting down HPUX on complete power loss
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-11-2006 01:25 AM
тАО03-11-2006 01:25 AM
Re: Shutting down HPUX on complete power loss
reboot -qh
HOWEVER: this is a brute force kill -9 of every process (*NO* cleanup) and a quick sync of the disks. Yes, it will complete in just a few seconds but it completely depends on syncing all mounted disks. It will NOT perform a clean shutdown of network connections -- it is a system-wide kill -9. So databases will be left in indetermininate states, tempfiles won't be cleaned up, etc.
There is NO substitute for a good UPS. Remember that the computer is not just the rp4640, it is all the devices such as LAN, disks, tape drives, etc. Now if the data center doesn't have any power protection, then there's nothing you can do to cleanly shutdown the network connections -- the LAN will be dead. So you need to look at the entire system (including network appliances such as routers, switches and firewalls) when protecting the data. Note that modern UPS systems can signal the processor when power is gone (which would give you several minutes to cleanly terminate connections, notify users, etc) and then another notification when the batteries are almost gone (plenty of time for a reboot -qh).
Bill Hassell, sysadmin