Using Foreman to manage Linux VMs in Azure

Problem:
Has any one tried Configuring Foreman server to use External Database on Azure Database for PostgreSQL. If so appreciate some high level guidance to proceed.
Expected outcome:
Configuring Foreman server to use External Database on Azure Database for PostgreSQL
Foreman and Proxy versions:

Foreman and Proxy plugin versions:

Distribution and version:

Foreman 3.4 Server with Katello 4.6

Other relevant data:

Hi @ruwindafernando
Please have a look at Migrating from Internal Foreman Databases to External Databases in Administering Foreman. Did you follow this procedure but encounter any issues? If so, at which step?

Hi @maximilian, Thanks for the lead. I’m working on that process.
I’m trying to get this done via ARM templates by passing 3 parameter files for 3 databases (foreman, candlepin, pulpcore) and respective users.
Database installation part i can skip as i understood as it will be provided by the “Azure Database for PostgreSQL”.
Will try this soon and will get back with feed back.
Thanks

Katello relies on a custom PostgreSQL extension (GitHub - Katello/postgresql-evr: A postgresql extension for RPM epoch/version/release type) which you’ll have to install manually in that case.

We only provide pre-built RPMs for “normal” PostgreSQL on EL8.

1 Like