Run python3 runCompleteMigration.py -f dsa_input.yaml. On SLES11 & SLES12 run ./runCompleteMigration.py -f dsa_inputs.yaml.This script performs the following tasks:
- SSH login to old DSC and read the POSTGRES password from jdbc.properties.
- Using PG_DUMP, read old DSC repo data and store it in LandingZone at new DSC.
- Run restore with recover.sh utility into local new DSC Repo.
- Validate with ROW count between old and new DSC.
- Execute upgrade scripts (change log) based on old DSC version.
- If needed, update or modify DSC name.
- Reconfigure only components given dsa_inputs.yml.
- Compare list_consumers and list_components on old and new DSC.
- Provide appropriate message or action or exit code.
- EXIT 0 (Migration completed successfully).
- EXIT 1 (Migration completed with warnings. Needs changes or executions).
- EXIT 2 (Migration failed).