Jump to contentJump to page navigation: previous page [access key p]/next page [access key n]
documentation.suse.com / SUSE Linux Enterprise Micro Documentation / Upgrade Guide / Upgrading the system
Applies to SUSE Linux Enterprise Micro 5.2

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

Note
Note: SUSE Linux Enterprise Live Patching

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:

Procedure 3.1: Upgrade to a newer version
  1. The upgrade procedure is performed by calling the transactional-update:

       transactional-update migration
  2. A new snapshot is created.

  3. Current repositories are refreshed.

  4. A list of available migration targets is displayed. Enter a number.

  5. A list of packages to be installed or updated is displayed. Press y to continue with the upgrade procedure.

  6. To complete the upgrade, reboot your system and boot into the target version.

If your system is not registered, proceed as follows:

Procedure 3.2: Upgrading an unregistered system
  1. Change the URL of the update repositories to point to the 5.2.

  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”.