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