Hello
I'm looking for a way to move VMs currently being managed by vCloud Director to vSphere managed without VM downtime.
I've found how to remove cloud.uuid using powercli:
$vmConfigSpec = New-Object VMware.Vim.VirtualMachineConfigSpec
$vmConfigSpec.extraconfig = New-Object VMware.Vim.optionvalue
$vmConfigSpec.extraconfig[0].Key="cloud.uuid"
$vmConfigSpec.extraconfig[0].Value=""
$vm.ReconfigVM($vmConfigSpec)
But I fail to have this taken into account, I tried to reload the vmx file and to vmotion the VM:
https://virtuallyjason.blogspot.in/2015/10/powercli-command-to-reload-vmx.html
Is there a way to apply this change in vmx file without VM downtime ?
thanks
because I'm looking at doing this without downtime.
The answer is:
(Get-AdvancedSetting -entity $vm -Name cloud.uuid)|Remove-AdvancedSetting
found in Tomas Fojta's blog post below:
How to Export Running VM from vCloud Director – Tom Fojta's Blog
Why don't you clone the VM from VC and delete the VCD VM once after making all the required changes ?
because I'm looking at doing this without downtime.
The answer is:
(Get-AdvancedSetting -entity $vm -Name cloud.uuid)|Remove-AdvancedSetting
found in Tomas Fojta's blog post below:
How to Export Running VM from vCloud Director – Tom Fojta's Blog