tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY-2: Steps in renaming a live host to another...
@ 1996-03-28  7:49 Anil Khullar, Computer Center
  0 siblings, 0 replies; only message in thread
From: Anil Khullar, Computer Center @ 1996-03-28  7:49 UTC (permalink / raw)
  To: tru64-unix-managers

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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-03-28  7:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-03-28  7:49 SUMMARY-2: Steps in renaming a live host to another Anil Khullar, Computer Center

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox