[HPADM] RE: Re: SUMMARY: Power Off Server from Shell?

From: Dave T. (davidlt77@hotmail.com)
Date: Thu Aug 26 2004 - 10:30:46 EDT


Here's more info from Bill Hassell. Thnx, Bill!

Dave

----Original Message Follows----
From: "Bill Hassell" <bill@billhassell.com>
To: "'Dave T.'" <davidlt77@hotmail.com>
Subject: RE: [HPADM] Re: SUMMARY: Power Off Server from Shell?
Date: Wed, 25 Aug 2004 23:23:52 -0400

Yes, the UPS can indeed remove power but in an uncontrolled manner.
So as long as the server can be quiesced before the shutdown, there
should not be any problems with corrupted filesystems. The same is
true with the GPS power off command, although I seem to remember
that some models may send a shutdown to HP-UX before completing
the power down.

But in a choice between a clean power down and ratty power as a
storm trashes the transmission lines, I'd take the clean power
off. But you may want to look at Liebert or APC for complete
datacenter solutions where you can power off everything with
a single remote command. Note that security for such a feature
is mandatory.

--
Bill
-----Original Message-----
From: hpux-admin-owner@DutchWorks.nl [mailto:hpux-admin-owner@DutchWorks.nl]
On Behalf Of Dave T.
Sent: Tuesday, August 24, 2004 12:17 PM
To: steveh@beechglen.com
Cc: hpux-admin@DutchWorks.nl
Subject: [HPADM] Re: SUMMARY: Power Off Server from Shell?
Thanks for taking the time to write a followup, Steve.  I'll look into that.
Dave
----Original Message Follows----
From: "Steve K Hamilton" <steveh@beechglen.com>
To: "Dave T." <davidlt77@hotmail.com>
Subject: Re: [HPADM] SUMMARY:  Power Off Server from Shell?
Date: Tue, 24 Aug 2004 11:39:21 -0400
Dave,
As I read your original post, and this SUMMARY, something kept nibbling at
the back of my mind...
I finally ran across the information that I was trying fervently to "page
in" from long-deactivated memory:
If you have a UPS on the system, and are using the 'ups_mond' daemon for
shutting down the system in the event of a power failure, then there is
command 'power_onoff' that will shutdown the system and instruct the UPS to
power off the system.
I haven't used the command in any practical application, but I thought that
I would pass it on to you...
--
Steve Hamilton
Beechglen Development, Inc.
Email: steveh@NOSPAMbeechglen.com
----- Original Message -----
From: "Dave T." <davidlt77@hotmail.com>
To: <hpux-admin@DutchWorks.nl>
Sent: Tuesday, August 24, 2004 8:36 AM
Subject: [HPADM] SUMMARY: Power Off Server from Shell?
  > Thanks to all who responded.  Many suggested `shutdown -hy 0` or
something
  > similar, but that doesn't power off the machine.  It still requires that
  > someone physically turn off the power.  The most complete answer came
from
  > Bill Hassell, which is below.
  >
  > Dave
  >
  >
  >
  >
  > ----Original Message Follows----
  > From: "Bill Hassell" <bill@billhassell.com>
  > To: "'Dave T.'" <davidlt77@hotmail.com>
  > Subject: RE: [HPADM] Power Off Server from Shell?
  > Date: Mon, 23 Aug 2004 21:00:49 -0400
  >
  > Not exactly init 5 (but you already knew that nothing is compatible
  > between Unices when it comes to hardware administration). Remote
  > power off is available *ONLY* on the most recent HP 9000 boxes
  > such as the RP series. It is not possible on K-class or earlier.
  >
  > You would use the GSP to tell the server to power down. Naturally,
  > you do this *after* a complete shutdown, so you need console access.
  > (you do have all your remote consoles on a special LAN, correct?)
  >
  > But even then, catastrophic power problems require the entire computer
  > room to be powered down. Otherwise, you lose tape drives, disk arrays,
  > printers, network routers, PCs, etc.
  >
  > --
  > Bill
  >
  >
  > -----Original Message-----
  > From: hpux-admin-owner@DutchWorks.nl
[mailto:hpux-admin-owner@DutchWorks.nl]
  > On Behalf Of Dave T.
  > Sent: Monday, August 23, 2004 3:34 PM
  > To: hpux-admin@DutchWorks.nl
  > Subject: [HPADM] Power Off Server from Shell?
  >
  >
  > When I used to work with Sun machines, I could execute `init 5` to
shutdown
  > and power off the servers.  Someone told me 11i might have this feature,
so
  > I have searched for it and come up with nothing.  Is there an equivalent
  > feature in HP-UX that allows for powering off servers from the shell?  
We
  > just went through Hurricane Charley, and it would have been useful.
  >
  > Dave
  >
  > _________________________________________________________________
  > FREE pop-up blocking with the new MSN Toolbar - get it now!
  > http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
  >
  >
  > --
  >               ---> Please post QUESTIONS and SUMMARIES only!! <---
  >          To subscribe/unsubscribe to this list, contact
  > majordomo@dutchworks.nl
  >         Name: hpux-admin@dutchworks.nl     Owner:
  > owner-hpux-admin@dutchworks.nl
  >
  >   Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, 
browse
  > only)
  >              http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse &
  > search)
  >
  > _________________________________________________________________
  > Get ready for school! Find articles, homework help and more in the Back
to
  > School Guide! http://special.msn.com/network/04backtoschool.armx
  >
  >
  > --
  >              ---> Please post QUESTIONS and SUMMARIES only!! <---
  >         To subscribe/unsubscribe to this list, contact
majordomo@dutchworks.nl
  >        Name: hpux-admin@dutchworks.nl     Owner:
owner-hpux-admin@dutchworks.nl
  >
  >  Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse
only)
  >             http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse &
search)
_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar - get it now!
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
--
              ---> Please post QUESTIONS and SUMMARIES only!! <---
         To subscribe/unsubscribe to this list, contact
majordomo@dutchworks.nl
        Name: hpux-admin@dutchworks.nl     Owner:
owner-hpux-admin@dutchworks.nl
  Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse
only)
             http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse &
search)
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
--
             ---> Please post QUESTIONS and SUMMARIES only!! <---
        To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
       Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
 
 Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
            http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:43 EDT