Problem: Advice on migrating existing foreman + katello server to new hosts in new datacenter
Expected outcome: Foreman running in new datacenter
Other relevant data: In our current infrastructure we have two DCs and we have a foreman server running katello in one location (DC1) and a smart-proxy running in 2nd location (DC2).
We are now migrating to two new datacenters and have to build servers from scratch in the new DCs.
We are currently working on new datacenter (New-DC1) and have spun up an additional smarty-proxy pointing to the foreman server at DC1.
We will soon start work on the 2nd new datacenter New-DC2 which is where our foreman + Katello server will eventually reside. We are exploring our option on how to migrate the current foreman to this new location. Should we be building another smart-proxy at New-DC2 and then when everything is built we convert it to being the main foreman server (if that is even possible) OR should we build a new foreman server at this new datacenter (New-DC2) and then re-point the newly created smart-proxy (New-DC1) to it? OR will a backup and restore of foreman server be a good idea keeping in mind that we are building everything from scratch at the new location so existing host data isn’t of any use.
The only thing we really care about is puppet, foreman hostgroups and their variables plus the parameters that have been defined.