A resource management system, method, device, equipment and medium
By introducing the Calico network management layer into cloud computing, we can obtain the target correspondence between virtual LAN and business containers and establish network connections, which solves the lack of resource utilization and management flexibility in virtual LAN isolation mode and achieves more efficient resource isolation and management. Flexibility, suitable for small and medium-sized cloud environments.
Patent Information
- Application Number
- CN202110649249.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-06-10
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2041-06-10
AI Technical Summary
In existing cloud computing technology, tenant isolation methods based on virtual LAN are insufficient in rational resource utilization and resource management flexibility, and cannot meet the availability and resource utilization needs of small and medium-sized environments.
Use a resource management system, including the tenant layer, container layer, network management layer and physical resource layer, to obtain the target correspondence between the virtual LAN and the business container through the Calico network, and establish the network connection between the virtual LAN and its corresponding business container , achieving a higher level of isolation and resource utilization.
It improves isolation performance and expansion performance, ensures resource exclusivity and flexibility between business containers, adapts to actual business needs, and improves resource availability and management efficiency in small and medium-sized environments.
Smart Images

Figure CN113407306B
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of cloud computing technology, and in particular to a resource management system, method, device, equipment and medium. Background Art
[0002] In the cloud architecture and cloud platform overlay planning provided by related technologies, multiple tenants use unified resources to provide underlying hardware resources. In order to ensure the security of tenant data, tenants can be isolated, usually based on virtual local area network (VLAN). However, the above method cannot meet the requirements in terms of reasonable resource utilization and flexibility of resource management. Summary of the invention
[0003] In order to solve the above technical problems or at least partially solve the above technical problems, the present disclosure provides a resource management system, method, apparatus, device and medium.
[0004] The embodiment of the present disclosure provides a resource management system, the system includes a tenant layer, a container layer, a network management layer, a virtual layer and a physical resource layer, the tenant layer includes multiple tenants, the container layer includes multiple business containers, and one tenant includes multiple business containers; the physical resource layer includes multiple physical machines, the virtual layer includes multiple virtual machines, and one physical machine corresponds to multiple virtual machines;
[0005] The network management layer is used to: obtain the target correspondence between the virtual LAN and the business container, where one business container corresponds to multiple virtual machines under a virtual LAN, and the multiple virtual machines corresponding to a virtual LAN are respectively distributed on different physical machines; and establish a network connection between each virtual LAN and its corresponding business container through the Calico network and the target correspondence.
[0006] The present disclosure provides a resource management method, which is applied to a network management layer. The method includes:
[0007] Obtain a target correspondence relationship between a virtual local area network and a service container included in a tenant, where one service container corresponds to multiple virtual machines under one virtual local area network, and multiple virtual machines corresponding to one virtual local area network are respectively distributed on different physical machines;
[0008] A network connection between each virtual local area network and its corresponding service container is established through the Calico network and the target corresponding relationship.
[0009] The embodiment of the present disclosure further provides a resource management device, which is configured at a network management layer and includes:
[0010] A relationship acquisition module is used to acquire a target correspondence relationship between a virtual local area network and a service container included in a tenant, where a service container corresponds to multiple virtual machines under a virtual local area network, and multiple virtual machines corresponding to a virtual local area network are respectively distributed on different physical machines;
[0011] A connection module is used to establish a network connection between each virtual local area network and its corresponding business container through the Calico network and the target correspondence relationship.
[0012] An embodiment of the present disclosure also provides an electronic device, which includes: a processor; a memory for storing executable instructions of the processor; the processor is used to read the executable instructions from the memory and execute the instructions to implement the resource management method provided in the embodiment of the present disclosure.
[0013] The embodiment of the present disclosure further provides a computer-readable storage medium, wherein the storage medium stores a computer program, and the computer program is used to execute the resource management method provided by the embodiment of the present disclosure.
[0014] The technical solution provided by the embodiment of the present disclosure has the following advantages over the prior art: the resource management system provided by the embodiment of the present disclosure includes a tenant layer, a container layer, a network management layer, a virtual layer and a physical resource layer, the tenant layer includes multiple tenants, the container layer includes multiple business containers, and one tenant includes multiple business containers; the physical resource layer includes multiple physical machines, the virtual layer includes multiple virtual machines, and one physical machine corresponds to multiple virtual machines; the network management layer is used to: obtain the target correspondence between the virtual local area network and the business container, one business container corresponds to multiple virtual machines under a virtual local area network, and multiple virtual machines corresponding to a virtual local area network are respectively distributed on different physical machines; through the Calico network and the target correspondence, establish a network connection between each virtual local area network and its corresponding business container. Since the resource management system uses the Calico network to connect the network at the virtual local area network level, on the basis of tenant isolation based on the virtual local area network, the Calico network can realize one more layer of protocol layer and communication layer isolation, improve the isolation performance and expansion performance, and divide multiple business containers on the basis of the tenant level to realize the isolation between business containers, on the basis of ensuring the exclusivity of resource use, it is more in line with actual business needs and improves flexibility. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0016] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0017] Figure 1 A schematic diagram of the structure of a resource management system provided by an embodiment of the present disclosure;
[0018] Figure 2 A schematic diagram of the structure of another resource management system provided by an embodiment of the present disclosure;
[0019] Figure 3 A schematic diagram of a resource management method provided by an embodiment of the present disclosure;
[0020] Figure 4 A schematic diagram of the structure of a resource management device provided in an embodiment of the present disclosure;
[0021] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0022] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments can be combined with each other without conflict.
[0023] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.
[0024] Among the related technologies of resource management of cloud platforms, one is to plan the overall logical isolation of tenants based on clustered hardware resources. In this planning and design, especially in small and medium-sized planning scenarios, there are certain availability and security risks. For example, in small and medium-sized environments, after a high-configuration resource node goes down, the availability of the upper-level Platform as a Service (PaaS) management node or other nodes will be reduced. If some computing resources are shared, it may even cause the entire platform to be unavailable. Another method is to perform logical isolation for different tenants based on hardware resources and use independent hardware resources. In this planning and design, there is a certain problem of resource waste, and the relatively elastic characteristics of cloud resources cannot be achieved. Another method is to isolate tenants based on virtual LANs. All of the above methods have certain defects in the rational use of resources and the flexibility of resource management, and cannot meet the needs.
[0025] In order to solve the above technical problems, the embodiments of the present disclosure provide a resource management system, which will be introduced below in conjunction with specific embodiments.
[0026] Figure 1 A schematic diagram of a resource management system provided in an embodiment of the present disclosure is provided. The resource management system 10 may include a tenant layer 11, a container layer 12, a network management layer 13, a virtual layer 14, and a physical resource layer 15. The tenant layer 11 includes multiple tenants, the container layer 12 includes multiple business containers, and one tenant includes multiple business containers; the physical resource layer 15 includes multiple physical machines, the virtual layer 14 includes multiple virtual machines, and one physical machine corresponds to multiple virtual machines;
[0027] The network management layer 13 is used to: obtain the target correspondence between the virtual LAN and the business container, one business container corresponds to multiple virtual machines under a virtual LAN, and the multiple virtual machines corresponding to a virtual LAN are distributed on different physical machines; through the Calico network and the target correspondence, establish a network connection between each virtual LAN and its corresponding business container.
[0028] like Figure 1 As shown, the physical resource layer 15 in the resource management system 10 may include multiple physical machines, which may be hardware resources that provide services. The number of physical machines included in the physical resource layer is within a preset number range. Since the embodiments of the present disclosure are aimed at scenarios that can target small and medium-sized resources, the preset number can be set according to actual conditions. For example, the preset number can be 200, which is only an example and not the only limitation. The figure shows 4 physical machines by way of example.
[0029] The virtual layer 14 may include multiple virtual machines, and each physical machine in the physical resource layer 15 may correspond to multiple virtual machines. The specific number can be set according to actual conditions. In the figure, each physical machine corresponds to 8 virtual machines.
[0030] The tenant layer 11 may include multiple tenants, and the tenants may be divided according to actual business projects. For example, the tenants may include at least one of a development tenant, a production tenant, and a test tenant, and the development tenant may also include a pre-development tenant and a formal development tenant.
[0031] Furthermore, Figure 2 A schematic diagram of another resource management system provided by an embodiment of the present disclosure is shown in FIG. Figure 1 and Figure 2 As shown, in the resource management system 10 provided by the present solution, each tenant can be divided into multiple business containers, and the business containers can be divided based on business information, that is, based on the specific business information under the business project corresponding to the current tenant. Figure 2 As shown, the business container under each tenant may include a service registration and discovery component (Eureka), a service configuration (Config), a service load balancing (Ribbon), a service fuse (Hystrix), and a service consumption (Feign), etc. These are only examples, not specific limitations on the business container.
[0032] See also Figure 1 The resource management system 10 may also include a cloud management platform 16, which may allocate one or more virtual local area networks to each virtual machine and establish a correspondence between the service containers included in the tenant and the virtual local area networks, that is, the above-mentioned target correspondence. Each service container may correspond to a virtual local area network, and multiple virtual machines corresponding to a virtual local area network are distributed on different physical machines, see Figure 1 Taking business container 11 as an example, business container 11 corresponds to virtual LAN 1, and virtual machine 1 allocated to virtual LAN 1 is distributed on physical machine 1, physical machine 2, physical machine 3 and physical machine 4 respectively. The corresponding relationships between other business containers and virtual LANs, virtual machines and physical machines are similar.
[0033] The cloud management platform 16 can cut virtual machines with consistent configurations from the physical host level of the same configuration, and can correspond to the PAAS cloud management platform to form a tenant system for evenly distributed virtual machine resources. On the basis of ensuring that resources and networks have a certain logical correspondence, it can ensure that the number of planned virtual LANs and virtual machine resources are kept as balanced as possible. In the above-mentioned target correspondence, the business container under each tenant corresponds to an independent virtual LAN virtual machine, and the underlying virtual machines are distributed on different physical machines. The business containers under different tenants cannot communicate through the virtual LAN setting, and the second-layer isolation is achieved to achieve the effect of improving information security, ensuring the exclusivity of more fine-grained computing resource use, avoiding resource competition, and achieving isolation of the virtualization layer of the underlying physical resources, while avoiding the problem of waste caused by excessive resource planning, and ensuring availability.
[0034] The network management layer 13 in the embodiment of the present disclosure can perform network policy management and control of the overlay of business containers under different tenants based on the Calico-based network management mechanism.
[0035] Among them, Calico is a pure three-layer data center network solution, and it seamlessly integrates the Paas cloud architecture, which can provide controllable virtual machines (VMs), containers, and bare metal communications. All data packets find the corresponding host and container through routing, and then synchronize all routes to all machines or data centers through the Border Gateway Protocol (BGP) protocol, thereby completing the interconnection of the entire network. In the field of network technology, Overlay can be a virtualization technology model superimposed on the network architecture. Its general framework is to realize the carrying of applications on the network without large-scale modifications to the basic network, and can be separated from other network services, and is mainly based on IP-based basic network technology, that is, Overlay technology is to build a virtual network on the existing physical network, and the upper-layer applications are only related to the virtual network.
[0036] The network management layer 13 in the disclosed embodiment can be used to: obtain the target correspondence between the virtual local area network and the service container, and establish a network connection between each virtual local area network and its corresponding service container through the Calico network and the target correspondence. The network management layer 13 can adopt the IPIP mode of Calico, and put an Internet Protocol (IP) data packet in an IP data packet, that is, encapsulate the IP layer into a channel (tunnel) of the IP layer. Its function is actually basically equivalent to a bridge based on the IP layer. Generally speaking, ordinary bridges are based on the mac layer and do not require IP at all. IPIP makes a tunnel through the routing at both ends, connecting two originally unconnected networks through point-to-point, that is, establishing a network connection relationship between the virtual local area network and its corresponding service container according to the target correspondence. In addition, after Calico is deployed in IPIP mode, there will be a network card device including a tunnel interface (tunl) on the node for tunnel encapsulation, which is a network in overlay mode.
[0037] In the above scheme, the underlying environment will be isolated based on the virtual LAN, and by deploying the Calico network model at the virtual machine level, the environment network isolation is further realized through the Calico network. The PAAS cloud native platform of Kubernets will be deployed in a globally shared form, and the business containers under the tenants can be bound to different virtual machine resources, which can achieve the ultimate resource utilization and ultimate high-availability planning of physical resources. The resource management system provided by the disclosed embodiment can plan and manage the PAAS cloud native platform more efficiently and in a standardized manner, especially for small and medium-sized environments, when planning the resources of the PAAS cloud native platform, and can also relatively improve the availability guarantee of the resources of the business containers under each tenant.
[0038] The resource management system provided by the embodiment of the present disclosure includes a tenant layer, a container layer, a network management layer, a virtual layer and a physical resource layer. The tenant layer includes multiple tenants, the container layer includes multiple business containers, and one tenant includes multiple business containers; the physical resource layer includes multiple physical machines, the virtual layer includes multiple virtual machines, and one physical machine corresponds to multiple virtual machines; the network management layer is used to: obtain the target correspondence between the virtual local area network and the business container, one business container corresponds to multiple virtual machines under a virtual local area network, and multiple virtual machines corresponding to a virtual local area network are respectively distributed on different physical machines; through the Calico network and the target correspondence, establish a network connection between each virtual local area network and its corresponding business container. Since the resource management system uses the Calico network to connect the network at the virtual local area network level, on the basis of tenant isolation based on the virtual local area network, the Calico network can achieve one more layer of protocol layer and communication layer isolation, improve the isolation performance and expansion performance, and divide multiple business containers on the basis of the tenant level to achieve isolation between business containers, on the basis of ensuring the exclusivity of resource use, it is more in line with actual business needs and improves flexibility.
[0039] Figure 3 The following is a flow chart of a resource management method provided by an embodiment of the present disclosure. The method can be executed by a resource management device, wherein the device can be implemented by software and / or hardware and can generally be integrated in an electronic device. Figure 3 As shown, the method is applied to the network management layer, including:
[0040] Step 301: Obtain a target correspondence relationship between a virtual local area network and a service container included in a tenant.
[0041] Among them, Virtual Local Area Network (VLAN) is a technology that logically divides LAN devices into network segments or smaller LANs to achieve data exchange between virtual workgroups (units). Virtual LANs are mainly used in switches and routers, but not all switches have this function. Only switches above layer 3 have this function. The network management layer in this solution can include virtual switches, which are used to build virtual networks based on the Underly network using Overlay technology and divide the virtual network into different virtual LANs.
[0042] Overlay technology builds a virtual network on top of the existing physical network. Upper-layer applications are only related to the virtual network. Underlay can be a distributed network without a central control node. Each device in the network learns the reachability information of the network through protocol transmission. Each device decides how to forward the information by itself, and cannot regulate the traffic from the perspective of the entire network.
[0043] The number of tenants in the embodiments of the present disclosure can be multiple, which belongs to a multi-tenant system. The multi-tenant system explores and implements how to share the same system, program components or resources in a multi-user environment, and still ensure the isolation of data between users. Tenants can be divided according to actual business projects. For example, tenants can include at least one of development tenants, production tenants and test tenants. Development tenants can also include pre-development tenants and formal development tenants. Furthermore, each tenant can be divided into multiple business containers. Business containers can be divided based on business information, that is, based on the specific business information under the business project corresponding to the current tenant. For example, Figure 2 As shown, the business container under each tenant may include service registration and discovery components (Eureka), service configuration (Config), service load balancing (Ribbon), service fuse (Hystrix) and service consumption (Feign), etc., which are only examples and not specific limitations of business containers.
[0044] The target correspondence relationship refers to the binding relationship between a virtual LAN and a service container, where a service container corresponds to multiple virtual machines under a virtual LAN, and multiple virtual machines corresponding to a virtual LAN are distributed on different physical machines. Specifically, the network management layer can obtain the target correspondence relationship between the pre-established virtual LAN and the service container included in the tenant.
[0045] Step 302: Establish a network connection between each virtual local area network and its corresponding service container through the Calico network and the target correspondence relationship.
[0046] Among them, Calico is a pure three-layer data center network solution, and it seamlessly integrates the Paas cloud architecture. It can provide controllable communications between virtual machines (VMs), containers, and bare metals. All data packets find the corresponding hosts and containers through routing, and then synchronize all routes to all machines or data centers through the Border Gateway Protocol (Border Gateway Protocol, BGP) protocol, thereby completing the interconnection of the entire network.
[0047] In the disclosed embodiment, a network connection between each virtual LAN and its corresponding service container is established through the Calico network and the target correspondence, which may include: based on the IPIP mode of the Calico network and the target correspondence, a network connection between each virtual LAN and its corresponding service container is established. The network management layer can adopt the IPIP mode of Calico to encapsulate an IP data packet in another IP data packet, that is, to encapsulate the IP layer into a channel (tunnel) of the IP layer. Its function is actually basically equivalent to a bridge based on the IP layer. A tunnel is made through the routing at both ends to connect two networks that are not connected through point-to-point, that is, to establish a network connection relationship between the virtual LAN and its corresponding service container according to the target correspondence. In addition, after Calico is deployed in IPIP mode, there will be a network card device including a tunnel interface (tunl) on the node for tunnel encapsulation, which is an overlay mode network.
[0048] In some embodiments, the resource management method may further include: establishing a network connection between the first virtual local area network and the second virtual local area network based on the Calico network.
[0049] Among them, the first virtual LAN and the second virtual LAN are any two virtual LANs in the above-mentioned resource management system that need to establish communication, without specific limitation. In this solution, the network management layer uses the Calico network to establish a network connection between the first virtual LAN and the second virtual LAN when the business container corresponding to the first virtual LAN needs to communicate with the business container corresponding to the second virtual LAN, so as to realize the communication between the corresponding two business containers. The above-mentioned use of the Calico network for network policy management can not only realize the management at the virtual LAN level and the environmental network level, but also can flexibly establish communication when needed, thereby improving the flexibility of network management and resource management, and the scalability is also improved.
[0050] The resource management method provided by the embodiment of the present disclosure solves the problem of unreasonable planning of multi-tenant resources on the cloud management platform based on the above-mentioned resource management system. It improves isolation performance and expansion performance by standardizing the design from the resource and network level and ensuring the relative improvement of the availability of resources of the business container under each tenant, thereby enhancing the value of the platform. This solution solves the requirements of scene availability and intensive management of various networks, basic resources, tenant management, and policy management, and can be applied to a variety of complex business demand scenarios.
[0051] In the resource management method provided by the embodiment of the present disclosure, the network management layer in the resource management system can obtain the target correspondence between the virtual LAN and the business container included under the tenant, and establish a network connection between each virtual LAN and its corresponding business container through the Calico network and the target correspondence. Since the network management layer performs network connection through the Calico network at the virtual LAN level, on the basis of tenant isolation based on the virtual LAN method, the Calico network can achieve one more layer of protocol layer and communication layer isolation, improve isolation performance and expansion performance, and divide multiple business containers on the basis of the tenant level to achieve isolation between business containers, which is more in line with actual business needs and improves flexibility while ensuring the exclusivity of resource use.
[0052] Figure 4 This is a schematic diagram of the structure of a resource management device provided by an embodiment of the present disclosure. The device can be implemented by software and / or hardware and can generally be integrated into an electronic device. Figure 4 As shown, the device is configured at the network management layer, including:
[0053] The relationship acquisition module 401 is used to acquire the target correspondence relationship between the virtual local area network and the service containers included in the tenant, where one service container corresponds to multiple virtual machines under one virtual local area network, and the multiple virtual machines corresponding to one virtual local area network are respectively distributed on different physical machines;
[0054] The connection module 402 is used to establish a network connection between each virtual local area network and its corresponding service container through the Calico network and the target correspondence relationship.
[0055] Optionally, the connection module 402 is specifically used for:
[0056] Based on the IPIP mode of the Calico network and the target correspondence, a network connection is established between each of the virtual local area networks and its corresponding service container.
[0057] Optionally, the device further includes a network management module, configured to:
[0058] A network connection between the first virtual local area network and the second virtual local area network is established based on the Calico network.
[0059] The resource management device provided in the embodiments of the present disclosure can execute the resource management method provided in any embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects of the execution method.
[0060] Figure 5 The structure diagram of an electronic device provided by the embodiment of the present disclosure is shown in FIG. Figure 5As shown, the electronic device 500 includes one or more processors 501 and a memory 502 .
[0061] The processor 501 may be a central processing unit (CPU) or other forms of processing units having data processing capabilities and / or instruction execution capabilities, and may control other components in the electronic device 500 to perform desired functions.
[0062] The memory 502 may include one or more computer program products, and the computer program product may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. The volatile memory may include, for example, a random access memory (RAM) and / or a cache memory (cache), etc. The non-volatile memory may include, for example, a read-only memory (ROM), a hard disk, a flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium, and the processor 501 may run the program instructions to implement the resource management method of the embodiment of the present disclosure described above and / or other desired functions. Various contents such as input signals, signal components, noise components, etc. may also be stored in the computer-readable storage medium.
[0063] In one example, the electronic device 500 may further include: an input device 503 and an output device 504 , and these components are interconnected via a bus system and / or other forms of connection mechanisms (not shown).
[0064] In addition, the input device 503 may also include, for example, a keyboard, a mouse, and the like.
[0065] The output device 504 can output various information to the outside, including the determined distance information, direction information, etc. The output device 504 can include, for example, a display, a speaker, a printer, a communication network and a remote output device connected thereto, and the like.
[0066] Of course, to simplify, Figure 5 Only some of the components related to the present disclosure in the electronic device 500 are shown, and components such as a bus, an input / output interface, etc. are omitted. In addition, according to specific application situations, the electronic device 500 may also include any other appropriate components.
[0067] In addition to the above-mentioned method and device, the embodiment of the present disclosure may also be a computer program product, which includes computer program instructions. When the computer program instructions are executed by a processor, the processor executes the resource management method provided by the embodiment of the present disclosure.
[0068] The computer program product may be written in any combination of one or more programming languages to write program code for performing the operations of the disclosed embodiments, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.
[0069] In addition, the embodiment of the present disclosure may also be a computer-readable storage medium on which computer program instructions are stored. When the computer program instructions are executed by a processor, the processor executes the resource management method provided by the embodiment of the present disclosure.
[0070] The computer readable storage medium can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can include, for example, but is not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0071] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0072] The above description is only a specific embodiment of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to the embodiments described herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A resource management system, characterized in that: It includes a tenant layer, a container layer, a network management layer, a virtual layer and a physical resource layer. The tenant layer includes multiple tenants, the container layer includes multiple business containers, and one tenant includes multiple business containers; the physical resource layer includes multiple physical machines, the virtual layer includes multiple virtual machines, and one physical machine corresponds to multiple virtual machines; The network management layer is used to: obtain a target correspondence relationship between a virtual local area network and the service container, where one service container corresponds to multiple virtual machines under one virtual local area network, and multiple virtual machines corresponding to one virtual local area network are respectively distributed on different physical machines; establish a network connection between each virtual local area network and its corresponding service container through the Calico network and the target correspondence relationship; The business container is divided based on business information, and the business container includes at least one of a service registration and discovery component, a service configuration, a service load balancing, a service fuse, and a service consumption.
2. The resource management system according to claim 1, characterized in that: The tenant includes at least one of a development tenant, a production tenant, and a test tenant.
3. The resource management system according to claim 1, characterized in that: The number of physical machines included in the physical resource layer is within a preset number range.
4. A resource management method, characterized in that: A network management layer applied to a resource management system, wherein the resource management system includes a tenant layer, a container layer, a network management layer, a virtual layer and a physical resource layer, the tenant layer includes multiple tenants, the container layer includes multiple business containers, and one tenant includes multiple business containers; the physical resource layer includes multiple physical machines, the virtual layer includes multiple virtual machines, and one physical machine corresponds to multiple virtual machines, including: Obtaining a target correspondence between a virtual local area network and a service container included in a tenant, where one service container corresponds to multiple virtual machines under one virtual local area network, and the multiple virtual machines corresponding to one virtual local area network are respectively distributed on different physical machines, and the service container is divided based on service information, and the service container includes at least one of a service registration and discovery component, service configuration, service load balancing, service fuse, and service consumption; A network connection between each virtual local area network and its corresponding service container is established through the Calico network and the target corresponding relationship.
5. The method according to claim 4, characterized in that Establishing a network connection between each virtual local area network and its corresponding service container through the Calico network and the target correspondence relationship, including: Based on the IPIP mode of the Calico network and the target correspondence, a network connection is established between each of the virtual local area networks and its corresponding service container.
6. The method according to claim 4, characterized in that Also includes: A network connection between the first virtual local area network and the second virtual local area network is established based on the Calico network.
7. A resource management device, characterized in that: A network management layer configured in a resource management system, wherein the resource management system includes a tenant layer, a container layer, a network management layer, a virtual layer and a physical resource layer, the tenant layer includes multiple tenants, the container layer includes multiple business containers, and one tenant includes multiple business containers; the physical resource layer includes multiple physical machines, the virtual layer includes multiple virtual machines, and one physical machine corresponds to multiple virtual machines, including: A relationship acquisition module, used to acquire a target correspondence relationship between a virtual local area network and a service container included in a tenant, wherein one service container corresponds to multiple virtual machines under one virtual local area network, and multiple virtual machines corresponding to one virtual local area network are respectively distributed on different physical machines, and the service container is divided based on service information, and the service container includes at least one of a service registration and discovery component, service configuration, service load balancing, service fuse, and service consumption; A connection module is used to establish a network connection between each virtual local area network and its corresponding business container through the Calico network and the target correspondence relationship.
8. An electronic device, characterized in that: The electronic device comprises: processor; a memory for storing instructions executable by the processor; The processor is used to read the executable instructions from the memory and execute the instructions to implement the resource management method described in any one of claims 4-6.
9. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and the computer program is used to execute the resource management method according to any one of claims 4 to 6.
Citation Information
Patent Citations
Data center system and virtual network management method of data center
CN105284080A
SaaS multi-user service platform for time-sharing leasing
CN109634717A
Tenant data isolation method and device in cloud environment
CN112788037A
Multi-Tenant Network Stack
US20150082301A1
Translating PAAS / CAAS abstractions to logical network topologies
US20180375728A1
