11.5 Recovering from NDS/eDirectory Migration Failures

If the migration fails during the NDS/eDirectory Migration step, you need to restore the source and destination servers to their original configuration before you can retry the NDS/eDirectory migration. The instructions for restoring the servers to their original configurations are different depending on when the migration of data failed.

If Begin NDS/eDir Migration (Step 3) failed and the destination server did not reboot and take on the name and identity of the source server, complete the steps in Restore Source Server to Its Original Configuration.

If Begin NDS/eDir Migration (Step 3) successfully completed and the destination server has already rebooted and taken on the name and identity of the source server, complete the steps in the following sections:

  1. Remove NDS/eDirectory from the Destination Server.

  2. Remove NDS/eDirectory from the Source Server.

  3. Restore NDS/eDirectory to the Source Server.

  4. Reinstall the Destination Server.

11.5.1 Restore Source Server to Its Original Configuration

If Begin NDS/eDir Migration (Step 3) failed and the destination server did not reboot and take on the name and identity of the source server, you need only restore NDS/eDirectory to the source server. When NDS/eDirectory has been restored, you have restored the source server to its original configuration and you are ready to try the NDS/eDirectory migration again.

  1. Enter one of the following at the server console of the source server:

    • load install if the source server is running NetWare 4

    • nwconfig if the source server is running NetWare 5 or later

  2. Select Directory Options > Directory Backup and Restore > Restore Local DS Information after Hardware Upgrade.

  3. Press F3 and enter sys:system\nuw30\ndsbu when prompted for the location of the backup files.

    NDS/eDirectory has now been restored to the source server.

    IMPORTANT:Do not reboot the destination server. Because the destination server did not take over the identity of the source server, no other action is required prior to performing the NDS/eDirectory migration again.

  4. Perform the NDS/eDirectory migration again.

    1. Launch Migration Wizard and open the project you were previously working on.

    2. When the project opens and you see the Project Window, click Begin NDS/eDir Migration.

    3. Follow the instructions in Section 10.7, Migration Step 3: Begin NDS/eDirectory Migration.

11.5.2 Remove NDS/eDirectory from the Destination Server

If Begin NDS/eDir Migration (Step 3) successfully completed and the destination server has already rebooted and taken on the name and identity of the source server, you must remove NDS/eDirectory from the destination server before you can restore NDS/eDirectory to the source server.

  1. At the destination server console, enter nwconfig.

  2. Select Directory Options > Remove Directory Services from This Server.

  3. Press Enter when you see a warning instructing you to not remove Directory Services.

    Ignore any other errors during the removal of NDS/eDirectory.

  4. Select Yes to remove Directory Services.

  5. Specify the Admin username and password.

  6. Press Enter to reference a different object.

    This object is used when NDS/eDirectory is restored back to the source server.

    WARNING:Do not press Esc. If you do, the server references you entered will not be saved or restored to the server.

  7. Specify the full Admin username as the placeholder object distinguished name.

  8. Specify Root as the distinguished name to change from.

  9. (Conditional) If the information about the single reference time source appears, review the information and press Enter.

  10. (Conditional) If your server holds the master copy of a replica, press Enter when you see a warning.

  11. Designate another server to hold the master replica.

    You can choose to let NWCONFIG randomly select another server or you can designate one yourself.

  12. Return to the NWCONFIG utility and select Remove Directory Services from This Server to verify that NDS/eDirectory has been removed.

    If a message appears saying that NDS/eDirectory has already been removed, bring the destination server down and continue with the next section, Remove NDS/eDirectory from the Source Server.

    If NDS/eDirectory was not successfully removed, exit NWCONFIG and enter nwconfig -dsremove at the destination server console. Then follow this procedure again, beginning with Step 2.

11.5.3 Remove NDS/eDirectory from the Source Server

After NDS/eDirectory has been removed from the destination server, remove NDS/eDirectory from the source server.

  1. Restart the source server by entering server at the DOS command prompt.

  2. Enter one of the following:

    • load install -dsremove (if source server is running NetWare 4)

    • nwconfig -dsremove (if source server is running NetWare 5 or later)

    INSTALL or NWCONFIG will now ignore any warnings or errors during the removal of NDS.

  3. Select Directory Options > Remove Directory Services from This Server.

  4. Press Enter to skip past any warning screens.

  5. Select Yes to remove NDS/eDirectory.

  6. Press Enter to skip the error message warning you that eDirectory is locked.

    Ignore, but keep track of, any additional eDirectory error messages that appear.

  7. When the INSTALL or NWCONFIG menu appears again, select Remove Directory Services again.

If a message indicates that eDirectory is already removed, continue with the next section, Restore NDS/eDirectory to the Source Server.

If eDirectory was not properly removed, contact Novell Support.

11.5.4 Restore NDS/eDirectory to the Source Server

By removing NDS/eDirectory from the source server, you removed the server from any replica rings that held a partition of the source server. Now you must complete the following procedure to restore NDS/eDirectory to the source server.

  1. Enter one of the following at the server console:

    • load install (if source server was running NetWare 4)

    • load nwconfig (if source server was running NetWare 5 or later)

  2. Select Directory Services > Install Directory Services onto This Server.

  3. Select the eDirectory tree where the source server existed prior to migration.

  4. Select a time zone and time configuration parameters.

    Make a note of any warnings or errors that appear during the restoration of eDirectory and press Esc to continue without fixing the errors.

  5. Enter the Admin name and password.

  6. Type the context where the source server existed prior to migration, then press F10.

  7. Save the NDS (Directory) information.

  8. Wait while the server synchronizes with the eDirectory tree, which might take a while.

  9. Return to the INSTALL or NWCONFIG utility and select Directory Options > Directory Back Up and Restore > Restore Reference from another Object to This Server.

    This restores all references that you assigned to the Server object when you removed eDirectory from the destination server.

  10. Press Enter.

  11. Enter the full Admin username as the placeholder object distinguished name, then specify Root as the distinguished name to change from.

  12. Exit the NWCONFIG or INSTALL utility.

  13. At the server console of the source server, enter load dsrepair.

  14. Select Unattended Full Repair > Advanced Options > Check Volume Objects and Trustees.

  15. Enter the Admin username and password.

  16. Exit DSREPAIR.

  17. At the workstation where you performed the migration, open your project. (Make sure you have removed eDirectory from the destination server, as instructed in Remove NDS/eDirectory from the Destination Server, and returned the destination server to its temporary tree with its temporary server name.)

  18. From the Migration Wizard Project menu, select Restore Trustees to restore the trustee assignments.

  19. (Conditional) If the source server held the master replica of any partitions and you want to restore these partitions prior to doing the eDirectory migration again, use DSREPAIR to re-create them.

    The source server is now restored to its original configuration.

Continue with the next section, Reinstall the Destination Server.

11.5.5 Reinstall the Destination Server

To perform the migration again, you must reinstall the operating system on the destination server.

HINT:If you had your server imaged, you can just restore the image rather than reinstall the server.

  1. Bring down the destination server.

  2. Install NetWare and follow the on-screen instructions during the installation.

After NetWare is installed on the destination server, you are ready to perform the eDirectory migration again. Go to Section 10.7, Migration Step 3: Begin NDS/eDirectory Migration.