Solved

Advise on cluster conversion (ESXi to AHV) with Windows Server 2003 VM within the cluster


Badge +5
  • Adventurer
  • 9 replies
Hi guys,

We are in the midst of a POC, and we are about to convert an ESXi cluster into an AHV cluster. The only issue is there are 4 VM of Windows Server 2003 that is used for the POC.

I have read the discussion posted by pfrancoeur at https://next.nutanix.com/t5/Installation-Configuration/Problem-migrating-a-Windows-2003-VMs-to-AHV/td-p/14082. FYI, I have worked with a few customer's migration of Windows Server 2003 and all went successful, thanks to guidance from Artur Krzywdzinski on vmwaremine.

For now, I need an advise on this -> for cluster conversion with Windows Server 2003 VM, would this workaround below be successful?
1. MergeIDE installation on the 4 Windows Server 2003 VM
2. Power off VM
3. Convert cluster
3. Upon cluster conversion completion, clone the VM (for backup, if things went wrong)
4. acli and clone disk bus into IDE (as it is on SCSI bus in ESXi environment), remove SCSI drive
5. Boot VM up
6. Install virtio driver
7. Power off VM
8. clone disk bus into SCSI (or PCI), remove IDE drive
9. Boot VM up again

Thanks in advance!
icon

Best answer by artur_ka 24 May 2017, 03:27

Hi jafni

Looks good to me,. I would add one more point before MergeIDE, backup Windows registry

thanks
Artur

View original

12 replies

Userlevel 2
Badge +10
Hi jafni

Looks good to me,. I would add one more point before MergeIDE, backup Windows registry

thanks
Artur
Badge +5
Thanks for the advise Artur, will proceed with the activity accordingly 🙂
Badge +5
Badge +1
Please tell me what virtio iso image has w2k3 server scsi drivers.
Badge +8
Not sure if the Nutanix provided one includes it or not, but they typically only package their supported operating systems. It's essentially KVM, so you don't have to use their VirtIO ISO's. Just be smart about where you download them from.

You can download the most recent stable VirtIO version here that still includes the 2k3 drivers:
https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/stable-virtio/virtio-win.iso

When you mount the ISO navigate to the "virtstor" folder. You'll see the storage drivers for 2k3. It has 64bit and 32. i.e. if it mounts as E: on your desktop, go "E:viostor2k3x86" for the inf viostor.inf you'll need.

Add this ISO to your cluster, and assuming you're trying to get disk visibility on an already imported VM, you mount any installation media and go into recovery mode, make sure to mount this iso as well so you can install drivers and see your disks.(You'll have two CDRoms mounted) If it's a new install, just follow typical install procedure and select the applicable storage drivers.

There is an older archive for VirtIO you can use here.
https://fedorapeople.org/groups/virt/virtio-win/deprecated-isos/archives/

I would also keep in mind, that Microsoft no longer supports 2K3, and I believe it is no longer a supported OS to run on Nutanix either. You may/may not get assistance from support.

Good luck, and hope this helps.
Badge +1
It worked out!! The following steps are based in the initial post:
1. Run mergeIDE in the source VM (my vm was 64 bits, so I did this copy: c:windowsDriver cachei386driver32.cab --> driver.cab, because mergeIDE searches for driver.cab

2. create AHV disk image from source vmdk (Image configuration -> upload image ...)3. create w2k3 AHV VM and add an IDE disk cloned from the source image in the previous step4. power on VM: it will start with IDE disk5. mount iso drivers -->
virtio-win-0.1-65.iso https://fedorapeople.org/groups/virt/virtio-win/deprecated-isos/archives/ -> scsi driver is in the WNET/amd64 and WNET/x86 folders. It has vioscsi.inf. In the virtio-win-0.1.141.iso vioscsi folder I didnt find a 2k3 folder, but I found the remain drivers, i.e. ballon and netkvm (network).

6. power of the ahv vm and find IDE uuid by ssh access in the CVM terminal:
$ acli vm.get
(output is like this)
disk_list {addr {bus: "ide"index: 1}cdrom: True (this a cdrom, not a hard disk... skip it)empty: True}disk_list {addr {bus: "ide"index: 0}container_id: 1478container_uuid: "xxxxx" source_vmdisk_uuid: "xxxx"vmdisk_size: xxxx[u][i][b]vmdisk_uuid: "xxxxx" (
Badge +8
Glad it worked out. It's possible that some of the versions don't have the 2k3 folder, but the ones I looked at did for 32 and 64 bit. Regardless, glad it got you going.
Badge +8
Glad it worked out. It's possible that some of the versions don't have the 2k3 folder, but the ones I looked at did for 32 and 64 bit. Regardless, glad it got you going.
Badge +5
Sorry for not updating the topic that the steps worked out well.

Glad to know the successfulness of your cluster conversion.

Basically I have converted lots of customer's Win2k3 VMs, and I can say that the old virtio used varies each time (ofcourse, I did corrupted my cloned VMs and need to redo the installation multiple times before finding the right virtio for my 2k3 VMs), but here is the list of the common virtio that would work:

1. Virtio-win-0.1-81
2. Virtio-win-0.1.100 - for Win2k3 SP2
3. virtio-win-0.1.96
4. virtio-win-0.1.102
Badge +1
I dont know what happened... steps 7 and 8 are missing in my post:

1. Run mergeIDE in the source VM (my vm was 64 bits, so I did this copy: c:windowsDriver cachei386driver32.cab --> driver.cab, because mergeIDE searches for driver.cab

2. create AHV disk image from source vmdk (Image configuration -> upload image ...)

3. create w2k3 AHV VM and add an IDE disk cloned from the source image in the previous step

4. power on VM: it will start with IDE disk

5. mount iso drivers -->
virtio-win-0.1-65.iso https://fedorapeople.org/groups/virt/virtio-win/deprecated-isos/archives/ -> scsi driver is in the WNET/amd64 and WNET/x86 folders. It has vioscsi.inf. In the virtio-win-0.1.141.iso vioscsi folder I didnt find a 2k3 folder, but I found the remain drivers, i.e. ballon and netkvm (network).

6. power of the ahv vm and find IDE uuid by ssh access in the CVM terminal:

$ acli vm.get
(output is like this)
disk_list {
addr {bus: "ide"index: 1}
cdrom: True (this a cdrom, not a hard disk... skip it)
empty: True
}


disk_list {
addr {bus: "ide"index: 0}
container_id: 1478container_uuid: "xxxxx"
source_vmdisk_uuid: "xxxx"
vmdisk_size: xxxx
Badge +1
Can some moderator edit my post?? I'm trying to edit and saving, but it isnt working... steps 7 and 8 are missing:

step 6: $ acli vm.get

step 7: $ acli vm.disk_create clone_from_vmdisk= bus=scsi

step 8: remove ide disk and power on vm
Badge +1
I see that next is remove "" tags. So I post a printscreen with complete steps:

Reply