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

Add presave/postsave and prerestore/postrestore tm actions #3272

Open
7 tasks
kvaps opened this issue Apr 25, 2019 · 4 comments
Open
7 tasks

Add presave/postsave and prerestore/postrestore tm actions #3272

kvaps opened this issue Apr 25, 2019 · 4 comments

Comments

@kvaps
Copy link
Contributor

kvaps commented Apr 25, 2019

Description
We need this functional for save and restore checkpoint file directly into storage, without saving it into some place before

Use case
Faster save and restore and migrate operations for storage drivers like ceph. And no requirement for additional space to save temprorary file

Interface Changes

  • All TM_drivers should implement 4 new actions: presave, postsave, prerestore, postrestore, most of them can be just do exit 0
  • Remove save.<TM_MAD> and resotre.<TM_MAD> hooks from vmm-driver

Additional Context
Read the discussion here: https://forum.opennebula.org/t/shared-mode-for-the-ceph-based-system-datastires/7164/13

Working prototype:
https://github.com/kvaps/opennebula-addon-tmsave-tmrestore

Progress Status

  • Branch created
  • Code committed to development branch
  • Testing - QA
  • Documentation
  • Release notes - resolved issues, compatibility, known issues
  • Code committed to upstream release/hotfix branches
  • Documentation committed to upstream release/hotfix branches
@atodorov-storpool
Copy link
Contributor

I am closing #3270 and #3271 in favour of #3272 because this solution could be implemented faster and at the moment with a configuration change that does not violate the OpenNebula Polices.

@stale
Copy link

stale bot commented Jun 18, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. The OpenNebula Dev Team

@kvaps
Copy link
Contributor Author

kvaps commented Jun 22, 2021

This is still desirable change.

@stale stale bot removed the Status: Abandoned label Jun 22, 2021
@atodorov-storpool
Copy link
Contributor

Second for this.
It is already integrated into addon-storpool and is working flawlessly in production setups.

rsmontero pushed a commit that referenced this issue Oct 29, 2024
Signed-off-by: Victor Hansson <vhansson@opennebula.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants