From: "Anil Khullar, Computer Center" <Anil.Khullar () mailhub ! gc ! cuny ! edu>
To: tru64-unix-managers
Subject: SUMMARY-2: Steps in renaming a live host to another...
Date: Thu, 28 Mar 1996 07:49:06 +0000 [thread overview]
Message-ID: <96076330121601.tru64-unix-managers.marc@archive.invalid> (raw)
Hi,
More suggestions, Thanks to -
"Jeff Finkelstein <finkels@jerry.alf.dec.com>
Ray Bellis <Ray.Bellis@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.
reply other threads:[~1996-03-28 7:49 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox