How to build a virtual machine using Hyper-V (step diagram)

  

With the built-in Hyper-V of Windows Server 2008, IT staff can start building virtual machines on the server and actually test the virtualized IT environment. Currently common server virtualization. Software, in addition to well-known VMware, there are Citrix and Microsoft's Hyper-V. Maybe you will worry about whether it is difficult to install or set up complex, but in fact, if we just install a virtual machine, the process will not too complicated. For Hyper-V, if the operating system used by the environment is Windows Server 2008, we can use the built-in Hyper-V to install the virtual machine. Limited 64-bit Windows Server 2008 operating system
In fact, Microsoft's Hyper-V, not every version of Windows Server 2008 can be installed, the first condition is that you must use a 64-bit operating environment. The Hyper-V service can be started. Moreover, the same is a 64-bit operating system, like some versions of Windows Server 2008, such as Enterprise, Datacenter and Standard, although Hyper-V can be used, but the conditions are not the same, and the Web 2008 version does not have this role. , must be noted when installing. The second condition is that the processor used by the hardware device must support virtualization technology, such as built-in Intel VT (Virtualization Technology) and AMD-V, and this part of the check, in addition to the Internet directly query processor support. We can also view it directly in the BIOS. If the processor supports virtualization technology, we can find the options for virtualization technology in the options of the BIOS processor and choose to enable it. Installation Steps
To start the Hyper-V function, the two main conditions are to use the 64-bit Windows Server 2008 operating system (not including Itanium system and Windows Server 2008 R2 Web), and in the BIOS. Turn on the virtual technology of the processor. Hyper-V administrator's operation interface

Hyper-V administrator's operation interface In this screen, we can also see the virtual machine's startup status, time, and processor usage, observe Whether you need to adjust the settings of the virtual machine. Three conditions for enabling Hyper-V
1.Starting processor virtualization technology
To enable Hyper-V, you must first enter the BIOS settings to enable the processor virtualization technology. In order to successfully install the Hyper-V role and add a virtual machine. 2. Add a new virtual machine
Confirm that you are using a 64-bit version of Windows Server 2008 Enterprise, Datacenter, or Standard. 3. Adding a Hyper-V Role
Starting the Virtualization Technology of the Processor Since the BIOS interface of the motherboard is different for each PC and server, the BIOS startup technology is set in the BIOS. The operational flow and options will be somewhat different. Looking at the Hermes S1100L server we used this time, it uses a dual-core and 4-threaded Intel Xeon E3-1220L processor with 16GB of RAM installed. To enable the processor virtualization feature of this server, you must go to the processor's setup project in the BIOS Advanced option and launch Intel Virtualization Technology to save and reboot the system. After starting the virtualization technology of the processor, there will be no change in the overall operation, but it can be executed smoothly after the subsequent startup and installation of the Hyper-V virtual machine. Step 2: Adding a Hyper-V Role
Next, to enable the Hyper-V function in the server, we can check the role of the new Hyper-V in the Windows Server 2008 Server Administrator page. Then click Next, the system will automatically install the Hyper-V function, and then we must reboot to complete the installation process. After restarting, you can see the project of “Hyper-V Administrator” in the System Management Tools folder of the Start Menu. After clicking, you can add a new VM. The process of adding a virtual machine is quite fast. Simply put, the virtual machine name, memory, network, virtual disk and installation source are set. Step 3: Set the virtual machine storage location
The first step of the installation is to first set the name and storage location of the virtual machine. The default path is C:\\ProgramData\\Microsoft\\Windows\\Hyper -V folder, we can tick the path stored in the other. However, because the ProgramData preset is a hidden folder, we recommend modifying the path to a different folder for future review or modification of the virtual machine directory. In addition, if the physical server has more than 2 hard disks, we recommend setting the storage location of the virtual machine to a physical hard disk different from the C disk drive, such as a D disk drive (without disk partitioning). The advantage of this is that the file access of the virtual machine does not share the same hard disk with the physical server, that is, the file read and write of the physical machine is independent, and is separated from the virtual machine area, so that the performance is not due to the relationship of the shared disk. A system interrupt is generated in the case of a large number of file accesses. Step 4: Set the memory size of the virtual machine
The second step is to set the memory size of the virtual machine. The default size of the system is 512MB, and we can manually change the memory capacity of each virtual machine. . When setting the virtual machine memory capacity, there are three parts to consider, one is the total memory capacity of the physical machine, the system requirements to execute the virtual machine, and the number of virtual machines to be erected. Although the above three conditions seem to be separated from each other, they are actually related to each other. If you just want to build one or two virtual machines and perform specific operating system tests, you should consider whether the overall memory capacity is sufficient and in accordance with the virtual part. The system requirements of the operating system can be adjusted. However, if you want to install a large number of virtual machines, you must consider the above three conditions, and this part will also evaluate the execution environment and content of each virtual machine, in order to fully exert the overall performance of the physical server. There is no excessive load, which causes the system to be unstable. On the memory limit, Windows Server 2008 Enterprise and Datacenter PCs can be configured with up to 1TB of memory, while each virtual machine built on them has a maximum of 64GB of memory. If you are using Windows Server 2008 Standard, the physical computer It can install 32GB of memory itself, and the maximum capacity of each virtual machine is 31GB.

Copyright © Windows knowledge All Rights Reserved