<div dir="ltr">Yes<div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 5, 2014 at 10:14 AM, Alexandre DERUMIER <span dir="ltr"><<a href="mailto:aderumier@odiso.com" target="_blank">aderumier@odiso.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">>>It was not very clear. Currently it works like for backups: vm is started in pause mode.<br>
<br>
</span>Ok thanks.<br>
But is it also started if the storage is shared ?<br>
<br>
<br>
<br>
I'll look for nbd server, I think it could also be used to transfert unused disk.<br>
(<a href="http://manpages.ubuntu.com/manpages/precise/man8/qemu-nbd.8.html" target="_blank">http://manpages.ubuntu.com/manpages/precise/man8/qemu-nbd.8.html</a>)<br>
<br>
<br>
----- Mail original -----<br>
<span class=""><br>
De: "Kamil Trzciński" <<a href="mailto:ayufan@ayufan.eu">ayufan@ayufan.eu</a>><br>
À: "Alexandre DERUMIER" <<a href="mailto:aderumier@odiso.com">aderumier@odiso.com</a>><br>
</span>Cc: <a href="mailto:pve-devel@pve.proxmox.com">pve-devel@pve.proxmox.com</a>, "Daniel Hunsaker" <<a href="mailto:danhunsaker@gmail.com">danhunsaker@gmail.com</a>><br>
Envoyé: Mercredi 5 Novembre 2014 10:10:38<br>
<div class="HOEnZb"><div class="h5">Objet: Re: [pve-devel] [PATCH] Use block storage migration for migration of KVM machines with local based storages<br>
<br>
<br>
It was not very clear. Currently it works like for backups: vm is started in pause mode.<br>
<br>
<br>
On Wed, Nov 5, 2014 at 9:30 AM, Alexandre DERUMIER < <a href="mailto:aderumier@odiso.com">aderumier@odiso.com</a> > wrote:<br>
<br>
<br>
>>- for stopped VM start it for migration<br>
<br>
I don't have reviewed the code yet, but is the VM started only in case of local storage (non-shared)?<br>
<br>
Because it don't make sense to start the vm and do memory migration, if the vm is stopped and storage is shared.<br>
<br>
<br>
Also, if the vm is stopped and storage is local, we can start the vm in pause mode (like for backup).<br>
Alternativily, I think it could be possible to start an nbd server on target node and use qemu-img convert to copy the disk. (vm offline)<br>
<br>
<br>
<br>
<br>
<br>
<br>
----- Mail original -----<br>
<br>
De: "Daniel Hunsaker" < <a href="mailto:danhunsaker@gmail.com">danhunsaker@gmail.com</a> ><br>
À: "Kamil Trzciński" < <a href="mailto:ayufan@ayufan.eu">ayufan@ayufan.eu</a> ><br>
Cc: <a href="mailto:pve-devel@pve.proxmox.com">pve-devel@pve.proxmox.com</a><br>
Envoyé: Mercredi 5 Novembre 2014 01:48:15<br>
Objet: Re: [pve-devel] [PATCH] Use block storage migration for migration of KVM machines with local based storages<br>
<br>
<br>
<br>
<br>
On Nov 3, 2014 4:13 AM, "Kamil Trzcinski" < <a href="mailto:ayufan@ayufan.eu">ayufan@ayufan.eu</a> > wrote:<br>
><br>
> - for stopped VM start it for migration<br>
This may not always be desired. For example, I often create VMs on one node, but don't want them to spin up until they're on another node. I create/maintain templates on an internal node which connects via OpenVPN to the public nodes, so my workflow makes more sense with create locally, migrate, then start, since my internal system isn't configured anywhere close to how my external systems are. Some of these systems wouldn't even start internally, since they rely on the host being set up how the external nodes are, and the internal node isn't set up that way.<br>
I guess what I'm saying is it would be good to at least have a node-level option to disable this step (starting VMs before migration is a sane default, just let me opt out). The more granularity the better, but there does come a point where options become excessive, so per-VM or per-migration disable might be overkill.<br>
<br>
<br>
_______________________________________________<br>
pve-devel mailing list<br>
<a href="mailto:pve-devel@pve.proxmox.com">pve-devel@pve.proxmox.com</a><br>
<a href="http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel" target="_blank">http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel</a><br>
<br>
<br>
<br>
<br>
<br>
<br>
--<br>
<br>
Kamil Trzciński<br>
<br>
<a href="mailto:ayufan@ayufan.eu">ayufan@ayufan.eu</a><br>
<a href="http://www.ayufan.eu" target="_blank">www.ayufan.eu</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Kamil Trzciński<br><br><a href="mailto:ayufan@ayufan.eu" target="_blank">ayufan@ayufan.eu</a><br><a href="http://www.ayufan.eu" target="_blank">www.ayufan.eu</a></div>
</div>