I wish to thank:
Robert Mulley
Maik Bachmann
jim jones
Felix Maurer
Burch Seymour
Stephen Spalding
I'll find out tomorrow when we switch boxes (I'm replacing a 2100 with
the 4100)
The question:
>
> Hey y'all,
>
> I know this is a no brainer but... I'd rather be safe than burnt. I've
> got a 4100 running 4.0e and I want to change the name and IP. Do I just
> run netconfig change the name & IP, reboot and viola it's a happy
> camper??
>
> TIA
>
> Lawrence
The answers:
I did this just recently. As well as the netconfig stuff I used rcmgr
set HOSTNAME newname then edited the hosts file to make sure that it
reflected this.
Then just to make life easier next time I compiled the kernel, I copied
the config
files ie /sys/conf/OLDNAME to /sys/conf/NEWNAME.
Also I edited NENAME to change:
ident "OLDNAME"
to
ident "NEWNAME"
Then copied OLDNAME.list to NEWNAME.list. Still is /sys/conf
then cd /sys
mv OLDNAME NEWNAME
This should be enough.
Robert Mulley
---------------------------
the script netsetup will do the entries in /etc/rc.config and /etc/hosts
for you.
you can do this by hand as well - but if you are a starter with DU - use
netsetup.
If your host & ip is in DNS database already - you have to change that
as
well.
---Maik
----------------------------
For a simple setup I just usually edit the rc.config and host file and
make
the necessary changes, then reboot. I do not know if netconfig makes
changes
to the host file but if it does not you will not be a happy camper.
jim jones
-----------------------------
You have to care about applications running on your system. In most of
the
case, it should not be a problem, but for example LSM keep the old name
(volprint -ht). We also had trouble with Infobroker (X.500). This is
just to
warn you, that may be better to test first.
And about the other systems, they also have to communicate to the new
node
name. We are used now to have an alias, and just propagate the aliases
names
(names who almost never change)
Felix Maurer
------------------------------
That's what I do, run netconfig. You don't need to reboot. When you
exit netconfig it will ask if you want to restart net services.
Just say yes and you should be OK.
Burch Seymour
-------------------------------
When I did the same thing recently, I manually chnaged the /etc/hosts
file,
/etc/rc.config file, and I'm racking my brain to remember what else I
changed. Just remember to change the entry for that machine on all of
theother machines on the same network.
-StephenS
Received on Wed Feb 03 1999 - 18:23:24 NZDT