1 | Storage migration within same cluster | MigrateVirtualMachine() with VMId , SPId (from the same cluster as the Vm), when VM is in stopped state | Storage Migration should succeed. Starting the VM should result in the VM using the new storage pool . Make sure that a new vhd file for this VM is created in the new primary storage pool . The vhd file for this VM should not be present in the Primary storage it originally belonged to. Log in to the Vm . Make sure that you are able to read/write in the file system. | P1 | |
2 | Storage migration within same cluster | MigrateVirtualMachine() with VMId with 1 data disk attached to it , SPId (from the same cluster as the Vm), when VM is in stopped state | Storage Migration should succeed for root volume and data disk volumes Starting the VM should result in the VM using the new storage pool. Make sure that a new vhd file for this VM is created in the new primary storage pool The vhd file for this VM should not be present in the Primary storage it originally belonged to Log in to the Vm . Make sure that you are able to read/write in the root volumes. Make sure that you are able to read/write in the attached data disks. Storage Migration should succeed for root volume and data disk volumes. Starting the VM should result in the VM using the new storage pool. Make sure that a new vhd file for this VM is created in the new primary storage pool . The vhd file for this VM should not be present in the Primary storage it originally belonged to. Log in to the Vm . Make sure that you are able to read/write in the root volumes. Make sure that you are able to read/write in the file system. attached data disks. | P1 | |
3 | Storage migration within same cluster | MigrateVirtualMachine() with VMId with multiple data disks attached to it , SPId (from the same cluster as the Vm), when VM is in stopped state | Storage Migration should succeed for root volume and data disk volumes Starting the VM should result in the VM using the new storage pool Make sure that a new vhd file for this VM is created in the new primary storage pool The vhd file for this VM should not be present in the Primary storage it originally belonged to Log in to the Vm . Make sure that you are able to read/write in the root volumes Make sure that you are able to read/write to all the attached data disks | P2 P1 | |