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.
At the terminal prompt use the following command to stop the xregd user: rcnovell-xregd stop
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
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.
Generate files inside the xtier registry using the following commands:
To restore the default registry:
/opt/novell/xtier/bin/regutil -i /etc/opt/novell/xtier/xtier_registry.xml
To restore old registry:
/opt/novell/xtier/bin/regutil -i oldReg
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:
Start the xregd user using the rcnovell-xregd start command.
Navigate to the xtier registry using the following command /opt/novell/xtier/bin/regedit.
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.
Similarly, enter the following commands in the sequence listed along with ls -l command to view the content in the respective directories:
If the content exists in all the respective directories, then the xtier registry is completely rebuilt.
Restart the machine.