Import migration content to OCP manually
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.
Before you begin
- The Ansible Automation Platform deployment is named
aapin the defaultaapnamespace with all default database names and database users.
About this task
To import migration content manually using oc commands, scale down Ansible Automation Platform components, restore databases, replace encryption secrets, and scale services back up. If your source environment is an RPM, containerized, or OCP operator deployment, use the ansible.aap_snapshot collection import procedure instead. See Import Ansible Automation Platform data into an OCP deployment .
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.