CN115700481A - Resource management method and related equipment of public cloud data center - Google Patents
Resource management method and related equipment of public cloud data center Download PDFInfo
- Publication number
- CN115700481A CN115700481A CN202110865855.0A CN202110865855A CN115700481A CN 115700481 A CN115700481 A CN 115700481A CN 202110865855 A CN202110865855 A CN 202110865855A CN 115700481 A CN115700481 A CN 115700481A
- Authority
- CN
- China
- Prior art keywords
- instance
- virtual
- resource pool
- reserved
- physical server
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
本申请提供了公有云数据中心的资源管理方法和相关设备,该方法包括以下步骤:云管理平台记录资源池信息,其中,该资源池信息用于记录公有云数据中心的硬件资源池中的每个物理服务器需运行的虚拟实例需占用的资源和每个物理服务器需运行的虚拟实例的实例类型,该实例类型包括按需实例类型和预留实例类型,云管理平台在该资源池信息中将预留实例类型的虚拟实例集中调度到至少一个物理服务器,以使得预留实例类型的虚拟实例在调度前所关联的物理服务器可供按需实例类型的虚拟实例使用。该方法可以在不影响用户使用的情况下,降低公有云的资源碎片,提高公有云的资源利用率。
The present application provides a resource management method and related equipment of a public cloud data center. The method includes the following steps: the cloud management platform records resource pool information, wherein the resource pool information is used to record each hardware resource pool in the public cloud data center. The resource occupied by the virtual instance that each physical server needs to run and the instance type of the virtual instance that each physical server needs to run. The instance type includes on-demand instance type and reserved instance type. The virtual instance of the reserved instance type is dispatched to at least one physical server, so that the physical server associated with the virtual instance of the reserved instance type can be used by the virtual instance of the on-demand instance type before scheduling. The method can reduce the resource fragmentation of the public cloud and improve the resource utilization rate of the public cloud without affecting the use of users.
Description
技术领域technical field
本申请涉及云计算领域,尤其涉及公有云数据中心的资源管理方法和相关设备。This application relates to the field of cloud computing, in particular to a resource management method and related equipment of a public cloud data center.
背景技术Background technique
随着云计算技术和各种网络基础设施的快速发展,传统的互联网技术(InternetTechnology,IT)业务架构,正在逐步向公有云调度,越来越多的业务应用也基于公有云架构重新设计和使用。通过公有云,用户可以向公有云的云管理平台发送资源获取请求,云管理平台根据该资源请求对硬件资源池中的资源进行筛选分析,找出合适的物理服务器并在其上进行资源扣减,创建相应的资源载体,用户可以在任何时间、地点、使用不同的终端设备与该资源载体连接,进行业务处理。With the rapid development of cloud computing technology and various network infrastructures, the traditional Internet technology (Internet Technology, IT) business architecture is gradually being dispatched to the public cloud, and more and more business applications are also redesigned and used based on the public cloud architecture . Through the public cloud, users can send resource acquisition requests to the cloud management platform of the public cloud. The cloud management platform screens and analyzes the resources in the hardware resource pool according to the resource requests, finds out suitable physical servers and performs resource deduction on them , to create a corresponding resource carrier, and the user can connect to the resource carrier at any time, place, and use different terminal devices to perform business processing.
但是,物理服务器中包括多种资源,每种资源的数量和资源之间的比例是固定的,而用户请求的资源的规格不是固定的,比如物理服务器的CPU和内存配比为1:1,具体可以是2核2GB内存,用户请求的资源的CPU和内存配比是1:2,具体可以是1核2GB内存,对该物理服务器进行资源扣减后,内存将被优先发放,CPU则存在剩余。这些剩余的资源无法用于创建其他资源载体,将会以资源碎片的形式保留在物理服务器中,对于拥有大量物理服务器的公有云来说,每台物理服务器上的资源碎片会导致公有云的资源浪费,资源利用率低,增加公有云的运营成本。However, a physical server includes a variety of resources, the number of each resource and the ratio between resources are fixed, and the specifications of the resources requested by users are not fixed. For example, the CPU and memory ratio of a physical server is 1:1. Specifically, it can be 2 cores and 2 GB memory. The CPU and memory ratio of the resource requested by the user is 1:2. Specifically, it can be 1 core and 2 GB memory. remaining. These remaining resources cannot be used to create other resource carriers, and will be reserved in physical servers in the form of resource fragments. For public clouds with a large number of physical servers, the resource fragments on each physical server will lead to resource fragmentation in the public cloud. Waste, low resource utilization, and increased operating costs of the public cloud.
发明内容Contents of the invention
本申请提供了一种公有云数据中心的资源管理方法和相关设备,用于解决由于资源碎片导致公有云资源浪费的问题,降低公有云的运营成本。The present application provides a resource management method of a public cloud data center and related equipment, which are used to solve the problem of waste of public cloud resources due to resource fragmentation and reduce the operating cost of the public cloud.
第一方面,提供了一种公有云数据中心的资源管理方法,该方法应用于公有云数据中心的云管理平台,该方法可包括以下步骤:云管理平台记录资源池信息,其中,该资源池信息用于记录公有云数据中心的硬件资源池中的每个物理服务器需运行的虚拟实例需占用的资源和每个物理服务器需运行的虚拟实例的实例类型,该实例类型包括按需实例类型和预留实例类型,云管理平台在该资源池信息中将预留实例类型的虚拟实例集中调度到至少一个物理服务器,以使得预留实例类型的虚拟实例在调度前所关联的物理服务器可供按需实例类型的虚拟实例使用。In the first aspect, a method for resource management of a public cloud data center is provided, the method is applied to a cloud management platform of a public cloud data center, and the method may include the following steps: the cloud management platform records resource pool information, wherein the resource pool The information is used to record the resources occupied by the virtual instances that each physical server needs to run in the hardware resource pool of the public cloud data center and the instance type of the virtual instances that each physical server needs to run. The instance types include on-demand instance types and Reserved instance type, the cloud management platform centrally schedules the virtual instance of the reserved instance type to at least one physical server in the resource pool information, so that the physical server associated with the virtual instance of the reserved instance type Virtual instances of the required instance type are used.
具体实现中,上述按需实例类型的虚拟实例指的是用户付款后即可使用的虚拟实例,预留实例类型指的是用户付款后在预留时间内不会使用,预留时间过后才会使用的虚拟实例。比如用户在6月1日付款购买规格为X的虚拟机,并选择预留时间为3个月,那么该用户在9月1日之后才可使用该规格为X的虚拟机。应理解,公有云平台对于预留实例和按需实例的价格存在一定偏差,比如预留实例的价格低于按需实例,用户在资源需求不紧张的情况下提前购买大量预留实例,可以降低成本。In the specific implementation, the virtual instance of the above-mentioned on-demand instance type refers to the virtual instance that can be used after the user pays. The virtual instance to use. For example, if a user pays for a virtual machine with specification X on June 1 and chooses to reserve it for 3 months, then the user can use the virtual machine with specification X after September 1. It should be understood that there is a certain deviation between the prices of reserved instances and on-demand instances on the public cloud platform. For example, the price of reserved instances is lower than that of on-demand instances. cost.
具体实现中,上述虚拟实例可以是虚拟资源,比如虚拟机、容器,也可以是物理资源,比如物理服务器,还可以是其他公有云数据中心可提供的服务资源,比如进程,本申请不对此进行限定。In specific implementation, the above-mentioned virtual instance can be a virtual resource, such as a virtual machine or a container, or a physical resource, such as a physical server, or a service resource provided by other public cloud data centers, such as a process, which is not covered by this application. limited.
具体实现中,资源池信息可包括多个物理服务器的资源使用情况和实例类型,每个物理服务器的资源使用情况包括不同类别资源的使用情况,比如物理服务器1的资源使用情况可包括CPU资源使用情况、内存资源使用情况、缓存资源使用情况、内存带宽使用情况、网络带宽资源使用情况、磁盘容量资源使用情况和GPU资源使用情况等等。其中,每个类别资源的使用情况还可以用多个参数信息进行描述,比如CPU资源使用情况可包括CPU核心数、CPU型号等等,内存资源使用情况可进一步包括内存大小、内存剩余容量等等,这里不一一举例说明。In a specific implementation, the resource pool information may include resource usage and instance types of multiple physical servers, and the resource usage of each physical server includes the usage of different types of resources. For example, the resource usage of
实施第一方面描述的方法,云管理平台可记录有公有云数据中心的硬件资源池中每个物理服务器需运行的虚拟实例需占用的资源和每个物理服务器需运行的虚拟实例的实例类型,该系统可以对资源池信息中记录的预留实例进行集中调度,使得预留实例类型的虚拟实例在调度前所关联的物理服务器可供按需实例类型的虚拟实例使用,这样可以在不影响用户使用的情况下,降低公有云的资源碎片,提高公有云的资源利用率。Implementing the method described in the first aspect, the cloud management platform can record the resources occupied by the virtual instances to be run by each physical server in the hardware resource pool of the public cloud data center and the instance type of the virtual instances to be run by each physical server, The system can centrally schedule the reserved instances recorded in the resource pool information, so that the physical servers associated with the virtual instances of the reserved instance type can be used by the virtual instances of the on-demand instance type before scheduling, so that users can In the case of use, reduce the resource fragmentation of the public cloud and improve the resource utilization of the public cloud.
在第一方面的一种可能的实现方式中,云管理平台可接收第一虚拟实例创建请求,第一虚拟实例创建请求包括第一虚拟实例的实例类型,第一虚拟实例的实例类型为按需实例类型;云管理平台对资源池信息进行更新,更新后的资源池信息包括第一物理服务器创建第一虚拟实例的记录和第一虚拟实例的实例类型,云管理平台向第一物理服务器发送创建第一虚拟实例的请求。In a possible implementation of the first aspect, the cloud management platform may receive a first virtual instance creation request, the first virtual instance creation request includes the instance type of the first virtual instance, and the instance type of the first virtual instance is on-demand Instance type: the cloud management platform updates the resource pool information, and the updated resource pool information includes the record of the first virtual instance created by the first physical server and the instance type of the first virtual instance, and the cloud management platform sends the created A request for the first virtual instance.
可选地,云管理平台接收第二虚拟实例创建请求,第二虚拟实例创建请求包括第二虚拟实例的实例类型,第二虚拟实例的实例类型为预留实例类型;云管理平台对资源池信息进行更新,更新后的资源池信息包括第二物理服务器创建第二虚拟实例的记录和第二虚拟实例的实例类型。Optionally, the cloud management platform receives a second virtual instance creation request, the second virtual instance creation request includes the instance type of the second virtual instance, and the instance type of the second virtual instance is a reserved instance type; The updated resource pool information includes the record of the second virtual instance created by the second physical server and the instance type of the second virtual instance.
上述实现方式中,若虚拟实例的实例类型是预留实例,云管理平台不需要向用于创建该虚拟实例的物理服务器发送创建该虚拟实例的请求,若虚拟实例的实例类型是按需实例,云管理平台需要向用于创建该虚拟实例的物理服务器发送创建该虚拟实例的请求。应理解,由于预留实例在预留时间内不会被用户使用,因此预留实例在预留时间内可以不在物理服务器上进行虚拟实例的创建,这样可以避免资源浪费,提高公有云的资源利用率。In the above implementation, if the instance type of the virtual instance is a reserved instance, the cloud management platform does not need to send a request to create the virtual instance to the physical server used to create the virtual instance; if the instance type of the virtual instance is an on-demand instance, The cloud management platform needs to send a request for creating the virtual instance to the physical server used to create the virtual instance. It should be understood that since reserved instances will not be used by users during the reserved time, the reserved instances may not be created on the physical server during the reserved time, which can avoid resource waste and improve public cloud resource utilization Rate.
在第一方面的一种可能的实现方式中,云管理平台对资源池信息中的预留实例进行调度时,可以对一个预留实例进行调度,也可以对部分预留实例进行调度,还可以对全部预留实例进行调度,本申请不作具体限定。可根据预留实例的数量以及资源碎片的数量来确定本次参与集中调度的预留实例,以使集中调度后的资源池信息中记录的资源碎片数量变少,其中,资源碎片指的是无法用于创建虚拟实例的资源。In a possible implementation of the first aspect, when the cloud management platform schedules the reserved instances in the resource pool information, it may schedule one reserved instance, or schedule some reserved instances, or All reserved instances are scheduled, which is not specifically limited in this application. The reserved instances participating in centralized scheduling can be determined according to the number of reserved instances and the number of resource fragments, so that the number of resource fragments recorded in the resource pool information after centralized scheduling can be reduced. Resources used to create virtual instances.
上述实现方式中,云管理平台可以从资源池信息中筛选出存在资源碎片和预留实例的物理服务器,然后将该预留实例调度至其他能够创建该预留实例的物理服务器,从而减少公有云的资源碎片数量,降低公有云的运营成本。In the above implementation, the cloud management platform can filter out resource fragments and physical servers with reserved instances from the resource pool information, and then schedule the reserved instances to other physical servers that can create the reserved instances, thereby reducing public cloud The number of resource fragments can reduce the operating cost of the public cloud.
在第一方面的一种可能的实现方式中,云管理平台在资源池信息中将预留实例类型的虚拟实例集中调度到至少一个物理服务器之前,可确定资源池信息记录的剩余资源的第一数量,云管理平台向硬件资源池获取硬件资源池中多个物理服务器的剩余资源的第二数量,在第一数量和第二数量之间的比值小于或等于第一阈值的情况下,在资源池信息中将预留实例类型的虚拟实例集中调度到至少一个物理服务器。In a possible implementation of the first aspect, before the cloud management platform centrally schedules virtual instances of the reserved instance type to at least one physical server in the resource pool information, it may determine the first number of remaining resources recorded in the resource pool information. quantity, the cloud management platform acquires the second quantity of remaining resources of multiple physical servers in the hardware resource pool from the hardware resource pool, and when the ratio between the first quantity and the second quantity is less than or equal to the first threshold, the resource In the pool information, virtual instances of the reserved instance type are centrally scheduled to at least one physical server.
其中,剩余资源的数量可以是指能够创建的标准虚拟实例的数量,标准虚拟实例的规格是根据公有云的历史虚拟机创建记录确定的,标准虚拟实例的规格可包括一种或者多种虚拟实例的规格。比如根据公有云的历史虚拟机创建记录确定VM1和VM2的发放频率较高,那么可以根据资源池信息中记录的剩余资源,确定该剩余资源可发放VM1和VM2的总数量,从而获得上述第一数量,然后向硬件资源池获取硬件资源池中的多个物理服务器的剩余资源,确定该剩余资源可发放VM1和VM2的总数量,从而获得上述第二数量,若第一数量与第二数量的比值小于或等于第一阈值,云管理平台可对资源池信息中的预留实例进行集中调度。The number of remaining resources may refer to the number of standard virtual instances that can be created. The specifications of standard virtual instances are determined according to the historical virtual machine creation records of the public cloud. The specifications of standard virtual instances may include one or more types of virtual instances Specifications. For example, according to the historical virtual machine creation records of the public cloud, it is determined that the distribution frequency of VM1 and VM2 is relatively high, then the total number of VM1 and VM2 that can be distributed by the remaining resources can be determined according to the remaining resources recorded in the resource pool information, so as to obtain the above-mentioned first Quantity, and then obtain the remaining resources of multiple physical servers in the hardware resource pool from the hardware resource pool, determine the total quantity of VM1 and VM2 that can be distributed by the remaining resources, so as to obtain the above-mentioned second quantity, if the first quantity and the second quantity If the ratio is less than or equal to the first threshold, the cloud management platform can perform centralized scheduling on the reserved instances in the resource pool information.
可选地,云管理平台周期性确定资源池信息记录的剩余资源的第一数量,然后对预留实例进行集中调度,其中,周期性可以是以固定时间间隔进行预留实例的调度,也可以是每接收到M次虚拟实例创建请求之后,对预留实例进行调度,本申请不作具体限定。Optionally, the cloud management platform periodically determines the first quantity of remaining resources recorded in the resource pool information, and then performs centralized scheduling on the reserved instances, where the periodicity may be scheduled at fixed time intervals, or may be It is to schedule the reserved instance after receiving M virtual instance creation requests every time, which is not specifically limited in this application.
可选地,云管理平台在虚拟实例创建失败的情况下,确定资源池信息记录的剩余资源的第一数量,然后对预留实例进行集中调度。降低资源池信息中的资源碎片数量,并重新尝试对之前创建失败的虚拟实例创建请求进行处理,提高用户的使用体验,提高公有云的资源利用率。Optionally, when the creation of the virtual instance fails, the cloud management platform determines the first quantity of remaining resources recorded in the resource pool information, and then performs centralized scheduling on the reserved instance. Reduce the number of resource fragments in the resource pool information, and retry to process the virtual instance creation request that failed to create before, so as to improve the user experience and the resource utilization of the public cloud.
上述实现方式中,第一数量是根据资源池信息确定的,第二数量是根据硬件资源池中多个物理服务器的剩余资源确定的,资源池信息额外记录有预留实例的创建记录,因此第一数量小于第二数量,且二者的比值越小,则表示当前资源池信息中的资源碎片数量越多,因此在第一数量与第二数量的比值小于或等于第二阈值时,云管理平台对预留实例进行调度,将资源池信息中预留实例类型的虚拟实例集中调度到至少一个物理服务器,使得预留实例类型的虚拟实例在调度前关联的物理服务器可供按需实例类型的虚拟实例使用,进而避免资源浪费,提高公有云的资源利用率。In the above implementation, the first number is determined based on the resource pool information, and the second number is determined based on the remaining resources of multiple physical servers in the hardware resource pool. The resource pool information additionally records the creation record of the reserved instance. Therefore, the first A number is less than the second number, and the smaller the ratio of the two, it means that the number of resource fragments in the current resource pool information is more, so when the ratio of the first number to the second number is less than or equal to the second threshold, the cloud management The platform schedules the reserved instances, and centrally dispatches the virtual instances of the reserved instance type in the resource pool information to at least one physical server, so that the physical servers associated with the reserved instance type virtual instances before scheduling can be used by the on-demand instance type The use of virtual instances avoids waste of resources and improves the resource utilization of public clouds.
在第一方面的一种可能的实现方式中,资源池信息中记录的预留实例不仅包括实例规格,还包括预留实例的预留时间。在预留实例的预留时间即将到期时,云管理平台可向资源池信息中记录的该预留实例所在的物理服务器发送虚拟实例创建请求,并对资源池信息进行更新。In a possible implementation manner of the first aspect, the reserved instance recorded in the resource pool information not only includes the instance specification, but also includes the reserved time of the reserved instance. When the reserved time of the reserved instance is about to expire, the cloud management platform can send a virtual instance creation request to the physical server where the reserved instance is recorded in the resource pool information, and update the resource pool information.
上述实现方式,可以避免用户在预留时间结束后,无法使用预留实例,提高用户的使用体验。The above implementation can prevent the user from being unable to use the reserved instance after the reserved time expires, and improve the user experience.
第二方面,提供了一种云管理平台,应用于公有云数据中心的云管理平台,云管理平台包括:记录单元,记录单元用于记录资源池信息,资源池信息用于记录公有云数据中心的硬件资源池中的每个物理服务器需运行的虚拟实例需占用的资源和每个物理服务器需运行的虚拟实例的实例类型,实例类型包括按需实例类型和预留实例类型;调度单元,调度单元用于在资源池信息中将预留实例类型的虚拟实例集中调度到至少一个物理服务器,以使得预留实例类型的虚拟实例在调度前所关联的物理服务器可供按需实例类型的虚拟实例使用。In the second aspect, a cloud management platform is provided, which is applied to the cloud management platform of the public cloud data center. The cloud management platform includes: a recording unit, the recording unit is used to record resource pool information, and the resource pool information is used to record the public cloud data center The resource occupied by the virtual instance that each physical server needs to run in the hardware resource pool and the instance type of the virtual instance that each physical server needs to run. The instance type includes on-demand instance type and reserved instance type; scheduling unit, scheduling The unit is used to centrally schedule the virtual instance of the reserved instance type to at least one physical server in the resource pool information, so that the physical server associated with the virtual instance of the reserved instance type can be available for the virtual instance of the on-demand instance type before scheduling use.
实施第二方面描述的云管理平台,该云管理平台记录有公有云数据中心的硬件资源池中每个物理服务器需运行的虚拟实例需占用的资源和每个物理服务器需运行的虚拟实例的实例类型,该系统记录的资源池信息中包括预留实例的创建信息,但是硬件资源池的物理服务器不会创建预留实例,从而避免预留实例在预留时间内不被用户使用而产生的资源浪费;同时,该系统还可以对资源池信息中记录的预留实例进行集中调度,使得预留实例类型的虚拟实例在调度前所关联的物理服务器可供按需实例类型的虚拟实例使用,这样可以在不影响用户使用的情况下,降低公有云的资源碎片,提高公有云的资源利用率。Implement the cloud management platform described in the second aspect, the cloud management platform records the resources that each physical server needs to run on the virtual instance in the hardware resource pool of the public cloud data center and the instances that each physical server needs to run on the virtual instance Type, the resource pool information recorded by the system includes the creation information of the reserved instance, but the physical server of the hardware resource pool will not create the reserved instance, so as to avoid the resources generated by the reserved instance not being used by the user within the reserved time At the same time, the system can also centrally schedule the reserved instances recorded in the resource pool information, so that the physical server associated with the virtual instance of the reserved instance type can be used by the virtual instance of the on-demand instance type before scheduling. It can reduce the resource fragmentation of the public cloud and improve the resource utilization of the public cloud without affecting the use of users.
第二方面或第二方面任意一种实现方式是第一方面或第一方面任意一种实现方式对应的云管理平台实现,第一方面或第一方面任意一种实现方式中的描述适用于第二方面或第二方面任意一种实现方式,在此不再赘述。The second aspect or any implementation of the second aspect is the implementation of the cloud management platform corresponding to the first aspect or any implementation of the first aspect, and the descriptions in the first aspect or any implementation of the first aspect are applicable to the first aspect The second aspect or any implementation manner of the second aspect will not be repeated here.
第三方面,提供了一种计算机程序产品,当其在计算机上运行时,使得计算机执行上述各方面的方法。In a third aspect, a computer program product is provided, which, when running on a computer, causes the computer to execute the methods in the above aspects.
第四方面,提供了一种计算机可读存储介质,计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述各方面的方法。In a fourth aspect, a computer-readable storage medium is provided. Instructions are stored in the computer-readable storage medium. When the computer-readable storage medium is run on a computer, it causes the computer to execute the methods in the above aspects.
第五方面,提供了一种计算设备,该计算设备包括处理器,该处理器用于执行上述各方面描述的方法。According to a fifth aspect, a computing device is provided, and the computing device includes a processor, and the processor is configured to execute the methods described in the foregoing aspects.
第六方面,一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有指令,当其在处理器上运行时,用于实现上述各方面描述的方法。According to a sixth aspect, a computer-readable storage medium is characterized in that instructions are stored in the computer-readable storage medium, and when the instructions are run on a processor, they are used to implement the methods described in the above aspects.
本申请在上述各方面提供的实现方式的基础上,还可以进行进一步组合以提供更多实现方式。On the basis of the implementation manners provided in the foregoing aspects, the present application may further be combined to provide more implementation manners.
附图说明Description of drawings
图1是本申请提供的一种公有云系统的结构示意图;Fig. 1 is a schematic structural diagram of a public cloud system provided by the present application;
图2是本申请提供的一种云管理平台的架构示意图;Fig. 2 is a schematic diagram of the architecture of a cloud management platform provided by the present application;
图3是本申请提供的一种资源池信息的示例性表现方式;FIG. 3 is an exemplary representation of resource pool information provided by the present application;
图4是本申请提供的一种资源池信息对预留实例进行集中调度的流程图;FIG. 4 is a flow chart of centralized scheduling of reserved instances by resource pool information provided by the present application;
图5是本申请提供的一种公有云数据中心的资源管理的方法的步骤流程示意图;FIG. 5 is a schematic flow chart of a method for resource management of a public cloud data center provided by the present application;
图6是本申请提供的一种计算设备的结构示意图。FIG. 6 is a schematic structural diagram of a computing device provided by the present application.
具体实施方式Detailed ways
为了便于理解本发明的技术方案,首先,对本发明涉及的“公有云”的应用场景进行解释说明。In order to facilitate the understanding of the technical solution of the present invention, firstly, the application scenario of the "public cloud" involved in the present invention is explained.
公有云是指第三方提供商通过公共网络向用户提供的计算服务。在公有云架构下,用户可根据自身的业务应用需求,支付一定的费用后从公有云租赁资源,比如租赁一台虚拟机,支付成功后,用户可以在任何时间、地点、使用不同的终端设备与公有云连接,进行数据存取、运算等目的。Public cloud refers to the computing services provided by third-party providers to users through public networks. Under the public cloud architecture, users can rent resources from the public cloud after paying a certain fee according to their own business application needs, such as renting a virtual machine. After successful payment, users can use different terminal devices at any time and place. Connect with the public cloud for data access, computing and other purposes.
示例性地,图1是本申请提供的一种公有云系统的结构示意图,该系统可包括终端设备110以及公有云的数据中心130,并且,终端设备110以及公有云的数据中心130通过网络120连接。其中,网络120可以是公共网络,比如因特网(internet)。Exemplarily, FIG. 1 is a schematic structural diagram of a public cloud system provided by the present application. The system may include a
终端设备110可以是个人电脑、平板电脑、移动笔记本、智能手机、掌上处理设备、虚拟现实设备、可穿戴设备、一体化掌机等等具有流媒体播放能力的电子设备,图2以终端设备110为个人电脑为例进行说明,但是本申请不对此进行具体限定。The
公有云的数据中心130可为用户提供共享资源服务,共享资源服务可包括OBS服务、SFS服务、云手机(cloud phone)服务、内容分发网络服务(content delivery network,CDN)、云备份服务(cloud backup and recovery,CBR)、数据管理服务(data adminservice,DAS)等等,本申请不对公有云的数据中心130可提供的共享资源服务类型进行限定。The data center 130 of the public cloud can provide users with shared resource services, and the shared resource services can include OBS services, SFS services, cloud phone (cloud phone) services, content delivery network services (content delivery network, CDN), cloud backup services (cloud backup and recovery, CBR), data management service (data admin service, DAS), etc., this application does not limit the types of shared resource services that the data center 130 of the public cloud can provide.
示例性地,公有云的数据中心130可包括云管理平台131以及硬件资源池132,应理解,图2所示的划分方式用于举例说明,公有云的数据中心130还可以使用其他方式进行划分,本申请不对公有云的数据中心130的划分方式进行限定。Exemplarily, the data center 130 of the public cloud may include a
其中,云管理平台131可以是通用的物理服务器实现的,例如,ARM服务器或者X86服务器,也可以是结合网络功能虚拟化(network functions virtualization,NFV)技术实现的虚拟机(virtual machine,VM),云管理平台131也可以是硬件资源池132中的虚拟机或者物理服务器,本申请不作具体限定。Wherein, the
硬件资源池132可以包括至少一个物理服务器(图2以资源池包括物理服务器1、物理服务器2、物理服务器3和物理服务器4为例进行了举例说明),其中,物理服务器可以是通用的物理服务器,例如ARM服务器或者X86服务器,本申请不作具体限定。硬件资源池132中的物理服务器可以通过内部网络与其他物理服务器或云管理平台131之间进行通信。其中,每一个物理服务器至少包括硬件资源(比如物理服务器1包括硬件资源1,物理服务器2包括硬件资源2)和操作系统(比如操作系统1和操作系统2),一些物理服务器还可包括多个虚拟实例,该虚拟实例可以是容器(比如物理服务器1包括容器11和容器12),也可以是虚拟机(比如虚拟机21和虚拟机22),物理服务器中的多个虚拟实例可以共享该物理服务器中的操作系统和硬件资源。The
其中,硬件资源(比如硬件资源1和硬件资源2)可以包括物理服务器的各种可用硬件资源,比如处理器1、存储器1、PCI设备1等等,还可以包括用户可能需要的其他硬件资源,本申请不作具体限定。操作系统(比如操作系统1和操作系统2)可以是容器、虚拟机或物理服务器适用的操作系统,比如安卓(Android)操作系统、windows操作系统、linux操作系统等等,本申请不作具体限定。需要说明的是,操作系统可以是官方完整的操作系统,也可以是为了适应服务器的运行方式对官方完整的操作系统的个别驱动模块进行修改后的操作系统,本申请不做具体限定。并且,图2所示的物理服务器数量、虚拟机数量、容器数量、硬件资源种类和数量仅用于举例说明,本申请不作具体限定。Wherein, the hardware resources (such as
用户可通过终端设备110向云管理平台131发送虚拟实例创建请求,该虚拟实例创建请求携带有用户请求创建的虚拟实例的规格信息,云管理平台131可根据硬件资源池132的资源空闲情况和上述规格信息,确定用于创建该虚拟实例的物理服务器,然后向该物理服务器发送上述规格信息以请求创建对应的虚拟实例。The user can send a virtual instance creation request to the
其中,上述虚拟实例可以是虚拟资源,比如虚拟机、容器,也可以是物理资源,比如物理服务器,还可以是其他公有云数据中心可提供的服务资源,比如进程,本申请不对此进行限定。Wherein, the above-mentioned virtual instance may be a virtual resource, such as a virtual machine or a container, or a physical resource, such as a physical server, or a service resource provided by other public cloud data centers, such as a process, which is not limited in this application.
上述虚拟实例的规格信息可包括多个资源类别下的规格信息,比如第一虚拟实例的规格信息可包括CPU资源规格信息、内存资源规格信息、缓存资源规格信息、内存带宽资源规格信息、网络带宽资源规格信息、磁盘容量资源规格信息和GPU资源规格信息等等。其中,每个资源类别下的规格信息还可以包括多个参数信息,比如CPU资源规格可包括CPU核心数、CPU型号等等,内存资源规格可进一步包括内存大小、内存剩余容量等等,这里不一一举例说明。并且,规格信息还可包括约束条件,比如用户请求创建的第一虚拟实例,其CPU资源和内存资源在同一个物理服务器上,CPU资源和GPU资源在同一个非同一内存访问(nonuniform memory access,NUMA)架构上,本申请不作具体限定。The specification information of the above-mentioned virtual instance may include specification information under multiple resource categories. For example, the specification information of the first virtual instance may include CPU resource specification information, memory resource specification information, cache resource specification information, memory bandwidth resource specification information, network bandwidth resource specification information, and network bandwidth resource specification information. Resource specification information, disk capacity resource specification information, GPU resource specification information, etc. Among them, the specification information under each resource category can also include multiple parameter information. For example, the CPU resource specification can include CPU core number, CPU model, etc., and the memory resource specification can further include memory size, memory remaining capacity, etc., which are not mentioned here. One by one examples. Moreover, the specification information may also include constraints, such as the first virtual instance requested by the user, whose CPU resources and memory resources are on the same physical server, and where the CPU resources and GPU resources are in the same nonuniform memory access (nonuniform memory access, NUMA) architecture, this application does not make specific limitations.
需要说明的,云管理平台131根据用户发送的虚拟实例创建请求确定用于创建该虚拟实例的物理服务器,并向该物理服务器发送上述规格信息,物理服务器可以根据规格信息创建对应规格的实例,该虚拟实例具体可以是容器、虚拟机、物理服务器或者进程,然后将该虚拟实例的连接方式比如连接密码,发送至用户的终端设备110,用户可根据该连接密码在任何时间、地点、使用终端设备110与该虚拟实例连接,在虚拟实例上运行工作负载,实现数据存取、运算等目的。应理解,上述举例用于说明,本申请不作具体限定。It should be noted that the
但是,由于每个物理服务器上的资源数量是相对固定的,而用户请求获取的虚拟实例的规格信息不是固定的,这样在进行资源扣减时,部分物理服务器上的部分资源被扣减完毕后,剩余一部分资源无法用于创建其他资源载体,将会以资源碎片的形式保留在物理服务器中。However, since the number of resources on each physical server is relatively fixed, and the specification information of the virtual instance requested by the user is not fixed, when resource deduction is performed, some resources on some physical servers are deducted. , the remaining part of resources cannot be used to create other resource carriers, and will be reserved in the physical server in the form of resource fragments.
举例来说,若物理服务器1的CPU和内存配比为1:1,而用户请求创建的虚拟实例的内存配比是1:2,那么对物理服务器1进行资源扣减时,物理服务器1的内存资源全部被发放完毕后,CPU资源仍有剩余;同理,如果用户请求创建的虚拟实例的内存配比为2:1,那么对物理服务器1进行扣减时,物理服务器1的CPU资源全部被发放完毕后,内存资源仍有剩余,这些资源由于是单独存在的,因此无法被继续发放。上述举例用于说明,本申请不作具体限定。For example, if the CPU and memory ratio of
综上可知,公有云中的物理服务器通常由于存在资源碎片,对于拥有大量物理服务器的公有云来说,这些资源碎片会导致公有云的资源浪费,增加公有云的运营成本。To sum up, the physical servers in the public cloud usually have resource fragments. For a public cloud with a large number of physical servers, these resource fragments will lead to waste of public cloud resources and increase the operating cost of the public cloud.
为了解决公有云中物理服务器存在资源碎片,导致公有云资源浪费、运营成本高的问题,本申请提供了一种资源管理系统,该系统中的云管理平台记录有公有云数据中心的硬件资源池中每个物理服务器需运行的虚拟实例需占用的资源和每个物理服务器需运行的虚拟实例的实例类型,该实例类型包括按需实例类型和预留实例类型,其中,按需实例类型是用户购买后立刻使用的实例,预留实例类型是用户在预留时间内不会使用,预留时间过后才会使用的实例。该系统记录的资源池信息中包括预留实例的创建信息,但是硬件资源池中的物理服务器并不会创建预留实例,从而避免预留实例在物理服务器上创建后,用户在预留时间内并不会使用该资源而造成的资源浪费,并且,该系统可在资源池信息中将预留实例类型的虚拟实例集中调度到至少一个物理服务器,以使预留实例类型的虚拟实例在调度前所关联的物理服务器可供按需实例类型的虚拟实例使用,使得该资源管理系统可以在不影响用户使用的情况下,降低公有云的资源碎片,避免公有云的资源浪费,提高公有云的资源利用率,降低公有云的运营成本。In order to solve the problem of resource fragmentation in physical servers in the public cloud, which leads to waste of public cloud resources and high operating costs, this application provides a resource management system. The cloud management platform in the system records the hardware resource pool of the public cloud data center The resource occupied by the virtual instance that each physical server needs to run and the instance type of the virtual instance that each physical server needs to run, the instance type includes on-demand instance type and reserved instance type, where the on-demand instance type is the user Instances that are used immediately after purchase. The reserved instance type is an instance that the user will not use within the reserved time and will be used after the reserved time expires. The resource pool information recorded by the system includes the creation information of reserved instances, but the physical servers in the hardware resource pool do not create reserved instances, so as to prevent users from creating reserved instances within the reserved time after the reserved instances are created on the physical servers. There will be no waste of resources caused by using this resource, and the system can centrally schedule the virtual instances of the reserved instance type to at least one physical server in the resource pool information, so that the virtual instances of the reserved instance type The associated physical servers can be used by virtual instances of the on-demand instance type, so that the resource management system can reduce the resource fragmentation of the public cloud, avoid the waste of public cloud resources, and improve the resources of the public cloud without affecting the use of users. Utilization, reduce the operating cost of the public cloud.
图2是本申请提供的一种云管理平台的架构示意图,如图2所示,该架构可包括终端设备110、云管理平台131和硬件资源池132,其中,终端设备110、云管理平台131和硬件资源池132的描述和连接方式可以参考图1实施例,这里不重复赘述。FIG. 2 is a schematic diagram of the architecture of a cloud management platform provided by the present application. As shown in FIG. For the description and connection manner with the
其中,云管理平台131可以进一步划分为多个单元模块,比如图2所示的调度单元1311、接收单元1312、记录单元1313和发送单元1314,应理解,图2为一种示例性的划分方式,且各个模块可以是软件模块,也可以是硬件模块,也可以是部分软件部分硬件模块,本申请不作具体限定。Among them, the
接收单元1312用于接收用户发送的虚拟实例创建请求,该虚拟实例创建请求包括虚拟实例的规格信息和实例类型,该实例类型包括按需实例类型和预留实例类型。其中,按需实例类型指的是用户付款后即可使用的虚拟实例,预留实例类型指的是用在预留时间过后才会使用的虚拟实例,比如用户在6月1日付款购买规格为X的虚拟机,并选择预留时间为3个月,那么该用户在9月1日之后才可使用该规格为X的虚拟机。应理解,公有云平台对于预留实例和按需实例的价格存在一定偏差,比如预留实例的价格低于按需实例,用户在资源需求不紧张的情况下提前购买大量预留实例,可以降低成本。其中,虚拟实例的规格信息的详细描述可参考图1实施例,这里不重复赘述。The receiving
记录单元1313用于记录资源池信息,该资源池信息包括公有云数据中心的硬件资源池132中的每个物理服务器需运行的虚拟实例需占用的资源和每个物理服务器需运行的虚拟实例的实例类型。The
具体实现中,资源池信息可包括多个物理服务器的资源使用情况和实例类型,每个物理服务器的资源使用情况包括不同类别资源的使用情况,比如物理服务器1的资源使用情况可包括CPU资源使用情况、内存资源使用情况、缓存资源使用情况、内存带宽使用情况、网络带宽资源使用情况、磁盘容量资源使用情况和GPU资源使用情况等等。其中,每个类别资源的使用情况还可以用多个参数信息进行描述,比如CPU资源使用情况可包括CPU核心数、CPU型号等等,内存资源使用情况可进一步包括内存大小、内存剩余容量等等,这里不一一举例说明。In a specific implementation, the resource pool information may include resource usage and instance types of multiple physical servers, and the resource usage of each physical server includes the usage of different types of resources. For example, the resource usage of
举例来说,图3是本申请提供的一种资源池信息的示例性表现方式,假设记录单元1313记录了4台物理服务器的CPU资源使用情况以及内存资源使用情况,根据图3所示的资源池信息可知,物理服务器1~物理服务器4中的部分CPU资源和内存资源用于创建了预留实例,物理服务器2和物理服务器3的一部分CPU资源和内存资源不仅用于创建预留实例,另一部分CPU资源和内存资源还用于创建按需实例。For example, FIG. 3 is an exemplary representation of resource pool information provided by this application. Assume that the
应理解,图3仅仅作为一个示例,以体现资源池信息所包含的内容,在实际应用中,资源池信息还可以以其他表现形式进行存储。在资源池信息的其他表现方式中,每个资源种类的使用情况还可以标记有具体的数值,比如CPU资源使用率50%,内存资源占用率80%等等;每个物理服务器的资源使用情况还可标注有其他信息,其他信息具体可以是扣减时间、所属的用户和对应的规格信息等等;资源池信息中每个物理服务器还可包括更多资源类别,比如前述内容中的缓存资源、网络带宽资源、磁盘容量资源和GPU资源等等;资源池信息也可使用其他方式标记实例类别(图3以不同阴影标记不同实例类别);资源池信息的表现方式也不限定于图3所示的图形界面,还可通过表格、字符、文件等记录资源池信息,本申请不作具体限定。It should be understood that FIG. 3 is only used as an example to reflect content contained in the resource pool information, and in practical applications, the resource pool information may also be stored in other forms. In other representations of resource pool information, the usage of each resource type can also be marked with specific values, such as 50% CPU resource usage, 80% memory resource usage, etc.; the resource usage of each physical server It can also be marked with other information, and other information can specifically be the deduction time, the user to which it belongs, and the corresponding specification information, etc.; each physical server in the resource pool information can also include more resource categories, such as the cache resources in the foregoing content , network bandwidth resources, disk capacity resources, GPU resources, etc.; resource pool information can also be marked with instance categories in other ways (Figure 3 marks different instance categories with different shades); the presentation of resource pool information is not limited to that shown in Figure 3 The graphical interface shown can also record resource pool information through tables, characters, files, etc., which is not specifically limited in this application.
在本申请实施例中,记录单元1313可以根据上述虚拟实例创建请求中的规格信息,确定用于创建该虚拟实例的物理服务器,对上述资源池信息进行更新,更新后的资源池信息包括物理服务器创建该虚拟实例的记录,以及该虚拟实例的实例类型。In this embodiment of the application, the
具体地,记录单元1313可以先根据上述规格信息,确定能够扣减该虚拟实例的至少一个物理服务器,可以从上述至少一个物理服务器中任选一个物理服务器作为用于创建该虚拟实例的物理服务器,也可以将剩余资源数量最多的物理服务器作为用于创建该虚拟实例的物理服务器,或者其他方式从中选择用于创建该虚拟实例的物理服务器,本申请不作具体限定。Specifically, the
发送单元1314用于在虚拟实例的实例类别是按需实例类型时,记录单元1313确定用于创建该虚拟实例的物理服务器并对资源池信息进行更新后,发送单元1314向该物理服务器发送上述虚拟实例的规格信息以请求创建虚拟实例。The sending
具体实现中,接收单元1312可接收第一虚拟实例创建请求,该第一虚拟实例创建请求包括第一虚拟实例的实例规格和实例类型,若该第一虚拟实例的实例类型为按需实例类型,记录单元1313可根据该第一虚拟实例的实例规格对资源池信息进行更新,更新后的资源池信息包括第一物理服务器创建第一虚拟实例的记录和第一虚拟实例的实例类型(按需实例),发送单元1314可向第一物理服务器发送创建该第一虚拟实例的请求,第一物理服务器可响应于该请求在本机创建该第一虚拟实例。In a specific implementation, the receiving
在本申请实施例中,接收单元1312可接收第二虚拟实例创建请求,该第二虚拟实例创建请求包括第二虚拟实例的实例规格和实例类型,若该第二虚拟实例的实例类型为预留实例类型,记录单元1313可根据第二虚拟实例的实例规格对资源池信息进行更新,更新后的资源池信息包括第二物理服务器创建第二虚拟实例的记录和第二虚拟实例的实例类型(预留实例)。简单来说,若虚拟实例的实例类型是预留实例,发送单元1314不需要向用于创建该虚拟实例的物理服务器发送创建该虚拟实例的请求,若虚拟实例的实例类型是按需实例,发送单元1314需要向用于创建该虚拟实例的物理服务器发送创建该虚拟实例的请求。应理解,由于预留实例在预留时间内不会被用户使用,因此预留实例在预留时间内可以不在物理服务器上进行虚拟实例的创建,这样可以避免资源浪费,提高硬件资源池132的资源利用率。In this embodiment of the application, the receiving
调度单元1311可以在资源池信息中将预留实例类型的虚拟实例集中调度到至少一个物理服务器,以使得预留实例类型在调度前所关联的物理服务器可供按需实例类型的虚拟实例使用。The
具体地,可以对一个预留实例进行调度,也可以对部分预留实例进行调度,还可以对全部预留实例进行调度,本申请不作具体限定。可根据预留实例的数量以及资源碎片的数量来确定本次参与集中调度的预留实例,以使集中调度后的资源池信息中记录的资源碎片数量变少,其中,资源碎片指的是无法用于创建虚拟实例的资源,具体描述可参考图1实施例,这里不再重复赘述。Specifically, one reserved instance may be scheduled, some reserved instances may be scheduled, and all reserved instances may be scheduled, which is not specifically limited in this application. The reserved instances participating in centralized scheduling can be determined according to the number of reserved instances and the number of resource fragments, so that the number of resource fragments recorded in the resource pool information after centralized scheduling can be reduced. For the resources used to create a virtual instance, for a specific description, refer to the embodiment in FIG. 1 , which will not be repeated here.
具体地,调度单元1311可以从资源池信息中筛选出存在资源碎片和预留实例的物理服务器,然后将该预留实例调度至其他能够创建该预留实例的物理服务器,从而减少公有云的资源碎片数量,降低公有云的运营成本。Specifically, the
举例来说,图4是本申请提供的一种资源池信息对预留实例进行集中调度的流程图,如图4所示,假设物理服务器X1存在按需实例和预留实例,剩余的资源是无法用于创建虚拟实例的资源碎片,调度单元1311可根据资源池信息,确定可以创建该预留实例的物理服务器Y1,然后将预留实例调度至物理服务器Y1,资源调度后,物理服务器X1’的剩余资源可用于创建虚拟实例,物理服务器X1’不再有资源碎片,从而提高公有云的资源碎片数量,降低公有云的运营成本。同时,由于调度单元1311未对用户正在使用的按需实例进行调度,可以避免资源调度过程中对用户产生影响,提高用户的使用体验,且资源调度是对资源池信息进行更新,而不是对物理服务器进行虚拟实例迁移,可以减少网络和内存带宽的开销,进一步降低公有云的运营成本。For example, Figure 4 is a flow chart of resource pool information provided by this application for centralized scheduling of reserved instances. As shown in Figure 4, assuming that physical server X1 has on-demand instances and reserved instances, the remaining resources are For resource fragments that cannot be used to create virtual instances, the
在一实施例中,调度单元1311在对预留实例进行资源调度前,可以先确定资源池信息记录的剩余资源的第一数量,然后向硬件资源池132获取硬件资源池中多个物理服务器的剩余资源的第二数量,在第一数量与第二数量之间的比值小于或等于第一阈值的情况下,调度单元1311执行上述资源调度的步骤,对资源池信息中的预留实例进行资源调度,集中调度后的资源池信息中记录的资源碎片数量变少。In one embodiment, before the
其中,剩余资源的数量可以是指能够创建的标准虚拟实例的数量,标准虚拟实例的规格是根据公有云的历史虚拟机创建记录确定的,标准虚拟实例的规格可包括一种或者多种虚拟实例的规格。比如根据公有云的历史虚拟机创建记录确定VM1和VM2的发放频率较高,那么可以根据资源池信息中记录的剩余资源,确定该剩余资源可发放VM1和VM2的总数量,从而获得上述第一数量,然后向硬件资源池132获取硬件资源池132中的多个物理服务器的剩余资源,确定该剩余资源可发放VM1和VM2的总数量,从而获得上述第二数量,若第一数量与第二数量的比值小于或等于第一阈值,调度单元1311可对资源池信息中的预留实例进行集中调度。The number of remaining resources may refer to the number of standard virtual instances that can be created. The specifications of standard virtual instances are determined according to the historical virtual machine creation records of the public cloud. The specifications of standard virtual instances may include one or more types of virtual instances Specifications. For example, according to the historical virtual machine creation records of the public cloud, it is determined that the distribution frequency of VM1 and VM2 is relatively high, then the total number of VM1 and VM2 that can be distributed by the remaining resources can be determined according to the remaining resources recorded in the resource pool information, so as to obtain the above-mentioned first Quantity, and then obtain the remaining resources of multiple physical servers in the
应理解,上述第一数量是根据资源池信息确定的,第二数量是根据硬件资源池132中多个物理服务器的剩余资源确定的,资源池信息额外记录有预留实例的创建记录,因此第一数量小于第二数量,且二者的比值越小,则表示当前资源池信息中的资源碎片数量越多,因此在第一数量与第二数量的比值小于或等于第二阈值时,调度单元1311对预留实例进行调度,将资源池信息中预留实例类型的虚拟实例集中调度到至少一个物理服务器,使得预留实例类型的虚拟实例在调度前关联的物理服务器可供按需实例类型的虚拟实例使用,进而避免资源浪费,提高公有云的资源利用率。It should be understood that the above-mentioned first quantity is determined according to the resource pool information, and the second quantity is determined according to the remaining resources of multiple physical servers in the
可选地,调度单元1311还可以周期性的对预留实例进行调度,其中,周期性可以是以固定时间间隔进行预留实例的调度,也可以是每接收到M次虚拟实例创建请求之后,对预留实例进行调度,本申请不作具体限定。Optionally, the
可选地,调度单元1311还可以周期性的确定第一数量和第二数量,在第一数量与第二数量的比值小于或等于第二阈值时,对资源池信息中的预留实例进行调度。其中,周期性的描述可参考前述内容,这里不重复赘述。Optionally, the
可选地,调度单元1311还可以在虚拟实例创建失败的情况下,通过上述步骤确定第一数量和第二数量,然后进行预留实例的调度,降低资源池信息中的资源碎片数量,并重新尝试对之前创建失败的虚拟实例创建请求进行处理,提高用户的使用体验,提高公有云的资源利用率。Optionally, the
在一实施例中,资源池信息中记录的预留实例不仅包括实例规格,还包括预留实例的预留时间。在预留实例的预留时间即将到期时,发送单元1314可向资源池信息中记录的该预留实例所在的物理服务器发送虚拟实例创建请求,并对资源池信息进行更新,将该虚拟实例的实例类别由预留实例转为按需实例,避免用户在预留时间结束后,无法使用预留实例,提高用户的使用体验。In an embodiment, the reserved instance recorded in the resource pool information not only includes the instance specification, but also includes the reserved time of the reserved instance. When the reserved time of the reserved instance is about to expire, the sending
综上可知,本申请提供的云管理平台记录有公有云数据中心的硬件资源池中每个物理服务器需运行的虚拟实例需占用的资源和每个物理服务器需运行的虚拟实例的实例类型,该系统记录的资源池信息中包括预留实例的创建信息,但是硬件资源池的物理服务器不会创建预留实例,从而避免预留实例在预留时间内不被用户使用而产生的资源浪费;同时,该系统还可以对资源池信息中记录的预留实例进行集中调度,使得预留实例类型的虚拟实例在调度前所关联的物理服务器可供按需实例类型的虚拟实例使用,这样可以在不影响用户使用的情况下,降低公有云的资源碎片,提高公有云的资源利用率。To sum up, the cloud management platform provided by this application records the resources occupied by the virtual instances that each physical server needs to run in the hardware resource pool of the public cloud data center and the instance type of the virtual instances that each physical server needs to run. The resource pool information recorded by the system includes the creation information of the reserved instance, but the physical server of the hardware resource pool will not create the reserved instance, so as to avoid the resource waste caused by the reserved instance not being used by the user within the reserved time; at the same time , the system can also centrally schedule the reserved instances recorded in the resource pool information, so that the physical servers associated with the virtual instances of the reserved instance type can be used by the virtual instances of the on-demand instance type before scheduling. In the case of affecting user use, reduce the resource fragmentation of the public cloud and improve the resource utilization of the public cloud.
图5是本申请提供的一种资源管理方法的步骤流程示意图,该方法可应用于如图2所示的资源管理系统中,如图5所示,该方法可包括以下步骤:Fig. 5 is a schematic flow chart of the steps of a resource management method provided by the present application. The method can be applied to the resource management system shown in Fig. 2. As shown in Fig. 5, the method may include the following steps:
S510:云管理平台记录资源池信息。其中,该资源池信息用于记录公有云数据中心的硬件资源池中的每个物理服务器需运行的虚拟实例需占用的资源和每个物理服务器需运行的虚拟实例的实例类型,该实例类型包括按需实例类型和预留实例类型。S510: The cloud management platform records resource pool information. Wherein, the resource pool information is used to record the resource occupied by the virtual instance that each physical server needs to run in the hardware resource pool of the public cloud data center and the instance type of the virtual instance that each physical server needs to run, and the instance type includes On-Demand and Reserved Instance types.
具体实现中,资源池信息可包括多个物理服务器的资源使用情况和实例类型,每个物理服务器的资源使用情况包括不同类别资源的使用情况,比如物理服务器1的资源使用情况可包括CPU资源使用情况、内存资源使用情况、缓存资源使用情况、内存带宽使用情况、网络带宽资源使用情况、磁盘容量资源使用情况和GPU资源使用情况等等。其中,每个类别资源的使用情况还可以用多个参数信息进行描述,比如CPU资源使用情况可包括CPU核心数、CPU型号等等,内存资源使用情况可进一步包括内存大小、内存剩余容量等等,这里不一一举例说明。资源池信息的描述可以参考前述图2~图3实施例,这里不重复赘述。In a specific implementation, the resource pool information may include resource usage and instance types of multiple physical servers, and the resource usage of each physical server includes the usage of different types of resources. For example, the resource usage of
在本申请实施例中,云管理平台可接收用户发送的虚拟实例创建请求,该虚拟实例创建请求包括虚拟实例的规格信息和虚拟实例的实例类型,该实例类型包括按需实例类型和预留实例类型。云管理平台可以根据虚拟实例创建请求中的规格信息和资源池信息确定用于创建该虚拟实例的物理服务器,然后对上述资源池信息进行更新,更新后的资源池信息包括物理服务器创建该虚拟实例的记录和该虚拟实例的实例类型。In the embodiment of this application, the cloud management platform can receive the virtual instance creation request sent by the user, the virtual instance creation request includes the specification information of the virtual instance and the instance type of the virtual instance, and the instance type includes on-demand instance type and reserved instance type. The cloud management platform can determine the physical server used to create the virtual instance according to the specification information and resource pool information in the virtual instance creation request, and then update the above resource pool information. The updated resource pool information includes the physical server to create the virtual instance and the instance type of the virtual instance.
其中,规格信息可包括不同资源类别的规格信息,比如CPU核心数、CPU型号、内存大小、缓存大小等等,具体可参考图1~图4实施例中关于规格信息的描述,这里不重复赘述。按需实例指的是用户付款后即可使用的实例,预留实例指的是用户付款后在预留时间内不会使用,预留时间过后才会使用的实例,比如用户在6月1日付款购买规格为X的虚拟机,并选择预留3个月,那么该用户在9月1日之后才可使用该规格为X的虚拟机。虚拟实例可以是虚拟机、物理机、容器、线程等等,应理解,虚拟实例、按需实例和预留实例的描述可以参考图2~图4实施例,这里不重复赘述。Among them, the specification information may include specification information of different resource categories, such as the number of CPU cores, CPU model, memory size, cache size, etc. For details, please refer to the description of the specification information in the embodiments shown in Figures 1 to 4, which will not be repeated here. . On-demand instances refer to instances that can be used after payment by the user. Reserved instances refer to instances that will not be used within the reserved time after payment by the user, but will be used after the reserved time expires. If you pay for a virtual machine with specification X and choose to reserve it for 3 months, then the user can use the virtual machine with specification X after September 1. A virtual instance can be a virtual machine, a physical machine, a container, a thread, etc. It should be understood that the description of a virtual instance, an on-demand instance, and a reserved instance can refer to the embodiments in FIG. 2 to FIG. 4 , and details are not repeated here.
可选地,若接收到第一虚拟实例创建请求,其中,该第一虚拟实例创建请求中的实例类型为按需实例类型,根据该第一虚拟实例创建请求对资源池信息进行更新后,更新后的资源池信息包括第一物理服务器创建第一虚拟实例的记录和第一虚拟实例的实例类型(按需实例),云管理平台向用于创建该第一虚拟实例的第一物理机发送创建所述第一虚拟实例的请求,第一物理机可响应于该请求进行虚拟实例的创建。Optionally, if a first virtual instance creation request is received, wherein the instance type in the first virtual instance creation request is an on-demand instance type, after updating the resource pool information according to the first virtual instance creation request, update After the resource pool information includes the record of the first virtual instance created by the first physical server and the instance type (on-demand instance) of the first virtual instance, the cloud management platform sends the creation For the request of the first virtual instance, the first physical machine may create a virtual instance in response to the request.
可选地,若接收到第二虚拟实例创建请求,其中,该第二虚拟实例创建请求中的实例类型为预留实例类型,根据该第二虚拟实例创建请求对资源池信息进行更新后,更新后的资源池信息包括第二物理服务器创建第二虚拟实例的记录和第二虚拟实例的实例类型(预留实例)。但是第二物理服务器不会创建该第二虚拟实例。应理解,由于预留实例在预留时间内不会被用户使用,因此预留实例在预留时间内可以不在物理服务器上进行虚拟实例的创建,从而避免资源浪费,提高硬件资源池132的资源利用率。Optionally, if a second virtual instance creation request is received, wherein the instance type in the second virtual instance creation request is a reserved instance type, after updating the resource pool information according to the second virtual instance creation request, update The subsequent resource pool information includes the record of the second virtual instance created by the second physical server and the instance type (reserved instance) of the second virtual instance. But the second physical server will not create the second virtual instance. It should be understood that since the reserved instance will not be used by the user within the reserved time, the reserved instance may not be created on the physical server during the reserved time, thereby avoiding resource waste and increasing the resources of the
进一步地,资源池信息中记录的预留实例不仅包括实例规格,还包括预留实例的预留时间。在预留实例的预留时间即将到期时,云管理平台可向资源池信息中记录的该预留实例所在的物理服务器发送虚拟实例创建请求,并对资源池信息进行更新,将该虚拟实例的实例类别由预留实例转为按需实例,避免用户在预留时间结束后,无法使用预留实例,提高用户的使用体验。Further, the reserved instance recorded in the resource pool information includes not only the instance specification, but also the reserved time of the reserved instance. When the reserved time of the reserved instance is about to expire, the cloud management platform can send a virtual instance creation request to the physical server where the reserved instance is recorded in the resource pool information, and update the resource pool information to create the virtual instance The instance type is changed from reserved instance to on-demand instance, which prevents users from being unable to use reserved instances after the reserved time expires and improves user experience.
S520:云管理平台在资源池信息中将预留实例类型的虚拟实例集中调度到至少一个物理服务器,以使得预留实例类型的虚拟实例在调度前所关联的物理服务器可供按需实例类型的虚拟实例使用。S520: The cloud management platform centrally schedules the virtual instance of the reserved instance type to at least one physical server in the resource pool information, so that the physical server associated with the virtual instance of the reserved instance type before scheduling is available for the on-demand instance type Virtual instance usage.
具体实现中,云管理平台对预留实例类型的虚拟实例进行集中调度时,可以对一个预留实例进行调度,也可以对部分预留实例进行调度,还可以对全部预留实例进行调度,本申请不作具体限定。具体可根据预留实例的数量以及资源碎片的数量来确定本次参与集中调度的预留实例,应理解,集中调度后,资源池信息中记录的资源碎片量降低。这里,资源碎片指的是无法用于创建虚拟实例的资源,资源碎片的描述可参考图1至图4实施例,这里不重复赘述。In specific implementation, when the cloud management platform centrally schedules virtual instances of the reserved instance type, it can schedule one reserved instance, some reserved instances, or all reserved instances. Applications are not specifically limited. Specifically, the reserved instances participating in the centralized scheduling can be determined according to the number of reserved instances and the number of resource fragments. It should be understood that after centralized scheduling, the amount of resource fragments recorded in the resource pool information is reduced. Here, resource fragments refer to resources that cannot be used to create a virtual instance. The description of resource fragments can refer to the embodiments in FIG. 1 to FIG. 4 , and details will not be repeated here.
具体实现中,云管理平台可以从资源池信息中筛选出存在资源碎片和预留实例的物理服务器,然后将该预留实例调度至其他能够创建该预留实例的物理服务器,从而减少公有云的资源碎片数量,降低公有云的运营成本。具体可参考图4实施例描述的例子,这里不重复赘述。In the specific implementation, the cloud management platform can filter out the physical servers with resource fragments and reserved instances from the resource pool information, and then schedule the reserved instances to other physical servers that can create the reserved instances, thereby reducing public cloud traffic The number of resource fragments reduces the operating cost of the public cloud. For details, reference may be made to the example described in the embodiment in FIG. 4 , and details are not repeated here.
在一实施例中,云管理平台在对预留实例进行资源调度之前,可以先确定资源池信息记录的剩余资源的第一数量,然后向硬件资源池获取硬件资源池中多个物理服务器的剩余资源的第二数量,在第一数量与第二数量之间的比值小于或等于第一阈值的情况下,再对预留实例进行资源调度,资源调度后的资源池信息中的资源碎片量得以降低。In an embodiment, before the cloud management platform performs resource scheduling on the reserved instance, it may first determine the first amount of remaining resources recorded in the resource pool information, and then obtain the remaining resources of multiple physical servers in the hardware resource pool from the hardware resource pool. The second quantity of resources. When the ratio between the first quantity and the second quantity is less than or equal to the first threshold, resource scheduling is performed on the reserved instance, and the amount of resource fragments in the resource pool information after resource scheduling is obtained. reduce.
其中,剩余资源的数量可以是指能够创建的标准虚拟实例的数量,标准虚拟实例的规格是根据公有云的历史虚拟机创建记录确定的,标准虚拟实例的规格可包括一种或者多种虚拟实例的规格。比如根据公有云的历史虚拟机创建记录确定VM1和VM2的发放频率较高,那么可以根据资源池信息中记录的剩余资源,确定该剩余资源可发放VM1和VM2的总数量,从而获得上述第一数量,然后向硬件资源池获取硬件资源池中的多个物理服务器的剩余资源,确定该剩余资源可发放VM1和VM2的总数量,从而获得上述第二数量,若第一数量与第二数量的比值小于或等于第一阈值,云管理平台可对资源池信息中的预留实例进行集中调度。The number of remaining resources may refer to the number of standard virtual instances that can be created. The specifications of standard virtual instances are determined according to the historical virtual machine creation records of the public cloud. The specifications of standard virtual instances may include one or more types of virtual instances Specifications. For example, according to the historical virtual machine creation records of the public cloud, it is determined that the distribution frequency of VM1 and VM2 is relatively high, then the total number of VM1 and VM2 that can be distributed by the remaining resources can be determined according to the remaining resources recorded in the resource pool information, so as to obtain the above-mentioned first Quantity, and then obtain the remaining resources of multiple physical servers in the hardware resource pool from the hardware resource pool, determine the total quantity of VM1 and VM2 that can be distributed by the remaining resources, so as to obtain the above-mentioned second quantity, if the first quantity and the second quantity If the ratio is less than or equal to the first threshold, the cloud management platform can perform centralized scheduling on the reserved instances in the resource pool information.
应理解,上述第一数量是根据资源池信息确定的,第二数量是根据硬件资源池中多个物理服务器的剩余资源确定的,资源池信息额外记录有预留实例的创建记录,因此第一数量小于第二数量,且二者的比值越小,则表示当前资源池信息中的资源碎片数量越多,因此在第一数量与第二数量的比值小于或等于第二阈值时,云管理平台对预留实例进行调度,将资源池信息中预留实例类型的虚拟实例集中调度到至少一个物理服务器,使得预留实例类型的虚拟实例在调度前关联的物理服务器可供按需实例类型的虚拟实例使用,进而避免资源浪费,提高公有云的资源利用率。It should be understood that the above-mentioned first quantity is determined according to the resource pool information, and the second quantity is determined according to the remaining resources of multiple physical servers in the hardware resource pool. The resource pool information additionally records creation records of reserved instances, so the first The number is less than the second number, and the smaller the ratio between the two, the more resource fragments in the current resource pool information. Therefore, when the ratio of the first number to the second number is less than or equal to the second threshold, the cloud management platform Scheduling the reserved instances, and centrally dispatching the virtual instances of the reserved instance type in the resource pool information to at least one physical server, so that the physical servers associated with the reserved instance type virtual instances before scheduling can be used by the virtual instances of the on-demand instance type instance usage, thereby avoiding resource waste and improving the resource utilization of the public cloud.
可选地,云管理平台还可以周期性的对预留实例进行调度,其中,周期性可以是以固定时间间隔进行预留实例的调度,也可以是每接收到M次虚拟实例创建请求之后,对预留实例进行调度,本申请不作具体限定。Optionally, the cloud management platform may also schedule the reserved instances periodically, where the periodicity may be scheduling the reserved instances at fixed time intervals, or after receiving M virtual instance creation requests, Scheduling of reserved instances is not specifically limited in this application.
可选地,云管理平台还可以周期性的确定第一数量和第二数量,在第一数量与第二数量的比值小于或等于第二阈值时,对资源池信息中的预留实例进行调度。其中,周期性的描述可参考前述内容,这里不重复赘述。Optionally, the cloud management platform may also periodically determine the first number and the second number, and when the ratio of the first number to the second number is less than or equal to the second threshold, schedule the reserved instances in the resource pool information . For the periodic description, reference may be made to the aforementioned content, which will not be repeated here.
可选地,云管理平台还可以在虚拟实例创建失败的情况下,通过上述步骤确定第一数量和第二数量,然后进行预留实例的调度,降低资源池信息中的资源碎片数量,并重新尝试对之前创建失败的虚拟实例创建请求进行处理,提高用户的使用体验,提高公有云的资源利用率。Optionally, the cloud management platform can also determine the first number and the second number through the above steps in the case of a virtual instance creation failure, and then schedule reserved instances, reduce the number of resource fragments in the resource pool information, and re- Try to process the virtual instance creation request that failed to create before, improve the user experience, and improve the resource utilization of the public cloud.
综上可知,使用本申请提供的资源管理方法,云管理平台记录有公有云数据中心的硬件资源池中每个物理服务器需运行的虚拟实例需占用的资源和每个物理服务器需运行的虚拟实例的实例类型,该系统记录的资源池信息中包括预留实例的创建信息,但是硬件资源池的物理服务器不会创建预留实例,从而避免预留实例在预留时间内不被用户使用而产生的资源浪费;同时,该系统还可以对资源池信息中记录的预留实例进行集中调度,使得预留实例类型的虚拟实例在调度前所关联的物理服务器可供按需实例类型的虚拟实例使用,这样可以在不影响用户使用的情况下,降低公有云的资源碎片,提高公有云的资源利用率。In summary, using the resource management method provided by this application, the cloud management platform records the resources occupied by the virtual instances that each physical server needs to run in the hardware resource pool of the public cloud data center and the virtual instances that each physical server needs to run The resource pool information recorded by the system includes the creation information of the reserved instance, but the physical server of the hardware resource pool will not create the reserved instance, so as to avoid the situation that the reserved instance is not used by the user within the reserved time waste of resources; at the same time, the system can also centrally schedule the reserved instances recorded in the resource pool information, so that the physical server associated with the virtual instance of the reserved instance type before scheduling can be used by the virtual instance of the on-demand instance type , which can reduce the resource fragmentation of the public cloud and improve the resource utilization of the public cloud without affecting the use of users.
图6是本申请提供的一种计算设备600的结构示意图。其中,计算设备600可以是图1-图5中的云管理平台131。如图6所示,计算设备600包括:处理器610、通信接口620以及存储器630。其中,处理器610、通信接口620以及存储器630可以通过内部总线640相互连接,也可通过无线传输等其他手段实现通信。本申请实施例以通过总线连接为例,总线可以是PCI总线。总线640可以分为地址总线、数据总线、控制总线等。为便于表示,图6中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。FIG. 6 is a schematic structural diagram of a
处理器610以由至少一个通用处理器构成,例如CPU,或者CPU和硬件芯片的组合。上述硬件芯片可以是ASIC、PLD或其组合。上述PLD可以是CPLD、FPGA、GAL或其任意组合。处理器230执行各种类型的数字存储指令,例如存储存储器630中的软件或者固件程序,它能使计算设备600提供多种服务。The
存储器630用于存储程序代码,并由处理器610来控制执行,以执行上述实施例中云管理平台131的处理步骤。程序代码中可以包括一个或多个软件模块,这一个或多个软件模块可以为图2实施例中云管理平台131提供的软件模块,比如记录单元和调度单元,其中,记录单元用于记录资源池信息,该资源池信息用于记录公有云数据中心的硬件资源池中的每个物理服务器需运行的虚拟实例需占用的资源和每个物理服务器需运行的虚拟实例的实例类型,调度单元用于在资源池信息中将预留实例类型的虚拟实例集中调度到至少一个物理服务器,以使得预留实例类型的虚拟实例在调度前所关联的物理服务器可供按需实例类型的虚拟实例使用。具体可用于执行图5实施例中的S510-步骤S520及其可选步骤,还可以用于执行图1-图5实施例描述的其他由云管理平台131执行的步骤,这里不再进行赘述。The
存储器630可以包括易失性存储器,例如RAM、DRAM、SRAM、SDRAM、DDR、Cache等等,存储器630还可以包括上述种类的组合。The
通信接口620可以为有线接口(例如以太网接口),可以为内部接口(例如PCI总线接口)、有线接口(例如以太网接口)或无线接口(例如蜂窝网络接口或使用无线局域网接口),用于与与其他设备或模块进行通信。The
需要说明的是,本实施例可以是通用的物理服务器实现的,例如,ARM服务器或者X66服务器,也可以是基于通用的物理服务器结合NFV技术实现的虚拟机实现的,虚拟机指通过软件模拟的具有完整硬件系统功能的、运行在一个完全隔离环境中的完整计算机系统,比如在本实施例可以在云计算基础设施上实现,在云计算基础设施上实现的具体过程可以参考图3实施例,这不重复赘述。It should be noted that this embodiment can be implemented by a general physical server, for example, an ARM server or an X66 server, or it can be realized based on a general physical server combined with a virtual machine implemented by NFV technology. A virtual machine refers to a virtual machine simulated by software A complete computer system with complete hardware system functions and running in a completely isolated environment, for example, can be implemented on a cloud computing infrastructure in this embodiment, and the specific process implemented on the cloud computing infrastructure can refer to the embodiment in Figure 3, This will not be repeated.
需要说明的,图6仅仅是本申请实施例的一种可能的实现方式,实际应用中,计算设备600还可以包括更多或更少的部件,这里不作限制。关于本申请实施例中未示出或未描述的内容,可参见前述图1-图5实施例中的相关阐述,这里不再赘述。It should be noted that FIG. 6 is only a possible implementation of the embodiment of the present application. In practical applications, the
应理解,图6所示的计算设备还可以是至少一个物理服务器构成的计算机集群,具体可参考图1至图4实施例,为了避免重复,此处不再赘述。It should be understood that the computing device shown in FIG. 6 may also be a computer cluster composed of at least one physical server. For details, reference may be made to the embodiments in FIG. 1 to FIG. 4 , and details are not repeated here to avoid repetition.
本申请实施例还提供一种计算机可读存储介质,计算机可读存储介质中存储有指令,当其在处理器上运行时,图5及其可选步骤所示的方法流程得以实现。The embodiment of the present application also provides a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and when the instructions are run on a processor, the method flow shown in FIG. 5 and its optional steps are implemented.
本申请实施例还提供一种计算机程序产品,当计算机程序产品在处理器上运行时,图5及其可选步骤所示的方法流程得以实现。An embodiment of the present application further provides a computer program product. When the computer program product runs on a processor, the method flow shown in FIG. 5 and its optional steps are implemented.
上述实施例,可以全部或部分地通过软件、硬件、固件或其他任意组合来实现。当使用软件实现时,上述实施例可以全部或部分地以计算机程序产品的形式实现。计算机程序产品包括至少一个计算机指令。在计算机上加载或执行计算机程序指令时,全部或部分地产生按照本发明实施例的流程或功能。计算机可以为通用计算机、专用计算机、计算机网络、或者其他可编程装置。计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(digitalsubscriber line,DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含至少一个可用介质集合的服务器、数据中心等数据存储节点。可用介质可以是磁性介质(例如,软盘、硬盘、磁带)、光介质(例如,高密度数字视频光盘(digital videodisc,DVD)、或者半导体介质。半导体介质可以是SSD。The above-mentioned embodiments may be implemented in whole or in part by software, hardware, firmware or other arbitrary combinations. When implemented using software, the above-described embodiments may be implemented in whole or in part in the form of computer program products. A computer program product comprises at least one computer instruction. When the computer program instructions are loaded or executed on the computer, the processes or functions according to the embodiments of the present invention will be generated in whole or in part. The computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable devices. Computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, e.g. Coaxial cable, optical fiber, digital subscriber line (digital subscriber line, DSL)) or wireless (such as infrared, wireless, microwave, etc.) transmission to another website site, computer, server or data center. A computer-readable storage medium may be any available medium that can be accessed by a computer, or a data storage node such as a server or a data center that includes at least one set of available media. Available media may be magnetic media (eg, floppy disk, hard disk, tape), optical media (eg, high-density digital video disc (DVD), or semiconductor media. The semiconductor media may be SSDs.
以上,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of various equivalent modifications or modifications within the technical scope disclosed in the present invention. Replacement, these modifications or replacements shall all fall within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims (14)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110865855.0A CN115700481A (en) | 2021-07-29 | 2021-07-29 | Resource management method and related equipment of public cloud data center |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110865855.0A CN115700481A (en) | 2021-07-29 | 2021-07-29 | Resource management method and related equipment of public cloud data center |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115700481A true CN115700481A (en) | 2023-02-07 |
Family
ID=85120757
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110865855.0A Pending CN115700481A (en) | 2021-07-29 | 2021-07-29 | Resource management method and related equipment of public cloud data center |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115700481A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2024165066A1 (en) * | 2023-02-11 | 2024-08-15 | 华为云计算技术有限公司 | Cloud resource capacity management method and cloud management platform |
WO2024193268A1 (en) * | 2023-03-21 | 2024-09-26 | 华为云计算技术有限公司 | Virtual instance configuration method based on cloud computing technology and cloud management platform |
-
2021
- 2021-07-29 CN CN202110865855.0A patent/CN115700481A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2024165066A1 (en) * | 2023-02-11 | 2024-08-15 | 华为云计算技术有限公司 | Cloud resource capacity management method and cloud management platform |
WO2024193268A1 (en) * | 2023-03-21 | 2024-09-26 | 华为云计算技术有限公司 | Virtual instance configuration method based on cloud computing technology and cloud management platform |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9645840B2 (en) | User-defined pools | |
US9503549B2 (en) | Real-time data analysis for resource provisioning among systems in a networked computing environment | |
US10114668B2 (en) | Managing private use of program execution capacity | |
US9634958B2 (en) | Burst capacity for user-defined pools | |
US11803405B2 (en) | Configurable virtual machines | |
US10713072B1 (en) | Computing resource provisioning | |
US11502972B2 (en) | Capacity optimization in an automated resource-exchange system | |
US20180270296A1 (en) | Preemptive extraction of data from long latency storage in a cloud computing environment | |
US11190415B2 (en) | Flexible capacity reservations for network-accessible resources | |
US20130262250A1 (en) | Allocation of Application Licenses within Cloud or Infrastructure | |
US9699114B1 (en) | Providing use of local or private cloud infrastructure resources to public cloud providers | |
US20120323821A1 (en) | Methods for billing for data storage in a tiered data storage system | |
WO2022100534A1 (en) | Virtual instance setting method and apparatus | |
US10748084B2 (en) | Dynamic modification of interruptibility settings for network-accessible resources | |
CN115700481A (en) | Resource management method and related equipment of public cloud data center | |
CN106357791A (en) | Method, device and system for processing services | |
US20220405131A1 (en) | Decentralized resource scheduling | |
US20200153749A1 (en) | Biased selection of dedicated physical connections to provider network | |
US20150012398A1 (en) | Credit optimization to minimize latency | |
US20140297867A1 (en) | Capacity merging for user-defined pools | |
US10789008B2 (en) | Reducing write collisions in data copy | |
US11017417B1 (en) | Using incentives to manage computing resources | |
JP6494595B2 (en) | System, method and non-transitory computer readable storage medium for allocating computing resources in a provider network | |
CN113254152B (en) | Service deployment method and device, electronic equipment and storage medium | |
US11770411B2 (en) | Prioritize endpoint selection based on criteria |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |