Inter-Server Synchronization - Version 1

If you have more than one Uyuni installation, you need to ensure that they stay aligned on content and permissions. Inter-Server Synchronization (ISS) allows you to connect two or more Uyuni Servers and keep them up-to-date.

To set up ISS version 1, you need to define one Uyuni Server as a master, with the other as a slave. If conflicting configurations exist, the system prioritizes the master configuration.

ISS Masters are masters only because they have slaves attached to them. This means that you need to set up the ISS Master first, by defining its slaves. You can then set up the ISS Slaves, by attaching them to a master.

Procedure: Setting up an ISS Master
  1. In the Uyuni Web UI, navigate to Admin  ISS Configuration  Master Setup, and click Add new slave.

  2. In the Edit Slave Details dialog, provide these details for the ISS Master’s first slave:

    • In the Slave Fully Qualified Domain Name field, enter the FQDN of the ISS Slave. For example: server2.example.com.

    • Check the Allow Slave to Sync? checkbox to enable the slave to synchronize with the master.

    • Check the Sync All Orgs to Slave? checkbox to synchronize all organizations to this slave.

  3. Click Create to add the ISS slave.

  4. In the Allow Export of the Selected Organizations section, check the organizations you want to allow this slave to export to the master, and click Allow Orgs.

Before you set up the ISS Slave, you need to ensure you have the appropriate CA certificate.

Procedure: Copying the Master CA Certificate to an ISS Slave
  1. On the ISS Master, locate the CA Certificate at /srv/www/htdocs/pub/RHN-ORG-TRUSTED-SSL-CERT and create a copy that can be transferred to the ISS Slave.

  2. On the ISS Slave, save the CA certificate file to the /etc/pki/trust/anchors/ directory.

When you have copied the certificate, you can set up the ISS Slave.

Procedure: Setting up an ISS Slave
  1. In the Uyuni Web UI, navigate to Admin  ISS Configuration  Slave Setup, and click Add new master.

  2. In the Details for new Master dialog, provide these details for the server to use as the ISS master:

    • In the Master Fully Qualified Domain Name field, enter the FQDN of the ISS Master for this slave. For example: server1.example.com.

    • In the Filename of this Master’s CA Certificate field, enter the absolute path to the CA certificate on the ISS master. This should be /etc/pki/trust/anchors/RHN-ORG-TRUSTED-SSL-CERT.

  3. Click Add new master to add the ISS Slave to this master.

Procedure: Completing ISS Setup
  1. At the command prompt on the ISS Slave, synchronize with the ISS Master:

    mgr-inter-sync
  2. OPTIONAL: To synchronize a single channel, use this command:

    mgr-inter-sync -c <channel-name>
  3. In the Uyuni Web UI, navigate to Admin  ISS Configuration  Configure Master-to-Slave Mappings and select the organizations you want to synchronize.