In this tutorial i will explain about installing Microsoft Hyper-V, creating a virtual machine and Setting up networking with Hyper-V on windows 8.1 64-bit operating system. Hyper-V is Microsoft enterprise tool for creating and managing virtual machines. It is available and no additional cost if you own a valid license of a Microsoft product such as Microsoft Windows-2008, Microsoft Server 2008 and Microsoft Server 2012.

Installing Hyper-V

In order to install it go to control panel click on programs and features and here to the left you have an option for turn windows features on or off. Click on that it gives me a list lots of windows features sum of them have installed. sum of them haven’t. 

Select the Hyper-V if you fully expand the bar we can see few different options the bottom one is Hyper-v platform it is a core software that allows to create and manage virtual machines. The other two options are Hyper-V Management Tools.Click on both of those and install all.


https://www.youtube.com/watch?v=5HqL4lYARtk
Beware when you install Hyper-V because your machine will reboot. After reboot the couple of things I would like check to make sure hyper-v installed properly.

First go to control panel Administration Tools-> services scroll down you should see the many services in the name of hyper-v. Hyper-v virtual machine management service is currently running that’s a good sign and more think i like to check Hyper v manger also for that go to search type hyper v manger so we are seeing surprisingly hyper v manger and no virtual machine services are running. so we have successfully installed hyper-v.

Creating a virtual machine using Hyper-V

In this section i would like to talk about creating a virtual machine using Microsoft Hyper-v. So here we have hyper v manger open on the right hand side I have an option new click on that a new virtual machine wizard will appear.


First page is just for introduction click next

It ask to specify name and location and it gives a default name of new virtual machine but I changed it because I want to mention name of operating system. By default it is going to store C:\ProgramData\Microsoft\Windows\Hyper-v u can also select the different location.


Select the generation default is generation 1  and is propate for installation. Generation 2 gives you all features of generation 1 plus few additional features most of them are involving booting from the network. Click next


Assign memory to machine i,m giving 2048 MB which is 2 GB.now click next


It ask about network i'm going to leave now and later we can talk about connecting to network. 

Provide the hard disk details Would you like to either connect to  new virtual hard drive or connect to existing virtual hard drive. I don’t have any existing so im going to first option creating new one  in as already set as size 127 gb I need drop down into 40 gb. 


We have option to install operating system. Select the radio button to install operating system from a CD/DVD-ROM or .iso image file then click next.


Here you can see summary of everything click finish.


Setting up Networking with Hyper-V  

In this final section we will configure networking settings in Hyper-V. So this will includes both getting our virtual machines communicate with other virtual machines and getting out to communicate with outside world.

In order to do this first we need to create at least one virtual switch. In the action menu on right hand side you can see the option for virtual switch manger click on that.


Here we can see three types of virtual switch

1. External: External virtual switch allow you to connect your entire external n/w and if your physical machine is connected to the internet then now your virtual machines will be connected to the internet.

2. Internal: Internal does not connect to the physical network adapter it only provide communication between the guest machines and host machines.

3. Private: Allows to communicate only from one virtual machine to another virtual machine. This type is only useful for creating a lab or test environment.

For my use i'm selecting external type. Click on the create virtual switch then give the name and select the external network press apply


Don't be tension simply press yes and ok.


Now right click on the virtual machine select the settings



Select Network Adapter vmexternal then finally click on ok.

0 comments:

Post a Comment

 
Top