Upgrade your containerized deployment of Ansible Automation Platform
Perform an upgrade of containerized Ansible Automation Platform.
Before you begin
- You have reviewed the release notes for the associated release. For more information, see Release notes.
- You have a backup of your Ansible Automation Platform deployment. For more information, see Back up containerized Ansible Automation Platform.
- If you are deploying metrics service with an external database, you have provisioned the
metrics_servicedatabase. Metrics service requires access to two databases:metrics_servicedatabase (read/write): Create a new database for metrics service data storageawx/automation controller database (read-only): Metrics service requires read-only access to the existing controller database
Important:
Ansible Automation Platform 2.7 requires metrics service when automation controller is present. Review the requirements below to determine if you need to provision additional infrastructure:
- Growth topology (all-in-one): No additional hardware required. Metrics service shares the existing host.
- Multi-node deployments: Provision a new dedicated host for metrics service with the following specifications:
- CPU: 2 vCPUs minimum, 4 vCPUs recommended
- RAM: 4 GB minimum, 8 GB recommended
- Storage: 20 GB minimum, 40 GB+ recommended (SSD preferred)
- External database with event stream database user: If you use an external PostgreSQL database, verify that a dedicated eda_event_stream database user exists on your Event-Driven Ansible database before upgrading. This user requires only CONNECT privileges and is required for event stream operations in Ansible Automation Platform 2.7. For more information, see Configure an external database for event streams.
Procedure
Results
After a successful upgrade, if you installed metrics service, verify it is running on the host defined in the [automationmetrics] inventory group.
Verify metrics service is operational:
- Check metrics service status by using the platform gateway.
- Review metrics service logs for any errors.