Hi
I am currently moving many VMs from Intel to AMD Hardware.
For this reason I made a script which shut down the VMs and moves them to an AMD host (defined host in script).
There are several AMD hosts in the cluster.
Now I would like to power on the VMs on the defined host which I used for the cold migration.
I am currently trying "start-vm" command. The VM is then started on any new host.
DRS is set on manual.
Deactivate DRS completely? If so, will my rules be retained?
Are you saying that the new AMD ESXi node is in the same cluster as the old Intel ESXi nodes?
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
That's right yes.
For this reason, the VM is shutdown and cold migrated to a specified host.
And that's exactly why the VM should be started on exactly the AMD host
Can you start such a migrated VM on an AMD ESXi node via the Web Client?
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Yes, that is possible without any problems.
DRS asks me for the host and then I can specify the AMD host.
So it's not a problem, but unfortunately a manual process
The Start-VM doesn't offer the option to specify the ESXi node, but the API method does.
You could try something like
$vmName = 'TestVM'
$esxName = 'MyEsx'
$vm = Get-VM -Name $vmName
$esx = Get-VMHost -Name $esxName
$vm.ExtensionData.PowerOnVM($esx.ExtensionData.MoRef)
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Thanks Luc
I will try and report that. Need another maintenance window for migrate further VMs 😉