On the database server ansible-db03, a new cluster database is required with PostgreSQL version 10. 86_64.rpmĬreate a new PostgreSQL Cluster with Trivadis pgOperate It does not work with a newer version! See here. Ansible Tower 3.7.x requires PostgreSQL 10. Therefore, download the following files from and copy them to /tmp to the databse server. There is no internet access to the official PostgreSQL yum repository. Port: 5433 (old Tower repository was 5432).Install Postgres 10 on database server and create a new Postgres 10 database Install Postgres 10Ĭonnection details of the new repository database: Tower and database are configured as OS service, they are started automatically after server power on. Restart all involved servers and verify in the Tower UI that everything works properly. In my case, we did VMWare vRealize Automation snaphots first after shutting down tower and database properly. Tower and Database ShutdownĪnsible-tower-01 / ansible-tower-02 / ansible-tower-03: stop the tower service: # ansible-tower-service stopĭb03: Stop the database service: # systemctl stop postgresql-9.6.service Create a backup or snapshot It is highly recommended to create a backup/snapshot of the existing environment in case of upgrade troubles. Shutdown Machines and create Snapshot of the Hosts Re-run Ansible Tower 3.5.1 setup against new databaseġ.Manual export/import tower data into the new database with pg_dump/pg_restore.Install Postgres 10 on database server and create a new Postgres 10 database.Shutdown all involved virtual machines properly, create a snapshot for fallback, restart all involved servers properly.A Red Hat Subscription Manifest File which contains the license information for Tower 3.8 – the Manifest file can only be created in the Red Hat account when a valid subscription is available.Postgres 10 installed on database server.Bundle of the future releases are downloaded.The software and the inventory file of the current Ansible Tower installation. Requires a Red Hat subscription to download The bundles are accessible by the Ansible Tower server where the setup processes are executed. What are the Recommended Upgrade Paths for Ansible Tower? – Red Hat Customer Portalīundles: We use bundles (aka offline installers) for version 3.7.4 and 3.8 – the Ansible Tower servers don’t require internet access to upgrade and install relevant packages. In our case, Tower 3.5.1 needs to be updated to 3.7.1 first before 3.8 can be applied. This documents describes the upgrade path, a release cannot be more than two release numbers behind to upgrade it. All servers can connect among each other. It contains three Red Hat Ansible Tower servers and the repository. Remark: The servers in this blog post are listed without domain names to make it easier readable. This upgrade scenario as described is a result of a long discussion with Red Hat support (Thanks to Swati – he did a great job!) and an intensive test period on local virtual machines until the live system was in the row. For example: the delivered setup.sh is not able to restore data exported from Postgres 9.6 into a new Postgres 10 database. Upgrading an Existing Tower Installation - Ansible Tower Installation and Reference Guide v3.8.0 does not work here. I a customer project I had to update an existing Red Hat Ansible Tower setup from version 3.5.1 to the newest available version 3.8.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |