28.2 Migration Procedure

Source Server

  1. Back up the /var/opt/novell/netstorage/shared folder.

  2. Back up the /opt/novell/netstorage/webapp/WEB-INF/classes/Settings.properties file.

  3. At the terminal prompt, use the following command to stop the xregd user: rcnovell-xregd stop

  4. Export the registry available at /var/opt/novell/xtier/xregd/db as an xml file using the following command:

    /opt/novell/xtier/bin/regutil -e srcReg.xml

Target Server

  1. Copy the /var/opt/novell/netstorage/shared folder in the same volume and directory structure.

  2. Copy the /opt/novell/netstorage/webapp/WEB-INF/classes/Settings.properties file in the same volume and directory structure.

  3. Ensure that file permissions are retained.

  4. Copy srcReg.xml to any location. For example, /opt/novell/xtier/bin/regutil -i <location>/srcReg.xml, where <location> is the location of your choice.

  5. At the terminal prompt, use the following command to stop the xregd user: rcnovell-xregd stop

  6. Navigate to /var/opt/novell/xtier/xregd/db/ and verify that the directory db is empty using the following command: ls -l.

    If the directory is empty, continue to Step 5.

  7. If any files exist in the db directory, move all the files to a temporary directory, for example, /tmp.

  8. Generate files inside the xtier registry using the following command:

    To restore the source server registry:

    /opt/novell/xtier/bin/regutil -i srcReg.xml

  9. Navigate to /var/opt/novell/xtier/xregd/db/ and run the command ls –l /var/opt/novell/xtier/xregd/db to ensure that the following files are generated:

    • xtier_registry.db

    • xtier_registry.lck

    • xtier_registry.rfl

  10. Start the xregd user using the rcnovell-xregd start command.

  11. Navigate to the xtier registry using the /opt/novell/xtier/bin/regedit command.

  12. At the regedit prompt, execute the cd local_machine command and the ls -l command to view the contents inside the directory. If a directory named software is present in the local_machine directory, then the registry is rebuilt without any error.

  13. Similarly, enter the following commands in the sequence listed along with ls -l command to view the content in the respective directories:

    • cd software

    • cd Novell

    • cd Xtier

    • cd Configuration

      If the content exists in all the respective directories, then the Xtier registry is completely rebuilt.

  14. Enter exit.

  15. Restart the machine.

28.2.1 Transfer ID - Same Tree

In this scenario, the target server is installed in the same tree as the source server. After successful completion of Transfer ID, the target server functions with the same credentials (such as IP address and host name) as the source server, and the source server node is no longer available in the network. For more information, see Section 10.0, Using the Migration GUI Tool for Transfer ID.

28.2.2 Post Migration

After migrating NetStorage,

  • Log in to iManager and go through the NetStorage Task to ensure the configurations were properly migrated.

  • Access NetStorage from a browser http://<IP-ADDRESS>/NetStorage/ and should be able to log in and access files and folders.