Migrating SUSE Manager from Version 3.1 to 3.2
The migration can either be done with the Online Migration tool (YaST) or with the Zypper command line tool.
SUSE Manager 4.0 requires SLES 12 SP3 or later, with PostgreSQL version 9.6. Check the release notes for more information about these requirements. If you want to upgrade from an earlier version of SUSE Manager, check the relevant product documentation.
Reduce Installation Size
When performing the migration, YaST will install all recommended packages. Especially in the case of custom minimal installations, this may increase the installation size of the system significantly. To change this default behavior and allow only required packages, adjust solver.onlyRequires = true installRecommends=false # or commented This changes the behavior of all package operations, such as the installation of patches or new packages. |
Using YaST
Checking PostgreSQL Version
Before migrating to SLES 12 SP3 or later, check whether PostgreSQL is already updated to version 9.6. For more information, see [bp.postgresql.database.migration]. |
To perform the migration with YaST, use the Online Migration tool:
-
If you are logged into a GNOME session running on the machine you are going to update, switch to a text console. Running the update from within a GNOME session is not recommended. This does not apply when being logged in from a remote machine (unless you are running a VNC session with GNOME).
-
Start in YaST
(yast2 migration
). YaST will show possible migration targets with detailed summaries.In case of trouble, resolve the following issues first:
-
If the Online Migration is not available, install the yast2-migration package and its dependencies. Restart YaST , otherwise the newly installed module will not be shown in the control center.
-
If there are “old” online updates available for installation, the migration tool will warn and ask to install them now before starting the actual migration. It is recommended to install all updates before proceeding.
-
Using zypper
Checking PostgreSQL Version
Before migrating to SLES 12 SP3 or later, check whether PostgreSQL is already updated to version 9.6. For more information, see [bp.postgresql.database.migration]. |
To perform the migration with Zypper on the command-line, use the zypper migration
subcommand tool:
zypper migration
-
If you are logged into a GNOME session running on the machine you are going to update, switch to a text console. Running the update from within a GNOME session is not recommended. This does not apply when being logged in from a remote machine (unless you are running a VNC session with GNOME).
-
The
zypper migration
subcommand show possible migration targets and a summary.In case of trouble, resolve the following issues first:
-
If the
migration
subcommand is not available install the zypper-migration-plugin package and its dependencies. -
If there are “old” online updates available for installation, the migration tool will warn and ask to install them now before starting the actual migration. It is recommended to install all updates before proceeding.
-
-
If more than one migration target is available for your system, select one from the list (specify the number).
-
Read the notification and update the SUSE Manager database schema as described (
spacewalk-schema-upgrade
). -
Make sure SUSE Manager is up and running (
spacewalk-service start
).
After finishing the migration procedure SUSE Manager 3.2 on SLES 12 SP3 or later is available to be used.