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 SUSE Manager Server. SUSE Manager Server related systems such as Inter-Server Synchronization Slave Servers or SUSE Manager Proxies are also affected and have to be considered.
SUSE recommends you always keep your SUSE Manager infrastructure updated. That includes servers, proxies, and build hosts. If you do not keep the SUSE Manager 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 SUSE Manager Server. New and updated packages become available automatically.
To keep SUSE Manager up to date, either connect it directly to SUSE Customer Center or use Repository Management Tool (RMT). You can use RMT as a local installation source for disconnected environments.
You can check that the update channels are available on your system with this command:
zypper lr
The output looks similar to this:
Name | Enabled | GPG Check | Refresh -------------------------------------------------------+---------+-----------+-------- SLE-Module-Basesystem15-SP4-Pool | Yes | (r ) Yes | No SLE-Module-Basesystem15-SP4-Updates | Yes | (r ) Yes | Yes SLE-Module-Python2-15-SP4-Pool | Yes | (r ) Yes | No SLE-Module-Python2-15-SP4-Updates | Yes | (r ) Yes | Yes SLE-Product-SUSE-Manager-Server-4.3-Pool | Yes | (r ) Yes | No SLE-Product-SUSE-Manager-Server-4.3-Updates | Yes | (r ) Yes | Yes SLE-Module-SUSE-Manager-Server-4.3-Pool | Yes | (r ) Yes | No SLE-Module-SUSE-Manager-Server-4.3-Updates | Yes | (r ) Yes | Yes SLE-Module-Server-Applications15-SP4-Pool | Yes | (r ) Yes | No SLE-Module-Server-Applications15-SP4-Updates | Yes | (r ) Yes | Yes SLE-Module-Web-Scripting15-SP4-Pool | Yes | (r ) Yes | No SLE-Module-Web-Scripting15-SP4-Updates | Yes | (r ) Yes | Yes
SUSE Manager releases maintenance updates (MUs) to provide newer packages. Maintenance updates are indicated with a new version number. For example, the major release 4.3 is incremented to 4.3.1 when an MU is released.
You can verify which version you are running by looking at the bottom of the navigation bar in the Web UI.
You can also fetch the version number with the api.getVersion()
XMLRPC API call.
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 SUSE Manager 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 SUSE Manager Server update is complete.
For more information on monitoring, see Monitoring with Prometheus and Grafana.
4. Proxy
Proxies should be updated as soon as SUSE Manager 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. |