3.3. Cloning a Red Hat Satellite with an Embedded Database
Procedure 3.4. To Clone a Satellite Server with an Embedded Database:
- Install Red Hat Satellite with an embedded database on a base install of Red Hat Enterprise Linux on a separate machine. That is, a machine separate from your primary Red Hat Satellite server. Omit the SSL Certificate generation step.
- Back up the primary server's database daily using the commands described in Section 188.8.131.52, “Performing an Offline Backup”. This ensures that only changes made the day of the failure are lost.
- Establish a mechanism to copy the backup to the secondary server. Keep these repositories synchronized using a file transfer program such as rsync. Copying is not necessary if using a Storage Area Network (SAN).
- Use the
db-controlcommand to import duplicate data.
- If the primary server fails, transfer the SSL key pair RPM package in
/root/ssl-buildfrom the primary to the secondary server, and install that package. This ensures that Red Hat Satellite clients can authenticate with and securely connect to the secondary server.
- Update your DNS to reference the secondary server, or configure your load balancer appropriately.