Chapter 5. Migrating Satellite to a New Red Hat Enterprise Linux System
When you migrate your Satellite, you create a backup of your Satellite Server and your Capsule, install a fresh instance, and restore your backup on the new instance. After your migration is complete, you can then decommission the earlier instance of Satellite Server and Capsule.
Terminology
Ensure that you understand the following terms:
- Source server
- The origin of migration on which you create a backup.
- Target server
- The new server on which you restore the backup.
High-Level Procedure
To migrate your Satellite to new hardware, follow these high-level steps:
- Create a backup of the Satellite Server or Capsule Server on the source server.
Perform a fresh installation of the Satellite Server or Capsule Server on a target server.
- Install a minimal Red Hat Enterprise Linux 8 instance with the capacity to store backup files.
Do not install any operating system software groups or third-party applications.
For more information, see Performing a standard Red Hat Enterprise Linux installation.
- Restore the backup on the target server.
5.1. Creating a Backup of a Server on Red Hat Enterprise Linux 7
Before you perform a fresh installation of the Satellite Server or Capsule Server on the Red Hat Enterprise Linux 8 system, back up your Satellite Server or Capsule Server data on the Red Hat Enterprise Linux 7 system by creating an offline backup.
If you recently created an offline backup, you can perform an incremental backup to update the existing backup.
Procedure
Perform a backup on the source server:
- To perform a full backup, see Backing Up Satellite Server and Capsule Server in Administering Red Hat Satellite.
- To perform an incremental backup, see Performing an Incremental Backup in Administering Red Hat Satellite.
5.2. Performing a Fresh Installation of a Server on Red Hat Enterprise Linux 8
After you have created a backup of the Satellite Server or Capsule Server on the source server, you can install Satellite Server or Capsule Server on the target server.
- To install connected Satellite Server, see Installing Satellite Server in a Connected Network Environment.
- To install disconnected Satellite Server, see Installing Satellite Server in a Disconnected Network Environment.
- To install Capsule Server, see Installing Capsule Server.
5.3. Restoring a Backup of a Server on Red Hat Enterprise Linux 8
After you perform a fresh installation of Satellite Server or Capsule Server on the target server, you can restore the backup you previously created.
Procedure
Restore a backup on the target server:
- To restore a full backup, see Restoring From a Full Backup in Administering Red Hat Satellite.
- To restore an incremental backup, see Restoring From Incremental Backups in Administering Red Hat Satellite.
Reindex the databases:
# runuser -u postgres -- reindexdb -a