<p dir="ltr">Cross-cluster migration could actually be really handy to have as a full feature.  Then you could, for example, have a development/testing cluster (possibly a single node) in your dev lab, and a production cluster in your hosting center(s), and when a given VM moves from dev/test into production, you simply migrate it to the production cluster.  It would also be handy for situations like this one, obviously, where you're migrating between otherwise-incompatible environments.</p>
<p dir="ltr">It would, by its nature, only support offline migration, so there would be no consideration for HA or any of the numerous checks involved in live migrations.  The most complexity I can see is in specifying when both clusters (source and destination) have access to the storage(s) used to hold the VM/CT images/directories.  You'd have to be able to pass something like `--map-storage=<source-name>:<destination-name>` for every storage that is accessible from both clusters.  You'd also have to specify a target storage for anything that isn't mapped on both clusters, so the migration could rsync (or whatever) anything that isn't on a shared storage.  But the rest should be fairly straightforward, as far as I can tell.  So long as the source can ssh to the destination, it should be a fairly smooth process.</p>
<br><div class="gmail_quote"><div dir="ltr">On Sat, Oct 3, 2015, 07:34 Alexandre DERUMIER <<a href="mailto:aderumier@odiso.com">aderumier@odiso.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">>>You need to update at least 3 packages for that:<br>
>><br>
>>- libqb<br>
>>- corosync<br>
>>- pve-cluster<br>
>><br>
>>and that update will have bad side effects for all other cluster related<br>
>>packages<br>
>><br>
>>- redhat-cluster-pve<br>
>>- openais<br>
>>- clvmd<br>
>>- anything else?<br>
<br>
Need to disable HA before upgrade.<br>
<br>
For clvmd, I really don't known what is the impact, as I don't use it.<br>
<br>
>><br>
>>This looks really complex to me?<br>
<br>
<br>
Yes, I don't say it's easy, but the only other way currently, if we want no interruption (for qemu of course),<br>
and be able to do live migration is :<br>
<br>
1) keep a node empty without any vm<br>
2) upgrade all hosts in the cluster to jessie  + proxmox 4.0 (in place, with vms running during the upgrade)<br>
3) reboot the empty node<br>
4) migrate all vm  from 1 node to the empty node<br>
5) reboot the new empty node<br>
  ...<br>
  ..<br>
<br>
<br>
<br>
Another way, could be to build a new cluster,<br>
and be allowed to do live migration between clusters.<br>
(Need a little work, but technically it's possible).<br>
Only with special command line, not exposed in gui.<br>
<br>
<br>
<br>
<br>
<br>
----- Mail original -----<br>
De: "dietmar" <<a href="mailto:dietmar@proxmox.com" target="_blank">dietmar@proxmox.com</a>><br>
À: "aderumier" <<a href="mailto:aderumier@odiso.com" target="_blank">aderumier@odiso.com</a>>, "pve-devel" <<a href="mailto:pve-devel@pve.proxmox.com" target="_blank">pve-devel@pve.proxmox.com</a>><br>
Envoyé: Samedi 3 Octobre 2015 10:05:49<br>
Objet: Re: [pve-devel] proxmox 3->4 cluster upgrade : corosync2 wheezy transition package ?<br>
<br>
> On October 3, 2015 at 9:42 AM Dietmar Maurer <<a href="mailto:dietmar@proxmox.com" target="_blank">dietmar@proxmox.com</a>> wrote:<br>
><br>
><br>
> > > I wonder if it could be great (ad possible? )to make a corosync2<br>
> > > transition<br>
> > > package for wheezy.<br>
> > ><br>
> > > Like this we could mix (proxmox3-wheezy-corosync2 and<br>
> > > proxmox4-jessie-corosync2),<br>
> > > and do live migration as usual.<br>
> > ><br>
> > ><br>
> > > What do you think about it ?<br>
> ><br>
> > How should that work? corosync2 is not compatible with corosync 1.4, so<br>
> > what is the idea?<br>
><br>
> Oh, you want to backport corosync2 to wheezy? Need to think about that.<br>
<br>
You need to update at least 3 packages for that:<br>
<br>
- libqb<br>
- corosync<br>
- pve-cluster<br>
<br>
and that update will have bad side effects for all other cluster related<br>
packages<br>
<br>
- redhat-cluster-pve<br>
- openais<br>
- clvmd<br>
- anything else?<br>
<br>
This looks really complex to me?<br>
<br>
_______________________________________________<br>
pve-devel mailing list<br>
<a href="mailto:pve-devel@pve.proxmox.com" target="_blank">pve-devel@pve.proxmox.com</a><br>
<a href="http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel" rel="noreferrer" target="_blank">http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel</a><br>
</blockquote></div>