Operating System - HP-UX
1834513 Members
2706 Online
110068 Solutions
New Discussion

How to Electrically shutdown a hp workstation

 
SupraTeam_1
Regular Advisor

How to Electrically shutdown a hp workstation

Hello all,
How can i electrically shutdown a hp workstation by shell ?

Regards
7 REPLIES 7
Pete Randall
Outstanding Contributor

Re: How to Electrically shutdown a hp workstation

You can't. You can issue the shutdown command but that will not "electrically shutdown" the machine - it merely halts the operating system.


Pete

Pete
Steven E. Protter
Exalted Contributor

Re: How to Electrically shutdown a hp workstation

Newer servers with gsp cards or management interfaces(csp) have the ability to remotely go into GSP mode and they can be powered down and up this way.

It's quite useful if you can't be near all of the servers.

Can't do that with workstations.

You can purchase for $400 an up a power strip that has an rj11 and rj45 network adapter. I have one in the US so that I can remotely power up and down some servers there without getting on an airplane.

This device works with telnet/ssh/snmp and https for ease of management.

Attached to one of these devices your goal can be achieved. Since the device may be worth more than the workstation, the tried and true method of pressing the power button will probably work best in this case.

I can recommend models however if you are interested.

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
Hakan Aribas
Valued Contributor

Re: How to Electrically shutdown a hp workstation

You cannot but you can shutdown a HP-UX server by MP. After logon mp (managemet processor), enter the folling commands:

CM (Command Menu)
PC (Power Control Menu)
OFF (Power Off)

Raj D.
Honored Contributor

Re: How to Electrically shutdown a hp workstation

Hi SupraTeam,

You can use GSP , for GSP enabled systems to power off electrically to the system.
You can use PC command from GSP> prompt to poweroff the system.

Here is the description:
-------------------------

PC : Remote Power Control - turn system power on and off

For proper system shutdown, shut down the OS before issuing this command.

This command allows the user to switch the system power ON or OFF, or Power
Cycle the machine. The user can have the action take place immediately, or
after a specified delay.

Note this is roughly equivalent to turning the system power off at the
front panel switch- there is no signal sent to the OS to bring the
software down before power is turned off. To turn the system off properly,
the operator must ensure that the OS is in the proper shutdown state
before issuing this command, by using the proper OS commands.

-----------------------------------------

Hope this will help ,

Cheers,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
Torsten.
Acclaimed Contributor

Re: How to Electrically shutdown a hp workstation

Hi,

forget the GSP/MP. There is no such thing in a workstation. The only ws I know having advanced power features is a special J-Class. The old systems have a real switch, newer systems a push button.

By default, if you press the power button, the OS will do a shutdown -q and power off, but there is *no* inverse operation to power off by a shutdown command.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Michael Roberts_3
Honored Contributor

Re: How to Electrically shutdown a hp workstation

On Itanium workstations you can get to a MP like interface from the serial console with:
ESC ( # ie. escape shift-9

you will get a prompt

cli>

type 'H' and you will see the list of commands, 'P' (for power) is one of them.

To exit this mode

ESC )
etouq ot hguone revelc ton m'i
SupraTeam_1
Regular Advisor

Re: How to Electrically shutdown a hp workstation

Many thanks but i think there is no solution

Regards