Presentation is loading. Please wait.

Presentation is loading. Please wait.

MICROSOFT HYPER-V 2012 Presentation By:- Danish Khan.

Similar presentations


Presentation on theme: "MICROSOFT HYPER-V 2012 Presentation By:- Danish Khan."— Presentation transcript:

1 MICROSOFT HYPER-V 2012 Presentation By:- Danish Khan

2 SCOPE OF THE PRESENTATION Definition and benefits. Hyper-V models. Getting started with Standalone Hyper-V 2012. Server management and creating VM. Understanding settings. Guest OS support. Troubleshooting.

3 WHAT IS HYPER-V ? It is a virtualization technology of Microsoft provided for virtual desktop environment. First introduced as part of Windows Server 2008, expanded and enhanced in Windows Server 2008 R2, and enhanced still further with Windows Server 2012. Hyper-V provides organizations with a tool for optimizing server hardware investments by consolidating multiple server roles as separate virtual machines running on a single physical host machine.

4 WHY HYPER-V ? Following are key areas and comparison over other virtualization technology Scalability, Performance & Density Security Flexible Infrastructure High Availability

5 ResourceHyper V 2012VM Ware HostLogical processor320160 Memory4TB32GB Virtual CPUs/Host2048 VMVirtual CPUs/VM648 Memory/VM1TB32GB Max Disk Size/VM64TB2TB Guest NUMAYes ClusterMaximum Nodes64N/A Maximum VMs8000N/A

6 HYPER V MODELS. 1. Hyper-V in server 2012. 2. Standalone Hyper-V server 2012

7 HYPER-V IN SERVER 2012 HOST Hypervisor Running VMs

8 STAND ALONE HYPER V SERVER 2012 Hypervisor Running VMs

9 BEGINNING WITH STANDALONE HYPER-V SERVER 2012 Prerquisites: Processor compatibility VT-X should be enabled in processor properties in bios DEP should be enabled in processor properties in bios For installation of Hyper-v 512 MB of RAM For successfully running VMs 2GB of minimum RAM 20GB of disk space 64 bit processor

10 INSTALLATION STEPS

11

12

13

14

15

16 Once done it will ask you to set Admin password and next screen will be your core server CLI

17 CORE SERVER CLI AND CONFIG OPTIONS

18 MANAGING THE SERVER Disable the firewall of the standalone server by following command C:\>netsh firewall set opmode mode=disable Add the entry in host file of the managing server for Hyper-v server if the same is not in domain Add Hyper-v role in the managing server to enable the Hyper-v management tool.

19 START HYPER-V MANAGER AND ADDING MACHINE FOR MANAGEMENT

20 THIS IS HOW YOUR REMOTE MACHINE ENTRY WILL LOOK LIKE WHEN IT IS ADDED. NOW READY FOR PREPARING VM

21 CREATING VM Open the Hyper-V Manager, right-click on your host server and then select the New | Virtual Machine commands from the right-click menu

22 When the New Virtual Machine Wizard begins, click Next to bypass the wizard’s Welcome screen. Enter a unique name for the virtual machine. Select the checkbox for Store the virtual machine in a different location and enter a path where the virtual machine should be stored. Click Next.

23

24 Enter the amount of memory to assign to the virtual machine. As an alternative, you can use dynamic memory. Click next

25 Choose the virtual switch to which the virtual machine should be connected. Click next

26 Verify that the Create a Virtual Hard Disk option is selected. Enter a name for the virtual hard disk that will be created. Provide a location for the virtual hard disk if necessary. In general, the location should match the virtual machine location you specified earlier. Provide a size for the virtual hard disk. Click next

27

28 Choose the option to install an operating system from a boot CD or DVD. Click next

29 Your VM is now created now insert the OS media in CD DVD to install OS on VM. Select the VM and click on the Start button and install the OS whichever you want.

30 THE INTEGRATION SERVICES. The Integration Services are a set of drivers that allow a virtual machine to communicate directly with the hypervisor. You can install the Integration Services for windows by completing these steps : Open the Hyper-V Manager. Double-click on the virtual machine that needs to have the Integration Services installed. This will display the virtual machine's console Select the Insert Integration Services Setup Disk command from the Action menu When the AutoPlay screen appears, click the Install Hyper-V Integration Services option

31 ADDING VIRTUAL SWITCH Click on Virtual switch setting from right panel of manager Then click on the add hardware from left panel. There you will find three types of network adapters: External Internal private

32

33 Click on external select the corresponding host network adapter from dropdown and name the virtual switch accordingly. Your virtual switch is created now. To connect to the virtual switch go to setting of VM. Add hardware select network adapter. Select legacy adapter and from drop down select the virtual switch you have created. Now you are connected with host private network.

34

35 VIRTUAL MACHINE SETTING

36 ADD HARDWARE This includes : SCSI Controllers Network Adapters Legacy Network Adapters Fiber Channel Adapters

37 MEMORY The Memory page allows you to control the amount of memory that is assigned to the virtual machine. The Startup RAM field controls the amount of memory that will initially be assigned to the virtual machine. If dynamic memory is not being used, the amount of memory specified in the Startup Memory field will be available to the virtual machine the entire time that the virtual machine is powered on.

38

39 PROCESSORS The Processors setting allows you to control the number of virtual processors that are assigned to a virtual machine. By default each virtual machine is assigned one virtual processor, but you can change this value if necessary and provision a virtual machine with additional virtual processors

40

41 OTHER SETTINGS

42 Name: To change the name of virtual machine Integration services: Discussed earlier Snapshot file location: location of the path where snapshot will be saved. Smart paging file location: Smart paging file provides the virtual machine with the memory that it needs to start Automatic start: Hyper-V allows you to configure what happens to individual virtual machines when a host server is booted Automatic stop: The automatic stop action controls what happens to the virtual machine if the host server is shut down

43 AUTOMATIC START ACTION

44 AUTOMATIC STOP ACTION

45 SNAPSHOT Right-click on the virtual machine and select the Snapshot command from the right-click menu.

46 When the snapshot completes, the snapshot is listed in the console's Snapshot section. The snapshot includes a date and time stamp that you can use to determine when the snapshot was created. You can also maintain the changes detail for reference in respect to snapshot.

47 CREATING DISK From the manager right hand panel select new virtual disk. It will prompt a wizard from there select the type of disk like VHD or VHDX VHDX is for increased capacity and VHD is the primitive one. Select the mode of disk like dynamic, static or differencing. You can also chose what to do with the new disk like copying the existing disk image or leave it blank

48 From the drop down you can select which disk you want to copy into the new disk Click on the next and finish, your new disk is ready to be attached. You can attach the disk from adding hardware setting by selecting either ISCSI or IDE.

49

50

51

52

53

54

55 EDITING DISK Edit disk the feature from which we can expand, convert or compact the disk. Conversion is from VHD to VHDX and vice versa.

56

57

58

59 NUMA Non Uniform Memory Access

60 NUMA is a type of memory allocation but in this the whole memory and CPU divides itself into NUMA nodes. For e.g. If we have a host machine of 64 GB RAM and 8 core CPU than with the help of NUMA this RAM will be divided into 64/8 (8 GB per core) static node To use NUMA you have to disable dynamic memory allocation. It is recommended to use NUMA in a dense VM environment

61 MEMORY OVERHEADS Minimum requirement for Host Machine: At least 512 MB for the host OS 300 MB for the hypervisor VMs with 1GB or less of RAM use about 32MB of memory for virtualization-related overhead. Further it takes 8MB of overhead for every gigabyte of additional RAM to host VM. Calculation as for 24 GB of ram on VM it will add overhead: (32(for first GB) + (8*23(for remaining)=216 MB Total = 512MB(Host) + 300 (Hypervisor) + 216 (Overhead of 24 GB of Ram) = 1GB (For Single VM required by Host)

62 SUPPORTED OS TILL Guest operating system (server)Notes Windows Server 2012Integration services do not require a separate installation because they are built-in Windows Server 2008 R2 with Service Pack 1 (SP 1)Install the integration services after you set up the operating system in the virtual machine Windows Server 2008 R2Upgrade the integration services after you set up the operating system in the virtual machine Windows Server 2008 with Service Pack 2 (SP 2)Install the integration services after you set up the operating system in the virtual machine. Windows Server 2008Install the integration services after you set up the operating system in the virtual machine. Windows Home Server 2011Install the integration services after you set up the operating system in the virtual machine. Windows Small Business Server 2011Install the integration services after you set up the operating system in the virtual machine Windows Server 2003 R2 with Service Pack 2 (SP2)Install the integration services after you set up the operating system in the virtual machine. Windows Server 2003 with Service Pack 2Install the integration services after you set up the operating system in the virtual machine.

63 CentOS 6.0 – 6.2Download and install Linux Integration Services v3.2.Linux Integration Services v3.2 Red Hat Enterprise Linux 6.0 –6.2Download and install Linux Integration Services v3.2.Linux Integration Services v3.2 SUSE Linux Enterprise Server 11 SP2Integration services do not require a separate installation because they are built-in. Guest operating system (client)NOTE Windows 8 Release PreviewIntegration services do not require a separate installation because they are built-in Windows 7 with Service Pack 1 (SP 1)Ultimate and Enterprise editions (32-bit and 64-bit). Upgrade the integration services after you set up the operating system in the virtual machine Windows 7Upgrade the integration services after you set up the operating system in the virtual machine Windows Vista with Service Pack 2 (SP2)Install the integration services after you set up the operating system in the virtual machine. Windows XP with Service Pack 3 (SP3)Install the integration services after you set up the operating system in the virtual machine Windows XP x64 Edition with Service Pack 2 (SP 2)

64 TROUBLESHOOTING Network :Make sure integration services installed if you are using network adapter for guest. Else use legacy network adapters. IF you are unable to create a VM make sure VMM service is running. IF you are unable to edit or create disk make sure Virtual disk service is running. If unable to connect to the remote machine running Standalone Hyper V then make sure it is in same domain or entry is added in host file

65 Disable firewall if you are unable to connect to remote machine. IF you are not able to be part of host network then make sure proper NIC has been selected in virtual switch. Hyper V and OVB does not runs on same machine (problem exists for 64 bit machine VM) If you are planning to use the vm on OVM then make sure you should make VHD not the default VHDX.

66 THANK YOU


Download ppt "MICROSOFT HYPER-V 2012 Presentation By:- Danish Khan."

Similar presentations


Ads by Google