Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

utilize zfs replication to migrate PVs between nodes #291

Open
artw opened this issue Feb 16, 2021 · 6 comments
Open

utilize zfs replication to migrate PVs between nodes #291

artw opened this issue Feb 16, 2021 · 6 comments
Labels
kind/feature Categorizes issue or PR as related to a new feature milestone/needs-tracking Indicates that an issue or PR needs to be tracked on a milestone

Comments

@artw
Copy link

artw commented Feb 16, 2021

zfs replication is pretty unique tool in the block storage world of OSS, why not utilize it for something awesome like that.

Some annotation to PVC, that would trigger a snapshot/replicate/delete source/ modify or recreate PV object.

@pawanpraka1
Copy link
Contributor

pawanpraka1 commented Feb 16, 2021

@artw you mean asynchronous replication? Why not use the velero and create the schedule to take the periodic backup?

Check this to migrate the pv to the other node https://github.com/openebs/zfs-localpv/blob/master/docs/backup-restore.md#restore-on-a-different-node.

@artw
Copy link
Author

artw commented Feb 16, 2021

@artw you mean asynchronous replication? Why not use the velero and create the schedule to take the periodic backup?

Check this to migrate the pv to the other node https://github.com/openebs/zfs-localpv/blob/master/docs/backup-restore.md#restore-on-a-different-node.

I do, and it works quite well, thanks.

It would be much more effective to move the data between nodes directly utilizing the openebs-zfs-node daemonset.

To think of it further, you could even do it regulary to have HA PVs mirrored between all (or some) nodes 🤔

@pawanpraka1
Copy link
Contributor

@artw, sorry, I missed this thread. So basically, we need a data migration framework from one node to other without using velero. This can be done easily, as matter of the fact, velero already uses node daemonsets to backup/restore the data. We just need one operator which can help us to migrate the data from one node to other. This feature is in our roadmap.

@pawanpraka1 pawanpraka1 added the triage/needs-community Indicates that an issue or PR needs community involvement for triaging label Jun 11, 2021
@mazocode
Copy link

mazocode commented Jul 7, 2021

@pawanpraka1 It would be awesome to have something like syncoid integrated. This would make synchronization and moving PVs between nodes a breeze. We are using kubevirt which does not support live migration of local PV volumes but with something like syncoid it would require a quick reboot only. We're currently doing this for backups (snapshot replication of the PVs to dedicated backup servers).

@almereyda
Copy link

There is PR about the subject, which is not yet linked from here, nor does itself link to here:

It could possibly be considered a follow-up to @pawanpraka1 previous comment above.

@Abhinandan-Purkait Abhinandan-Purkait added kind/feature Categorizes issue or PR as related to a new feature and removed help wanted Need help from community contributors. triage/needs-community Indicates that an issue or PR needs community involvement for triaging labels Jun 6, 2024
@avishnu avishnu added the milestone/needs-tracking Indicates that an issue or PR needs to be tracked on a milestone label Sep 24, 2024
@avishnu
Copy link
Member

avishnu commented Sep 24, 2024

This will be picked up for discussion after the current backlog list is tackled. Community contributions will be definitely welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature milestone/needs-tracking Indicates that an issue or PR needs to be tracked on a milestone
Projects
None yet
Development

No branches or pull requests

9 participants