OVF Tool (EN)

Find out how to export or import virtual machines using the OVF Tool

Last updated 31/01/2022

Objective

OVFTOOL is an export/import tool for VMs using the OVF format (compatible with Windows, Linux and Mac).

This guide offers a step by step study case on how to use this tool.

Requirements

Instructions

We will use the OVFTOOL v4.0 under Linux Debian.

OVF Tool

Use the ovftool --help command to see the application help file and ovftool --help examples for examples.

OVF Tool

We will proceed with an export of an .ovf virtual machine in pcc-37-187-228-180.ovh.com called SQL3.

Before the export, shut the VM down using the vftool powerOffSource command as shown below.

OVF Tool

In the vCenter recent tasks, you can see the VM being shut.

We can now export the VM. Type in the following command:

ovftool vi://user:password@Dedicatedcloud/datacentre/vm/vmname /destination

OVF Tool

Export happens and is successful.

OVF Tool

To convert an .OVF file into a .VMX one, use the ovftool -tt=vmx file.ovf /destination/ command.

OVF Tool

OVF Tool

To import the VM in your infrastructure, you need to indicate the destination datastore ovftool -ds=datastore file.ovf

OVF Tool

The virtual machine is now deployed in your environment.

Finally, migrating SQL3 to a new Hosted Private Cloud (transfer does not require a third party machine).

OVF Tool

Go further

Join our community of users on https://community.ovh.com/en/.


Questa documentazione ti è stata utile?

Prima di inviare la valutazione, proponici dei suggerimenti per migliorare la documentazione.

Immagini, contenuti, struttura... Spiegaci perché, così possiamo migliorarla insieme!

Le richieste di assistenza non sono gestite con questo form. Se ti serve supporto, utilizza il form "Crea un ticket" .

Grazie per averci inviato il tuo feedback.


Potrebbero interessarti anche...

OVHcloud Community

Accedi al tuo spazio nella Community Fai domande, cerca informazioni, pubblica contenuti e interagisci con gli altri membri della Community OVHcloud

Discuss with the OVHcloud community

Conformemente alla Direttiva 2006/112/CE e successive modifiche, a partire dal 01/01/2015 i prezzi IVA inclusa possono variare in base al Paese di residenza del cliente
(i prezzi IVA inclusa pubblicati includono di default l'aliquota IVA attualmente in vigore in Italia).