[pve-devel] RFC V2 Storage Replica

Dietmar Maurer dietmar at proxmox.com
Fri Apr 21 06:21:47 CEST 2017


> maybe:
> 
> setup the first replication with an api call to target storage
> 
> - create remotecopy vmid hostnameoftargetnode storeidoftargetnode.
> 
>  in target vmid.conf, store something like : sourcevmid :xxx  and maybe
> sourceclusterid:xxx  (could be define somewhere in /etc/pve/... with a list of
> ip/hostname)
> 
>  in source vmid.conf, store something like : remoteclusterid: xxx   (could be
> define somewhere n /etc/pve/...with a list of ip/hostname)
> 
> 
> then, when replication occur on source vm, we connect to any node of
> remoteclusterid , find the targetvmid where sourcevmid && sourceclusterid is
> defined , then do the replication to the node where targetvmid is located.

Maybe it would be easier to define replication on the target VM only? For
example,
add something like:

replication-source: ip=1.2.3.4,sourcevmid=123,storage=mystorage

???




More information about the pve-devel mailing list