Notes on Virtualization Learning (2) preparations before virtualization is launched

Source: Internet
Author: User

1. SexAbility to assess

Before purchasing virtualization software, enterprises usually need to consider the reuse of existing devices and the number of new hardware devices they need. Too many purchases will lead to excessive performance, and too little will lead to insufficient performance. In this case, a performance evaluation before the launch of virtualization is involved.


Performance evaluation usually evaluates the usage of CPU, memory, hard disk, and other resources in the existing business system, and then purchases the corresponding level of virtualization basic hardware.


Tools used: the performance tab of windows. Pal tool, Linux MRTG


2. actuarial, TCO, and ROI


Provisioning: How many virtual machines can a physical server host?

Target after merging: the CPU utilization of the physical machine is less than 90%, and the utilization of the physical machine is greater than that of the single business. Maximum memory usage


1) actuarial computing of CPU merge rate:

When a physical CPU core is set to a pcpu, and a virtual machine CPU is a vcpu, the following operations are performed:

Pcpu: vcpu = or.

For example, an enterprise has 10 physical servers, 2 high-load databases, 6 server load businesses, and 2 low-load businesses.

Virtualization actuarial: In this example, we can conclude that two high-load instances must use an independent physical machine, which is not suitable for virtualization. Assume that two vcpus are required for the load service on the six platforms, 1 vcpu is required for low load. In this way, the total number of vcpus required is

2*1 + 6*2 = 14 vcpus

According to the ratio of, the number of pcpu is at least 14/5 = 4 pcpu.

Assume that one physical machine is a 4-core single CPU, and only one physical machine is required to complete virtualization.

After virtualization, the total number of physical machines used is five high-load database servers and one virtualized physical machine. 4 servers are saved.


2) memory merging rate actuarial:

Generally, Windows 2008/requires at least 2 GB of memory as required by the operating system. Therefore, we use 2 GB as the minimum unit of memory.

In virtualization, the ratio of memory to vcpu should be at least 2 GB corresponding to a vcpu.

According to the requirements in the preceding CPU example, the virtualized physical machine requires at least 14x2 = 28 GB of memory.

The memory volume described above does not contain the memory volume occupied by the installation of exsi and vcenter. In general, exsi occupies 1 GB of memory and vcenter occupies 8 GB of memory.


3) Nic merging rate:

A Gigabit Nic usually corresponds to 5 ~ Seven virtual machines.

In the above example, there are 6 virtual machines, and the NIC needs 1 ~ 2 NICs. Of course, according to the principle of separation of business and control, vmotion, management and other functions may require independent NICs. Therefore, you should increase the number by 1 ~ Two NICs are controlled by vsphere.


4) desktop virtualization merge:

The above refers to the merging rate of server virtualization. The integration of desktop virtualization is more relaxed. Specifically

Pcpu: vcpu = or

Memory standard 1 GB/XP, 2 GB/win7

A Gigabit Nic usually corresponds to 5 ~ 8 virtual machines

5) TCO and ROI calculation:

Http://roitco.vmware.com/vmw.

TCO costs include management costs, depreciation costs, electricity costs, cooling costs, space costs, software costs, and hardware costs.

Compared with the TCO before and after virtualization, we can see that most of the data is reduced, so virtualization will inevitably save costs.

This article is from the "Jojo" blog, please be sure to keep this source http://nnjojo.blog.51cto.com/362399/1435199

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.