Ref: 15990008
Title: Moving Name Service
Date: 7/31/89

Copyright 3Com Corporation, 1991.  All rights reserved.

This article describes how to move the Name service from one 3+
or 3+Open server to another when Ethernet address chips cannot be
moved along with the Name service.  Use this procedure whenever
you need to move the Name service to a new server or a server
with a different name; for example, if the installed Name server
has crashed and you are restoring the backup to another server.

Caution:  In the following procedure, the network number you
use for the new Name server must be exactly the same as
for the previous Name server.  Otherwise, the procedure
will fail and you will be unable to bring up the Name
service at all.


To move the Name service from a working server, follow these
steps:

1.  Type 3N DEL servername to delete the name of the current Name
server from the Name service.

2.  Type 3N DEL servername to delete the name of the destination
Name server from the Name service.

(If you are installing the Name service on a new server, you
do not need to delete the new server name, because it does
not exist in the Name service yet.)

3.  Deinstall the Name service from the old Name server.

4.  Install the Name service onto the destination server.

When prompted for a network number, enter the same network
number as installed on the old Name server.

5.  Move the NS_DOM files from the old server to the new Name
server's \3PLUS\3NAME directory.

6.  Reboot the server.


To move the Name service from a server that has crashed, follow
these steps:

1.  Reset the destination Name server.

2.  At the destination Name server, type CD \3PLUS to move to the
server's 3PLUS directory.

3.  On a 3Server, establish a console connection.  On a PC
server, exit to DOS.

4.  Using a text editor such as EDLIN, edit the S_NAME file to
change the domain of the new Name servername to TEMP.

For example, if the new Name server is Server1:HQ:3Com, the
three-part name should be edited to read Server1:TEMP:3Com.
(The name of the new Name server is the first line of two
lines in the S_NAME file.)

5.  Install the Name service onto the new server.

When prompted for a network number, enter the same network
number as installed on the old Name server.

6.  Type CD \3PLUS\3NAME to move to the server's 3NAME directory.

There will be a newly created file called NS_DOM.000.

7.  Rename NS_DOM.000 to TEMPDOM, to prevent it from being
overwritten when you restore the NS_DOM files from the old
server.

8.  Copy or restore the NS_DOM files from the old server to the
\3PLUS\3NAME directory.

If you had only one domain on the old server, there will be
one file, NS_DOM.000.  If you had more than one domain,
there will be additional NS_DOM files, numbered sequentially.

9.  For each domain file, rename it to a number one greater
than it currently has.

Note:  Start with the file with the highest number, then work
backwards sequentially to the file with the lowest number.

For example, type

      RENAME NS_DOM.010 NS_DOM.011
      RENAME NS_DOM.009 NS_DOM.010
      RENAME NS_DOM.008 NS_DOM.009
.
.
.
      RENAME NS_DOM.000 NS_DOM.001

10. Rename TEMPDOM back to NS_DOM.000.

11. Reboot the server in operational mode.

The server should come up with no Name errors.

12. Go to a workstation and log in as Admin.

It will say something like Admin:TEMP:3Com logged in.

13. Run the 3N program from the User #2 diskette.

14. List the servers in the old domain; for example, type DIR
SERVER *:HQ.

You should see the old Name server as well as all other
servers in the domain.

15. Type 3N DEL oldnameserver:HQ to delete the entry for the
old Name server.

16. If there is an entry for the new Name server, delete that
entry, too.

For example, type DEL servername:old domain  (Server1:HQ)

17. Exit 3N and reboot the server.

18. On a 3Server, establish a console connection.  On a PC server,
exit to DOS.

19. Change to the 3PLUS\3NAME directory.

20. Delete NS_DOM.000.

21. Type RENAME NS_DOM.* TEMP.* to rename all domain files to TEMP
and preserve the extensions.

22. Change into the \3PLUS directory.

23. Edit the S_NAME file to change the TEMP domain back to the
actual domain, which in this example is "HQ", so the server
name is back to its original form:  Server1:HQ:3Com.

24. Type CD \3PLUS\3CONFIG to change to the 3CONFIG directory.

25. Type 3NAMCK /I to run the Name installation program.

The Name configuration screen will come up with a network
number of 0 and the correct domain.  Enter the same network
number as before and press CTRL-A to accept it.

26. Type CD \3PLUS\3NAME to change to the 3NAME directory.

There will now be a NS_DOM.000 file created from the previous
step.

27. Delete the NS_DOM.000 file.

28. Rename your domain files (currently named TEMP.*) to their
original name; for example, RENAME TEMP.001 NS_DOM.000.

29. Reboot the server.
