How to enable Ubuntu Pro on your VM
Take advantage of the new Ubuntu Pro offering from the ITS Private Cloud to enable Enhanced Security, Performance Optimization and Streamlined Management by following the next steps.
Requirements
ITS Private Cloud Command Line Interface
vss-cli
v2023.6.1 or higher:vss-cli upgrade # or pip3 install --upgrade vss-cli # or brew update && brew upgrade vss-cli
VM Running on Cluster FD3. Check if your Virtual Machine is already on domain
FD3
:vss-cli compute vm get {vm_id-or-name} domain
If your VM is not currently running on Cluster FD3, do not worry, just request a migration to FD3 and proceed to next step:
vss-cli --wait compute vm set {vm_id-or-name} domain FD3
Open VMware Tools installed and running. Install and enable VMware Tools as follows:
Obtain your VM id or name by using the following lookup command:: vss-cli compute vm ls -f ip_address=X.X.X.X
which search by IP address and vss-cli compute vm ls -f hostname=myhostname
searching by Hostname or simply listing all your VMs with vss-cli compute vm ls
.
Instructions
Ubuntu Pro activation is recommended via the ITS Private Cloud on-premise server, although connecting to Canonical Cloud servers offers a simpler alternative.
ITS Private Cloud (Recommended)
To activate your existing virtual instances, just execute the following
vss-cli
command:From Ubuntu, execute the following commands to enable Ubuntu Pro:
Install
livepatch
from snap as follows:Update
contract_url
in/etc/ubuntu-advantage/uaclient.conf
with on-premise instance.Enable
pro
withConfigure on-premise
livepatch
:Enable on-premise
livepatch
:Run
apt update
:
Canonical Cloud
To activate your existing virtual instances, just execute the following
vss-cli
command:From Ubuntu, execute the following commands to enable Ubuntu Pro:
Enable
pro
withRun
apt update
:
Frequently Asked Questions (FAQ)
1. Invalid Token error when running command: sudo pro attach $(vmware-rpctool "info-get guestinfo.ut.vss.ubuntu_pro.token")
Solution:
Ensure the virtual machine is running in cluster FD3.
output:
Run the following command through the vss-cli
to attach Ubuntu Pro to your virtual machine
output:
Once you receive the confirmation that the Ubuntu Pro token is set up, proceed with updating packages on the desired virtual machine using the following commands:
Questions?
Please feel free to reach out at vss-ubuntu-pub@eis.utoronto.ca
Related articles
University of Toronto - Since 1827