Recovering from Failure during the DSC Repository Upgrade - BAR - Data Stream Architecture - Data Stream Utility
Teradata® DSA - DSU Installation, Configuration, and Upgrade Guide
- Product
- BAR
- Data Stream Architecture
- Data Stream Utility
- Release Number
- 16.20
- Published
- September 2019
- Language
- English (United States)
- Last Update
- 2019-09-27
- dita:mapPath
- cbv1514490990317.ditamap
- dita:ditavalPath
- 3153_DSU_ICUCustomer_1620.ditaval.ditaval
- dita:id
- B035-3153
- lifecycle
- previous
- Product Category
- Software
- Teradata Tools and Utilities
-
Drop the BAR and BARBACKUP databases, by running the following commands in BTEQ:
delete database BAR;
drop database BAR;
delete database BARBACKUP;
drop database BARBACKUP;
-
Check if DSC is already installed and remove if necessary.
-
Check if the DSC is installed:
rpm -qa DSC
-
If the DSC is installed, remove the package:
rpm -e nameofpackage
-
Re-install the previous version.
The repository is corrupt so it must be recovered to the previous version before attempting the upgrade again.
-
From the DSA installation directory, import the configuration file you exported before the upgrade (step 2 of Backing Up DSC Repository and Configuration Before Upgrading).
dsc import_repository_backup_config -f export_repository_backup_config.xml
-
If SSL is not enabled for this system, restart the ClientHandler.
-
If SSL is enabled for this system, perform the following in the BAR Setup portlet:
-
From the CATEGORIES list, click Systems and Nodes and select the repository.
-
Select the Enable SSL over JMS Communication checkbox and enter the TrustStore password.
-
Click Apply and enter the credentials when prompted.
-
Restart DSMain on the DSC repository system as indicated in the warning message.
-
From the CATEGORIES list, click Media Servers, select the media server used for repository backup, and click Apply.
This activates the media server in the background.
-
Recover saveset information:
dsc recover_backup_metadata -n repository_target_group
-
Run a repository restore job using the BAR Setup portlet or the run_repository_job command.
dsc run_repository_job -t restore
-
Perform a tpareset to the DSC repository database.
-
[Optional] Re-attempt the upgrade.