Run the following: - On SLES15 run python3 runAutoMigration.py - f
- On SLES12.3-TDC/STND run python3.6 runAutoMigration.py - f
- On SLES11.3 run ./runAutoMigration.py - f
This script performs the following tasks:
- SSH logon to old DSC and read the POSTGRES password from jdbc.properties.
- Use PG_DUMP to 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.
- Run 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).