8.5. Cloning the Satellite with Embedded DB

You may limit outages caused by hardware or other failures by cloning the Satellite with Embedded Database in its entirety. The secondary Satellite machine can be prepared for use if the primary fails. To clone the Satellite, perform these tasks:
  1. Install RHN Satellite with Embedded Database (and a base install of Red Hat Enterprise Linux) on a separate machine, skipping the SSL Certificate generation step.
  2. Back up the primary Satellite's database daily using the commands described in Section 8.4.2, “Backing up the Database”. If this is done, only changes made the day of the failure will be lost.
  3. Establish a mechanism to copy the backup to the secondary Satellite and keep these repositories synchronized using a file transfer program such as rsync. If you're using a SAN, copying isn't necessary.
  4. Use RHN DB Control's restore option to import the duplicate data.
  5. If the primary Satellite fails, transfer the SSL key pair RPM package in /root/ssl-build from the primary to the secondary Satellite, and install the package. This ensures that RHN clients can authenticate with and securely connect to the secondary Satellite.
  6. Change DNS to point to the new machine or configure your load balancer appropriately.