Giter Site home page Giter Site logo

Comments (3)

olivierlambert avatar olivierlambert commented on June 20, 2024

And if it's not possible to do it between 2 and 4AM because it's longer than this, what should be the behavior?

from xen-orchestra.

gdelafond avatar gdelafond commented on June 20, 2024

In my mind, the only pre-requisite was to have already done 2 sync : the first one and one delta. Once it has been done launch the last sync in the timeframe (even if it took longer than the duration timeframe).

Maybe we could have an option to cancel the migration if the last delta sync was longer than the timeframe? but it is more complicated and the sync time can vary.

My idea at the beginning was: "start a warm migration, but try to make the shutdown at the best moment for my customers".

First example:

    fs1          fe1    d1         d2         d3         d4  E     
--+-+--------+----+-----+----------+----------+----------+---+------+ 
20h        21h        22h        23h         0h         1h         2h
                                                        [ timeframe ]

fs1: warm migration start => start the full first copy
fe1: first sync end
d1: 1st delta sync
..
repeat delta sync until the timeframe beginning ([1h - 2h])
d4: shutdown the VM and make the last sync
E: the migration is done and the VM can be started on the new host

option: if the time of d3 sync is longer that 1h (the timefram duration), fail the warm migration and do nothing else

Example with the timeframe too close of the warm migration start:

    fs1          fe1    d1         d2         d3              dX  E     
--+-+--------+----+-----+----------+----------+------.....----+---+------+
20h        21h        22h        23h         0h               22h        23h
                        [ timeframe ]                         [ timeframe ]      

from xen-orchestra.

olivierlambert avatar olivierlambert commented on June 20, 2024

We'll discuss that during our next issue triage run (next week). Adding @marcungeschikts to keep track of it.

from xen-orchestra.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.