SUMMARY: Steps in renaming a live host to another

From: Anil Khullar, Computer Center <Anil.Khullar_at_mailhub.gc.cuny.edu>
Date: Thu, 28 Mar 1996 03:35:49 -0400 (EDT)

Hi,
        As usual the replies were fast and precise. Thanks to

 "Edward D. Silver" <eds_at_a1.ipcc.com>
 Oyanarte Portilho <portilho_at_tritium.fis.unb.br>
 "Gernot M. Fuchs" <gfuchs_at_golay.med.unc.edu>
 "G. Del Merritt" <del_at_titan.intranet.com>
 vsp_at_unx.dec.com
Jon Buchanan <Jonathan.Buchanan_at_ska.com>
Kalle.Flodkvist_at_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/<systemname-dir>
        $HOME/.dt/help/<systemname-dir>/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 ?
Received on Thu Mar 28 1996 - 10:03:05 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:46 NZDT