[pve-devel] RFC V2 Storage Replica

Alexandre DERUMIER aderumier at odiso.com
Fri Apr 21 02:19:10 CEST 2017


also, target vmid can be different than source vmid.

so, I think when we initiate the first replication,
we generate a new vmid on target cluster,

then we store it in source vmid.conf


----- Mail original -----
De: "aderumier" <aderumier at odiso.com>
À: "dietmar" <dietmar at proxmox.com>, "pve-devel" <pve-devel at pve.proxmox.com>
Cc: "datanom.net" <mir at datanom.net>
Envoyé: Vendredi 21 Avril 2017 02:16:19
Objet: Re: [pve-devel] RFC V2 Storage Replica

@mir 
> Could a drive-mirror not use a SSH tunnel? 

yes, we already doing it for local disk live migration. (drive-mirror to nbd target) 


>>I do not talk about the technical implementation. I am 
>>just unsure how to store the configuration for the 
>>remote cluster/storage. 

I think we can simply define target storage in target proxmox cluster storage.cfg. 


then on source cluster, define group of host(s) of target cluster + storage. 
maybe add login/password or some kind of special token (we could define it in target cluster) 

something like: 

remotesharedstorage: targetstoreid, host= targetnode1,targetnode2 , token=xxxxx (like this we can have a retry to targetnode2 if targetnode1 is down) 

remotelocalstorage1: targetstoreid1, host=targetnode1, token=xxxxx 

remotelocalstorage2: targetstoreid2, host=targetnode2, token=xxxxx 



and on source vm, define the target previously defined we want to replicate. 





----- Mail original ----- 
De: "dietmar" <dietmar at proxmox.com> 
À: "datanom.net" <mir at datanom.net>, "pve-devel" <pve-devel at pve.proxmox.com> 
Envoyé: Jeudi 20 Avril 2017 21:44:55 
Objet: Re: [pve-devel] RFC V2 Storage Replica 

> > But IMHO it is still unclear how to configure multi-cluster 
> > replication? Ideas welcome ... 
> > 
> Could a drive-mirror not use a SSH tunnel? 

I do not talk about the technical implementation. I am 
just unsure how to store the configuration for the 
remote cluster/storage. 

_______________________________________________ 
pve-devel mailing list 
pve-devel at pve.proxmox.com 
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel 




More information about the pve-devel mailing list