VMware Cloud Community
am312
Contributor
Contributor

Allow ovftool to handle multiple datastores

Is there a way to map multiple datastores when moving VMs with ovftool?   People have been asking for this for years:

https://www.reddit.com/r/vmware/comments/50zt10/deploy_ovf_in_multiple_datastores/

https://communities.vmware.com/message/1659941#1659941

https://www.reddit.com/r/vmware/comments/dysc0w/ovftool_with_multiple_datastores/

"I would have expected an ovftool option like --datastore:sourcename=targetname similar to --net:s1=t1"

Can someone from vmware make this a feature request?

0 Kudos
5 Replies
dgold
Enthusiast
Enthusiast

I think this is a great feature but don't think it is simple to do since it involves the ConfigSpec. But nevertheless you should go through the proper channels and make the request.  Hopefully there are many others that need this.
0 Kudos
am312
Contributor
Contributor

The standalone migration tool does it.  So I would think the OVF tool could do it also.  But I'm using the migration tool and things are working so that's fine.

0 Kudos
dgold
Enthusiast
Enthusiast

can you tell us what tool does this?  exact name and if possible doc or download page or something about it.
0 Kudos
am312
Contributor
Contributor

0 Kudos
dgold
Enthusiast
Enthusiast

BTW the Converter does not(can't) import of a VM in the forms of OVF/OVA etc, but rather as the name implies moves or migrates VMs around.  The operations to perform multi-datastore settings are very different within the vSphere echo system.  The APIs are different.  Creating VM uses plain VirtualMachine createVm, but import uses importVApp API.  The former allows for placement anyway you wish but the latter does not.

Thus we can not compare Ovftool with Converter product in terms of importing OVF/OVA etc.

0 Kudos