- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- HPE 9000 and HPE e3000 Servers
- >
- How can script poweroff a 9000 D class or an N cla...
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
тАО01-21-2003 11:52 AM
тАО01-21-2003 11:52 AM
How can script poweroff a 9000 D class or an N class
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-21-2003 12:16 PM
тАО01-21-2003 12:16 PM
Re: How can script poweroff a 9000 D class or an N class
Perhaps if you did it through the UPS, but as a former CE I'm aware of no way to shut power off once the system has gone through shutdown.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-21-2003 01:56 PM
тАО01-21-2003 01:56 PM
Re: How can script poweroff a 9000 D class or an N class
On newer systems i.e A, L, N & RPxxxx systems the GSP has the PC or Power Control option to remotely power down/up systems. But remember you'd have to connect to a console port to do this.
And this option cares not what state the system is in, so you'd have to insure that shutdown has completed prior to using PC.
I'm not sure I'd like to have a script lying around that can power cycle machines. I'd keep a VERY short leash on that puppy. And of course you'd have to deal with the issue of having clear-text usernames & PWs in that script.....
My 2 cents,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-21-2003 08:29 PM
тАО01-21-2003 08:29 PM
Re: How can script poweroff a 9000 D class or an N class
It all depends on how fast you need to perform the shutdown. A script can run the shutdown -h 0 command but this could take minutes to complete. Unfortunately, things like NFS can delay this task significantly if other systems are not responding. The fastest way to shutdown is:
reboot -qh
which will bypass all shutdown scripts, sync the disks and halt...in seconds. But database programs are simply killed (well, they just stop running) without any chance to close their files in a logical manner...that can be a problem.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2003 06:06 AM
тАО01-22-2003 06:06 AM
Re: How can script poweroff a 9000 D class or an N class
If you have or can purchase an APC SmartUPS, it should come free with the Powerchute software for HP-UX that will perform the auto-shutdown as you request. You can set the parameters to shutdown the server once the UPS is drained down to a certain % of running time. I am in the process of configuring my D220 to do this procedure. Maybe we could help each other. gwilley@dmv.com. Let me know if this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-23-2003 12:01 AM
тАО01-23-2003 12:01 AM
Re: How can script poweroff a 9000 D class or an N class
The only way to power down a D-Class by commandline that I can imagin is using an UPS (the power_onoff command of a PowerTrust would be a way)
I never tried it on a N-Class, but it might be possible with a Kermit script using the internal GSP port
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-24-2003 06:31 AM
тАО01-24-2003 06:31 AM
Re: How can script poweroff a 9000 D class or an N class
I think a good way is to protect your D-Class Server with a power supply which will shutdown your server in case of power fail. And additional set the autoboot option to off. You can do this with the setboot command.
This prevent the server from rebooting if the power will come back and go away in a situation the server will reboot. You must manualy startup your server and you can do this at time you are sure the power will be stable. If the server is on a remote site - connect a web console to the console port. Then you are able to connect to the server and restart it.
Just some thoughts but its a way you can go.
Roland
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-24-2003 01:02 PM
тАО01-24-2003 01:02 PM
Re: How can script poweroff a 9000 D class or an N class
There is a serial connection between the box and the UPS.
There is a setting in /etc/inittab that lets you trigger an orderly system shutdown a certain number of minutes after a power fail.
I think its ups_mon or upsmond
There may be some information in this search that you find useful.
P
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com