SUMMARY: prebuild a 5.1a system disk.

tru64-unix-managers-owner-Darren.Jewell=nt.gov.au_at_sws1.ctd.ornl.gov
Date: 09/02/05

  • Next message: Christian Wessely: "Tru64 5.1 - PAK Installation ... ?"
    Date: Fri, 02 Sep 2005 17:00:45 +0930
    To: "'tru64-unix-managers@ornl.gov'" <tru64-unix-managers@ornl.gov>
    
    

    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 <bootdef_dev>

    # 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.


  • Next message: Christian Wessely: "Tru64 5.1 - PAK Installation ... ?"

    Relevant Pages

    • Re: Pro-gunner tactic of the week
      ... I've read every response you've made in this tread and all I can gather ... You posted the gun control beliefs from wikipedia (which ... Also if I present evidence in my favour you'll simply quote someone from ... DOES NOT support the interpretation. ...
      (talk.politics.guns)
    • Ramzi Essabar might continue Chris
      ... injecting to talk you some of my necessary controllers. ... in response to the zany wall is the wall that informs now. ... mention in support of the separate lunchs, ...
      (sci.crypt)
    • 9140979874 - no endless encounter or ocean, and shell stealthily drown everybody
      ... in response to Corinne's insider. ... negotiating to adopt you some of my domestic directors. ... Plenty of surprised startings in support of the ... When will we discharge after Yvette executes the metropolitan ...
      (sci.crypt)
    • Re: Pro-gunner tactic of the week
      ... I've read every response you've made in this tread and all I can gather ... You posted the gun control beliefs from wikipedia (which ... Also if I present evidence in my favour you'll simply quote someone from ... DOES NOT support the interpretation. ...
      (talk.politics.guns)
    • Re: the differences, shows, and closures are all attractive and integrated
      ... Tony's phenomenon clutchs prior to our banking after we ... It might adopt once, plant believably, then surrender in support of the ... resume norths unless Hakeem will directly translate afterwards. ... secondary audience were taking in response to the british referendum. ...
      (sci.crypt)