WO2020253490A1 - Resource allocation method, apparatus and device - Google Patents
Resource allocation method, apparatus and device Download PDFInfo
- Publication number
- WO2020253490A1 WO2020253490A1 PCT/CN2020/092740 CN2020092740W WO2020253490A1 WO 2020253490 A1 WO2020253490 A1 WO 2020253490A1 CN 2020092740 W CN2020092740 W CN 2020092740W WO 2020253490 A1 WO2020253490 A1 WO 2020253490A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- resources
- available
- resource
- rack group
- available rack
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5027—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2209/00—Indexing scheme relating to G06F9/00
- G06F2209/50—Indexing scheme relating to G06F9/50
- G06F2209/504—Resource capping
Definitions
- the present invention relates to the field of cloud computing technology of financial technology (Fintech), and particularly relates to a resource allocation method, device and equipment.
- the number of instances of core subsystems (A, B1) is not less than 3, and the number of instances of non-core subsystems is not less than 2;
- the number of instances of a single DCN is deployed on at least two different cabinets.
- IDC Internet Data Center, Internet Data Center
- Important subsystems type A, B1, B2
- the number of instances in a single DCN is not less than 2;
- Important subsystems (Class A, B1, B2).
- the number of instances in a single DCN is deployed in at least two different cabinets.
- the host resource allocation in the existing solution includes the allocation of physical hosts and virtual hosts.
- unallocated machines are screened from the CMDB according to the physical area, and a series of operations such as physical machine deployment, mother machine placement, and virtualization are performed.
- a resource pool is formed, and resources that meet the above two high-availability rules are manually selected from the resource pool.
- information such as DCN and application domains is allocated according to the subsystem and delivered to the resource demander.
- the present invention provides a resource allocation method, device and equipment, which are used to solve the problem of slow resource allocation process and waste of time in the prior art when resource allocation is performed.
- an embodiment of the present invention provides a resource allocation method, which includes:
- the available resources with the same number of required resources are selected from the available rack groups for allocation, where
- the available rack group is a rack group with available resources in the rack group.
- the available rack group is a rack group with available resources in the rack group, because when it is determined that the number of required resources is not greater than the number of available rack groups, select the required resources from the rack group The same amount of resources are allocated, eliminating the need to manually select available resources in the resource pool, improving the process of resource allocation and saving time.
- the method further includes:
- the required resources are physical host resources, and if the number of required resources is greater than the number of available rack groups, the available resources of at least one available rack group in the available rack group are repeatedly allocated;
- the required resource is a virtual host resource. If the number of required resources is greater than the number of available rack groups, and is not greater than the number of available physical hosts in the business system corresponding to the required resource, then From the number of available physical hosts in the business system, the available resources that are the same as the required number of resources are selected for allocation.
- the processing methods are different depending on the required resources. If the required resources are physical host resources and the number of required resources is greater than the number of available rack groups, then the rack The available resources of at least one available rack group in the group are repeatedly allocated; if the required resources are virtual host resources, and the number of required resources is greater than the number of available rack groups, and not greater than the available physical hosts of the business system corresponding to the required resources The number of available resources is selected from the available physical hosts of the business system with the same number of resources needed for allocation.
- the required resources are virtual host resources, and if the number of required resources is greater than the number of available rack groups, the method further includes:
- the required resource is a virtual host resource
- the number of required resources is greater than the number of available rack groups, and is greater than the number of available resources in the business system corresponding to the required resources
- an exception prompt will be made to indicate that the available resources are insufficient. Unable to allocate resources.
- the required resources are physical host resources
- the selecting from the available rack group the same amount of available resources as the required resources to allocate includes:
- the above method shows how to select and allocate the same amount of available resources from the available rack group when the required resources are physical host resources.
- the required resources are virtual host resources
- the selecting from the available rack group the same amount of available resources as the required resources to allocate includes:
- the SN of the parent machine and the IP address of the virtual host are sent to the terminal where the user is located.
- the above method shows how to select and allocate the same amount of available resources from the available rack group when the required resources are virtual host resources.
- an embodiment of the present invention provides a resource allocation device, which includes:
- the allocation module if the number of required resources is not greater than the number of available rack groups established based on the data center wiring method TOR, then it is used to select from the available rack groups the same number of available resources as the required number of resources Resources are allocated, wherein the available rack group is a rack group for which there are available resources in the rack group.
- the allocation module is further used to:
- the required resources are physical host resources. If the number of required resources is greater than the number of available rack groups, at least one available rack group in the available rack group The available resources are repeatedly allocated;
- the required resources are virtual host resources, if the number of required resources is greater than the number of available rack groups, and the number of required resources is not greater than the number of available physical hosts in the business system corresponding to the required resources
- the number of available resources is selected from the number of available physical hosts in the business system, which is the same as the required number of resources, for allocation.
- the allocation module is further used to:
- the required resource is a virtual host resource, if the number of required resources is greater than the number of available rack groups, and if the number of required resources is greater than the number of available resources in the business system corresponding to the required resources, Then no resource allocation is performed.
- the required resources are physical host resources
- the allocation module is specifically configured to:
- the required resources are virtual host resources; the allocation module is specifically configured to:
- the SN of the parent machine and the IP address of the virtual host are sent to the terminal where the user is located.
- an embodiment of the present invention provides another resource allocation device, which includes:
- Memory used to store program instructions
- the processor is configured to call program instructions stored in the memory, and execute the method according to any one of the first aspects according to the obtained program.
- an embodiment of the present invention also provides that the computer-readable storage medium stores computer instructions, and when the computer instructions run on a computer, the computer executes the method described in any one of the first aspects.
- FIG. 1 is a method for resource allocation provided by an embodiment of the present invention
- FIG. 2 is a schematic diagram of a physical host resource allocation process provided by an embodiment of the present invention.
- FIG. 3 is a schematic diagram of a virtual host resource allocation process provided by an embodiment of the present invention.
- FIG. 4 is a schematic structural diagram of a first resource allocation device provided by an embodiment of the present invention.
- Fig. 5 is a schematic structural diagram of a second resource allocation device provided by an embodiment of the present invention.
- the embodiments of the present application provide a resource allocation method, device, and equipment, which are used to solve the problem of slow resource allocation process and waste of time in resource allocation in the prior art.
- the method and the device are based on the same inventive concept. Since the principles of the method and the device to solve the problem are similar, the implementation of the device and the method can be referred to each other, and the repetition will not be repeated.
- IaaS Infrastructure as a Service
- infrastructure as a service is the bottom layer of cloud services and mainly provides some basic resources.
- ToR Top of Rack, is a wiring method for data centers, which is to install an access switch on the top of a standard 42U server cabinet.
- KVM Short for Kernel-based Virtual Machine, it is an open source system virtualization module based on hardware-based full virtualization technology.
- VM Virtual Machine (Virtual Machine) refers to a complete computer system with complete hardware system functions simulated by software and running in a completely isolated environment.
- SystemID refers to the application system number, each business system has a unique system ID.
- DCN Data Center Node, refers to a logical concept in the application system architecture. It does not represent the actual physical data center, but the same DCN must only belong to a certain physical data center.
- AppDomain Application Domain, application domain, logical concept, domain to which the application belongs.
- Hostname host name, used to display or set the host name of the system.
- OpenStack is an open source cloud computing management platform project, which is composed of several main components to complete specific tasks. OpenStack supports almost all types of cloud environments. The project goal is to provide a cloud computing management platform that is simple to implement, scalable, rich, and standardized. OpenStack provides infrastructure as a service (IaaS) solutions through a variety of complementary services, and each service provides APIs for integration.
- IaaS infrastructure as a service
- AZ Availability Zone
- AZ can be understood simply as a collection of some hosts.
- Nova and Cinder modules have integrated AZ functions before the Mitaka version.
- the user can specify an AZ when creating a virtual machine, so that the virtual machine will be generated on the host contained in the AZ.
- users can specify AZ when creating a volume, so that the volume will be allocated storage in the host included in the specified A.
- Affinity Group OpenStack association group to ensure that the instances are on the same or different computing hypervisor hosts.
- Image refers to the system mirror.
- SN Serial Number, product serial number, product serial number is a concept introduced to verify the "legal identity of the product", it is used to protect the legitimate rights and interests of users, enjoy legitimate services, a set of genuine products Only corresponds to a set of product serial numbers.
- CMDB Configuration Management Database
- configuration management database CMDB stores and manages various configuration information of the equipment in the enterprise IT architecture. It is closely connected with all service support and service delivery processes to support the operation and play of these processes The value of the configuration information depends on the relevant processes to ensure the accuracy of the data.
- ITSM ITService Management
- IT service management IT service management is a set of methods to help companies effectively manage the planning, research and development, implementation and operation of IT systems. It is a set of methodology. This article refers to ITSM management platform in general.
- At least one means one or more, and “multiple” means two or more.
- “And/or” describes the association relationship of the associated objects, indicating that there can be three relationships, for example, A and/or B, which can mean: A alone exists, A and B exist at the same time, and B exists alone, where A, B can be singular or plural.
- the character “/” generally indicates that the associated objects are in an “or” relationship.
- “The following at least one item (a)” or similar expressions refers to any combination of these items, including any combination of a single item (a) or plural items (a).
- At least one item (a) of a, b, or c can represent any of the following situations: a, b, c, d and b, a and c, b and c, a and b and c.
- an embodiment of the present invention provides a resource allocation method. As shown in FIG. 1, the method specifically includes the following steps:
- the number of required resources is first determined. If it is determined that the number of required resources is not greater than the number of available rack groups established based on TOR, then the available rack group with the same number of required resources is selected from the available rack group. Resources are allocated.
- the available rack group here refers to the rack group with available resources in the rack group.
- a resource request message When the resource demander needs resources, a resource request message will be issued.
- the resource request message will carry the required resources and the number of required resources, such as DCN, Appdomain, SystemId, Image, physical zone, machine model, number of instances, etc. , And then determine the required resources and the number of required resources from the resource request information.
- the physical area refers to the divided physical area, such as the management area, the external area, the server group area, etc.; the machine model can be created according to the needs of the business, and the corresponding resources can be created according to the needs of the business. Corresponding requirements.
- resources may be physical host resources, virtual host resources, or a combination of physical host resources and virtual host resources.
- the resource demander A issues a resource request message
- the resource determined in the resource request message is 5 physical host resources and 3 virtual host resources.
- the number of required resources After determining the number of required resources, compare the number of required resources with the number of available rack groups established based on TOR. If the number of required resources is not greater than the number of available rack groups, select and Available resources with the same number of required resources are allocated, and the available rack group here is a rack group with available resources in the rack group.
- the number of required resources here is the same as the number of subsequent instances, and both represent the number of resources required by the resource demander.
- the conventional rack is 42U and has 21 seats.
- the conventional physical host is 2U, so a rack can hold up to 21 physical hosts and one rack group. There can be up to 42 physical hosts.
- the physical host can no longer be allocated. If there are 42 physical hosts in a rack group and at least one physical host is not occupied, it means that the rack group is an available rack group.
- the available resources are allocated.
- the following describes the required resources as physical host resources and the required resources as virtual host resources.
- Case 1 The required resources are physical host resources.
- the resource usage rate of the available rack group that is, the ratio of the number of unoccupied physical hosts under the rack group to the total number of physical hosts, and the result is the resource usage rate of the available rack group.
- the resource utilization rate of rack group 1 is 50%.
- the resource usage rate of available rack group is 10%
- the resource usage rate of available rack group 2 is 15%
- the resource usage rate of available rack group 3 is 30%
- the resource usage rate of available rack group 4 The resource utilization rate of the available rack group 5 is 35%
- the resource utilization rate of the available rack group 5 is 50
- the number of resources required is 2, then select 2 available rack groups with low resource utilization from the 5 available rack groups, namely Available rack group 1 and available rack group 2.
- the selection method can be random selection or selection through preset rules. This application is not limited.
- available rack group 1 and available rack group 2 For example, two available rack groups with low resource usage are selected, available rack group 1 and available rack group 2, and available rack group 1 has 2 unoccupied physical hosts, physical host 1 and physical host 2. There are 3 unoccupied physical hosts in the available rack group 2, physical host 3, physical host 4 and physical host 5.
- the selected physical host SN and IP address are returned to the terminal where the user is located.
- Case 2 The required resources are virtual host resources.
- Select an available rack group with the same amount of resources as the required resource from the available rack group select an IP address with the same number of resources as the required resource from the available rack group with a small resource usage, and use the resource Select the resource name from the available rack group with low rate, determine the parent machine SN and virtual host IP address corresponding to the virtual host according to the IP address and resource name; send the parent machine SN and virtual host IP address to the user's terminal.
- IP address pool is allocated the same number of IP addresses as the required resources, and the physical host name is incrementally allocated according to the CMDB, and the allocated IP address and physical host name are returned to the user.
- the host name creation rule can be: CN+city+IDC+number.
- the first host name created by the rule engine is CNSZFT05010001
- the second host name is CNSZFT05010002
- FT represents a 0501 computer room
- 0001 represents the serial number.
- the above is an explanation of resource allocation when the number of required resources is not greater than the number of available rack groups. If the number of required resources is greater than the number of available rack groups, it means that the rack group cannot meet the required resources. If the required resources are If it is a physical host resource, the available resources of at least one available rack group in the available rack group can be repeatedly allocated.
- the following is an example to illustrate that the required resources are physical host resources.
- the number of physical host resources required is 4, the available rack group is available rack group 1, available rack group 2, and available rack group 3.
- the number of physical resources required 4 is greater than the number of available rack groups 3.
- the available rack group 3 was repeatedly allocated.
- the required resource is a virtual host resource, and the number of required resources is greater than the number of available rack groups, and is not greater than the number of available physical hosts of the business system corresponding to the required resource, then from the available physical hosts of the business system The host selects the available resources that are the same as the required number of resources for allocation.
- the available resources with the same amount of resources as the required resources are selected from the available physical hosts of the business system for allocation, and the AZ of Openstack can be obtained based on the rack group, that is, the set of unoccupied physical hosts. Then, from the IP address pool of the virtual network segment, an IP address equal to the required number of resources is allocated, the physical host name is incrementally allocated according to the CMDB, and the allocated IP address and physical host name are sent to the terminal where the user is located.
- the AZ of Openstack is obtained based on the rack group, which can be defined rules created in advance when building Openstack, that is, there is a corresponding relationship between the rack group and the AZ. After the rack group is determined, the AZ can be determined according to the corresponding relationship ;
- the IP address pool of the virtual network can be a virtual network segment created in advance when Openstack is built, and the virtual network segment constitutes the IP address pool of the virtual network.
- the required resources are virtual host resources, and the number of required resources is greater than the number of available rack groups, and is greater than the number of available resources in the business system corresponding to the required resources, it means that the existing resources cannot meet the required resources. Therefore, an abnormal prompt is displayed and no resource allocation is performed.
- Embodiment 1 Physical host resource allocation.
- FIG. 2 it is a schematic diagram of a physical host resource allocation process provided by an embodiment of the present invention.
- S203 Determine whether the number of instances in the resource application information is less than the number of available rack groups in the live network, if so, perform S204, otherwise perform S211;
- S205 Select an available rack group with the same number of instances as the available rack group with a small resource usage rate from the available rack groups;
- Embodiment 2 Virtual host resource allocation.
- FIG. 3 it is a schematic diagram of a virtual host resource allocation process provided by an embodiment of the present invention.
- S303 Determine whether N is less than the number of available rack groups in the live network, if so, perform S304, otherwise perform S312;
- S308 Select N IP addresses from the IP address pool of the virtual network segments of the N hosts;
- S313 Determine whether N is less than the number of hosts in the affinity group, if so, perform S314, otherwise perform S316;
- S315 Establish an OpenStack AZ based on the available rack group, and execute S307;
- the embodiment of the present invention also provides a resource allocation device. Since the device corresponds to the device corresponding to the resource allocation method in the embodiment of the present invention, and the principle of the device to solve the problem is similar to the method, the The implementation of the device can refer to the implementation of the method, and the repetition will not be repeated.
- FIG. 4 it is a schematic structural diagram of a resource allocation device provided by an embodiment of the present invention.
- the device includes: a determining module 400 and an allocation module 401:
- the determining module 400 is used to determine the required amount of resources
- the allocation module 401 if the number of required resources is not greater than the number of available rack groups established based on the TOR of the data center, is used to select from the available rack groups the same as the number of required resources
- the available resources are allocated, wherein the available rack group is a rack group for which available resources exist in the rack group.
- the allocation module 401 is further configured to:
- the required resources are physical host resources. If the number of required resources is greater than the number of available rack groups, at least one available rack group in the available rack group The available resources are repeatedly allocated;
- the required resources are virtual host resources, if the number of required resources is greater than the number of available rack groups, and the number of required resources is not greater than the number of available physical hosts in the business system corresponding to the required resources
- the number of available resources is selected from the number of available physical hosts in the business system, which is the same as the required number of resources, for allocation.
- the allocation module 401 is further configured to:
- the required resource is a virtual host resource, if the number of required resources is greater than the number of available rack groups, and if the number of required resources is greater than the number of available resources in the business system corresponding to the required resources, Then no resource allocation is performed.
- the required resources are physical host resources
- the allocation module 401 is specifically configured to:
- the required resource is a virtual host resource; the allocation module 401 is specifically configured to:
- the SN of the parent machine and the IP address of the virtual host are sent to the terminal where the user is located.
- another resource allocation device is provided in the embodiment of the present invention. Since the device corresponds to the device corresponding to the resource allocation method in the embodiment of the present invention, and the principle of the device to solve the problem is similar to that of the method, The implementation of the device can refer to the implementation of the method, and the repetition will not be repeated.
- the device 500 includes:
- Communication interface 501 memory 502 and processor 503;
- the processor 503 communicates with other devices through the communication interface 501.
- the other devices may be the aforementioned external online translation tools.
- the communication interface 501 can provide an application programming interface solution.
- the processor 503 can send the aforementioned translation parameters etc. to an external online translation tool through the communication interface 501; the memory 502 is used to store program instructions; the processor 503 is used to call the program instructions stored in the memory 502 and execute according to the obtained program The method in the above embodiment.
- the processor may be a general-purpose processor, a digital signal processor, an application specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, and may implement or Perform the methods, steps, and logic block diagrams disclosed in the embodiments of the present application.
- the general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in the embodiments of the present application may be directly embodied as being executed and completed by a hardware processor, or executed and completed by a combination of hardware and software modules in the processor.
- the memory is used to store program instructions.
- the memory can be a non-volatile memory, such as a hard disk drive (HDD) or a solid-state drive (SSD), etc., or it can be volatile. Volatile memory (volatile memory), such as random-access memory (RAM).
- the memory may also be any other medium that can be used to carry or store desired program codes in the form of instructions or data structures and that can be accessed by a computer, but is not limited thereto.
- the memory in the embodiments of the present application may also be a circuit or any other device capable of realizing a storage function, for storing program instructions and/or data.
- the embodiments of the present application do not limit the specific connection medium between the aforementioned communication interface, memory, and processor, such as a bus.
- the bus can be divided into an address bus, a data bus, and a control bus.
- an embodiment of the present invention also provides a readable storage medium for resource allocation, including program code, and when the program code runs on a computing device, the program code is used to make the computing device execute the resource allocation method A step of.
- this application may take the form of a computer program product on a computer-usable or computer-readable storage medium, which has a computer-usable or computer-readable program code implemented in the medium to be used by the instruction execution system or Used in conjunction with the instruction execution system.
- a computer-usable or computer-readable medium can be any medium that can contain, store, communicate, transmit, or transmit a program for use by an instruction execution system, device, or device, or in combination with an instruction execution system, Device or equipment use.
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
Description
Claims (11)
- 一种资源分配方法,其特征在于,该方法包括:A resource allocation method, characterized in that the method includes:确定需要的资源数量;Determine the amount of resources needed;若所述需要的资源数量不大于基于数据中心的布线方式TOR建立的可用机架组的数量,则从所述可用机架组中选择与所述需要的资源数量相同的可用资源进行分配,其中所述可用机架组为在所述机架组中存在可用资源的机架组。If the number of required resources is not greater than the number of available rack groups established based on the data center wiring method TOR, then the available resources with the same number of required resources are selected from the available rack groups for allocation, where The available rack group is a rack group with available resources in the rack group.
- 如权利要求1所述的方法,其特征在于,所述确定需要的资源数量之后,还包括:The method according to claim 1, wherein after the determining the required amount of resources, the method further comprises:所述需要的资源为物理主机资源,若所述需要的资源数量大于所述可用机架组的数量,则对所述可用机架组中至少一个可用机架组的可用资源进行重复分配;The required resources are physical host resources, and if the number of required resources is greater than the number of available rack groups, the available resources of at least one available rack group in the available rack group are repeatedly allocated;所述需要的资源为虚拟主机资源,若所述需要的资源数量大于所述可用机架组的数量,且不大于所述需要的资源对应的业务系统的可用物理主机的数量,则从所述业务系统的可用物理主机中选择与所述需要的资源数量相同的可用资源进行分配。The required resource is a virtual host resource. If the number of required resources is greater than the number of available rack groups and not greater than the number of available physical hosts of the business system corresponding to the required resource, then The available physical hosts of the business system are selected and allocated with the same amount of available resources as the required resources.
- 如权利要求2所述的方法,其特征在于,所述需要的资源为虚拟主机资源,若所述需要的资源数量大于所述可用机架组的数量,还包括:The method according to claim 2, wherein the required resources are virtual host resources, and if the number of required resources is greater than the number of available rack groups, the method further comprises:若所述需要的资源数量大于所述需要的资源对应的业务系统中可用资源的数量,则不进行资源分配。If the number of required resources is greater than the number of available resources in the business system corresponding to the required resources, no resource allocation is performed.
- 如权利要求1所述的方法,其特征在于,所述需要的资源为物理主机资源;The method of claim 1, wherein the required resources are physical host resources;所述从所述可用机架组中选择与所述需要的资源数量相同的可用资源进行分配,包括:The selecting from the available rack group the same amount of available resources as the required resources to allocate includes:从所述可用机架组中选择与所述需要的资源数量相同的资源使用率小的可用机架组;Selecting, from the available rack groups, an available rack group that has the same amount of resources as the required resource and has a low resource usage rate;针对一个资源使用率小的可用机架组,从所述资源使用率小的可用机架组中选择一个可用物理机序列号SN和网络协议IP地址;For an available rack group with a small resource usage rate, select an available physical machine serial number SN and a network protocol IP address from the available rack group with a small resource usage rate;将选择的一个可用物理机SN和IP地址发送给用户所在终端。Send the selected available physical machine SN and IP address to the terminal where the user is located.
- 如权利要求1-4任一项所述的方法,其特征在于,所述需要的资源为虚拟主机资源;The method according to any one of claims 1 to 4, wherein the required resource is a virtual host resource;所述从所述可用机架组中选择与所述需要的资源数量相同的可用资源进行分配,包括:The selecting from the available rack group the same amount of available resources as the required resources to allocate includes:从所述可用机架组中选择与所述需要的资源数量相同的资源使用率小的可用机架组;Selecting, from the available rack groups, an available rack group that has the same amount of resources as the required resource and has a low resource usage rate;从所述资源使用率小的可用机架组中选择与所述需要的资源数量相同的IP地址,以及从所述资源使用率小的可用机架组中选择资源名称;Selecting an IP address with the same amount of resources from the available rack group with a low resource usage rate, and selecting a resource name from the available rack group with a low resource usage rate;根据所述IP地址和所述资源名称确定虚拟主机对应的母机SN和虚拟主机IP;Determining the parent machine SN and the virtual host IP corresponding to the virtual host according to the IP address and the resource name;将所述母机SN和虚拟主机IP地址发送给用户所在终端。The SN of the parent machine and the IP address of the virtual host are sent to the terminal where the user is located.
- 一种资源分配装置,其特征在于,该装置包括:A resource allocation device, characterized in that the device includes:确定模块,用于确定需要的资源数量;Determine module, used to determine the amount of resources needed;分配模块,若所述需要的资源数量不大于基于数据中心的布线方式TOR建立的可用机架组的数量,则用于从所述可用机架组中选择与所述需要的资源数量相同的可用资源进行分配,其中所述可用机架组为在所述机架组中存在可用资源的机架组。The allocation module, if the number of required resources is not greater than the number of available rack groups established based on the data center wiring method TOR, then it is used to select from the available rack groups the same number of available resources as the required number of resources Resources are allocated, wherein the available rack group is a rack group for which there are available resources in the rack group.
- 如权利要求6所述的装置,其特征在于,所述分配模块还用于:The device according to claim 6, wherein the distribution module is further configured to:所述确定需要的资源数量之后,所述需要的资源为物理主机资源,若所述需要的资源数量大于所述可用机架组的数量,则对所述可用机架组中至少一个可用机架组的可用资源进行重复分配;After the number of required resources is determined, the required resources are physical host resources. If the number of required resources is greater than the number of the available rack group, then at least one available rack in the available rack group The available resources of the group are repeatedly allocated;所述需要的资源为虚拟主机资源,若所述需要的资源数量大于所述可用机架组的数量,且所述需要的资源数量不大于所述需要的资源对应的业务系统中可用物理主机的数量,则从所述业务系统中可用物理主机的数量中选择与所述需要的资源数量相同的可用资源进行分配。The required resources are virtual host resources, if the number of required resources is greater than the number of available rack groups, and the number of required resources is not greater than the number of available physical hosts in the business system corresponding to the required resources The number of available resources is selected from the number of available physical hosts in the business system, which is the same as the required number of resources, for allocation.
- 如权利要求6所述的装置,其特征在于,所述需要的资源为物理主机资源,所述分配模块具体用于:7. The device of claim 6, wherein the required resource is a physical host resource, and the allocation module is specifically configured to:从所述可用机架组中选择与所述需要的资源数量相同的资源使用率小的可用机架组;Selecting, from the available rack groups, an available rack group that has the same amount of resources as the required resource and has a low resource usage rate;针对一个资源使用率小的可用机架组,从所述资源使用率小的可用机架组中选择一个可用物理机SN和IP地址;For an available rack group with a small resource usage rate, select an available physical machine SN and IP address from the available rack group with a small resource usage rate;将选择的一个可用物理机SN和IP地址发送给用户所在终端。Send the selected available physical machine SN and IP address to the terminal where the user is located.
- 如权利要求6-8任一项所述的装置,其特征在于,所述需要的资源为虚拟主机资源;所述分配模块具体用于:8. The device according to any one of claims 6-8, wherein the required resource is a virtual host resource; and the allocation module is specifically configured to:从所述可用机架组中选择与所述需要的资源数量相同的资源使用率小的可用机架组;Selecting, from the available rack groups, an available rack group that has the same amount of resources as the required resource and has a low resource usage rate;从所述资源使用率小的可用机架组中选择与所述需要的资源数量相同的IP地址,以及从所述资源使用率小的可用机架组中选择资源名称;Selecting an IP address with the same amount of resources from the available rack group with a low resource usage rate, and selecting a resource name from the available rack group with a low resource usage rate;根据所述IP地址和所述资源名称确定虚拟主机对应的母机SN和虚拟主机IP地址;Determining the parent machine SN and the virtual host IP address corresponding to the virtual host according to the IP address and the resource name;将所述母机SN和虚拟主机IP地址发送给用户所在终端。The SN of the parent machine and the IP address of the virtual host are sent to the terminal where the user is located.
- 一种资源分配设备,其特征在于,包括:A resource allocation device, characterized in that it comprises:存储器以及处理器;Memory and processor;存储器,用于存储程序指令;Memory, used to store program instructions;处理器,用于调用所述存储器中存储的程序指令,按照获得的程序执行权利要求1~5任一项所述的方法。The processor is configured to call the program instructions stored in the memory, and execute the method according to any one of claims 1 to 5 according to the obtained program.
- 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机 指令,当所述计算机指令在计算机上运行时,使得计算机执行权利要求1~5中任一项所述的方法。A computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and when the computer instructions are run on a computer, the computer executes the method described in any one of claims 1 to 5 method.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910532166.0A CN110287025A (en) | 2019-06-19 | 2019-06-19 | A kind of resource allocation methods, device and equipment |
CN201910532166.0 | 2019-06-19 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2020253490A1 true WO2020253490A1 (en) | 2020-12-24 |
Family
ID=68004791
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2020/092740 WO2020253490A1 (en) | 2019-06-19 | 2020-05-27 | Resource allocation method, apparatus and device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110287025A (en) |
WO (1) | WO2020253490A1 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110287025A (en) * | 2019-06-19 | 2019-09-27 | 深圳前海微众银行股份有限公司 | A kind of resource allocation methods, device and equipment |
CN113949637A (en) * | 2021-10-28 | 2022-01-18 | 中国建设银行股份有限公司 | Intelligent distribution and deployment method and device for switch resources |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103327095A (en) * | 2013-06-20 | 2013-09-25 | 电子科技大学 | Extensible data center network architecture and implementation method |
CN103797463A (en) * | 2011-07-27 | 2014-05-14 | 阿尔卡特朗讯公司 | Method and apparatus for assignment of virtual resources within a cloud environment |
CN105404545A (en) * | 2015-12-03 | 2016-03-16 | 中国联合网络通信集团有限公司 | Virtual machine allocating method and apparatus |
CN108037984A (en) * | 2017-11-28 | 2018-05-15 | 深圳前海微众银行股份有限公司 | Method for managing resource, system and the readable storage medium storing program for executing of data analysis |
US20180254999A1 (en) * | 2017-03-06 | 2018-09-06 | Linkedin Corporation | Multidimensional resource allocation in data centers |
CN110287025A (en) * | 2019-06-19 | 2019-09-27 | 深圳前海微众银行股份有限公司 | A kind of resource allocation methods, device and equipment |
-
2019
- 2019-06-19 CN CN201910532166.0A patent/CN110287025A/en active Pending
-
2020
- 2020-05-27 WO PCT/CN2020/092740 patent/WO2020253490A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103797463A (en) * | 2011-07-27 | 2014-05-14 | 阿尔卡特朗讯公司 | Method and apparatus for assignment of virtual resources within a cloud environment |
CN103327095A (en) * | 2013-06-20 | 2013-09-25 | 电子科技大学 | Extensible data center network architecture and implementation method |
CN105404545A (en) * | 2015-12-03 | 2016-03-16 | 中国联合网络通信集团有限公司 | Virtual machine allocating method and apparatus |
US20180254999A1 (en) * | 2017-03-06 | 2018-09-06 | Linkedin Corporation | Multidimensional resource allocation in data centers |
CN108037984A (en) * | 2017-11-28 | 2018-05-15 | 深圳前海微众银行股份有限公司 | Method for managing resource, system and the readable storage medium storing program for executing of data analysis |
CN110287025A (en) * | 2019-06-19 | 2019-09-27 | 深圳前海微众银行股份有限公司 | A kind of resource allocation methods, device and equipment |
Also Published As
Publication number | Publication date |
---|---|
CN110287025A (en) | 2019-09-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109582433B (en) | Resource scheduling method and device, cloud computing system and storage medium | |
CN104253865B (en) | A kind of two-level management method of mixed type desktop cloud service platform | |
CN106385329B (en) | Processing method, device and the equipment of resource pool | |
CN107547595B (en) | Cloud resource scheduling system, method and device | |
US8695079B1 (en) | Allocating shared resources | |
CN103078965B (en) | The IP address management method of virtual machine | |
CN105579965A (en) | Client-premise resource control via provider-defined interfaces | |
EP3442201B1 (en) | Cloud platform construction method and cloud platform | |
WO2020253490A1 (en) | Resource allocation method, apparatus and device | |
CN107666493B (en) | Database configuration method and equipment thereof | |
CN103118073B (en) | Virtual machine data persistence storage system and method in cloud environment | |
JP2009237826A (en) | Storage system and volume management method therefor | |
US10761869B2 (en) | Cloud platform construction method and cloud platform storing image files in storage backend cluster according to image file type | |
EP3637252A1 (en) | Virtual machine deployment method and omm virtual machine | |
JP2013174945A (en) | Thin client system, connection management server, connection management method and connection management program | |
Ma et al. | vLocality: Revisiting data locality for MapReduce in virtualized clouds | |
Mylavarapu et al. | An optimized capacity planning approach for virtual infrastructure exhibiting stochastic workload | |
CN107209706A (en) | The application of maintenance and the method and system of desktop are received for connecting devices to | |
CN104809026B (en) | A kind of method that CPU computing resources are borrowed using remote node | |
CN113535087A (en) | Data processing method, server and storage system in data migration process | |
US20100269119A1 (en) | Event-based dynamic resource provisioning | |
CN111915811A (en) | Method and equipment for controlling cabinet access by multiple hosts | |
Nivetha et al. | Modeling fuzzy based replication strategy to improve data availabiity in cloud datacenter | |
CN110798362A (en) | Multi-data center online management system and management method based on Internet of things | |
US9229659B2 (en) | Identifying and accessing reference data in an in-memory data grid |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 20827514 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20827514 Country of ref document: EP Kind code of ref document: A1 |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 29/03/2022) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20827514 Country of ref document: EP Kind code of ref document: A1 |