In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-21 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
During the Spring Festival, Yun Hongjun and his friends discussed the DRS distributed resource scheduling in front of the online celebrity store.
After a meal during the Spring Festival, I learned about distributed resource scheduling.
We all know the truth, how to operate it?
Let's continue to take the dinner table as an analogy-if you compare the data center to a banquet, the server is the table at the dinner, and the virtual machine is the person at the scene.
In the last article, we solved the balance problem that there are many people at some tables and few at some tables. However, people have ideas, and today, we are going to take care of the problems of these special people--
In fact, the uneven load of multiple physical machines in the resource pool often occurs: the physical opportunity with high load affects the performance of the application, and the physical machine with low load wastes resources. It is difficult for traditional physical machines to make effective use of resources, and it is also difficult to adjust resources dynamically when the physical machines reach the load bottleneck.
With the distributed resource scheduling function, the system will automatically migrate the virtual machine according to the load of the physical machine, which not only ensures the normal use of applications on the virtual machine, but also improves the resource utilization of all servers.
Now that we understand the important role of cloud computing distributed resource scheduling DRS, how should we use this feature correctly?
Distributed resource scheduling DRS can not simply transfer virtual machines from heavy-loaded physical machines to lighter-loaded physical machines, because it can not meet the needs of the actual production environment. In general, these requirements can be classified as follows:
1. A batch of virtual machines for the same related business need to be deployed on physical machines of the same kind of business, and should not be migrated to physical machines for other services.
two。 To meet some high-availability requirements, such as virtual machine redundancy, two or more virtual machines must be running on different physical machines
3. Virtual machines are required to run on special physical machines to achieve high security or high performance.
In order to deal with the above situation, Yunhong provides the corresponding product solution-DRS advanced scheduling rules.
Before introducing this solution, we need to understand a few simple conceptual definitions.
Resource group: a combination of the same resources, including virtual groups and physical host groups.
Physical group: a collection of physical hosts. The same physical host cannot exist in two resource groups at the same time.
Virtual group: a collection of virtual machines. The same virtual machine cannot exist in two resource groups at the same time.
Based on the concepts of resource group, physical group, virtual group and virtual machine, there are three advanced DRS scheduling rules used to control the migration of virtual machines.
Aggregate virtual machine
When a virtual machine is migrated because of a high load on the physical host on which it is located, it will migrate to the physical host where other virtual machines are located in the virtual group where the virtual machine is located.
Just like people from many companies attend event banquets, people from the same company have to sit at the same table and sit with people from the same company even if they change seats.
Aggregate virtual machine
Mutually exclusive virtual machine
In contrast to aggregated virtual machines, when a virtual machine is migrated, it cannot be migrated to the same physical host as other virtual machines in the virtual group in which the virtual machine is located.
Just like a customer entertaining a meal, each table should be accompanied by the person in charge of the organizer, who should be scattered across the tables rather than gathered together.
Mutually exclusive virtual machine
Virtual machine to host
When a migration occurs, you can set up a virtual group to migrate on the specified physical host group.
For example, 90% of the tables at the event banquet are arranged for visitors, and the staff of the organizers have to sit on the special tables for the staff no matter how they are changed.
Virtual machine to host
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.