Hello and thank you for reading!
We're migrating a Citrix VDI linked-clone environment to a new storage system. If you straight up svMotion the VM, Citrix won't recognize it, because it all ties into storage IDs. There are some ugly workarounds for this, but the easiest option has been for us to Clone the VM, svMotion the clone to the new storage, delete the old VM, import the cloned VM into Citrix, viola.
The only problem with this is that the MAC address changes during the clone, requiring some software to be re-licensed after boot. What I would love to do is KEEP the same MAC address through the cloning process, as I'm deleting the original VM anyway and it'll never be turned back on. The more I read, the more it seems like I'll have to edit the vmx and insert the MAC address manually into the cloned VM after it's all done. Ugh.
Anyone know of a way to keep the MAC address for the clone, or an easier workaround than I've listed?
Thank you!!
Hi
You can try to do it using Clone to VM in Web Client. In Select clone options window select Customize this virtual machine ... (experimental), next, select Network adapter, copy MAC Address, change from Automatic to Manual, paste MAC address You copied earlier, next, finish.
Regards
Hi
You can try to do it using Clone to VM in Web Client. In Select clone options window select Customize this virtual machine ... (experimental), next, select Network adapter, copy MAC Address, change from Automatic to Manual, paste MAC address You copied earlier, next, finish.
Regards
In Powershell / Powercli
get-vm srcVmName | Get-NetworkAdapter | % { get-vm ( "$($_.parent.Name)_clone" ) | Get-NetworkAdapter -Name $_.Name | Set-NetworkAdapter -MacAddress $_.MacAddress }
or
$vmsrc=get-vm srvVmName
$vmClone =get-vm srvVmName_clone
$vmsrc | Get-NetworkAdapter | % {
$vmClone | Get-NetworkAdapter -Name $_.Name | Set-NetworkAdapter -MacAddress $_.MacAddress
}