Do Virtualization How the server hardware configuration calculates

  

If virtualization is to be used, how should the server's hardware configuration be calculated? For example, each virtual machine needs 1 CPU, 2G memory, 100G hard disk, 100Mbps network bandwidth, and 200 virtual machines.

1. Processor: Hyper-V R2 can utilize up to 64 Logical Processors of the host, and one Logical Processor can support 8 virtual processors, that is, if it is a single-core processor of one CPU. Host, running up to 8 virtual machines. Considering performance factors in Hyper-V R2, we can run up to 384 virtual machines on a single host (assuming each virtual machine has only one virtual processor). For example, if we want to run 200 Wins on a single host, the host must have at least 25 cores (25*8=200), which translates to a power of 2, which is 32 cores. This of course is based on the premise that each Win 7 is assigned only one virtual CPU. If each Win 7 requires 2 CPUs, then 200*2=400, which exceeds the upper limit of 384, it cannot be run on one host.

For example, there are 16 virtual machines to be run, and each virtual machine allocates 2 virtual CPUs. The total number of virtual CPUs required is 16*2=32, and at least 32/8=4 logics are required. The processor, if a dual-core CPU is used, requires at least 2 dual-core CPUs.

2. Processor: The larger the cache, the better, especially when the ratio between the virtual processor and the physical processor is high.

3. Memory: Host RAM = (VMRamRequirementMB x #ofVMs) + (#of VMs x 32MBVMOverhead ) + (512MBHost). According to my example, the host memory = 2G * 200 + 200 * 32MB + 512MB = 406.75 GB, of course, we can do some redundancy, take 512GB (Enterprise and Data Center Edition can support up to 2TB of memory) < Br>

4. Network: If the network data transmission volume is large, you can install multiple network cards and bind multiple virtual machines on one network card. For example, if each virtual machine needs 100 Mbps, the host may need 20 1000 Mbps network cards, and each network card is bound with 10 virtual machines.

5. Storage: It is recommended to use a fixed-size VHD file as the hard disk file of the virtual machine. It is recommended to connect a SAN to the storage resource in the background. For example, the total storage capacity needs 100G*200.

Copyright © Windows knowledge All Rights Reserved