Navigation

Search

Categories

On this page

Re-enabling Hyper-V after replacing software RAID-1 (mirrored) drive on Windows 2008 Server

Archive

Blogroll

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

RSS 2.0 | Atom 1.0 | CDF

Send mail to the author(s) E-mail

Total Posts: 80
This Year: 0
This Month: 0
This Week: 0
Comments: 33

Sign In
Pick a theme:

 Saturday, October 10, 2009
Saturday, October 10, 2009 8:24:54 PM (Eastern Standard Time, UTC-05:00) (  |  |  )

Software RAID-1 in Windows server has a pitfall worth remembering: redundancy is working only when Windows is booted and is up & running. When machine is booting, it loads the OS from whichever drive is selected as first in the boot order in BIOS. If failing drive happens to be the first - the one from which Windows Server boots up, then two things needs to be done:
- BIOS settings have to be changed so that healthy secondary drive is used for booting, and
- Secondary Plex has to be selected as a default boot drive in Windows Startup & Recovery configuration.

Having Hyper-V adds even one more step. Hyper-V does something as the boot time, and is apparently enabled only on the first drive in the boot sequence. After you have made healthy secondary drive the first in boot sequence, secondary drive's boot routine needs to be manually adjusted to include loading Hyper-V, or you will get the dreaded, useless "Virtual machine could not be started because the hypervisor is not running" error when starting a virtual machine. To update your newly-selected boot drive for loading Hyper-V, run a Command Prompt as Administrator and execute following command:

bcdedit /set hypervisorlaunchtype auto

Reboot the server again - this time your secondary drive is bootable as far as BIOS concerned, secondary plex is used to boot windows, and Hyper-V is made to be loaded from the secondary drive too.