Problem:
I have a Foreman-Host running without Katello, it’s the Puppetmaster nothing else.
It is Foreman 3.7, installed via foreman-installer on AlmaLinux8.
Now I want to use Katello for Content, to provide repositories to my hosts.
I installed Foreman 3.10 with Katello 4.12 fresh on a NEW Host with “foreman-installer --scenario katello” on AlmaLinux9.
So far so good, my new Foreman with Katello is running, Puppetserver works, I can add repos to Katello, etc.
But I don’t really know how to migrate my Hosts+Hostgroups with all their Parameters from my old Foreman-3.7 to the new Foreman-3.10+Katello-4.12.
If I restore the full database backup I will loose the katello tables, so that’s not an option.
Is it possible to only restore certain tables, the tables hosts + hostgroups seem straight forward, but where are the host-parameters or hostgroup-parameters stored in the database ?
Is that even a way to go ?
Is there a better was to achieve this migration from Foreman-Only to Foreman+Katello ?
Any hints how this has to be done correctly ?
Actually it’s not much I want to migrate, only the List of Hosts with their parameters and all hostgroups with their parameters.
Expected outcome:
Migration of all hosts+hostgroups with all their parameters to a new foreman-host:
from Foreman-Only to Foreman+Katello
Foreman and Proxy versions:
OLD host: Foreman 3.7
NEW host: Foreman 3.10 + Katello 4.12
Foreman and Proxy plugin versions:
Distribution and version:
AlmaLinux 8 on Foreman 3.7
AlmaLinux 9 on Foreman 3.10 + Katello 4.12
Other relevant data: