Sunday, January 22, 2012

How-To: Install Hyper-V Role on Windows Server 8

If you have not install Windows Server 8 Developer Preview yet, you may also follow guide which i have blogged earlier at How To: Windows Server 8 Boot from VHD. Upon the installation of Windows Server 8, you may proceed with the steps below for Hyper-V V3 role installation:-

1. In Windows Server 8 Developer Preview, launch the Server Manager Console.
2. If you have not launch the Server Manager, click on Start > Server Manager.
3. At the Dashboard, click add roles
Figure1: Dashboard of Server Manager
4. At the Add Roles and Features Wizard page, select Role-based or Feature-based Installation.
Figure2: Add Roles and Features Wizard
5. Click Next until Server Roles.
6. At the Select Server Roles page, select Hyper-V.
7. Click Next until Confirmation.
8. At the Confirm installation selections page, check Restart each destination server automatically if required.
Figure3: Confirmation
Figure4: Role installation in progress
9. After the server has completed rebooting, log back on to the Windows Server 8 Developer Preview with following credentials:
10. Close the Server Manager window.
11. Launch the Server Manager, click on Start > Server Manager.
12. Click on Hyper-V Manager.
Figure5: Hyper-V Manager from Start
Figure6: Hyper-V Manager

Saturday, January 7, 2012

How To: Windows Server 8 Boot from VHD

Lately have been trying out Windows Server 8 on Hyper-V and decided to boot up Windows Server 8 directly from my notebook. What I discovered is that it seem like the sysprep-ed of the OS on VHD are not bootable by using the similar way what we have for Windows 7 and Windows Server 2008 R2.

My current running OS is Windows Server 2008 R2 SP1 on physical partition and a boot from VHD with Windows 7.

Found out blogs on the net which use this concept:
1. Boot machine with Windows Server 8 Developer Preview DVD
2. Bring out the 'Command Prompt'
3. Use 'Diskpart' to create and attach an empty VHD
4. Continue the installation of Windows Server 8

Below are the set of steps and commands you need:-
1. Insert 'Windows Developer Preview' to your DVD-Rom. If you have not had a copy go here to download a copy.
2. Boot your computer with the 'Windows Developer Preview' DVD.
3. At the first Setup page, press 'Shift + F10' to bring out 'Command Prompt'

4. Type 'diskpart'
5. Type 'list disk'. This guide assume your computer has 1 hard drive, so the expected result is you get 'Disk 0' listed.
6. Type 'select disk 0'
7. Type 'list volume'. you should see all your existing partition on the hard drive with 'Drive Letter'.
8. Type 'create vdisk file=<drive:>\windows8.vhd maximum 80000 type expandable'. Replace <drive:> with the drive letter where you want to store the VHD. This will  create a VHD with size 80GB.
9. Type 'select vdisk file=<drive:>\windows8.vhd'.
10. Type 'attach vdisk'
11. Type 'exit'
12. Continue with the installation step.
13. You will see 'Disk1' during the disk and partition selection.

UPDATE:
22 January 2012
To install Hyper-V V3 role on Windows Server 8, you may use my guide at How-To: Install Hyper-V Role on Windows Server 8



Friday, December 23, 2011

Screencast: Adding Hyper-V Cluster to SCVMM 2012 RC

Continue to my previous blog Screencast: SCVMM 2012 Installation, I have proceed to add my biggest production Hyper-V cluster to SCVMM 2012 RC. The cluster consists of 9 Hyper-V nodes which is hosting 71 VMs on VFARM3 cluster. Below is the screencast of the process.