Prepare the OpenShift Container Platform target environment and import migration content
Prepare and assess your target OpenShift Container Platform environment, and import and reconcile your migrated content.
Prepare and assess the target environment
Transfer the migration artifact, create an OpenShift Container Platform project, and deploy Ansible Automation Platform using the Operator with configurations matching your source environment.
Procedure
- Configure Ansible Automation Platform Operator for an Ansible Automation Platform deployment.
- Set up the database configuration (internal or external).
- Set up the Redis configuration (internal or external).
- Install Ansible Automation Platform using Ansible Automation Platform Operator.
- Create a backup of the initial OpenShift Container Platform deployment.
- Verify the fresh installation functions correctly.
Import the migration content to the target environment
To import your environment, scale down Ansible Automation Platform components, restore databases, replace encryption secrets, and scale services back up.
About this task
The import process requires the latest version of Ansible Automation Platform named aap in the default aap namespace and all default database names and database users.
Procedure
Reconcile the target environment post-import
After importing your migration artifact, perform the following steps to reconcile your target environment.
Procedure
- Modify the Django
SECRET_KEYsecrets to match the source platform. - Deprovision and reconfigure platform gateway service nodes.
- Re-run platform gateway nodes and services register logic.
- Convert container-specific settings to OpenShift Container Platform-appropriate formats.
- Reconcile container resource allocations to OpenShift Container Platform resources.
Validate the target environment
Verify that all Ansible Automation Platform services are running, credentials work correctly, and migrated content like projects, inventories, and job templates are accessible on OpenShift Container Platform.
Procedure
- Verify all migrated components are functional.
- Test workflows and automation processes.
- Validate user access and permissions.
- Confirm content synchronization and availability.
- Test integration with OpenShift Container Platform-specific features.