3 Upgrading the system #
SUSE offers a command-line tool to upgrade a running system to a new version. The tool provides support for “rollback” to an older release. This chapter explains how to upgrade your system step by step.
SUSE releases new version of SLE Micro at regular intervals. To make it easy for customers to migrate to a new minor version and minimize downtime, SUSE supports migrating online while the system is running.
SLE Micro uses transactional updates to upgrade from one version to the next. This has the following advantages:
The system is always in a defined state until the first RPM is updated.
Canceling is possible until you reboot the system.
Simple recovery if there is an error.
It is possible to do a “rollback” via system tools—no backup or restore needed.
Use of all active repositories.
3.1 Upgrading to a new release #
If you have the SUSE Linux Enterprise Live Patching extension enabled, the extension is not affected during the upgrade procedure.
If your system is registered with the SUSE Customer Center, make sure to have an Internet connection during the following procedure:
The upgrade procedure is performed by calling the
transactional-update
:transactional-update migration
A new snapshot is created.
Current repositories are refreshed.
A list of available migration targets is displayed. Enter a number.
A list of packages to be installed or updated is displayed. Press
y
to continue with the upgrade procedure.To complete the upgrade, reboot your system and boot into the target version.
If your system is not registered, proceed as follows:
Change the URL of the update repositories to point to the 5.2.
Run the following command:
#
transactional-update dup
3.2 Reverting the migration process #
If a new release does not work for you, SLE Micro supports reverting the
system to the state before the migration process was started by using the
transactional-update rollback
command.
The detailed procedure for a system rollback is described in Section 2.3, “System rollback”.