Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

RX2800 - Clean shutdown of OpenVMS when power button tapped.

 
Brian Reiter
Valued Contributor

RX2800 - Clean shutdown of OpenVMS when power button tapped.

Hi Folks,

 

On the RX2800 (OpenVMS 8-4 fully patched), tapping the power button (assuming the system is running) results in a clean shutdown of OpenVMS. Does anyone know if this can be tapped into so that a clean application shutdown could be done as well?

 

cheers

 

Brian

14 REPLIES 14
Steven Schweda
Honored Contributor

Re: RX2800 - Clean shutdown of OpenVMS when power button tapped.

 
Brian Reiter
Valued Contributor

Re: RX2800 - Clean shutdown of OpenVMS when power button tapped.

Hi Steven,

 

I did, but I couldn't see any evidence of it being called as part of the shutdown procedure invked when the power button was pressed.

 

I'm going to keep digging but was was wondering if someone else has tried this.

 

cheers

 

Brian

Steven Schweda
Honored Contributor

Re: RX2800 - Clean shutdown of OpenVMS when power button tapped.

 
Hoff
Honored Contributor

Re: RX2800 - Clean shutdown of OpenVMS when power button tapped.

AFAIK, the front power button does not call the OpenVMS shutdown routines. 

 

I'd expect the front-panel power button powers off the box.  Hard.

 

VMS itself is fairly tolerant of a hard shutdown (and which is related to why its I/O processing tends to be much slower than other operating systems), but various applications may not be quite so tolerant.

 

If there were a front-power shutdown event arriving at OpenVMS, then that processing would call SHUTDOWN or analogous, and that would call SYSHUTDWN and related, and you'd have already found evidence of that invocation in the operator logs (eg: the usual OPCOM chatter during a controlled shutdown) and the accounting data, among other places.  Or there'd be documentation in parallel to the existing SHUTDOWN documentation for this path.  There'd be some information around this shutdown sequencing somewhere in the docs.  Or in the HP IA64 Core Hardware Monitor (Events) or WBEM documentation.  Or in the recent Power Management documentation, or near the CPU_POWER_MGMT/CPU_POWER_THRSH parameters.  

 

And there isn't.  

 

 Googling the core manuals for "SYSHUTDWN", "button" or analogous finds nothing.  (Well, a few references and a doc bug or two, but nothing about a controlled front-panel-initiated server shutdown.)

 

If you want the official answer here of course, please ring up the HP support center and ask.

 

 

Brian Reiter
Valued Contributor

Re: RX2800 - Clean shutdown of OpenVMS when power button tapped.

Hi Hoff,

 

From what I've seen it looks as though the SMHANDLER process gets the message that the power button has been pressed and released (a single tap) and issues the shutdown command. The logs certainly support this.

 

The gracefull shutdown is described here. (bottom of page 85). As stated in the manual anything less than 4 seconds triggers a clean (graceful) shutdown. I'm just curiious as to whether nor not I can easily tap into this.

 

cheers

 

Brian