From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Dr. Otto Titze" Newsgroups: gmane.os.tru64.managers Subject: Tru64 new instal - but with old settings Date: Mon, 17 Mar 2003 14:07:32 +0100 Organization: Kernphysik TUD Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <3E75C894.CF8F52BF@ikp.tu-darmstadt.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8BIT X-Trace: main.gmane.org 1047906514 5727 80.91.224.249 (17 Mar 2003 13:08:34 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 17 Mar 2003 13:08:34 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Mon Mar 17 14:08:33 2003 Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.22.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 18uuLx-0001UD-00 for ; Mon, 17 Mar 2003 14:08:33 +0100 Original-Received: (qmail 20511 invoked by uid 5); 17 Mar 2003 13:09:16 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 20502 invoked by uid 49493); 17 Mar 2003 13:09:16 -0000 Original-Received: from titze@ikp.tu-darmstadt.de by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.54. spamassassin: 2.50-cvs. Clear:SA:0(-2.6/5.0):. Processed in 0.510994 secs); 17 Mar 2003 13:09:16 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 17 Mar 2003 13:09:16 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HBW00N5V9VD1C@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 17 Mar 2003 08:09:14 -0500 (EST) Original-Received: from linac.ikp.physik.tu-darmstadt.de (linac.ikp.physik.tu-darmstadt.de [130.83.133.2]) by emroute1.cind.ornl.gov (PMDF V6.2 #30669) with SMTP id <0HBW00DDU9V3S9@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 17 Mar 2003 08:09:05 -0500 (EST) Original-Received: from ikp.tu-darmstadt.de (titze.ikp.physik.tu-darmstadt.de) by linac.ikp.physik.tu-darmstadt.de (MX V4.2 VAX) with SMTP; Mon, 17 Mar 2003 14:08:54 +0100 (CET) Original-To: A$OSF Tru Managers X-Mailer: Mozilla 4.7 [de] (Win98; I) X-Accept-Language: de,en Xref: main.gmane.org gmane.os.tru64.managers:3663 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:3663 Hi all, I am not so familiar with Unix, therefore I have a few simple questions concerning system management. I want to upgrade most of my systems (except the turbo-channel ones) to Tru64 V 5.1B. I already tested that all our prior applications run under this new version. Now I am looking for a fast and efficient way to change the different systems, most of them are V4.0D , even a few still lower.. I do not plan to upgrade ,because that means V4.0B > V4.0D > V4.0G > V5.1 > V5.1B and as it turned out that the partitions of the system disk has to be changed a few times, therefore a direct new installation seems to be more reasonable. The most applications I will re-instal anyway. I am looking for the best way to get the former basic environment. I am asking this because changes apply to a production environment and there is not much time for me playing around. The most uncertainty for me is to get back the old file system information (all Advfs) of the other disks without to setup every domain, fileset manually(mkfdmn, mkfset with the known old parameters). I cannot copy /etc/fdmns to the system partition because there is a new one there. It seems to be some tools there (advfsscan?) but I am not familiar with that. QUESTION 1: May I copy the subdirectories from old /etc/fdmns into the new one as to include the old domains? Do I have also to copy the .advfslock_domain files? What is the most efficient way to get the file system information from the other connected disks into the new system? The following questions are of minor importance: Printer setup: I don't want to make a complete lprsetup at every system. QUESTION 2: Is it sufficient if I copy (from backup) the old /etc/printcap and the /etc/spool directory? (The /usr/adm/lperr files will probably created when needed). QUESTION 3: Because no local printers are connected (only network ones, tcp or lat) I probably don't need /dev/MAKEDEV lp? Mails: QUESTION 4: If I copy the /etc/spool directory I get also /etc/spool/mail, is this sufficient that the users have there mails afterwards? LAT setup: I will do a latsetup just to get all /dev/lat/xxx devices. QUESTION 5: If I copy back the old /etc/latstartup.conf and /etc/securettys do I have everything? (The /etc/inittab will get the lat getty information by latsetup anyway) NIS Setup: Of course I want to continue with the old master/slave/client configuration. QUESTION 6: If I copy back the old /var/yp/ directory and the /var/yp/src directory on the master server, is this sufficient? (I could run a nissetup afterwards anyway to check it (using modify )?) Devices: Old scripts relate to the former device naming like /dev/rmt0h instead of /disk/*tape/tape0_d0 etc. or for cdrom /dev/rzxx instead of /dev/disk/cdrom0c. QUESTION 7: This has probably all to be changed manually? Last not least: If I copy back the /etc files fstab, exports, hosts,hosts.eqiv,hosts.allow,bootptap,routes,resolv.conf,shells (securettys as mentioned above) I should have most of my old basic configuration. These are the only files I remember to have made changes on in the past. QUESTION 8: Did I forget something important? SUMMARY, what I believe has to be done - New Installation - netsetup - nfs mount the disk with the backup files - copy -i /etc/fdmns/* to /etc/fdmns (subdirectories only) - copy all mount-points to system root / - copy from old /etc/ to new /etc: fstab printcap latstartup.conf hosts.* resolv.conf routes securettys ftpusers license.dat (hopefully lmf will see my registered licenses) motd bootptab tftptab (one some systems) shells - copy my additional shells to /usr/bin - copy -i /usr/skel/* to /usr/skel - copy /var/spool/* to /var/spool - copy /var/yp/domain to /var/yp - copy /var/yp/ src to /var/yp (at NIS Master) - do latsetup - do nissetup (using modify) (this should make the proper entries in /etc/rc.config) - Check: /etc/inittab for lat gettys /usr/sys/conf/NODENAME for changes made to the old system - reboot I hope this will work… I would appreciate every hint. Thank you. I think is important for people like me without a deep insight into the system to know the consequences before. Because the complexity and tedious upgrade procedures often results in the fact, that one stays too long with outdated systems. Of course I will provide a summary or script which contains everything. Regards Otto ------------------------------------------- | Dr. Otto Titze, Kernphysik TUD | | Schlossgartenstr. 9, D-64289 Darmstadt | | titze@ikp.tu-darmstadt.de | | Tel: +49(6151)16-2916,FAX:16-4321 | -------------------------------------------