Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To Overcome this we can export the VM which also contains the snapshots information. We can

 

When to export the VM

Exporting VM is a costly operation, we can have following set of options

  1. Export VM when we are stopping the VM

...

  1. .

    Pros
    1.  In this case we  have to perform the costly export operation only when it is needed(when we cannot avoid).
    2. VM snapshots will be fast as then it needs to keep only differential data.

    Cons
    1. stop will get affected, which we can make asynchronous and export VM only when the VM snapshots has been taken on that VM.
    2. What will be done if VM is started before the export operation has been completed?
    3. What will happen if primary goes down in middle of export operation or export operation has not yet started?
      1. whenever host or primary comes up first export the VM then delete it, if it has snapshots
      2. What state of that VM will be returned in hostVMstatereport for vmsync?

  2. Export VM at every snapshot

    Pros
    1. stop operation will not get affected

    Cons
    1. VM snapshots will be slow

 

Note: Importing VM will not be costly operation assuming that exported will be kept on primary and then will be imported as in place

When we will start the VM we will import the existing VM.

All other operations will work as expected.