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
-
Apply the latest updates.
-
Upgrade to the latest service pack, if required.
-
Run
spacewalk-service status
and check whether all required services are up and running.
You can install updates using a package manager:
-
For information on using YaST, see https://documentation.suse.com/sles/15-SP4/html/SLES-all/cha-onlineupdate-you.html.
-
For information on using zypper, see https://documentation.suse.com/sles/15-SP4/html/SLES-all/cha-sw-cl.html#sec-zypper.
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 - Version 1.
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.
Always upgrade the server first, then any proxy. |