From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bob Vickers Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: automatic poweroff after high temperature detected Date: Mon, 05 Jun 2006 14:38:55 +0100 (BST) Message-ID: Reply-To: Bob Vickers NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: sea.gmane.org 1149514783 14024 80.91.229.2 (5 Jun 2006 13:39:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 5 Jun 2006 13:39:43 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Mon Jun 05 15:39:39 2006 Return-path: Envelope-to: gotm-tru64-unix-managers@gmane.org Original-Received: from sws1.ornl.gov ([160.91.1.101]) by ciao.gmane.org with smtp (Exim 4.43) id 1FnFIr-0007bo-4P for gotm-tru64-unix-managers@gmane.org; Mon, 05 Jun 2006 15:39:33 +0200 Original-Received: (qmail 23436 invoked by uid 49509); 5 Jun 2006 13:39:14 -0000 Original-Sender: tru64-unix-managers-owner@ornl.gov Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 23427 invoked from network); 5 Jun 2006 13:39:14 -0000 Original-Received: from emroute4.ornl.gov (160.91.86.27) by sws1.ornl.gov with SMTP; 5 Jun 2006 13:39:14 -0000 Original-Received: from emroute4.ornl.gov (localhost [127.0.0.1]) by emroute4.ornl.gov (PMDF V6.2-1x9 #31038) with ESMTP id <0J0E0007H39DHB@emroute4.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 05 Jun 2006 09:39:13 -0400 (EDT) Original-Received: from VIRUSCAN-DAEMON.emroute4.ornl.gov by emroute4.ornl.gov (PMDF V6.2-1x9 #31038) id <0J0E0010238Y6A@emroute4.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 05 Jun 2006 09:39:13 -0400 (EDT) Original-Received: from csengels.cs.rhul.ac.uk (csengels.cs.rhul.ac.uk [134.219.188.10]) by emroute4.ornl.gov (PMDF V6.2-1x9 #31038) with ESMTPS id <0J0E00NF438W1U@emroute4.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 05 Jun 2006 09:38:58 -0400 (EDT) Original-Received: from aspasia.cs.rhul.ac.uk (aspasia.cs.rhul.ac.uk [134.219.188.5]) by csengels.cs.rhul.ac.uk (8.13.4/8.13.4/SuSE Linux 0.7) with ESMTP id k55DctmO020091 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 05 Jun 2006 14:38:55 +0100 Original-To: Tru64 Unix Managers X-Envelope-from: bobv@cs.rhul.ac.uk X-Spam-Checker-Version: SpamAssassin 3.1.2 (2006-05-25) on email.ornl.gov X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_00 autolearn=ham version=3.1.2 Xref: news.gmane.org gmane.os.tru64.managers:8924 Archived-At: Thanks go to the various people who replied, mostly saying the same thing: software triggered poweroff on a 4100 is impossible, but you can at least cause the system to halt after a failure as follows: # /sbin/consvar -s auto_action HALT # /sbin/consvar -a I have included Peter Stern's reply verbatim as he went into quite a bit of detail: Dear Bob: I do not think that there is any command which will cause your system to power off. Even when you shutdown the system with 'shutdown -h' it doesn't power off by itself. I think that the best you can do is: setenv auto_action = halt which will stop your system at the console prompt (>>>). Then at least, the cpus won't be working generating heat and it won't keep shutting down and rebooting. And yes, you should be worried about the damage heat may cause. Hopefully, nothing bad happened. but.... By the way, you can set ENVMON_USER_SCRIPT to some script which gets executed when the system gets hot, e.g. sends you email. Then you can try to solve the problem or power off the machine until you can. Regards, Peter Stern > > Dear All, > > This weekend we had an air conditioning failure and the temperature in the > machine room rose dramatically. The result was that every 18 minutes > envmond shut down our Alpahaserver 4100, only for it to reboot. This > carried on for about 27 hours until eventually (I presume) the hardware > detected an error and refused to come up. > > The machine was still extremely hot the following morning (about 12 hours > later) so I'm not certain the power got turned off even then. > > I am worried about the damage that might be caused by this, also the heat > being generated which increases the problem for the other servers in the > room. Is it possible to configure the system so that when a high > temperature is detected the machine shuts down and powers itself off? In > fact I don't mind if any kind of crash causes a power off, because tru64 > is so reliable we never get crashes (touch wood!). > > Our relevant variables are: > > # /usr/sbin/envconfig -q > ENVMON_CONFIGURED = 1 > ENVMON_GRACE_PERIOD = > ENVMON_MONITOR_PERIOD = > ENVMON_HIGH_THRESH = 40 > ENVMON_USER_SCRIPT = > > $ /sbin/consvar -l |grep -i boot > auto_action = BOOT > boot_dev = rz25 > bootdef_dev = rz25 > booted_dev = rz25 > boot_file = > booted_file = > boot_osflags = A > booted_osflags = A > boot_reset = OFF > > Regards, > Bob Vickers > Dept of Computer Science, Royal Holloway, University of London > >