From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Wayne Dawson Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: Changing IPs on Tru64 Date: Tue, 21 Dec 2004 19:48:00 -0800 Message-ID: <80E7C9C06694324982954F82E9F6A1FC0375926E@VCEXCHVS1.vancity.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1103687360 11622 80.91.229.6 (22 Dec 2004 03:49:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 22 Dec 2004 03:49:20 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Wed Dec 22 04:49:14 2004 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1CgxUv-0005w3-00 for ; Wed, 22 Dec 2004 04:49:13 +0100 Original-Received: (qmail 8968 invoked by uid 5); 22 Dec 2004 03:48:33 -0000 Original-Sender: tru64-unix-managers-owner@ornl.gov Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 8953 invoked by uid 49501); 22 Dec 2004 03:48:33 -0000 Original-Received: from Wayne_Dawson@inventuresolutions.com by sws1 by uid 49491 with qmail-scanner-1.21 (clamdscan: 0.70-rc. iscan: v3.1/v5.600-1011/847/50540. spamassassin: 2.63. Clear:RC:0(160.91.4.119):SA:0(-2.4/5.0):. Processed in 1.222925 secs); 22 Dec 2004 03:48:33 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 22 Dec 2004 03:48:32 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0I9300BWCUKUD3@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 21 Dec 2004 22:48:31 -0500 (EST) Original-Received: from VIRUSCAN-DAEMON.emroute1.cind.ornl.gov by emroute1.cind.ornl.gov (PMDF V6.2-X27 #30899) id <0I9300K02UK3JY@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 21 Dec 2004 22:48:17 -0500 (EST) Original-Received: from shield.vancity.com (shield.vancity.com [204.239.136.253]) by emroute1.cind.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0I9300I99UK2V2@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 21 Dec 2004 22:48:03 -0500 (EST) Original-Received: from VCEXCHVS1.vancity.com ([192.168.246.99]) by shield.vancity.com with Microsoft SMTPSVC(6.0.3790.211); Tue, 21 Dec 2004 19:48:14 -0800 Original-To: tru64-unix-managers@ornl.gov X-MIMEOLE: Produced By Microsoft Exchange V6.5.7226.0 Thread-Topic: SUMMARY: Changing IPs on Tru64 Thread-Index: AcTn2QgOyTWeMB0nRTmnYZbopiedvg== Content-class: urn:content-classes:message X-Envelope-From: X-ORNL-Envelope-To: tru64-unix-managers@sws1.ctd.ornl.gov rfc822;tru64-unix-managers@ornl.gov X-MS-Has-Attach: X-MS-TNEF-Correlator: X-OriginalArrivalTime: 22 Dec 2004 03:48:14.0468 (UTC) FILETIME=[108AFC40:01C4E7D9] Xref: main.gmane.org gmane.os.tru64.managers:7889 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:7889 Sorry about the delay in getting the summary out. I had some time off. My question was what I needed to change to change IP and hostname on a Tru64 v5.1 machine, and if there was a script to change it. This was needed because of a switch to a new ISP. Most pointed out the files to look at, and mentioned that netconfig or systman (or systman network) can be used. For changing the hostname I was pointed to the best practices document in either pdf format or html format. The urls for this were: http://h30097.www3.hp.com/docs/best_practices/HOSTNAME/hostname_bp.pdf and=20 http://h30097.www3.hp.com/docs/best_practices/HOSTNAME/TITLE.HTM The alternative procedure was what I followed. Instead of using sysman to change things I edited the files that I was advised to look at, namely: /etc/hosts=20 /etc/routes (default gateway, any static routes needed) /etc/rc.config (hostname, ifconfig) /etc/resolv.conf /etc/networks Tom Linden mentioned that If you I ran my own dns, I'd have to look at /etc/namedb/hosts.db (Actually, this machine is a dns client and not a server, but that's still good advice.) He also mentions that it might be wise to grep through all the files under /etc for the ip address, and notes that dns entries are stored in reverse. Robert Honore cautioned that I make sure that the DNS changes and globally registered info for Arin and Internic has been done. =20 Eric Sisson mentioned that rc.config and rc.routes are symlinks to=20 rc.config -> ../cluster/members/{memb}/etc/rc.config routes -> ../cluster/members/{memb}/etc/routes, and if I wanted to make a backup I should go to real directories and do it there. The only thing I found after changing the hostname was that CDE complained about invalid file specification starting file manager and app manager. That was "fixed" by going into the CDE configuration, and telling it to use CDE as a display manager (even though it was to start with). =20 So I'd like to thank the following people for their help. Joseph Senulis,=20 Jeff Beck, Alan Davis, Charles Ballowe, Alan Pearson, Eric Sisson, Robert Honore, Howard Arnold Phil Baldwin Lucien Hercaud, Tim Brown, Joe Carrico, Tom Linden, Reoberd Dege, Alen Yokhanis, Martin Koerfer, Shaun Racine, Henk Kalle, and=20 Eric Milligan >I have an AlphaServer DS10 running Tru64 V5.1 (Rev 732), and an=20 >AlphaServer 800 running 4.0F. Due to a switch to a new ISP, I have to=20 >reconfigure the IP Addresses. > >Since I'm new to Tru64, can someone where (besides the host file), I=20 >need to change this. > >Any gotchas to consider? What will happen with CDE when I change things? > > >Probably asking too much but is there a configuration script/utility=20 >that can do everything. I may be changing on machine's hostname too. > >Wayne Dawson