home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / unix / ultrix / 9534 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  1.7 KB

  1. Path: sparky!uunet!news.univie.ac.at!scsing.switch.ch!univ-lyon1.fr!ghost.dsi.unimi.it!rpi!gatech!swrinde!elroy.jpl.nasa.gov!usc!howland.reston.ans.net!spool.mu.edu!agate!doc.ic.ac.uk!uknet!sys.uea.ac.uk!gel
  2. From: gel@sys.uea.ac.uk (Gareth Lee)
  3. Newsgroups: comp.unix.ultrix
  4. Subject: Re: How do you rename a DMS client?
  5. Message-ID: <gel.728149132@zen.sys.uea.ac.uk>
  6. Date: 27 Jan 93 15:38:52 GMT
  7. References: <19677.2b65aad8@levels.unisa.edu.au>
  8. Sender: news@sys.uea.ac.uk
  9. Organization: UEA School of Information Systems, Norwich, UK.
  10. Lines: 26
  11. Nntp-Posting-Host: zen.sys.uea.ac.uk
  12.  
  13. ccbjs@levels.unisa.edu.au writes:
  14.  
  15. >But how do we change it's hostname so that DMS refers to it by that name
  16. >also? (I would prefer not to build a new client and then modify all it's
  17. >configuration files...) Can we simply rename the /dlclient0/client.root
  18. >directory and edit some magic DMS files?
  19. >Can anyone suggest a recipe we should follow?
  20.  
  21. I think the name that DMS associates with a client machine is immaterial.
  22. The name that a client machine uses after booting is the one set at the
  23. top of the /etc/rc.local file and this doesn't need to be the same as the
  24. DMS name.
  25.  
  26. For instance, our machines have full internet names, ie. 'fred.sys.uea.ac.uk'.
  27. DMS cannot cope with a host name of this form. So we set the DMS name to
  28. 'fred'.  After the installation process is complete we edit /etc/rc.local to
  29. specify the full name.  We then edit /etc/hosts (or YP) and add the full name
  30. as the main machine name and make fred an alias.  This works fine!!
  31.  
  32. So once fred has booted it can call itself anything it likes so long as the
  33. new name is registered in /etc/hosts (or YP/Bind etc. .).  It will however
  34. probably be necessary to keep the old name as an alias of the new.
  35.  
  36. Hope this is useful.
  37.  
  38. Gareth Lee.
  39.