PowerCLI

 View Only

move-vm from osa cluster to esa cluster

  • 1.  move-vm from osa cluster to esa cluster

    Posted Sep 26, 2024 08:57 AM

    Hello,

    I'm trying to use cmdlet move-vm from an standard OSA cluster to a Stretched ESA but it failed with this error :

    Placement failed for: VM  with placement errors: The datastore is not compatible with the virtual machine.

    Source VM are using a "custom" policy :  standard raid 6  and destination policy is stretched ESA Raid 5.

    Before the move-vm if I change policy for vSAN standard policy, it takes a lot of time to resync, and then move-vm is working.

    And if I use the ui, I can move vm  without changing policy before launching the move, so there is something I miss with move-vm

    I tried code capture to see how it does but it uses relocate.spec that's quite confusing and seems quite impossible to adapt where the script i use is only  a few lines.

    Any ideas about this issue?