Good day.

The goal is to replace the physical terminal server based on Windows 2008 R2 with its virtual copy. ProxMox is selected as the platform for the VM.

Based on your personal experience and knowledge - which is preferable:

  1. Create an empty VM with 2k8r2 and configure it slowly from scratch (install licenses, create users, deploy all software and peripherals) or

  2. Create an empty VM with 2k8r2, make fullbackup settings (software, users, licenses, rights, etc.) on the current server and roll the resulting archive onto the VM?

What do you think would be the most correct?

And so as not to get up twice: - Does a utility, script, or something exist that can create a map (list) of existing user file permissions? Which user has access to which directory?

Thank.

    3 answers 3

    You can first transfer to esxi, and then convert the vmdk disk using qemu-img to qcow2. Create a KVM virtual machine on the proxy with the parameters as in the source machine and connect the drive. Since 2012, the server turned out

      The disk2vhd and qemu-img utility helped. The solution was found here and here .

      Slightly more detailed:

      a) FS_2008 - Windows 2008 physical server r2 / drive C: lies on the SSD 160Gb

      b) VM_2008 is a new Windows 2008 virtual server r2. Only D: (install CD) and E: (virtio_win_drivers CD) are available from the disks.

      With FS_2008, using disk2vhd (from the Sysinternals package), a C disk image was created β€” server.vhdx β€” it took 33GB (instead of 160GB of physical disk). This image was copied to scmox by scp.

      Then, with the help of qemu-img, it is converted into a .qcow2 image:

      qemu-img convert -O qcow2 ./SERVER.VHDX /storage/images/VMID/vm-VMID-disk-2.qcow2

      Through the web-interface proxmox, I did not /etc/pve/local/qemu-server/VMID.conf connect the resulting disk and I had to edit /etc/pve/local/qemu-server/VMID.conf .

      Inscribed there:

      ide0: vm_storage:VMID/vm-VMID-disk-2.qcow2,format=qcow2,cache=writeback,size=150G

      After that, VM_2008 started up normally. After the launch and initial verification, virtio-device drivers were installed - memory, disks, and network adapters. Then again, edit VMID.conf and replace ide0 with virtio0 . After that, restart VM_2008 and check disk performance with hdtune.

      • Please add to the response the minimum required solution example (information on the link can be deleted and the answer will lose value). - Nicolas Chabanovsky ♦

      There is a good utility StarWindV2VConverter she knows how to convert VHD to raw and qcow immediately.