SQL Server 2012 Failover Clustering with Hyper-V–Part 2: Installing Windows Server 2008 R2 on the Host
March 16, 2012 Leave a comment
Today we will be installing Windows Server 2008 R2 Enterprise edition on the host computer. We will then set up Hyper-V and prepare the server for running our virtual network.
Step 1: Burn a DVD
Using your favorite DVD burning software, burn the Windows Server 2008 R2 ISO file that you downloaded onto a DVD. Sticking with the “free software” theme, I will be using the fantastic free software CDBurnerXP available for download at http://cdburnerxp.se/en/home.
Step 2: Install Windows Server 2008 R2 on Host Computer
The Windows Server 2008 R2 installation is very typical. Boot the computer using the OS’s bootable DVD. Be sure to select Windows Server 2008 R2 Enterprise (Full Installation).
Step 3: Add the Hyper-V Role
- Once the installation and initial setup completes, Windows Server will boot up to the user interface with the Initial Configuration Tasks window.
- If for some reason this is not displayed, start the Server Manager from the Start > Administrative Tools menu. When Server Manager starts, click on Roles in the left pane. Either way, click on the “Add roles" link to start the Add Roles Wizard.
- In the Add Roles Wizard, click Next in the Before You Begin screen and select Hyper-V in the Server Roles window.
- Click Next through the wizard to complete the installation. That’s it! Hyper-V is now installed and ready to use! A new item called Hyper-V Manager will now be available in the Start > Administrative Tools menu.
Step 4: Install Guest Operating Systems in Hyper-V
We will first create a template VM with Windows Server 2008 R2. We will then make copies of this template VM later when we are setting up servers in the Kamet virtual domain.
- Launch Hyper-V Manager from Start > Administrative Tools.
- Right click on the computer name and select New > Virtual Machine to start the New Virtual Machine Wizard.
- Create a new VM using the New Virtual Machine Wizard.
- In the Installation Options section, select the Windows Server 2008 R2 Enterprise evaluation ISO that you downloaded.
- Click Finish to have the New Virtual Machine Wizard create the VM. The Virtual Machine Wizard will close and you will be returned to the Hyper-V Manager. The new VM will be listed in the Hyper-V Manager.
- Double click on the VM to connect to it and then select Action > Start to start the virtual machine.
- Since we selected the Windows Server 2008 R2 ISO file when creating the VM, Hyper-V will automatically begin the setup procedure for the “blank” VM. Go through the steps to install Windows Server as usual.
Now that the template VM has been set up, we will shut it down and create copies of it for our domain controller and clustered servers.
In the next post of this series, we will set up the Kamet domain with one domain controller and two member servers so that we can finally get started with what the exciting stuff: creating a SQL Server 2012 failover cluster!