I recently had to rebuild my Windows Server 2008 laptop, a Dual Core Athlon X64, 2 GB of RAM with hardware virtualization capabilites. I usually use this for demo’s implementations and for personal practice as well.
Hyper-V gives me a virtual environment where I can have networked guest operating system interacting even on the physical host. I love snapshots, I have fat fingers and when ever I misconfigured a test guest I can just roll back to its previous state.
Adding Hyper-V Server Role
On the server manager, Click Roles.
Then Click Add Roles and the add roles wizard appears.
On the add roles wizard, click next >
On the Select Server Roles window, Select Hyper-V then click Next >
Introduction to Hyper-V. There are some useful info in here, most of the basics are covered in this window. I suggest that we skim over those info here and bookmark important links. For now, lets click Next >
Let us not choose any network for now, we can configure our networks later.
On the confirm installation window, this summarizes our installation configuration. I would also suggest that we skim this page for any changes before we actually install the Hyper-V server role.
Hyper-V is being installed at this moment, after the wizard completes there is a prompt that a restart is pending, click close.
You must restart to finish installing.
After a restart, the server would have a windows update. Then after logging on again, the configuration resumes.
There! Installation succeeded! Click close and your Hyper-V Server Role is now installed and ready to be used!
Before we create our first virtual machine, lets our virtual networks. (saves me a lot of time in the long run)
Go to the Server Manger, go to Roles then expand Hyper-V and the Hyper-V Manager and right click the Server Name and chose Virtual Network Manager.
On the Virtual Network Manager, I will going to create an Internal virtual network. Click Add.
Name your new Virtual Network then click Apply and OK.
Lets now create our first virtual machine!
On Server Manager, Click Roles then expand the tree to Hyper-V, Hyper-V manager then to the name of the server.
Right click the server name then click New Virtual machine..
On the Before You Begin window, click Next >
I’m installing a new virtual instance of a Window Server 2008, and I will save this on a different location.
to change the location, click Browse and browse thru the local file system and select the directory where you want to save your VM’s. I usually create my own folder for the virtual hard disk and virtual machine configurations. After finishing this, click Next >
How much RAM would we give the new virtual machine? Is 512 enough for a Windows Server 2008?
Choose network. We have already configured our Internal Network and for my demo’s and practices, I’m going to use this.
We would also need to create a new virtual hard disk for our virtual machine. So we need to choose Create a virtual hard disk. Click Next > if finished.
We can also install an operating system on upon boot of the Virtual Machine. We can choose from different media’s and I have a Windows Server 2008 ISO, I’ll gona be using this. Just browse thru the file system and select the ISO.
After selecting the ISO, click Next >
We are now presented with a summary and if we are finished reviewing, we can click Finish to begin the creation process.
Note : Notice that the Start the virtual machine after it is created box was not checked. Quoting a good mentor on Hyper-V, never make it a habit to start a newly created VM right after creation, specially on a production environment and if you are converting Physical to Virtual Machines.
After creating the VM. We can now boot the new VM!
On Server Manager, Click Roles, Expand to Hyper-V and Microsoft Hyper-V Manager and select the server name.
The virtual machine list comes up, you can boot the Windows Server 2008 VM by right click and click Start.
This doesn’t immediately let you view the server that is running, you can view it by right click then click Connect.
And the hyper-v connection window appears and you are now installing a new Windows Server 2008 running on top of a Hyper-V!