Hi Community and ansible team,
I am using awx-operator v2.12.2 in my Openshift cluster and now i am moving to GCP hence i request you to provide a comprehensive guide or any kind of support to achieve this successfully without any dataloss. I have configured lot of automation projects in AWX, i don’t want to loose my projects and configurations. Please guide me how can i achieve this.
Hi @Hussain_Peera
You’d need to look at using the backup
and restore
roles: awx-operator/roles at devel · ansible/awx-operator · GitHub
I’ve not done this kind of migration before but high level steps would be something along the lines of:
- Take a backup of the AWX resources and database using the
AWXBackup
CRD. Steps and configuration can be found in the backup
role README. The PVC created by the AWXBackup
contains a tarball which you could copy out and then stage inside a PVC in your GCP cluster.
- Deploy the awx-operator on your GCP cluster.
- Stage the tarball into a PVC on your GCP cluster.
- Use the
AWXRestore
CRD to deploy AWX from the tarball staged in the PVC.