Upgrade Using the Content Lifecycle Manager
When you have many SUSE Linux Enterprise Server clients to manage, you can automate in-place upgrades using the content lifecycle manager.
1. Prepare to Upgrade
Before you can upgrade your clients, you need to make these preparations:
-
Create a content lifecycle project
-
Create an activation key
-
Create an autoinstallable distribution
-
Create an autoinstallation profile
-
Create a content lifecycle project for your distribution.
For more information, see Content Lifecycle Management.
-
Ensure you a choose a short but descriptive name for your project.
-
Include all source channel modules that you require for your distribution.
-
Add filters as required, and set up at least one environment.
-
Create an activation key for your distribution.
For more information, see Activation Keys.
-
Ensure your activation key includes all filtered project channels.
-
Create an autoinstallable distribution for every base channel you want to migrate.
For more information, see Autoinstallable Distributions.
-
Give your distribution a label that references the name of the content lifecycle project.
-
In the
Installer Generation
field, select the SLES version you are using.
-
Create an autoinstallation profile for every target distribution and service pack you want to upgrade to.
For more information, see Autoinstallation Profiles.
-
You can use variables in the profile to distinguish between the different lifecycle environments.
For example autoinstallation profiles, see https://github.com/SUSE/manager-build-profiles/tree/master/AutoYaST.
Use these variables in your autointallation profiles for automating in-place upgrades:
registration_key=1-15sp1-demo-test org=1 channel_prefix=15sp1-demo-test distro_label=15sp1-demo-test
<listentry> <ask_on_error config:type="boolean">true</ask_on_error> <media_url>https://$redhat_management_server/ks/dist/child/$channel_prefix-sle-module-web-scripting15-sp1-pool-x86_64/$distro_label</media_url> <name>$channel_prefix SLE-Module-Web-Scripting15-SP1 Pool for x86_64 </name> <product>Web Scripting Module 15 SP1 x86_64 Pool</product> </listentry>
2. Upgrade
When you have prepared the server for the upgrade, you can provision the clients.
-
In the Uyuni Web UI, navigate to
, and select the clients you want to provision to add them to the system set manager. -
Navigate to
and click theProvisioning
tab. -
Select the autoinstallation profile to use.
For clients that are able to use PXE, the migration is automated as soon as you have provisioned them. For all other clients, you can use Cobbler to perform the upgrade.
-
At the command prompt, as root, to get to a shell inside the container, run:
mgrctl term
-
Check the available Cobbler profiles:
cobbler profile list
-
Build the ISO file with your chosen profile and distribution:
cobbler buildiso --iso=/tmp/SLE_15-sp1.iso --profiles=SLE_15-sp1:1:Example --distro=SLE_15-sp1
For more information about using CD-ROMs to provision clients, see Install via a CD-ROM or a USB Key.