Hello everyone
I'd like to get your opinion.
It's about migrating from Citrix GuestTools to XCP-ng GuestTools.
The VMs have driver updates enabled via Windows Update.
According to the instructions at https://docs.xcp-ng.org/vms/#fully-removing-xen-pv-drivers-with-xenclean, Windows driver updates should be disabled.
If this is done before XenClean, the IP configuration is lost in my tests because the network device switches from XenServer PV to the
emulated device.
The following procedure worked for me. The IP address was always retained. However, three reboots are required:
Create a VM snapshot
Uninstall Citrix XenServer Tools using a script (XenClean.ps1)
a. VM restarts automatically
Network check -> IP address correct
Shut down VM
Disable automatic driver updates for the VM via Windows Update
Restart VM
Network check -> IP address correct
Attempt to install XCP-ng drivers
a. Errors may occur because the vendor device might still be active. In this case, run XenClean.ps1 again to uninstall it.
b. Uninstall Citrix XenServer Tools using the script (XenClean.ps1)
i. VM restarts automatically
Network check -> IP address correct
Install XCP-ng Tools
Reboot when prompted
Network check -> IP address correct
Point 8 is critical. The XCP-ng GuestTools cannot be installed at this time because the vendor device for driver updates is still detected and has to be uninstalled first.
What do you think? Is there a better way, perhaps with only two reboots, while keeping the IP address the same?
I find it important to take over the IP address, as otherwise it temporarily reverts to DHCP, which can cause problems with the running server services.
I also tried disabling Windows Updates first and then running XenClean. However, XenClean doesn't then take over the original IP address of the XenServer PV adapter.
Thanks for your opinions or experiences.