8.15 Losing Registry Information After an Upgrade From OES 2 SP2 to OES 2 SP3

At times, after an upgrade from OES 2 SP2 to its latest support pack (SP3), the registry information is either lost or corrupted. Once the registry is corrupt or lost, NetStorage has to be reconfigured from scratch. This section elaborates instructions to capture the registry configuration prior applying a support pack and restore it after applying the support pack. This avoids the hassle of reconfiguring NetStorage from scratch.

NOTE:Verify the existence of the registry contents using steps 7 through 10. If the content does not exist as specified in step 9, use the following procedure to rebuild the xtier registry.

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

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

    /opt/novell/xtier/bin/regutil -e oldReg

  3. Navigate to /var/opt/novell/xtier/xregd/db/ and verify that the folder db is empty using the following command: ls -l. If the folder is empty, continue to step 5.

  4. If any files exist in the db folder, move all the files to a temporary folder, say /tmp.

  5. Generate files inside the xtier registry using the following commands:

    1. To restore the default registry:

      /opt/novell/xtier/bin/regutil -i /etc/opt/novell/xtier/xtier_registry.xml

    2. To restore old registry:

      /opt/novell/xtier/bin/regutil -i oldReg

  6. 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

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

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

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

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

    • cd softwar

    • cd Novell

    • cd Xtier

    • cd Configuration

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

  11. Enter exit.

  12. Restart the machine.