I couldn’t find the exact guidance I was after here for what I potentially plan to do so would any of you kind folk be able to look over my proposal and let me know all the pitfalls that I’ve overlooked as this will be my first time (be gentle)<\/p>\n
Advertisement
Situation: I have a server 2012 R2 box with Hyper-V that’s hosting 2 VMs. Currently it’s set up old school - RAID1 for the host OS, RAID6 for data drive (VM VHDs etc)<\/p>\n
Advertisement
Desire: Replace the 146GB drives that make up the RAID1 with 450GB disks to match the RAID6 disks, nuke both RAIDs and rebuild the server on RAID10. Partition off the RAID, rebuild the Host OS from Windows Server Backup, and reinstate the VMs<\/p>\n
My current thinking is that the time to restore from bare metal via WSB shouldn’t actually be that long as the OS literally is just OS and Hyper-V. However for peace of mind I’d like to actually bring the 2 VMs up on another Hyper-V host during the rebuild just in case<\/p>\n
Am I right in thinking that I could shut the VMs down, copy the complete contents of the Hyper-V folder (contains the VM details files and VHDs) over to the second host, import the machines and attach the VHDs. Once I’m done I could do all the work on the old host, then repeat the copy process back once I’m done<\/p>\n
Please tell me it’s this easy? It probably isn’t so please let me know where I’m going to fail and what I’m going to need to deal with. Also I’m aware there are probably better ways of doing this but this to me seems the easiest. I’ve done the whole copy/paste Hyper-V folders before when I changed the RAID5 to RAID6 on the machines, but I wasn’t technically moving the VMs as they went back onto the same host<\/p>","upvoteCount":9,"answerCount":10,"datePublished":"2018-07-31T07:46:44.000Z","author":{"@type":"Person","name":"alexdavidson8771","url":"https://community.spiceworks.com/u/alexdavidson8771"},"acceptedAnswer":{"@type":"Answer","text":"
I would use Hyper-V Manager to do a shared nothing migration of the VMs to the temporary host. No possible way to screw it up. If the migration works, the VM will go. If something isn’t setup right, the VM will remain on the original host and it will error out quickly. Much faster than trying to export and then hope you did it right when you then try to import. The migration doesn’t affect the VM state, and can even be done with the VMs running (you may need processor compatibility turned on).<\/p>\n
I agree that going to Hyper-V 2016 is a good idea. Unless you already have Windows 2016 licenses and CALs, you really ought to use Hyper-V Server 2016 and not full Windows Server 2016. Hyper-V Server is moderate learning curve over full Windows, but IMHO you are ready for it.<\/p>","upvoteCount":2,"datePublished":"2018-07-31T13:11:18.000Z","url":"https://community.spiceworks.com/t/rebuilding-a-hyper-v-host-temporarily-moving-the-vms/665065/8","author":{"@type":"Person","name":"kevinhsieh","url":"https://community.spiceworks.com/u/kevinhsieh"}},"suggestedAnswer":[{"@type":"Answer","text":"
I couldn’t find the exact guidance I was after here for what I potentially plan to do so would any of you kind folk be able to look over my proposal and let me know all the pitfalls that I’ve overlooked as this will be my first time (be gentle)<\/p>\n
Situation: I have a server 2012 R2 box with Hyper-V that’s hosting 2 VMs. Currently it’s set up old school - RAID1 for the host OS, RAID6 for data drive (VM VHDs etc)<\/p>\n
Desire: Replace the 146GB drives that make up the RAID1 with 450GB disks to match the RAID6 disks, nuke both RAIDs and rebuild the server on RAID10. Partition off the RAID, rebuild the Host OS from Windows Server Backup, and reinstate the VMs<\/p>\n
My current thinking is that the time to restore from bare metal via WSB shouldn’t actually be that long as the OS literally is just OS and Hyper-V. However for peace of mind I’d like to actually bring the 2 VMs up on another Hyper-V host during the rebuild just in case<\/p>\n
Am I right in thinking that I could shut the VMs down, copy the complete contents of the Hyper-V folder (contains the VM details files and VHDs) over to the second host, import the machines and attach the VHDs. Once I’m done I could do all the work on the old host, then repeat the copy process back once I’m done<\/p>\n
Please tell me it’s this easy? It probably isn’t so please let me know where I’m going to fail and what I’m going to need to deal with. Also I’m aware there are probably better ways of doing this but this to me seems the easiest. I’ve done the whole copy/paste Hyper-V folders before when I changed the RAID5 to RAID6 on the machines, but I wasn’t technically moving the VMs as they went back onto the same host<\/p>","upvoteCount":9,"datePublished":"2018-07-31T07:46:44.000Z","url":"https://community.spiceworks.com/t/rebuilding-a-hyper-v-host-temporarily-moving-the-vms/665065/1","author":{"@type":"Person","name":"alexdavidson8771","url":"https://community.spiceworks.com/u/alexdavidson8771"}},{"@type":"Answer","text":"
There is this school of thought that the OS especially hypervisor or Server 2012/2016 should not be on the same partition as the data.<\/p>\n
We have been practicing that since physical server days.<\/p>\n
So there is no real benefit of using RAID 1 + RAID 6 or RAID 10 vs RAID 10 with 2 RAID “virtual disks”…other than space increase and that very slight performance increase (RAID 6 vs RAID 10…in theory approx 50-80 IOPS increase for 6 SAS HDD).<\/p>\n
…<\/p>\n
You should have a Hyper-V manager installed on a “admin” lappy so that you can transfer VMs from one Hyper-V host to another.<\/p>\n
…<\/p>\n
If for any reason you want to reinstall (for testing, for recreating RAID or for future-proof), then do consider Hyper-V 2016 server instead of Server 2012/2016 with Hyper-V. Else try VMware (can install on SD cards, recommend VMware Essentials Plus with at least 2 hosts).<\/p>","upvoteCount":0,"datePublished":"2018-07-31T08:36:52.000Z","url":"https://community.spiceworks.com/t/rebuilding-a-hyper-v-host-temporarily-moving-the-vms/665065/2","author":{"@type":"Person","name":"adrian_ych","url":"https://community.spiceworks.com/u/adrian_ych"}},{"@type":"Answer","text":"
In terms of copying stuff, what I did when upgrading a hyper-V host was:<\/p>\n
\n
\n
I stopped all VMs<\/p>\n<\/li>\n
\n
I exported all the VMs to external USB drive (took a LONG while as USB2! - but the VMs took up something like 650GB.<\/p>\n<\/li>\n
\n
totally upgraded the hardware<\/p>\n<\/li>\n
\n
Copied the Exported VMs back to main disks<\/p>\n<\/li>\n
\n
Imported each Vam<\/p>\n<\/li>\n
\n
Cracked open a great bottle of red wine, and had a G&T while the wined was decanted…<\/p>\n<\/li>\n<\/ol>","upvoteCount":2,"datePublished":"2018-07-31T09:52:11.000Z","url":"https://community.spiceworks.com/t/rebuilding-a-hyper-v-host-temporarily-moving-the-vms/665065/3","author":{"@type":"Person","name":"DoctorDNS","url":"https://community.spiceworks.com/u/DoctorDNS"}},{"@type":"Answer","text":"
If there’s another host you can shut the machines down and literally move them from Hyper-V manager to that host. Otherwise you can export the machine and make your life a bit simpler on the temp host as well. Copying directly also works, but I’m a fan of using the builtin tools where possible.<\/p>\n
Expanding out to a big RAID10 is fine. I agree with adrian to consider running Hyper-V 2016 instead of doing a full Server 2012/2016 installation. Also, not that it’s mentioned much, but have you looked at your restore time and tested those WSB backups? It works, however, there are quite a few free products that can make your life easier and safer as well.<\/p>\n
It should take longer to transfer the VMs than it will to restore the host backup if there’s any amount of data on them.<\/p>","upvoteCount":1,"datePublished":"2018-07-31T09:52:20.000Z","url":"https://community.spiceworks.com/t/rebuilding-a-hyper-v-host-temporarily-moving-the-vms/665065/4","author":{"@type":"Person","name":"dancrane","url":"https://community.spiceworks.com/u/dancrane"}},{"@type":"Answer","text":"
I’ve had a few instances where merely copying the contents of the VM from one host to another didn’t work. The VM would not import on the new host. I had to recreate the VM and attach the VHDs. While it did boot up the VM OS saw everything as new hardware and I had licensing and activation issues.<\/p>\n
I’d do what others have said and export the VM then import it. I’ve never had that not work properly.<\/p>\n
If you want to minimize downtime replication is the way to go. Replicate to a temp hyper-v host. Shut down the VM then do a failover. Remove the replication and redo your main host. Once it’s ready replicate back to it then do another failover. Downtime is just a few minutes each way but it is a lot more work to setup compared to exporting and importing.<\/p>","upvoteCount":2,"datePublished":"2018-07-31T10:05:50.000Z","url":"https://community.spiceworks.com/t/rebuilding-a-hyper-v-host-temporarily-moving-the-vms/665065/5","author":{"@type":"Person","name":"dreniarb","url":"https://community.spiceworks.com/u/dreniarb"}},{"@type":"Answer","text":"