SUMMARY-2: 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:49:06 -0400 (EDT)

Hi,
        More suggestions, Thanks to -

 "Jeff Finkelstein <finkels_at_jerry.alf.dec.com>
Ray Bellis <Ray.Bellis_at_psy.ox.ac.uk>

-------------------
The only requirements are 1-3 and 8. 4-7 are not essential, but they do make
management easier.

The changes in the kernel config are only informational, they are not
required to change hostnames.

--------------------------
> 1. As super user hostname newname

This shouldn't be neccesary, as it'll happen automatically at the
next reboot. The hostname isn't stored between reboots, it's read
from /etc/rc.config.

>
> 2. Edit /etc/hosts file
>
> 3. Edit /etc/rc.config

Don't forget the `rcmgr' command! Instead of hand editing you can
do:

# rcmgr set HOSTNAME hostb.etc...

In fact, excepting LAT that's the only change you'll have to make to
/etc/rc.config.

> 4. cp /sys/conf/HOSTA /sys/conf/HOSTB
>
> 5. doconfig -c HOSTB
>
> 6. Copy new kernel over

4, 5 & 6 can be done a lot simpler, it's not neccesary to do a kernel
rebuild.

# mv /sys/conf/HOSTA /sys/conf/HOSTB
# mv /sys/HOSTA /sys/HOSTB

> 7. reboot
>
> 8. Make changes in the primary DNS machine
>

Unless you have control over the TTL of your DNS entry I suggest you
move this further up the list. If the original hostname isn't going
to be reused by another system I'd suggest adding a CNAME record
as well.

Although I don't use LAT myself I expect you may have to change some
of your LAT settings.
Received on Thu Mar 28 1996 - 10:19:45 NZST

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