Hi there,
I have 10 VM templates on a datastore and would like to move all templates to a different datastore. What is the Best way to move templates between datastores?
Thanks.
Welcome to the Community - you can convert the template to a VM and then cold migrate it to the new datastore -
I've never understood why a template can't be migrated. Seems like an over-sight to me.
But whatever - not that difficult to convert then migrate, just is a hassle ...
Thanks for you inputs! Below is what I tired with its results:
I tried to move the Template from Datastore using the 'Move to..' feature in Browse Datastore view. While the Template files got moved the actual VMDK files in the templates have enlarged.
My initial template folder size in Browse Datastore view was < 10GB and now after moving template folder to the new Datastore its size has grown to > 30 GB.. The VMDK file has actually enlarged.
Any idea why the VMDK file size has increased?
I do it this way...
Hello, i'm not sure but i think when you have some datastores with two different block size, and if you move VMs between with "Move TO", the migrated VM change to thick formart. This is your case?
Regards
Im looking for a cleaner way to replicate a Template Datastore. Right now we have a volume on our test cluster. Its being snapmirrored to our production cluster and our secondary datacenter cluster. We make changes to the test volume, update the snapmirror, and break it off so the other vCenters can see it. It seems that lately we’ve been seeing some weirdness on our hosts and we think it might have to do with this shared datastore solution. We also run into some mounting issues when we update and break the volume. None the less, is this something we can do with VSC? Or something else? We want to utilize VAAI so having the volume on its own NetApp cluster is the only way to do that, so keeping the volume in one NetApp cluster and just presenting it to the vCenters won’t be an option. I’ve read the old Provisioning and Cloning option had some remote mounting options. We’re currently using VSC 6.1
Good one @FJ1200
Am I alone in thinking it's incredibly stupid to have to convert a template to a VM in order to change what datastore it's on? That's a bit of a pain in the ass.
Just wanted to say, you are not the only one.
I concur
as weinstein5 mentioned, I see that is the safest and approved way to do. convert to vm and migrate!
you can't move templates directly. first, you need to convert the templates to VM and then migrate the VM to another data store after migrating the VM, convert the VM to template again.
maybe in vSphere8 we will be able to migrate templates
In vSphere 8 at least, I'm able to right click on a template, select "Clone to Template..." and from there select the compute and storage resource. So I just first rename the template in the old location and then clone it to the new location with the desired name.
Even with the vsphere 7, there is an option available "clone to template".
You can right click on template and select "clone to template" Option. Further you can select desired host and datastore.