Score:0

Linux server migration to Windows workstation

eg flag

I'm on a remote site where an incident took down most networking equipment. I have a basic background as a programmer, not in network engineering/virtualisation.

Situation About half of the network is up again, but the DHCP server is highly unreliable and needs replacing. The best our supplier could source is a Dell Workstation - Servers at the moment can't be found and timing is short. The workstation has two issues making migration impossible at the moment.

  1. the old server uses both ethernet ports. The new one only has one. One ethernet port is used to connect to a modem, the other connects the intranet. Everything from the intranet is going through the server then the other port to the modem and the outside world.
  2. Storage; we're limited to a 256GB SSD, and we have a 4x4 RAID10 old server to migrate. RAID10 means striping and mirroring, so that's a backup and speed improvement. Physically we can fit three 3.5" drives in the new machine - if we find them. We need at the very least 4TB of storage and that'd hardly leave any room. My preference is 6TB or even 8TB if we manage. The old machine was set up without virtualization.

Schematically the 'network' looks like this: Outside world <--> Broken Server <--> Switch <--> Intranet (printers, cameras, toughbooks/notebooks/...)

Goal replace the old server with the new Dell workstation.

My plan

  1. get a second network controller card PCI2.1 and mount it in the new workstation in the PCI3.1 slot. We now have a second ethernet port.
  2. Order 2 6-8TB HDDS the fastest we can get our hands on and have it in a RAID1 configuration.
  3. Have a VM on the SSD and mount those RAID1-drives to it. Then install an LINUX-environment on it - or even better try to clone the old system to that virtual RAID.

Questions

  1. Internet here is slow, so top notch ethernetcontrollers will just be as slow as a 20$ controller. However, is there anything special to look out for?
  2. Can a VM be on the SSD and mount HDD raids? How do I even approach it? I hadn't got the time to properly analyse this aspect, but any input is greatly appreciated. Or do I have to do it the other way around and configure the RAID1 in Windows and just store the disk image in that RAID1 volume?
  3. The old system is running Ubuntu 14. Can it just be cloned into something a virtual environment can read?
  4. Is the guest-OS (so the Linux VM) capable of reaching the machines connected to the switch? I mucked about with a VMBOX a few times and I always had trouble with connecting to Network Attached Equipment.
  5. Windows 10 introduced a strong update policy (good thing); however, what can be done to configure the machine in such a way that upon reboot the VM automatically resumes and that no planned reboot happens when the VM is running.
  6. My experience with VM-system is limited to VirtualBox; is this a solid choice for the described setup?
Score:1
br flag

Internet here is slow, so top notch ethernetcontrollers will just be as slow as a 20$ controller. However, is there anything special to look out for?

Just one that does what you need and is supported by your OS.

Can a VM be on the SSD and mount HDD raids? How do I even approach it? I hadn't got the time to properly analyse this aspect, but any input is greatly appreciated. Or do I have to do it the other way around and configure the RAID1 in Windows and just store the disk image in that RAID1 volume?

Yes, presumably you're going to use something like Windows Server 2019 or similar as your base OS right? So your SSD's are one drive and your HDD's are just another drive - your VM sees two or more virtual disks, one on one drive, the other on the other drive. So yeah just boot off the SSD (can you get a second for R1?) volume, and you can store your VM boot disk on that too, then have the VM's data drive on the R1 HDD volume.

The old system is running Ubuntu 14. Can it just be cloned into something a virtual environment can read?

Yes, often you can, google 'P2V' based on whatever hypervisor you want to use - often you can just copy a physical server's disks to a single bootable file.

Is the guest-OS (so the Linux VM) capable of reaching the machines connected to the switch? I mucked about with a VMBOX a few times and I always had trouble with connecting to Network Attached Equipment.

Should be, obviously needs a bit of config to make it work but you have a simple enough setup to have to emulate.

Windows 10 introduced a strong update policy (good thing); however, what can be done to configure the machine in such a way that upon reboot the VM automatically resumes and that no planned reboot happens when the VM is running.

You can stop Windows from doing automatic updates which will stop the auto-rebooting, and most hypervisors can be started automatically on boot and be configured to automatically start one or more VMs on start.

My experience with VM-system is limited to VirtualBox; is this a solid choice for the described setup?

If you need to boot from Windows then I'd be tempted to use something like VMware Workstation - personally I'd just run VMware's ESXi on the hardware but that's because I know it well - but it's more important that you know how to configure and manage the system, and if your skills are in Windows then that makes the most sense.

Clueless_captain avatar
eg flag
Hi Chopper3; Thanks for the advice! Perhaps a silly question. but when you say 'Just one that does what you need and is supported by your OS.' is this the Host OS or the Guest OS? The DHCP will eventually end up in the Guest OS. The system came with Windows 10 Pro (I was hoping for Windows Server, as I have set those up once or twice before). Is this to your experience a bottleneck when configuring a server? I'll look into P2V - never heard of that, so thanks for bringing it to my attention. I'll first contact a supplier and get that part going ASAP.
br flag
By the host OS, the guest OS won't care what it is as it'll be emulated by the hypervisor
Score:0
cn flag

6 VirtualBox is good. Hyper-V is available in Win 10 Pro. Hyper-V should bring better performance.

5 It is possible to schedule or even disable automatic update/reboots.

4 Create an 'external' switch via Hyper-V (There is something similar for VirtualBox).

3 With Clonezilla it is possible backup the old server as an image and restore it in a virtual machine.

2 Create the RAID-1 and then store the VM images there.

1 Workstation is OK. The USB ethernet adaptors might not work with Hyper-V external switches.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.