In deciding how to resolve a failed DSC upgrade, it is important to first determine the cause of the problem and the point at which the failure occurred. Also, ensure that all DSA components are the same version.
-
If the upgrade of the DSC fails in the post install section of the rpm install, there are two options:
Option Description Revert back to the previous version If the DSC failed before the DSC repository was modified: - Uninstall both the new and the previous version.
- Install the previous version again using the configuration information you saved before the upgrade was attempted.
- Drop the BAR and BARBACKUP databases from the DSC repository.
- Re-install the previous version.
- Run import_repository_backup_config, importing the file you exported when you executed the export_repository_backup_config command.
- Run recover_backup_metadata.
- Run config_system to configure the repository job using the xml file to which you exported the configuration information (step 2 of Backing up the DSC Repository and Configuration Before an Upgrade).
dsc config_system -n dscnode_Repository_name -f repository_config_system.xml
- Run enable_component to enable the repository system.
dsc enable_component -t SYSTEM -n dscnode_Repository_name
- Run a repository restore job using the BAR Setup portlet or the command-line interface.
- Execute a tpareset to the repository database.
Attempt to perform the upgrade again If the DSC failed before the DSC repository was modified: - Uninstall both the new and the previous version.
- Install the new version again using the configuration information you saved before the upgrade was attempted.
- The DSC repository is corrupt and the previously existing data must be recovered. Since the schema of the repository is likely to have changed between the previous and new versions, the new version cannot be installed until the previous repository has been rebuilt so that the data can be recovered. To rebuild the previous environment, follow steps a through h listed in the row above, for a DSC failure during the DSC repository upgrade.
- After you have properly reverted to the previous build, re-attempt the upgrade to the new build.
-
If the upgrade fails for DSA components other than the DSC so that the environment is corrupt:
- Uninstall both the previous and the new version of the component.
- After determining the cause of the failure, do a fresh install of either the new or old version using the information you saved before the upgrade was attempted.