Virtualization has become quite popular during the last few years. By using virtual machine technology, you can run multiple operating systems concurrently on a single machine, which allows separation of services while keeping cost to a minimum. It can also be used to create Windows test systems in a safe, self-contained environment. Microsoft Hyper-V is a hypervisor-based virtualization system for x64 computers starting with Windows Server 2008. The hypervisor is installed between the hardware and the operating system and is the main component that manages the virtual computers.
To run several virtual machines on a single computer, you need to have sufficient processing power and memory to handle the load. However, since most servers often sit idle, virtualization utilizes the server’s hardware more efficiently.
To keep each virtual server secure and reliable, each server is placed in its own partition. A partition is a logical unit of storage in which operating systems execute. Each virtual machine accesses the hypervisor, which handles interrupts to the processor and redirects them to the respective partition.
In Hyper-V, each virtual machine uses a maximum of one processor; however, it may share the processor it is using with other virtual machines, depending on the number of processors on the physical computer and the number of running virtual machines. In addition, each virtual machine requires enough memory to run the operating system and applications, plus approximately 32 MB for the emulated video RAM and code cache. A motherboard and BIOS that supports virtualization are also required.
By default, Hyper-V stores all the files that make up a virtual machine in one folder with the same name as the virtual server for simple management and portability. Renaming a virtual machine does not rename the virtual machine folder. By default, these folders are located in the Shared Virtual Machines folder, which is located in Documents and SettingsAll Users DocumentsShared Virtual Machines.
In Hyper-V, each virtual machine uses the following files:
• A virtual machine configuration (.vmc) file in XML format that contains the virtual machine configuration information, including all settings for the virtual machine.
• One or more virtual hard disk (.vhd) files to store the guest operating system, applications, and data for the virtual machine. So if you create a 12-GB partition for the virtual machine’s hard drive, the virtual hard disk file will be 12 GB.
In addition, a virtual machine may also use a saved-state (.vsv) file, if the machine has been placed into a saved state.
To install Hyper-V, you need:
• An x64 version of Windows Server 2008.
• 64-bit processors and BIOS that support hardware-assisted virtualization (Intel VT or AMD-V) technology.
• Hardware Data Execution Prevention (DEP), which Intel describes as eXecuted Disable (XD) and AMD describes as No eXecute (NS) it is a technology used in CPUs to segregate areas of memory for use by either storage of processor instructions or for storage of data.
To add the Hyper-V role:
1. Click Start and then click Server Manager.
2. In the Roles Summary area of the Server Manager main window, click Add Roles.
3. On the Select Server Roles page, click Hyper-V.
4. On the Create Virtual Networks page, click one or more network adapters if you want to make their network connection available to virtual machines.
5. On the Confirm Installation Selections page, click Install.
6. Restart the computer to complete the installation. Click Close to finish the wizard and then click Yes to restart the computer.
7. After you restart the computer, log on with the same account you used to install the role. After the Resume Configuration Wizard completes the installation, click Close to finish the wizard.
This lesson is a part of Popular Windows Network Services and Applications chapter from 98-365 Windows Server Administration Fundamentals Prep course. More lessons in this chapter are
The Practice tests included in this course are: