How-to migrate Ubuntu Pro from Canonical Cloud to On-Premise
Table of Contents
Introduction
This guide outlines the necessary steps for migrating to an Ubuntu Pro On-Premise (VSS CGN) instance from an existing Ubuntu Pro subscription, ensuring a seamless transition.
Currently there is no support for realtime-kernel in Ubuntu Pro On-Premise. Please disable realtime-kernel and revert your kernel settings.
Current Active Services
Service | Description |
---|---|
esm-apps | Expanded Security Maintenance for Applications |
esm-infra | Expanded Security Maintenance for Infrastructure |
livepatch | Canonical Livepatch service |
Pre-requisites
To ensure smooth operation, please detach any previously connected virtual machines from Ubuntu Pro. Execute the following commands with administrative privileges:
pro detach
output:
Detach will disable the following services: esm-apps esm-infra landscape livepatch Are you sure? (y/N) y Updating package lists Updating package lists Executing `landscape-config --disable` /etc/landscape/client.conf contains your landscape-client configuration. To re-enable Landscape with the same configuration, run: sudo pro enable landscape --assume-yes
Run the command below if the file still exists
/etc/apt/auth.conf.d/90ubuntu-advantage
echo "" > /etc/apt/auth.conf.d/90ubuntu-advantage
Run the following command through the
vss-cli
to present the latest endpoint settings
Ubuntu Pro
Configure the Ubuntu Pro Client by editing the contract_url setting in
/etc/ubuntu-advantage/uaclient.conf
to point to the server:ย
Check everything works fine with the following command:
output:
Attach your token:
output:
ย
Update the Ubuntu repositories and ensure there are no errors related to the
vss-ubuntu-pro
repositories:output:
(optional) If you are running landscape-client, proceed with the following command, otherwise skip
output:
LivePatch
Install the following packages in the client
Configure the on-prem server
Verify configuration
output:
Enable the Livepatch updates with the token
output:
Check status of Ubuntu Pro
output:
ย
(Optional) If you are running Landscape, proceed to restart landscape-client, otherwise skip this step.
References
Get started with Ubuntu Pro | Ubuntu
ย
How to use Livepatch client with an on-prem server | Ubuntu
Revert realtime-kernel example
Ubuntu: Install Kernel and Set GRUB Default Kernel
ย
ย
ย
University of Toronto - Since 1827