Thursday, 13 June 2013

Windows Server 2012: Hyper V- Creating VM

Windows Server 2012:
Hyper V- Creating VM

In this tutorial, I am going to walk you through smple steps to launch your first VM (Virtual Machine) using Microsoft Hyper-V.

You can check out a guide on How to Install and Configure Hyper-V Role HERE

For this guide, we are going to install a Ubuntu 12.10 Desktop as the VM, however you can substitute the guest OS with your own choice.

The creation of a VM is a very simple and straight forward process. I am gonna assume that you have your Hyper-V role successfully installed and configured, as shown below:

So, to create your first VM, simply right-click on the 'Name" of your Hyper-V Server and select 'New' --> 'Virtual Machine' as shown:

A wizard will drive you through the process of creating your VM now. Click 'Next' to continue.

Provide a suitable name for your VM. In this case, I provided 'Ubuntu-64BIT'. You can optionally opt to store your VM files in a different location as well by selecting the check-box. Click 'Next' to continue

Provide some RAM for your VM. Ideally a Linux VM can run with a minimum of 512MB of RAM. You can provide as mush as it physically permits you. Click 'Next' once done.

The next step is a bit trick. You will have to select the Network for your VM. Ideally you can create multiple 'Virtual Switches' in the 'Configuration settings' of your Hyper-V Server, each with its own sets of configurations. If you haven't created any Virtual Switches then you will have to select the default Virtual Switch provided by Hyper-V. 

Click 'Next' to continue.

Provide a suitable HDD size for your VM. Ideally provide a minimum of 8GB atleast. You can optionally even select an existing Virtual HDD to be the HDD for your new VM. Click 'Next' when done.

You will be prompted now to provide for the 'Installation Media' which generally can be in to form of an ISO file or even a CD/ DVD. According to your media, select the appropriate option and provide the necessary details as well. You can even do a PXE Boot provided you have a PXE environment pre-configured. In my case, I have provided for a 'Ubuntu 12.10 Desktop ISO' that I had uploaded to the Hyper-V Server earlier. Select 'Next' when done.

Review the settings and configuration of your VM and click 'Finish' when done.

You should see your newly create VM on your 'Hyper-V Manager' screen as shown below. Right-Click on it and select 'Connect' option.

This will bring up a dialog window for your VM. You can now start your VM by selecting the 'Start' icon as shown. Your VM will now boot from the 'Installation Media' that you provided in the earlier steps.

And there you have it !! A Ubuntu VM on Hyper-V.. !!

Thats all for now !! Watch this space for more such Tutorials and Guides coming your way soon !!

No comments :

Post a Comment

Note: only a member of this blog may post a comment.