Infrastructure maintenance tasks

If you work with scheduled downtime periods, you might find it difficult to remember all the things that you need to do before, during, and after that critical downtime of the Uyuni Server. Uyuni Server related systems such as Inter-Server Synchronization Slave Servers or Uyuni Proxies are also affected and have to be considered.

SUSE recommends you always keep your Uyuni infrastructure updated. That includes servers, proxies, and build hosts. If you do not keep the Uyuni Server updated, you might not be able to update some parts of your environment when you need to.

This section contains a checklist for your downtime period, with links to further information on performing each of the steps.

1. Server

Procedure: Server checks
  1. Apply the latest updates. See Upgrade the Server.

  2. Upgrade to the latest service pack, if required.

  3. Run spacewalk-service status and check whether all required services are up and running.

For information about database schema upgrades and PostgreSQL migrations, see Upgrade the Database.

You can install updates using your package manager.

By default, several update channels are configured and enabled for the Uyuni Server. New and updated packages become available automatically.

1.1. Client tools

When the server is updated consider updating some tools on the clients, too. Updating salt-minion, zypper, and other related management package on clients is not a strict requirement, but it is a best practice in general. For example, a maintenance update on the server might introduce a major new Salt version. Then Salt clients continue to work but might experience problems later on. To avoid this always update the salt-minion package when available. SUSE makes sure that salt-minion can always be updated safely.

2. Inter-Server Synchronization slave server

If you are using an Inter-Server Synchronization slave server, update it after the Uyuni Server update is complete.

For more on Inter-Server Synchronization, see Inter-Server Synchronization.

3. Monitoring server

If you are using a monitoring server for Prometheus, update it after the Uyuni Server update is complete.

For more information on monitoring, see Monitoring with Prometheus and Grafana.

4. Proxy

Proxies should be updated as soon as Uyuni Server updates are complete.

In general, running a proxy connected to a server on a different version is not supported. The only exception is for the duration of updates where it is expected that the server is updated first, so the proxy could run the previous version temporarily.

If you are migrating from version 4.2 to 4.3, upgrade the server first, then any proxy.

For more information, see Upgrade the Proxy.