From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96076330121600.tru64-unix-managers.marc@archive.invalid> From: "Anil Khullar, Computer Center" Date: Thu, 28 Mar 1996 07:35:49 +0000 To: tru64-unix-managers Subject: SUMMARY: Steps in renaming a live host to another X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96076330121600 Hi, As usual the replies were fast and precise. Thanks to "Edward D. Silver" Oyanarte Portilho "Gernot M. Fuchs" "G. Del Merritt" vsp@unx.dec.com Jon Buchanan Kalle.Flodkvist@its.uu.se (Kalle Flodkvist) Most mentioned my missing sendmail.cf in the list, and also mentioned not needing to rebuild the kernel. In case I had Common DeskTop to add - /var/dt/appconfig/appmanager/* $HOME/.dt/help/ $HOME/.dt/help//browser.hv $HOME/.dt/sessions/current/* Users may have problem logging/starting certain clients if the hostname do not match. --------------- In case I had NIS, and X Terminals - /etc/netgroup or /var/yp/src/netgroup /.rhosts (and users' .rhosts files) /etc/X0.hosts (for X client access) /usr/sys/NODENAME (rename) /usr/sys/conf/NODENAME (rename and update first line) /usr/sys/conf/NODENAME.* (rename) ----------- In case I had Printers and NFS - /etc/hosts.lpd (for access to local printer queues) /etc/X0.hosts (for X client access) /etc/fstab (for NFS mounts) /etc/exports (for exported filesystems) The DNS server's hosts database -------------------------------------------------------------- My Original Question was - > HI, > I am about to rename a running host called hosta to one called > hostb. The IP number will remain the same. So what are the > things I need to do to make this changeover as easy and painless > as possible ? I'm running Advfs as well as ufs file systems and > machine is LAT enabled for modems etc. > > The checklist I have is as follows - > > 1. As super user hostname newname > 2. Edit /etc/hosts file > 3. Edit /etc/rc.config > 4. cp /sys/conf/HOSTA /sys/conf/HOSTB > 5. doconfig -c HOSTB > 6. Copy new kernel over > 7. reboot > 8. Make changes in the primary DNS machine > > Am I missing anything else ?