home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / hp / 9458 < prev    next >
Encoding:
Text File  |  1992-08-19  |  1.7 KB  |  39 lines

  1. Newsgroups: comp.sys.hp
  2. Path: sparky!uunet!utcsri!torn!watserv2.uwaterloo.ca!watserv1!madmax.uwaterloo.ca!gordon
  3. From: gordon@madmax.uwaterloo.ca (Gordon R. Strachan)
  4. Subject: Re: renaming client & server in a cluster
  5. Message-ID: <Bt90JC.B9D@watserv1.uwaterloo.ca>
  6. Sender: news@watserv1.uwaterloo.ca
  7. Organization: University of Waterloo
  8. References: <2A9290C8.27098@orion.oac.uci.edu>
  9. Date: Wed, 19 Aug 1992 20:50:00 GMT
  10. Lines: 27
  11.  
  12. In article <2A9290C8.27098@orion.oac.uci.edu> rcaslis@anansi.acs.uci.edu (Russell Caslis) writes:
  13. >
  14. >So what I want to do is swap the names of the two 710s.  I have been told that
  15. >there is no way to do this without re-installing the OS.  Is there any other
  16. >way to do this?
  17.  
  18. Well if you read the manuals it says that this can't be done.  The reason
  19. for that is that the context files use the name of the host for their context
  20. and it is difficult and dangerous to start swapping it around.  I have done
  21. this before and yes it can be done but you have to be careful and be
  22. prepared for grief.  Here is what you do:
  23.  
  24. Make a complete backup of everything.
  25. Edit the /etc/clusterconf file to reflect the new names
  26.      (note once you do this you better not reboot because the system
  27.     won't come up properly until it we fix all the cdfs)
  28. run a shell script which searches for every cdf with the context of the old
  29. name and change it to the new name.  It would look something like:
  30.     find . -hidden -type H -name ${oldname} -exec mv {} ${newname} \;
  31.  
  32. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  33. Note that is a guess please verify with the manual before you use it!.
  34.  
  35. then reboot the server and look around to see if everything is okay.
  36.  
  37. Gordon
  38.  
  39.