Chapter 5. Migration artifact structure and verification
The migration artifact packages all necessary data and configurations from your source environment. Verify its structure and contents to ensure a successful migration.
5.1. Artifact structure Copy linkLink copied to clipboard!
The migration artifact is a comprehensive package containing all necessary components to transfer your Ansible Automation Platform deployment.
Structure the artifact as follows:
5.2. Manifest file Copy linkLink copied to clipboard!
The manifest.yml file serves as the primary metadata document for the migration artifact. It contains critical versioning and component information from your source environment.
Structure the manifest as follows:
5.3. Secrets file Copy linkLink copied to clipboard!
The secrets.yml file in the migration artifact includes essential Django SECRET_KEY values required for authentication between services.
Structure the secrets file as follows:
Ensure the secrets.yml file is encrypted and kept in a secure location.
5.4. Migration artifact creation checklist Copy linkLink copied to clipboard!
Use this checklist to verify the migration artifact.
Database dumps: Include complete database dumps for each component.
-
Ensure the automation controller database (
controller.pgc) is present in the artifact. -
Ensure the automation hub database (
hub.pgc) is present in the artifact. -
Ensure the platform gateway database (
gateway.pgc) is present in the artifact.
-
Ensure the automation controller database (
Secret dumps: Export and include all security-related information.
-
Validate that all secret values are present in the
secrets.ymlfile.
-
Validate that all secret values are present in the
Custom configurations: Package all customizations from the source environment.
-
Validate that any custom Python scripts or modules (for example
foo.py,bar.py) are present on the artifact. - Document any non-standard configurations or environment-specific settings.
-
Validate that any custom Python scripts or modules (for example
Database information: Document database details.
- Include the database names for all components.
- Document database users and required permissions.
- Note any database-specific configurations or optimizations.
Verification: Ensure artifact integrity and completeness.
- Verify that all required files are included in the artifact.
- Verify that checksums exist for all included database files.
- Test the artifact’s structure and accessibility.
- Consider encrypting the artifact for secure transfer to the target environment.
- Document any known limitations or special considerations.