From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: tru64-unix-managers-owner-Darren.Jewell=nt.gov.au@sws1.ctd.ornl.gov Newsgroups: gmane.os.tru64.managers,gmane.spam.detected Subject: SUMMARY: prebuild a 5.1a system disk. Date: Fri, 02 Sep 2005 17:00:45 +0930 Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1125646401 26915 80.91.229.2 (2 Sep 2005 07:33:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 2 Sep 2005 07:33:21 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Fri Sep 02 09:33:19 2005 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by ciao.gmane.org with smtp (Exim 4.43) id 1EB61u-0003FY-J1 for gotm-tru64-unix-managers@gmane.org; Fri, 02 Sep 2005 09:32:06 +0200 Original-Received: (qmail 20805 invoked by uid 49509); 2 Sep 2005 07:31:48 -0000 Original-Sender: tru64-unix-managers-owner@ornl.gov Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 20790 invoked by uid 49501); 2 Sep 2005 07:31:48 -0000 Original-Received: from 160.91.4.110 by sws1 (envelope-from , uid 49491) with qmail-scanner-1.25 (clamdscan: 0.83/743. spamassassin: 3.0.2. Clear:RC:0(160.91.4.110):SA:0(-0.2/5.0):. Processed in 41.017847 secs); 02 Sep 2005 07:31:48 -0000 X-Spam-Status: No, hits=-0.2 required=5.0 Original-Received: from emroute3.ornl.gov (160.91.4.110) by sws1.ornl.gov with SMTP; 2 Sep 2005 07:31:07 -0000 Original-Received: from emroute3.ornl.gov (localhost [127.0.0.1]) by emroute3.ornl.gov (PMDF V6.2-1x9 #31038) with ESMTP id <0IM6000C1I7ULK@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 02 Sep 2005 03:31:07 -0400 (EDT) Original-Received: from VIRUSCAN-DAEMON.emroute3.ornl.gov by emroute3.ornl.gov (PMDF V6.2-1x9 #31038) id <0IM600202I7HSA@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 02 Sep 2005 03:31:06 -0400 (EDT) Original-Received: from emdch-smp2.nt.gov.au (emdch-smp2.nt.gov.au [203.26.75.6]) by emroute3.ornl.gov (PMDF V6.2-1x9 #31038) with SMTP id <0IM6000CEI7DXT@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 02 Sep 2005 03:30:52 -0400 (EDT) Original-Received: by emdch-smp2.nt.gov.au (Postfix, from userid 502) id 0725344015; Fri, 02 Sep 2005 17:00:45 +0930 (CST) Original-Received: from EMDCH-SMTP.NT.GOV.AU (emdch-smtp.nt.gov.au [155.205.6.8]) by emdch-smp2.nt.gov.au (Postfix) with ESMTP id C719844015 for ; Fri, 02 Sep 2005 17:00:44 +0930 (CST) Original-Received: from emdch-smp1.nt.gov.au ([150.191.80.5]) by emdch-smtp1.emag.nt.gov.au (Lotus Domino Release 5.0.8) with ESMTP id 2002092400403878:3162 ; Tue, 24 Sep 2002 00:40:38 +0930 Original-Received: from sws1.ctd.ornl.gov (sws1.ctd.ornl.gov [160.91.20.101]) by emdch-smp1.nt.gov.au (Pro-8.9.3/Pro-8.9.3) with SMTP id AAA14665 for ; Tue, 24 Sep 2002 00:44:04 +0930 Original-Received: (qmail 31167 invoked by uid 5); Mon, 23 Sep 2002 15:13:47 +0000 Original-Received: (qmail 31158 invoked by uid 49493); Mon, 23 Sep 2002 15:13:47 +0000 Original-Received: from pricha@acxiom.co.uk by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.24. spamassassin: 2.50-cvs. Clear:SA:0(-2.5/5.0):. Processed in 0.48496 secs); Mon, 23 Sep 2002 15:13:47 +0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; Mon, 23 Sep 2002 15:13:47 +0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H2W00HPYCYWUO@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 23 Sep 2002 11:13:46 -0400 (EDT) Original-Received: from aerynsun.acxiom.com (aerynsun.acxiom.com [65.64.17.121]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H2W008BOCYQSZ@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 23 Sep 2002 11:13:42 -0400 (EDT) Original-Received: from relay2.conway.acxiom.com (unverified) by aerynsun.acxiom.com (Content Technologies SMTPRS 4.2.10) with ESMTP id for ; Mon, 23 Sep 2002 10:13:36 -0500 Original-Received: from srvlon20.uk.acxiom.com (unverified) by relay2.conway.acxiom.com (Content Technologies SMTPRS 4.2.10) with ESMTP id for ; Mon, 23 Sep 2002 10:13:35 -0500 Original-Received: by srvlon20.uk.acxiom.com with Internet Mail Service (5.5.2653.19) id <31Z0CZR2>; Mon, 23 Sep 2002 16:08:20 +0100 Original-To: "'tru64-unix-managers@ornl.gov'" X-Envelope-from: tru64-unix-managers-owner-Darren.Jewell=nt.gov.au@sws1.ctd.ornl.gov X-Mailer: Internet Mail Service (5.5.2653.19) X-MIMETrack: Itemize by SMTP Server on EMDCH-SMTP1/NTG(Release 5.0.8 |June 18, 2001) at 24/09/2002 00:40:38, Serialize by Router on EMDCH-SMTP/NTG(Release 6.5.1|January 21, 2004) at 02/09/2005 17:00:44 Sensitivity: X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on email.cind.ornl.gov X-Spam-Level: * X-Qmail-Scanner-MOVED-X-Spam-Status: No, score=1.7 required=5.0 tests=BAYES_00,FORGED_MUA_IMS, NO_REAL_NAME autolearn=no version=3.0.4 X-Spam-Report: 6.7 points; * 0.0 NO_REAL_NAME From: does not include a real name * 0.3 J_CHICKENPOX_43 BODY: {4}Letter - dot - {3}Letter * 4.0 RCVD_IN_SBL RBL: Received via a relay in Spamhaus SBL * [65.64.17.121 listed in sbl-xbl.spamhaus.org] * 2.4 FORGED_MUA_IMS Forged mail pretending to be from IMS Xref: news.gmane.org gmane.os.tru64.managers:8525 gmane.spam.detected:809865 Archived-At: Big thanks to * Schoepflin, Keith [Keith.Schoepflin@hp.com] * Chris Adams [cmadams@hiwaay.net] and * Adametz, Bluejay [bluejay@fujigreenwood.com] for three quick responses, all based on similar tactics , and all of which look good to me : 1) Keith's response You will need to delete the hardware database and recreate it on the 5.1a disk. You can use the following procedure to do this. You can do all the step in single user mode. ************************************************************************ *********************************** # cd /etc # rm dec_* # cp dfsl.dat dfsl.bak # cp dfsc.dat dfsc.bak # cat /dev/null >dfsl.dat # cat /dev/null >dfsc.dat # shutdown -h now P00>>>b -fl s -fi genvmunix # mount -u / # dn_setup -init # dsfmgr -K # doconfig ************************************************************************ *********************************** 2) Chris' response - Supported Compaq Method I did something like this (installed on an old AlphaServer 1000 for an ES40). After I did the install and got everything "set", I did the following on the AS1000 right before shutting down to remove the disk: #*#*#*# #!/bin/sh # Run in the root directory of the filesystem to "clean" rm ./etc/dec* rm ./etc/dccd.* rm ./etc/dcdd.* rm ./etc/dfsc.* rm ./etc/dfsl.* rm ./cluster/members/member/etc/cfginfo rm ./etc/cfginfo rm ./cluster/members/member/etc/dfsl.* rm ./dev/tty0* rm ./dev/lp* rm ./dev/kevm* rm ./dev/scp* for dir in cport disk rdisk changer tape ntape; do rm -rf ./devices/$dir rm -rf ./cluster/members/member/$dir rm ./dev/$dir done rm ./cluster/members/member/.Booted #*#*#*# That basically wipes out the hardware database, and when you boot (on the real system), it will be recreated for the real hardware. 3) Bluejay's response Depending on how complex your systems are, this might or might not actually save you any time. Particularly if it doesn't work. Having said that, this *should* work, however you'll also need to delete the device database files when you move the system over, in addition to booting with the generic kernel. The files should get re-created on your first boot. The files involved would be dccd.bak dccd.dat dcdd.bak dcdd.dat dec_devsw_db dec_devsw_db.bak dec_hw_db dec_hw_db.bak dec_hwc_cdb dec_hwc_cdb.bak dec_hwc_ldb dec_hwc_ldb.bak dec_scsi_db dec_scsi_db.bak dec_unid_db dec_unid_db.bak dfsc.bak dfsc.dat dfsl.bak dfsl.dat If you try and keep these files from your ES40, don't be surprised if you get a panic shortly after booting, even with the generic kernel. I've had this happen when moving systems around between DS20s and ES40s. - Bluejay Adametz I am sure all 3 will work, & am going to have a bash at using option 2 which seems to have the backing of Compaq's support centre. NOTE: They will NOT support the build phase if I have any problems (the only supported build option is from CD). However, the ongoing support of this system will be no problem provided the HW database looks clean after the build. Original question : We are rebuilding a GS160 partition over next weekend. It is currently 4.0g - we plan to go to 5.1a. We are under a bit of time pressure over the weekend, so I was hoping to prebuild the 5.1a disk (+ Patch Kit) on another server (an ES40) on which I have downtime today. Then come the weekend, boot this new system disk on the target server. Naturally, the hardware database will be totally different. I've overcome this before in the good-old 4.0 days by booting off /genvmunix, running a sizer -n, grabbing the relevant H/W config text & using this to rebuild a new kernel, and then was able to reboot off /vmunix without any problems Question is: Is there a way of doing this on tru64 v5 which doesn't involve a lot of time ? Regards, Phil Richardson UNIX Administrator ______________________________ __ ACXIOM Direct Dial: +44 (0)191 525 7433 Acxiom Limited Telephone: +44 (0)191 525 7000 Camberwell Way Fax: +44 (0)191 525 7100 Doxford Technology Park Sunderland E-mail: phil.richardson@acxiom.com SR9 9XZ ********************************************************************* The information contained in this communication is confidential, is intended only for the use of the recipient named above, and may be legally privileged. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, please re-send this communication to the sender and delete the original message or any copy of it from your computer system. Thank You.