Official backup/restore for content hosts
We are refreshing about 7,000 workstations all connected to satellite for content delivery right now, Satellite 6.1.8
[1] Are there official instructions on what to do prior, during, after an existing content host is replaced with new hardware due to a refresh or parts replacement that wipes the harddrive? Is it only remove and re-register?
[2] If it is remove/reregister, while I understand that the facts about the new system will differ, I'd like an RFE that somehow can re-register if the existing hostname doesn't change and you simply want to reuse the previous UUID and registration of that content host in satellite.
Doing a manual uninstall reinstall of 7,000 content hosts one at a time has proven very cumbersome, and at times has caused hung tasks in foreman and gotten our elasticsearch indicies all mucked up requires various reindexes and slowness in our satellite.
Responses
Try:
subscription-manager register --consumerid
From the manual:
--consumerid=CONSUMERID
References an existing system inventory ID to resume using a previous registration for this system. The ID is used as an inventory number for the system in the subscription management service database. If the system's identity is lost or corrupted, this option allows it to resume using its previous identity and subscriptions.
As you remove/replace the content hosts, I'd expect the workflow to be:
note the content hosts original consumerid via
subscription-manager identitydo NOT remove the content host entry from Satellite.
Replace the system with the new hardware.
Install Satellite CA RPM (katello-ca-consumer-latest.noarch.rpm)
register to the existing content host record
subscription-manager register --consumerid <uuid>update your facts
subscription-manager facts --updaterefresh your subscriptions to ensure your subs match (i.e if you went from a 2 socket system to a 4 socket system)
subscription-manager refresh
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
