How-to archive a Virtual Machine
The ITS Private Cloud offers two options as archival methods:
Mark your Virtual Machine as Template
PROS: To power it on, you must mark the template as first.
CONS : The VM will be billed for storage only (this might fit in the pros).
Export the Virtual Machine as OVF to your VSS User space:
PROS : Storage free of charge. Can be downloaded and stored on your end.
CONS: If you need to run it, you will have to deploy a new from OVF.
Mark the VM as Template
Instructions using the Portal
Login to https://vss-portal.eis.utoronto.ca
Look for the VM to Edit and click the button.
From the VM Tab, click on the Template toggle located at the top right corner.
Click on YES to confirm the conversion.
Instructions using the vss-cli
Using https://vss-cli.eis.utoronto.ca or a local VSS CLI install
Look for the vm
moref
to delete with the following command:vss-cli compute vm ls
Submit the export request with the command:
vss-cli compute vm set <id-or-name> template --on
Once converted to template, the Virtual Machine will not be able to run, unless marked as VM.
Export the VM as OVF
Instructions using the vss-cli
Using https://vss-cli.eis.utoronto.ca or a local VSS CLI install
Look for the vm
moref
to export with the following command:vss-cli compute vm ls
Submit the export request with the command:
The task submitted will do two subtasks:
Run the export from vSphere to OVF and downloading all VMDK files.
Transfer the files to your VSS User Storage.
Once complete, a notification will follow.
Related articles
University of Toronto - Since 1827