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

Service

Description

esm-apps

Expanded Security Maintenance for Applications

esm-infra

Expanded Security Maintenance for Infrastructure

livepatch

Canonical Livepatch service

Pre-requisites

  1. 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
  2. Run the command below if the file still exists /etc/apt/auth.conf.d/90ubuntu-advantage

    echo "" > /etc/apt/auth.conf.d/90ubuntu-advantage
  3. Run the following command through the vss-cli to present the latest endpoint settings

Ubuntu Pro

  1. Configure the Ubuntu Pro Client by editing the contract_url setting in /etc/ubuntu-advantage/uaclient.conf to point to the server:

     

  2. Check everything works fine with the following command:

    output:

  3. Attach your token:

    output:

     

  4. Update the Ubuntu repositories and ensure there are no errors related to the vss-ubuntu-pro repositories:

    output:

  5. (optional) If you are running landscape-client, proceed with the following command, otherwise skip

    output:

LivePatch

  1. Install the following packages in the client

  2. Configure the on-prem server

  3. Verify configuration

    output:

  4. Enable the Livepatch updates with the token

    output:

  5. Check status of Ubuntu Pro

    output:

     

  6. (Optional) If you are running Landscape, proceed to restart landscape-client, otherwise skip this step.

References

 



Revert realtime-kernel example

 

 

 

University of Toronto - Since 1827