Hi,
since I have to maintain some geographic disjunct locations for Services, I was looking for a possibility to get a nearly migrate VMs across different pools with the least downtime possible. Sure, you can backup to PBS or export and import, but depending on the size of the Images you will face a significant downtime. A second reason was to have a pretty recent Snapshot available ready to start at an offsite Location for DR reasons. Sure, this could somehow be done with ceph mirroring, but many questions like VM Configuration replication remained unanswered. So I put together something I call crossover, that solves this. It currently only works betweek Ceph backed pools, since it heavily relies on RBD Snapshots.
https://github.com/lephisto/crossover/
With this tool you can:
- Make (incremental) online replications of VM's from site/pool-a to site/pool-b.
- Migrate VMs from site/pool-a to site/pool-b with minimum Downtime (First make a full copy, then shut down, then make a incremental copy again, and start on site-b)
Features:
- Incremental Snapshot synchronisation
- Snapshot retention policy for local and remote
- VM Configuration rewrite (adjust pool names or any other changes you need to accomodate the "other" clusters requirements)
- Secure transfer through SSH
- Basic performance metric reporting to InfluxDB. (This is still Work in Progress)
I thought it would be helpful to share this.
regards.
since I have to maintain some geographic disjunct locations for Services, I was looking for a possibility to get a nearly migrate VMs across different pools with the least downtime possible. Sure, you can backup to PBS or export and import, but depending on the size of the Images you will face a significant downtime. A second reason was to have a pretty recent Snapshot available ready to start at an offsite Location for DR reasons. Sure, this could somehow be done with ceph mirroring, but many questions like VM Configuration replication remained unanswered. So I put together something I call crossover, that solves this. It currently only works betweek Ceph backed pools, since it heavily relies on RBD Snapshots.
https://github.com/lephisto/crossover/
With this tool you can:
- Make (incremental) online replications of VM's from site/pool-a to site/pool-b.
- Migrate VMs from site/pool-a to site/pool-b with minimum Downtime (First make a full copy, then shut down, then make a incremental copy again, and start on site-b)
Features:
- Incremental Snapshot synchronisation
- Snapshot retention policy for local and remote
- VM Configuration rewrite (adjust pool names or any other changes you need to accomodate the "other" clusters requirements)
- Secure transfer through SSH
- Basic performance metric reporting to InfluxDB. (This is still Work in Progress)
I thought it would be helpful to share this.
regards.