# Live migration of running vm and migration of templates

**URL:** <https://forum.opennebula.io/t/live-migration-of-running-vm-and-migration-of-templates/6059>\
**Category:** Product Support\
**Created:** [June 12, 2018, 9:44am UTC](https://forum.opennebula.io/t/live-migration-of-running-vm-and-migration-of-templates/6059 "2018-06-12T09:44:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mbu](https://avatars.discourse-cdn.com/v4/letter/m/ee7513/32.png) [@mbu](https://forum.opennebula.io/u/mbu)\
**Post date:** [June 12, 2018, 9:44am UTC](https://forum.opennebula.io/t/live-migration-of-running-vm-and-migration-of-templates/6059/1 "2018-06-12T09:44:22Z")

</div>

Hello,

how is it possible to migrate a VM live from one datastore to another?  
If I use onevm migrate --live i get this Response: [one.vm.migrate] A migration to a different system datastore cannot be performed live.  
How can it be done using onevm on cli and how on the gui?  
How is it also possible to migrate a template to another datastore?  
We use Opennebula 5.4.12 with VMware vCenter 6.5.

Thank you!

Regards  
Manuel
