Inter-Server Synchronization

If you have more than one Uyuni installation, you will probably want 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, you need to define one Uyuni server as a master, with the other as a slave. If conflicting configurations exist, the system will prioritize the master configuration.

Procedure: Setting up an ISS Master
  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 example: http://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 (for example: /etc/pki/trust/anchors-org-ssl). Click Add new master to add the ISS master.

Procedure: Setting up an ISS Slave
  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, for the server to use as the ISS slave provide these details:

    • In the Slave Fully-Qualified Domain Name field, enter the FQDN of the ISS slave (for example: http://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.

When you have the master and slaves set up, you can perform a synchronization from the command line on the slave, with this command:

mgr-inter-sync