System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

shutdown completely an HP-UX server

SOLVED
Go to solution
Fabio Ettore
Honored Contributor

shutdown completely an HP-UX server

Hi guys,

have you experiencies about HP-UX systems that shutdown it completely (that is without push the key on case at the end of shutdown)?

Thanks in advance!
Ettore
WISH? IMPROVEMENT!
16 REPLIES
Zafar A. Mohammed_1
Trusted Contributor

Re: shutdown completely an HP-UX server

No
Pete Randall
Outstanding Contributor

Re: shutdown completely an HP-UX server

Ettore,

Only during a power failure! ;^)

Do you mean that the machine turns its own power off like the switch had been pushed? I've never heard of such a thing on HP-UX (my Windoze PoC. does that).


Pete

Pete
Paula J Frazer-Campbell
Honored Contributor

Re: shutdown completely an HP-UX server

Hi

If the server is shuting down by itself then check /var/adm/syslog.log and syslogOLD


Paula

If you can spell SysAdmin then you is one - anon
Mark Grant
Honored Contributor

Re: shutdown completely an HP-UX server

Hey Pete, the Olivetti 3B2 unix boxen did it way before windows!
Never preceed any demonstration with anything more predictive than "watch this"
Paula J Frazer-Campbell
Honored Contributor

Re: shutdown completely an HP-UX server

Hi
If it is powering itself off is it overheating? as this can cause it.


Paula
If you can spell SysAdmin then you is one - anon
G. Vrijhoeven
Honored Contributor

Re: shutdown completely an HP-UX server

Ettore,

Do you mean powerdown after shutdown?

Gideon

PS. shutdown -h ( halts the server and will keep GSP active on rp**** servers, so you can remotely boot. )
I do not know how to powerdown from unix.


Jeff Schussele
Honored Contributor

Re: shutdown completely an HP-UX server

Hi Ettore,

No - not with a single command.
You can run
shutdown -hy now
to bring it to a halt
And then depending on the model you could go into the GSP and power it down from there w/o having to flip the power switch.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Fabio Ettore
Honored Contributor

Re: shutdown completely an HP-UX server

Jeff and Gideon, you answered to my question.
Anyway I want to complete the problem:

Electricity in a big room with many HP-UX systems (RP-class, N-class, R390) is managed from an UPS. Few days ago there was a blackout and after that also UPS fell down. When it came back, it made some systems that were in halt mode (of course because they were shutdown -h) to boot up. But the boot sequence was in a confuse manner (there are DNS, firewall, NFS server and other...in this room). At that point another reboot was needed.

Then I asked you if it is possible to shutdown completely servers without human action on system's console.
Anyway I have another idea: autoboot could set to false, in this way boot will arrive at BCH prompt. Then anybody can decide which system to boot up first.

Thanks anyway for you responses!
See you soon!

Best regards,
Ettore

P.S.1: I will submit points later.
P.S.2: what's going on chat? (https://www.beepz.com/chatzone)
WISH? IMPROVEMENT!
Bill Hassell
Honored Contributor

Re: shutdown completely an HP-UX server

As Jeff mentioned, the newer HP boxes do have remote power down, so if your question is: can some models of HP servers be powered off with software, the answer is yes. That is one of the reasons that all HP servers with a GSP must have a password set before being placed into production.


Bill Hassell, sysadmin
Pete Randall
Outstanding Contributor
Solution

Re: shutdown completely an HP-UX server

Ettore,

Oh, that's what you were asking! ;^)

Depending on your ups monitor, you may well have the option to specify whether it will come back on after the power is restored. See the man page for ups_conf and specifically the parameter "kill_after_shutdown".


Pete

Pete
Steven E. Protter
Exalted Contributor

Re: shutdown completely an HP-UX server

If this is happening unexpectedly it should be in the GSP log, some kind of problem.

We have run the unplug shutdown tests and seen the systems come down with a shutdown -h 0


This works if ups_mond.conf is set up properly.

This does not shut the ups itself down. That we have to do with the switches on the front.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Fabio Ettore
Honored Contributor

Re: shutdown completely an HP-UX server

Good morning guys,

thanks Pete and SEP. Your suggestion on UPS configuration is really interesting. I will let you know progresses about this issue.

Best regards,
Ettore
WISH? IMPROVEMENT!
Fabio Ettore
Honored Contributor

Re: shutdown completely an HP-UX server

Pete and SEP, a question for you (and of course for ITRC people too):
If UPS dies and server with its configuration together then how does UPS know the option kill_after_shutdown, that is UPS must be turned OFF when AC line voltage comes back?

Best regards,
Ettore
WISH? IMPROVEMENT!
Bill Hassell
Honored Contributor

Re: shutdown completely an HP-UX server

The behavior of the UPS during a power failure where the batteries run out is very dependent on the model of the UPS and whether it has non-volatile RAM to remember optional settings. In the case of battery exhaustion, having the UPS come back up is seldom the right choice, especially if there are related services (like networking) that are on a separate UPS (or no UPS at all). Complete loss of power really needs humans to power things back on (like big disk arrays, tape changers, etc).


Bill Hassell, sysadmin
Fabio Ettore
Honored Contributor

Re: shutdown completely an HP-UX server

Thanks Bill, thanks everybody for your responses and your experiencies.

Like Robik says: Ettore, ITRC forum is way COOL!
Oh....he is right! :-)

Best regards,
Ettore

P.S.: Robik, are you happy? I am advertising https://www.beepz.com/chatzone
WISH? IMPROVEMENT!
Fabio Ettore
Honored Contributor

Re: shutdown completely an HP-UX server

ok
WISH? IMPROVEMENT!