WO2021120968A1 - Server capacity expansion method and capacity expansion system - Google Patents

Server capacity expansion method and capacity expansion system Download PDF

Info

Publication number
WO2021120968A1
WO2021120968A1 PCT/CN2020/129869 CN2020129869W WO2021120968A1 WO 2021120968 A1 WO2021120968 A1 WO 2021120968A1 CN 2020129869 W CN2020129869 W CN 2020129869W WO 2021120968 A1 WO2021120968 A1 WO 2021120968A1
Authority
WO
WIPO (PCT)
Prior art keywords
cloud host
image
service container
virtual
database
Prior art date
Application number
PCT/CN2020/129869
Other languages
French (fr)
Chinese (zh)
Inventor
赵贝
矫恒浩
刘云冲
Original Assignee
聚好看科技股份有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 聚好看科技股份有限公司 filed Critical 聚好看科技股份有限公司
Publication of WO2021120968A1 publication Critical patent/WO2021120968A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45595Network integration; Enabling network access in virtual machine instances

Definitions

  • the present disclosure relates to the technical field of smart TVs, and in particular to a server expansion method and expansion system.
  • Virtual server (English name: Linux Virtual Server) is widely used because of its good scalability, reliability and manageability.
  • the virtual server used in the industry mostly adopts the master-standby mode, that is, only one master virtual server provides external services at any time.
  • this active-standby mode will cause a large amount of data processing pressure on the main virtual server (also called a cloud server) when the number of requests processed by the main virtual server is large, and it will prolong the time for the main virtual server to respond to requests. , Which greatly reduces the efficiency of the main virtual server to process requests.
  • the purpose of the invention of this application is to provide a server expansion method and a server expansion system.
  • the first aspect of the embodiments of the present application shows a server expansion system, including:
  • the management platform is configured to send creation requests
  • a physical machine configured to create a virtual server cluster, the virtual server cluster including at least one virtual server; a virtual cloud host database is configured, and the virtual cloud host database is independently provided with a first sub-database and a second sub-database, the The first sub-database is used to embed the virtual cloud host image, and the second sub-database is used to embed the service container image;
  • the configuration file of the target service container image is loaded into the configuration directory of the cloud host container to complete the creation of the virtual cloud host, so as to realize the communication with the processing server.
  • the second aspect of the embodiments of the present application shows a server expansion method, the method is applied to a physical machine, the physical machine is configured with a virtual cloud host database, the virtual cloud host database is independently provided with a first sub-database and a second sub-database A sub-database, the first sub-database is used to embed virtual cloud host images, and the second sub-database is used to embed service container images;
  • the configuration file of the target service container image is loaded into the configuration directory of the cloud host container to complete the creation of the virtual cloud host, so as to realize the communication with the processing server.
  • the embodiment of the present application shows a server expansion method and a server expansion system.
  • the system includes a management platform configured to send a creation request; a physical machine is configured to create a virtual server cluster and is configured with a virtual server cluster.
  • a cloud host database the virtual cloud host database is independently provided with a first sub-database and a second sub-database, the first sub-database is used to embed virtual cloud host images, and the second sub-database is used to embed service containers Mirror; is further configured to: in response to receiving a creation request sent by the management platform, use the embedded virtual cloud host image to create a cloud host container; traverse the second sub-database to obtain a target service container based on the service container image identifier Image, the target service container image is a service container image corresponding to the service container image identifier; the configuration file of the target service container image is loaded into the configuration directory of the cloud host container to complete the virtual cloud host Created to achieve communication with the processing server.
  • this embodiment shows that the virtual cloud host image is embedded in the first sub-database of the physical machine in advance, while the service container image is embedded in the second sub-database; when the virtual server needs to be expanded, the embedded virtual server is directly used.
  • the virtual cloud host image creates a cloud host container, and loads the configuration file of the target service container image into the configuration directory of the cloud host container to complete the creation of the virtual cloud server.
  • the entire creation process does not go to the cloud image library. Instead of fetching files, use the embedded virtual cloud host image and service container image to create a virtual server.
  • the above process can avoid network congestion caused by a large number of physical machines requesting a mirror warehouse during server expansion, which can save the creation of virtual servers. Time to achieve the purpose of rapid expansion.
  • Fig. 1 is a schematic diagram of a virtual server capacity expansion system according to an embodiment
  • Fig. 2 is a structural block diagram of a physical machine according to an embodiment
  • Fig. 3 is an interaction diagram of a physical machine, a management platform, and a cloud server according to an embodiment
  • Fig. 4 is an interaction diagram of a physical machine and a management platform according to an embodiment
  • Fig. 5 is a flowchart showing a method for server expansion according to an embodiment.
  • FIG. 1 is a virtual server expansion system provided by an embodiment of the present application
  • FIG. 2 is a structural block diagram of a physical machine in an embodiment of the present application.
  • the expansion system is used for the expansion of the virtual server 21.
  • the capacity expansion system shown in the embodiment of the present application includes: a management platform 10, a physical machine 20 and a cloud server 30.
  • the management platform 10, the service container image or cloud host image developed by the developer can be uploaded to the cloud server 30 through the management platform 10.
  • the developer can synchronize the developed service container image or cloud host image to the virtual cloud host database 22 of the physical machine 20 through the management platform 10.
  • the virtual server cluster includes multiple virtual servers 21.
  • the multiple virtual servers 21 can be deployed on the same physical machine 20 or on multiple servers.
  • the physical machine 20 is provided with a virtual cloud host database 22.
  • the virtual cloud host database is independently provided with a first sub-database 221 and a second sub-database 222, and the first sub-database 221 is used to embed a virtual cloud host database.
  • Cloud host mirroring, and the second sub-database 222 is used to embed service container mirroring.
  • the cloud server 30 is provided with an image library, and the image library is used to store service container images or cloud host images developed by developers.
  • FIG. 3 is an interaction diagram of a physical machine, a management platform, and a cloud server in the process of creating a virtual server shown in an embodiment of the application. As shown in FIG. 3, the process of creating a virtual server includes steps S101 to S104.
  • the S101 management platform 10 is configured to send a creation request
  • a user such as a developer or a maintainer can send a request for adding a virtual server to the management platform 10.
  • the management platform 10 receives a request for adding a virtual server, it sends a creation request to the physical machine 20, where the creation request includes at least a service container image identifier, and the service container image identifier is an identifier corresponding to the service container image in the second sub-database.
  • the service container image identifier may be an identifier used to uniquely identify the service container image, such as the name and number of the service container image, and there is no restriction on the specific content of the service container image identifier.
  • S102 in response to receiving the creation request sent by the management platform, creates a cloud host container using the embedded virtual cloud host image
  • each physical machine 20 is provided with a first sub-database 221 and multiple second sub-databases 222. Therefore, in some embodiments, the creation request sent by the management platform 10 may include the cloud host image identifier. In some embodiments, the creation request sent by the management platform 10 may not include the cloud host image identifier.
  • the file of the virtual cloud host image in this application is the code of the application program, and the application program code is used to record the construction rules preset by the user.
  • a virtual cloud host image refers to a pre-installed software and configured operating system. This image can be used to quickly create a cloud host.
  • the operating system includes the windows version or the linux version, and the image contains all the things that the server runs normally. When the cloud host is created again after the cloud host image is created, use the image as a benchmark to quickly create a cloud host container.
  • the physical machine 20 uses the embedded virtual cloud host image to create a container corresponding to the virtual server 21, that is, the cloud host container. After the container is created, the virtual server 21 can run in the container.
  • the physical machine 20 may execute the Docker run command to create a corresponding container according to the virtual cloud host image.
  • the physical machine 20 can complete the creation of the cloud host container by executing the following command: docker run LVS-Qugga.
  • the physical machine 20 in response to the inability to create the cloud host container, sends a load request for loading the virtual cloud host image to the cloud server 30 to retrieve the virtual cloud host image stored by the cloud server 30.
  • the loading request includes a cloud host image identifier
  • the cloud host image identifier may be an identifier for uniquely identifying the cloud host image, such as the name and number of the cloud host image, and the specific content of the cloud host image identifier is not restricted here.
  • a mirror library is provided in the cloud server 30, and the mirror library stores cloud host images.
  • the image library includes at least one cloud host code warehouse, and each cloud host code warehouse is used to store a kind of cloud host image code.
  • the cloud server 30 can establish the corresponding relationship between the code of the cloud host code warehouse and the cloud host image identifier by detecting the setting operation of the user. Based on this correspondence, when receiving the cloud host image identifier uploaded by the physical machine, the cloud server 30 may retrieve the code corresponding to the cloud host image identifier, and send the code to the physical machine 20 that issued the loading request.
  • the physical machine 20 loads the cloud host image issued by the cloud server 30, and creates a corresponding container according to the cloud host image.
  • the physical machine 20 is configured to perform step S103 to obtain a target service container image by traversing the second sub-database based on the service container image identifier, and the target service container image is the same as the The service container image ID corresponds to the service container image.
  • the virtual cloud host database 22 of the physical machine 20 is stored with a variety of service container images.
  • the virtual cloud host database includes a plurality of second sub-databases 222, each The second sub-database 222 is used to store a code of a service container image.
  • the physical machine 20 can establish the corresponding relationship between the code of the second sub-database and the service container image identifier by detecting the setting operation of the user. Based on this correspondence, when the physical machine 20 receives the service container image identifier issued by the management platform 10, the physical machine 20 can determine that the code corresponding to the service container image is the target service container image.
  • a load request for loading the target service container image is sent to the cloud server to retrieve the cloud server storage The target service container image.
  • the aforementioned loading request includes the service container image identifier.
  • a mirror library is provided in the cloud server 30, and the mirror library stores service container images.
  • the image library includes at least one service code repository, and each service code repository is used to store the code of a service container image.
  • the cloud server 30 can establish a corresponding relationship between the code of the service code warehouse and the service container image identifier by detecting the setting operation of the user. Based on this correspondence, when receiving the service container image identifier uploaded by the physical machine, the cloud server 30 may call the code corresponding to the service container image identifier (ie the configuration file of the target service container image), and send the code to The physical machine 20 that issued the load request.
  • Step S104 Load the configuration file of the target service container image into the configuration directory of the cloud host container to complete the creation of the virtual cloud host, so as to realize the communication with the processing server.
  • a configuration file of the service is recorded in the service container image, and the configuration file includes network address information and port numbers of multiple processing servers managed by the virtual server 21. Then load the configuration file into the configuration directory of the cloud host container. In this way, when the virtual server 21 needs to send the received request to the processing server for processing, it can forward the request to the corresponding processing server according to the network address information and port number of the processing server in the configuration directory, so that the processing server can Process the request.
  • the service container image stored in the second sub-database needs to be updated.
  • a scenario For a published service container image, if the service container image has some defects in the actual use process, which affects the performance of the service container image, the developer of the service container image can use the source code of the service container image Make modifications to overcome the problems in the running process of the service container image, thereby improving the performance of the service container image.
  • the developer of the service container image After the developer of the service container image has modified the source code of the service container image, the developer of the service container image uploads the modified code of the service container image to the management platform 10.
  • the management platform 10 In response to obtaining the update service container image released by the developer, the management platform 10 synchronizes the update container image to the second sub-database. This ensures that the second sub-database always stores the latest version of the service container image.
  • the service container image developer can develop a service container image with new functions, and then upload the developed service container image code to the code warehouse server through the terminal.
  • the developer of the service container image After the developer of the service container image has modified the source code of the service container image, the developer of the service container image uploads the modified code of the service container image to the management platform 10.
  • the management platform 10 In response to obtaining the update service container image released by the developer, the management platform 10 synchronizes the update container image to the second sub-database. This ensures that the second sub-database always stores the latest version of the service container image.
  • FIG. 3 only illustrates the interaction between one physical machine 20 and the management platform 10, and the interaction between other physical machines 20 and the management platform 10 is similar to the situation in FIG. Out.
  • the management platform 10 may be installed in a hardware server.
  • the other physical machines are different from the physical machines that are creating the virtual cloud host.
  • Other physical machines use the same cloud host image code as the physical machine that creates the virtual cloud host.
  • FIG. 4 is an interaction diagram of a physical machine, a management platform, and other physical machines.
  • the method for creating a virtual server includes steps S201 to S204.
  • the management platform 10 is configured to send a creation request
  • the physical machine 20 in response to the inability to create the cloud host container, sends a load request for loading the virtual cloud host image to other physical machines to retrieve the virtual cloud host image stored by the other physical machine.
  • a virtual cloud host database is provided in other physical machines.
  • the virtual cloud host database is independently provided with a first sub-database and a second sub-database.
  • the first sub-database is used to embed the virtual cloud host image
  • the second The sub-database is used to embed the service container image.
  • the physical machine 20 responds to the cloud host image sent by other physical machines, loads the cloud host image issued by the other physical machine, and creates a corresponding container according to the cloud host image.
  • the physical machine 20 is configured to perform step S203 to obtain a target service container image by traversing the second sub-database based on the service container image identifier, and the target service container image is the same as the The service container image ID corresponds to the service container image.
  • the virtual cloud host database of other physical machines stores multiple service container images.
  • the virtual cloud host database includes multiple second sub-databases.
  • the sub-database is used to store the code of a service container image.
  • the other physical machine 20 can establish the correspondence between the code of the second sub-database and the service container image identifier by detecting the setting operation of the user. Based on this correspondence, when the physical machine 20 receives the service container image identifier issued by the management platform 10, the other physical machines 20 can determine that the code corresponding to the service container image is the target service container image.
  • a load request for loading the target service container image is sent to another physical machine to retrieve the other physical machine.
  • the target service container image stored on the machine.
  • the aforementioned loading request includes the service container image identifier.
  • each second sub-database is used to record a code of a service container image, and each second sub-database corresponds to a service container image identifier. Based on this correspondence, when receiving the service container image identifier uploaded by the physical machine, other physical machines can call the code corresponding to the service container image identifier (ie the configuration file of the target service container image), and send the code to The physical machine that issued the load request.
  • the code corresponding to the service container image identifier ie the configuration file of the target service container image
  • the physical machine executes step S204 to load the configuration file of the target service container image into the configuration directory of the cloud host container to complete the creation of the virtual cloud host to achieve communication with the processing server.
  • a configuration file of the service is recorded in the service container image, and the configuration file includes network address information and port numbers of multiple processing servers managed by the virtual server 21. Then load the configuration file into the configuration directory of the cloud host container. In this way, when the virtual server 21 needs to send the received request to the processing server for processing, it can forward the request to the corresponding processing server according to the network address information and port number of the processing server in the configuration directory, so that the processing server can Process the request.
  • An embodiment of the present application also provides a server expansion method, the method is applied to a physical machine, the physical machine is configured with a virtual cloud host database, the virtual cloud host database is independently provided with a first sub-database and a second sub-database A database, the first sub-database is used to embed virtual cloud host images, and the second sub-database is used to embed service container images;
  • the physical machine is configured to perform step S301 in response to receiving a creation request sent by the management platform, and use the embedded virtual cloud host image to create a cloud host container;
  • Step S302 traverses the second sub-database based on the service container image identifier to obtain a target service container image, where the target service container image is a service container image corresponding to the service container image identifier;
  • step S303 the configuration file of the target service container image is loaded into the configuration directory of the cloud host container to complete the creation of the virtual cloud host, so as to realize the communication with the processing server.
  • a load request for loading the target service container image is sent to another physical machine, so as to retrieve the embedded data of the other physical machine.
  • the target service container image is sent to another physical machine, so as to retrieve the embedded data of the other physical machine.
  • a loading request for loading the virtual cloud host image is sent to the cloud server to retrieve the virtual cloud host image stored by the cloud server.
  • a loading request for loading the virtual cloud host image is sent to other physical machines to retrieve the virtual cloud host image embedded in the other physical machine.
  • the embodiment of the present application shows a server expansion method and a server expansion system.
  • the system includes a management platform configured to send a creation request; a physical machine is configured to create a virtual server cluster and is configured with a virtual server cluster.
  • a cloud host database the virtual cloud host database is independently provided with a first sub-database and a second sub-database, the first sub-database is used to embed virtual cloud host images, and the second sub-database is used to embed service containers Mirror; is further configured to: in response to receiving a creation request sent by the management platform, use the embedded virtual cloud host image to create a cloud host container; traverse the second sub-database to obtain a target service container based on the service container image identifier Image, the target service container image is a service container image corresponding to the service container image identifier; the configuration file of the target service container image is loaded into the configuration directory of the cloud host container to complete the virtual cloud host Created to achieve communication with the processing server.
  • this embodiment shows that the virtual cloud host image is embedded in the first sub-database of the physical machine in advance, while the service container image is embedded in the second sub-database; when the virtual server needs to be expanded, the embedded virtual server is directly used.
  • the virtual cloud host image creates a cloud host container, and loads the configuration file of the target service container image into the configuration directory of the cloud host container to complete the creation of the virtual cloud server.
  • the entire creation process does not go to the cloud image library Instead of pulling files, it uses the embedded virtual cloud host image and service container image to create a virtual server.
  • the above process can avoid network congestion caused by a large number of physical machines requesting the mirror warehouse during server expansion, which can save the creation of virtual servers.
  • the time of the server achieves the purpose of rapid expansion.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

Embodiments of the present application provide a server capacity expansion method and a capacity expansion system. According to an embodiment, embedding in advance a virtual cloud host mirror in a first sub-database of a physical machine, and embedding a service container mirror in a second sub-database; when a virtual server needs capacity expansion, directly using the embedded virtual cloud host mirror to build a cloud host container, and loading the configuration file of a target service container mirror to the configuration directory of the cloud host container so as to complete the building of the virtual cloud server. The whole building process does not involve pulling files from a mirror library at a cloud end, but instead uses a virtual cloud host mirror and a service container mirror embedded locally to build a virtual server. During server capacity expansion, the process can prevent network congestion caused by a large number of physical machines making requests to a mirror repository, thereby conserving virtual server build time and achieving rapid capacity expansion.

Description

一种服务器扩容方法及扩容系统Server capacity expansion method and capacity expansion system
本申请要求在2020年03月24日提交中国专利局、申请号为202010214207.4、发明名称为“一种服务器扩容方法及扩容系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office, the application number is 202010214207.4, and the invention title is "a server expansion method and expansion system" on March 24, 2020, the entire content of which is incorporated into this application by reference in.
技术领域Technical field
本公开涉及智能电视技术领域,尤其涉及一种服务器扩容方法及扩容系统。The present disclosure relates to the technical field of smart TVs, and in particular to a server expansion method and expansion system.
背景技术Background technique
虚拟服务器(英文名:Linux Virtual Server),其因具有很好的可伸缩性、可靠性以及可管理性而被广泛的使用。目前业界使用虚拟服务器多采用主备模式,即任何时刻只有一个主虚拟服务器对外提供服务。然而,这种主备模式在需要主虚拟服务器处理的请求数量较多时,就会给主虚拟服务器(也可称之为云端服务器)造成较大的数据处理压力,延长主虚拟服务器响应请求的时间,使得主虚拟服务器处理请求的效率大大降低。Virtual server (English name: Linux Virtual Server) is widely used because of its good scalability, reliability and manageability. At present, the virtual server used in the industry mostly adopts the master-standby mode, that is, only one master virtual server provides external services at any time. However, this active-standby mode will cause a large amount of data processing pressure on the main virtual server (also called a cloud server) when the number of requests processed by the main virtual server is large, and it will prolong the time for the main virtual server to respond to requests. , Which greatly reduces the efficiency of the main virtual server to process requests.
发明内容Summary of the invention
基于上述技术问题,本申请的发明目的在于提供一种服务器扩容方法及扩容系统。Based on the above technical problems, the purpose of the invention of this application is to provide a server expansion method and a server expansion system.
本申请实施例第一方面示出一种服务器扩容系统,包括:The first aspect of the embodiments of the present application shows a server expansion system, including:
管理平台,被配置为发送创建请求;The management platform is configured to send creation requests;
物理机,被配置为创建虚拟服务器集群,所述虚拟服务器集群包括至少一个虚拟服务器;配置有虚拟云主机数据库,所述虚拟云主机数据库独立设置有第一子数据库和第二子数据库,所述第一子数据库用于预埋虚拟云主机镜像,所述第二子数据库用于预埋服务容器镜像;A physical machine configured to create a virtual server cluster, the virtual server cluster including at least one virtual server; a virtual cloud host database is configured, and the virtual cloud host database is independently provided with a first sub-database and a second sub-database, the The first sub-database is used to embed the virtual cloud host image, and the second sub-database is used to embed the service container image;
被进一步配置为:响应于接收到管理平台发送的创建请求,利用预埋的虚拟云主机镜像创建云主机容器;It is further configured to: in response to receiving the creation request sent by the management platform, use the embedded virtual cloud host image to create the cloud host container;
基于所述服务容器镜像标识遍历预所述第二子数据库得到目标服务容器镜像,所述目标服务容器镜像为与所述服务容器镜像标识相对应的服务容器镜像;Traverse the second sub-database based on the service container image identifier to obtain a target service container image, where the target service container image is a service container image corresponding to the service container image identifier;
将所述目标服务容器镜像的配置文件加载至所述云主机容器的配置目录中,以完成虚拟云主机的创建,以实现与处理服务器的通信。The configuration file of the target service container image is loaded into the configuration directory of the cloud host container to complete the creation of the virtual cloud host, so as to realize the communication with the processing server.
本申请实施例第二方面示出一种服务器扩容方法,所述方法应用于物理机,所述物理机配置有虚拟云主机数据库,所述虚拟云主机数据库独立设置有第一子数据库和第二子数据库,所述第一子数据库用于预埋虚拟云主机镜像,所述第二子数据库用于预埋服务容器镜像;The second aspect of the embodiments of the present application shows a server expansion method, the method is applied to a physical machine, the physical machine is configured with a virtual cloud host database, the virtual cloud host database is independently provided with a first sub-database and a second sub-database A sub-database, the first sub-database is used to embed virtual cloud host images, and the second sub-database is used to embed service container images;
被进一步配置为:响应于接收到管理平台发送的创建请求,利用预埋的虚拟云主机镜像创建云主机容器;It is further configured to: in response to receiving the creation request sent by the management platform, use the embedded virtual cloud host image to create the cloud host container;
基于所述服务容器镜像标识遍历预所述第二子数据库得到目标服务容器镜像,所述目标服务容器镜像为与所述服务容器镜像标识相对应的服务容器镜像;Traverse the second sub-database based on the service container image identifier to obtain a target service container image, where the target service container image is a service container image corresponding to the service container image identifier;
将所述目标服务容器镜像的配置文件加载至所述云主机容器的配置目录中,以完成虚拟云主机的创建,以实现与处理服务器的通信。The configuration file of the target service container image is loaded into the configuration directory of the cloud host container to complete the creation of the virtual cloud host, so as to realize the communication with the processing server.
由以上技术方案可以看出,本申请实施例示出一种服务器扩容方法及扩容系统,所述 系统包括管理平台,被配置为发送创建请求;物理机,被配置为创建虚拟服务器集群,配置有虚拟云主机数据库,所述虚拟云主机数据库独立设置有第一子数据库和第二子数据库,所述第一子数据库用于预埋虚拟云主机镜像,所述第二子数据库用于预埋服务容器镜像;被进一步配置为:响应于接收到管理平台发送的创建请求,利用预埋的虚拟云主机镜像创建云主机容器;基于所述服务容器镜像标识遍历预所述第二子数据库得到目标服务容器镜像,所述目标服务容器镜像为与所述服务容器镜像标识相对应的服务容器镜像;将所述目标服务容器镜像的配置文件加载至所述云主机容器的配置目录中,以完成虚拟云主机的创建,以实现与处理服务器的通信。可见本实施例示出的预先将虚拟云主机镜像预埋在物理机的第一子数据库中,同时将服务容器镜像预埋在第二子数据库中;当需要扩容虚拟服务器时,直接利用预埋的虚拟云主机镜像创建云主机容器,将所述目标服务容器镜像的配置文件加载至所述云主机容器的配置目录中以完成虚拟云服务器的创建,整个创建过程并未到云端的镜像库去拉取文件,而是利用预埋在本地的虚拟云主机镜像及服务容器镜像创建虚拟服务器,上述过程可避免在服务器扩容时,由于大量的物理机请求镜像仓库造成网络拥堵,进而可以节省创建虚拟服务器的时间,达到快速扩容的目的。It can be seen from the above technical solutions that the embodiment of the present application shows a server expansion method and a server expansion system. The system includes a management platform configured to send a creation request; a physical machine is configured to create a virtual server cluster and is configured with a virtual server cluster. A cloud host database, the virtual cloud host database is independently provided with a first sub-database and a second sub-database, the first sub-database is used to embed virtual cloud host images, and the second sub-database is used to embed service containers Mirror; is further configured to: in response to receiving a creation request sent by the management platform, use the embedded virtual cloud host image to create a cloud host container; traverse the second sub-database to obtain a target service container based on the service container image identifier Image, the target service container image is a service container image corresponding to the service container image identifier; the configuration file of the target service container image is loaded into the configuration directory of the cloud host container to complete the virtual cloud host Created to achieve communication with the processing server. It can be seen that this embodiment shows that the virtual cloud host image is embedded in the first sub-database of the physical machine in advance, while the service container image is embedded in the second sub-database; when the virtual server needs to be expanded, the embedded virtual server is directly used. The virtual cloud host image creates a cloud host container, and loads the configuration file of the target service container image into the configuration directory of the cloud host container to complete the creation of the virtual cloud server. The entire creation process does not go to the cloud image library. Instead of fetching files, use the embedded virtual cloud host image and service container image to create a virtual server. The above process can avoid network congestion caused by a large number of physical machines requesting a mirror warehouse during server expansion, which can save the creation of virtual servers. Time to achieve the purpose of rapid expansion.
附图说明Description of the drawings
为了更清楚地说明本申请的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to explain the technical solutions of the present application more clearly, the following will briefly introduce the drawings needed in the embodiments. Obviously, for those of ordinary skill in the art, without paying creative labor, Other drawings can also be obtained from these drawings.
图1为根据一实施例示出的一种虚拟服务器扩容系统的示意图;Fig. 1 is a schematic diagram of a virtual server capacity expansion system according to an embodiment;
图2为根据一实施例示出的物理机的结构框图;Fig. 2 is a structural block diagram of a physical machine according to an embodiment;
图3为根据一实施例示出的物理机、管理平台及云端服务器的交互图;Fig. 3 is an interaction diagram of a physical machine, a management platform, and a cloud server according to an embodiment;
图4为根据一实施例示出的物理机、管理平台的交互图;Fig. 4 is an interaction diagram of a physical machine and a management platform according to an embodiment;
图5为根据一实施例示出的一种服务器扩容方法的流程图。Fig. 5 is a flowchart showing a method for server expansion according to an embodiment.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be described clearly and completely in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all of them. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of this application.
应当理解,当在本说明书和所附权利要求书中使用时,术语“包括”和“包含”指示所描述特征、整体、步骤、操作、元素和/或组件的存在,但并不排除一个或多个其它特征、整体、步骤、操作、元素、组件和/或其集合的存在或添加。It should be understood that when used in this specification and appended claims, the terms "including" and "including" indicate the existence of the described features, wholes, steps, operations, elements and/or components, but do not exclude one or The existence or addition of multiple other features, wholes, steps, operations, elements, components, and/or collections thereof.
还应当理解,在此本申请说明书中所使用的术语仅仅是出于描述特定实施例的目的而并不意在限制本申请。如在本申请说明书和所附权利要求书中所使用的那样,除非上下文清楚地指明其它情况,否则单数形式的“一”、“一个”及“该”意在包括复数形式。It should also be understood that the terms used in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit the application. As used in the specification of this application and the appended claims, unless the context clearly indicates other circumstances, the singular forms "a", "an" and "the" are intended to include plural forms.
请参阅图1及图2,图1是本申请实施例提供的一种虚拟服务器扩容系统,图2是本申请实施例中物理机的结构框图,所述扩容系统用于虚拟服务器21的扩容。Please refer to FIG. 1 and FIG. 2. FIG. 1 is a virtual server expansion system provided by an embodiment of the present application, and FIG. 2 is a structural block diagram of a physical machine in an embodiment of the present application. The expansion system is used for the expansion of the virtual server 21.
请参阅图1本申请实施例示出的扩容系统包括:管理平台10、物理机20及云端服务器30。Please refer to FIG. 1. The capacity expansion system shown in the embodiment of the present application includes: a management platform 10, a physical machine 20 and a cloud server 30.
管理平台10,开发人员开发的服务容器镜像或云主机镜像可以通过管理平台10上传至云端服务器30。具体应用到本申请实施例示出的方案中,开发人员可以将开发的服务容器镜像或云主机镜像通过管理平台10同步到物理机20的虚拟云主机数据库22内。The management platform 10, the service container image or cloud host image developed by the developer can be uploaded to the cloud server 30 through the management platform 10. Specifically applied to the solution shown in the embodiment of the present application, the developer can synchronize the developed service container image or cloud host image to the virtual cloud host database 22 of the physical machine 20 through the management platform 10.
请参阅图2,其中所述物理机20用于创建虚拟服务器集群,该虚拟服务器集群包括多个虚拟服务器21,多个虚拟服务器21可以部署在同一台物理机20上,也可以部署在多台物理机20上,在此不做具体限制。具体应用到本申请中,物理机20设置有虚拟云主机数据库22所述虚拟云主机数据库独立设置有第一子数据库221和第二子数据库222,所述第一子数据库221用于预埋虚拟云主机镜像,所述第二子数据库222用于预埋服务容器镜像。Please refer to FIG. 2, where the physical machine 20 is used to create a virtual server cluster. The virtual server cluster includes multiple virtual servers 21. The multiple virtual servers 21 can be deployed on the same physical machine 20 or on multiple servers. On the physical machine 20, no specific restrictions are made here. Specifically applied to this application, the physical machine 20 is provided with a virtual cloud host database 22. The virtual cloud host database is independently provided with a first sub-database 221 and a second sub-database 222, and the first sub-database 221 is used to embed a virtual cloud host database. Cloud host mirroring, and the second sub-database 222 is used to embed service container mirroring.
云端服务器30,设置有镜像库,所述镜像库用于存储开发人员开发的服务容器镜像或云主机镜像。The cloud server 30 is provided with an image library, and the image library is used to store service container images or cloud host images developed by developers.
图3为本申请实施例示出的物理机、管理平台及云端服务器在创建虚拟服务器过程中的交互图,如图3所示该虚拟服务器的创建过程包括步骤S101~S104。FIG. 3 is an interaction diagram of a physical machine, a management platform, and a cloud server in the process of creating a virtual server shown in an embodiment of the application. As shown in FIG. 3, the process of creating a virtual server includes steps S101 to S104.
S101管理平台10被配置为发送创建请求;The S101 management platform 10 is configured to send a creation request;
在本实施例中,当需要在虚拟服务器集群中创建新的虚拟服务器21时,开发人员或维护人员等用户可以向管理平台10发送添加虚拟服务器请求。管理平台10在接收到添加虚拟服务器请求时,会向物理机20发送创建请求,其中该创建请求至少包括服务容器镜像标识,该服务容器镜像标识为第二子数据库中服务容器镜像对应的标识,该服务容器镜像标识可以为服务容器镜像的名称、编号等用于唯一识别服务容器镜像的标识,在此不对服务容器镜像标识的具体内容做限制。In this embodiment, when a new virtual server 21 needs to be created in the virtual server cluster, a user such as a developer or a maintainer can send a request for adding a virtual server to the management platform 10. When the management platform 10 receives a request for adding a virtual server, it sends a creation request to the physical machine 20, where the creation request includes at least a service container image identifier, and the service container image identifier is an identifier corresponding to the service container image in the second sub-database. The service container image identifier may be an identifier used to uniquely identify the service container image, such as the name and number of the service container image, and there is no restriction on the specific content of the service container image identifier.
S102响应于接收到管理平台发送的创建请求,利用预埋的虚拟云主机镜像创建云主机容器;S102, in response to receiving the creation request sent by the management platform, creates a cloud host container using the embedded virtual cloud host image;
值得注意的是,由于每台物理机20中设置有一个第一子数据库221和多个第二子数据库222。因此,在一些实施例中管理平台10发送的创建请求中可以包含云主机镜像标识。在一些实施例中管理平台10发送的创建请求中可以不包含云主机镜像标识。It is worth noting that each physical machine 20 is provided with a first sub-database 221 and multiple second sub-databases 222. Therefore, in some embodiments, the creation request sent by the management platform 10 may include the cloud host image identifier. In some embodiments, the creation request sent by the management platform 10 may not include the cloud host image identifier.
本申请中虚拟云主机镜像的文件为应用程序的代码、所述应用程序代码用于记录用户预设的构建规则。虚拟云主机镜像是指一个预先安装了软件、配置好了的操作系统,这个镜像可以被用开快速创建云主机。操作系统包括windows版本或linux版本,该镜像中包含了服务器正常运行的所有东西。云主机镜像创建好之后再次创建云主机时,以此镜像为基准,快速创建云主机容器。The file of the virtual cloud host image in this application is the code of the application program, and the application program code is used to record the construction rules preset by the user. A virtual cloud host image refers to a pre-installed software and configured operating system. This image can be used to quickly create a cloud host. The operating system includes the windows version or the linux version, and the image contains all the things that the server runs normally. When the cloud host is created again after the cloud host image is created, use the image as a benchmark to quickly create a cloud host container.
物理机20使用预埋的虚拟云主机镜像创建一个虚拟服务器21对应的容器即云主机容器。在创建完容器之后,虚拟服务器21可以在该容器中运行。The physical machine 20 uses the embedded virtual cloud host image to create a container corresponding to the virtual server 21, that is, the cloud host container. After the container is created, the virtual server 21 can run in the container.
在一实施例中,物理机20可以通过执行Docker run命令来根据虚拟云主机镜像创建对应的容器。譬如,物理机20可以通过执行如下命令来完成云主机容器的创建:docker run LVS-Qugga。In an embodiment, the physical machine 20 may execute the Docker run command to create a corresponding container according to the virtual cloud host image. For example, the physical machine 20 can complete the creation of the cloud host container by executing the following command: docker run LVS-Qugga.
在一可行性实施例中,响应于无法创建云主机容器,物理机20发送用于加载虚拟云主机镜像的加载请求至云端服务器30,以调取所述云端服务器30存储的虚拟云主机镜像。其中,所述加载请求包括云主机镜像标识,该云主机镜像标识可以为云主机镜像的名称、编号等用于唯一识别云主机镜像的标识,在此不对云主机镜像标识的具体内容做限制。In a feasible embodiment, in response to the inability to create the cloud host container, the physical machine 20 sends a load request for loading the virtual cloud host image to the cloud server 30 to retrieve the virtual cloud host image stored by the cloud server 30. Wherein, the loading request includes a cloud host image identifier, and the cloud host image identifier may be an identifier for uniquely identifying the cloud host image, such as the name and number of the cloud host image, and the specific content of the cloud host image identifier is not restricted here.
通常,云端服务器30内设置有镜像库,镜像库存储有云主机镜像。通常云主机镜像的数量及种类均较多,每种云主机镜像均具有其对应的代码,这样镜像库中就需要存储多 种云主机镜像的代码,为了便于对所存储的云主机镜像的代码进行管理,镜像库包括至少一个云主机代码仓库,每个云主机代码仓库用于存储一种云主机镜像的代码。云端服务器30通过检测用户的设置操作,可建立云主机代码仓库的代码与云主机镜像标识之间的对应关系。基于该对应关系,当接收到物理机上传的云主机镜像标识时,云端服务器30可以调取所述云主机镜像标识对应的代码,并发送所述代码至发出加载请求的物理机20。Generally, a mirror library is provided in the cloud server 30, and the mirror library stores cloud host images. Usually the number and types of cloud host images are large, and each cloud host image has its corresponding code, so the image library needs to store the code of multiple cloud host images, in order to facilitate the code of the stored cloud host image For management, the image library includes at least one cloud host code warehouse, and each cloud host code warehouse is used to store a kind of cloud host image code. The cloud server 30 can establish the corresponding relationship between the code of the cloud host code warehouse and the cloud host image identifier by detecting the setting operation of the user. Based on this correspondence, when receiving the cloud host image identifier uploaded by the physical machine, the cloud server 30 may retrieve the code corresponding to the cloud host image identifier, and send the code to the physical machine 20 that issued the loading request.
物理机20响应于云端服务器30发送的云主机镜像,加载所述云端服务器30下发的云主机镜像,并根据所述云主机镜像创建对应的容器。In response to the cloud host image sent by the cloud server 30, the physical machine 20 loads the cloud host image issued by the cloud server 30, and creates a corresponding container according to the cloud host image.
虚拟云主机镜像创建完成后,所述物理机20被配置为执行步骤S103基于所述服务容器镜像标识遍历预所述第二子数据库得到目标服务容器镜像,所述目标服务容器镜像为与所述服务容器镜像标识相对应的服务容器镜像。After the creation of the virtual cloud host image is completed, the physical machine 20 is configured to perform step S103 to obtain a target service container image by traversing the second sub-database based on the service container image identifier, and the target service container image is the same as the The service container image ID corresponds to the service container image.
通常,物理机20的虚拟云主机数据库22内设存储有多种服务容器镜像,为了便于对所存储的服务容器镜像的代码进行管理,虚拟云主机数据库包括至多个第二子数据库222,每个第二子数据库222用于存储一种服务容器镜像的代码。物理机20通过检测用户的设置操作,可建立第二子数据库的代码与服务容器镜像标识之间的对应关系。基于该对应关系,当接收到物理机20接收到管理平台10下发的服务容器镜像标识时,物理机20可以确定所述服务容器镜像对应的代码即为目标服务容器镜像。Generally, the virtual cloud host database 22 of the physical machine 20 is stored with a variety of service container images. In order to facilitate the management of the code of the stored service container images, the virtual cloud host database includes a plurality of second sub-databases 222, each The second sub-database 222 is used to store a code of a service container image. The physical machine 20 can establish the corresponding relationship between the code of the second sub-database and the service container image identifier by detecting the setting operation of the user. Based on this correspondence, when the physical machine 20 receives the service container image identifier issued by the management platform 10, the physical machine 20 can determine that the code corresponding to the service container image is the target service container image.
在一可行性实施例中,响应于所述配置文件无法加载至所述云主机容器的配置目录中,发送用于加载目标服务容器镜像的加载请求至云端服务器,以调取所述云端服务器存储的目标服务容器镜像。其中,上述加载请求包括服务容器镜像标识。In a feasible embodiment, in response to the configuration file being unable to be loaded into the configuration directory of the cloud host container, a load request for loading the target service container image is sent to the cloud server to retrieve the cloud server storage The target service container image. Wherein, the aforementioned loading request includes the service container image identifier.
通常,云端服务器30内设置有镜像库,镜像库存储有服务容器镜像。通常服务容器镜像的数量及种类均较多,为了便于对所存储的服务容器镜像的代码进行管理,镜像库包括至少一个服务代码仓库,每个服务代码仓库用于存储一种服务容器镜像的代码。云端服务器30通过检测用户的设置操作,可建立服务代码仓库的代码与服务容器镜像标识之间的对应关系。基于该对应关系,当接收到物理机上传的服务容器镜像标识时,云端服务器30可以调取所述服务容器镜像标识对应的代码(即目标服务容器镜像的配置文件),并发送所述代码至发出加载请求的物理机20。Generally, a mirror library is provided in the cloud server 30, and the mirror library stores service container images. Generally, the number and types of service container images are relatively large. In order to facilitate the management of the stored service container image codes, the image library includes at least one service code repository, and each service code repository is used to store the code of a service container image. . The cloud server 30 can establish a corresponding relationship between the code of the service code warehouse and the service container image identifier by detecting the setting operation of the user. Based on this correspondence, when receiving the service container image identifier uploaded by the physical machine, the cloud server 30 may call the code corresponding to the service container image identifier (ie the configuration file of the target service container image), and send the code to The physical machine 20 that issued the load request.
步骤S104、将所述目标服务容器镜像的配置文件加载至所述云主机容器的配置目录中,以完成虚拟云主机的创建,以实现与处理服务器的通信。Step S104: Load the configuration file of the target service container image into the configuration directory of the cloud host container to complete the creation of the virtual cloud host, so as to realize the communication with the processing server.
其中,其中服务容器镜像中记录有该服务的配置文件,该配置文件包括虚拟服务器21所管理的多台处理服务器的网络地址信息和端口号。然后将该配置文件加载至云主机容器的配置目录中。这样当虚拟服务器21需要将接收到的请求发送到处理服务器中进行处理时,可以根据配置目录中的处理服务器的网络地址信息和端口号将请求转发至相应的处理服务器中,以使得处理服务器可以对请求进行处理。Wherein, a configuration file of the service is recorded in the service container image, and the configuration file includes network address information and port numbers of multiple processing servers managed by the virtual server 21. Then load the configuration file into the configuration directory of the cloud host container. In this way, when the virtual server 21 needs to send the received request to the processing server for processing, it can forward the request to the corresponding processing server according to the network address information and port number of the processing server in the configuration directory, so that the processing server can Process the request.
对于以下应用场景,需要对第二子数据库内存储的服务容器镜像进行更新。For the following application scenarios, the service container image stored in the second sub-database needs to be updated.
一种场景、对于已发布的服务容器镜像,如果该服务容器镜像在实际使用过程中存在一些缺陷,影响该服务容器镜像的性能,服务容器镜像的开发人员可通过对该服务容器镜像的源代码进行修改,克服该服务容器镜像在运行过程中存在的问题,从而提升该服务容器镜像的性能。当服务容器镜像的开发人员对服务容器镜像的源代码修改完成后,该服务容器镜像的开发人员将所修改的服务容器镜像的代码上传至管理平台10。管理平台10响应于获取到开发人员发布的更新服务容器镜像,将所述更新容器镜像同步到所述第二子数 据库内。以此来保证第二子数据库永远存储最新版本的服务容器镜像。A scenario. For a published service container image, if the service container image has some defects in the actual use process, which affects the performance of the service container image, the developer of the service container image can use the source code of the service container image Make modifications to overcome the problems in the running process of the service container image, thereby improving the performance of the service container image. After the developer of the service container image has modified the source code of the service container image, the developer of the service container image uploads the modified code of the service container image to the management platform 10. In response to obtaining the update service container image released by the developer, the management platform 10 synchronizes the update container image to the second sub-database. This ensures that the second sub-database always stores the latest version of the service container image.
另一种场景、为了满足用户的使用需求,服务容器镜像的开发人员可开发出具有新功能的服务容器镜像,进而通过终端将所开发的服务容器镜像的代码上传至代码仓库服务器。当服务容器镜像的开发人员对服务容器镜像的源代码修改完成后,该服务容器镜像的开发人员将所修改的服务容器镜像的代码上传至管理平台10。管理平台10响应于获取到开发人员发布的更新服务容器镜像,将所述更新容器镜像同步到所述第二子数据库内。以此来保证第二子数据库永远存储最新版本的服务容器镜像。In another scenario, in order to meet the needs of users, the service container image developer can develop a service container image with new functions, and then upload the developed service container image code to the code warehouse server through the terminal. After the developer of the service container image has modified the source code of the service container image, the developer of the service container image uploads the modified code of the service container image to the management platform 10. In response to obtaining the update service container image released by the developer, the management platform 10 synchronizes the update container image to the second sub-database. This ensures that the second sub-database always stores the latest version of the service container image.
需要说明的是,图3只示意出一台物理机20与管理平台10之间的交互情况,其他物理机20与管理平台10之间的交互情况与图3中的情况类似,不一一绘出。另外,可以理解的是,管理平台10可以安装在硬件的服务器中。It should be noted that FIG. 3 only illustrates the interaction between one physical machine 20 and the management platform 10, and the interaction between other physical machines 20 and the management platform 10 is similar to the situation in FIG. Out. In addition, it can be understood that the management platform 10 may be installed in a hardware server.
在一可行性实施例中在物理机无法创建云主机容器,或的情况下物理机也可与其他物理机进行交互,其中,其他物理机为不同于所述正在创建虚拟云主机的物理机。其他物理机与创建虚拟云主机的物理机采用相同的云主机镜像的代码。In a feasible embodiment, when the physical machine cannot create the cloud host container, or the physical machine can also interact with other physical machines, the other physical machines are different from the physical machines that are creating the virtual cloud host. Other physical machines use the same cloud host image code as the physical machine that creates the virtual cloud host.
具体的交互过程可以参阅图4。图4为物理机、管理平台及其他物理机的交互图,如图4所示该虚拟服务器的创建方法包括步骤S201~S204。Refer to Figure 4 for the specific interaction process. FIG. 4 is an interaction diagram of a physical machine, a management platform, and other physical machines. As shown in FIG. 4, the method for creating a virtual server includes steps S201 to S204.
S201管理平台10被配置为发送创建请求;S201 The management platform 10 is configured to send a creation request;
其中,创建请求的发送方法与上述实施例类似,在此便不赘述。Wherein, the method for sending the creation request is similar to the foregoing embodiment, and will not be repeated here.
S202响应于接收到管理平台发送的创建请求,利用预埋的虚拟云主机镜像创建云主机容器;In S202, in response to receiving the creation request sent by the management platform, create a cloud host container using the embedded virtual cloud host image;
其中,云主机容器的创建方法与上述实施例类似,在此便不赘述。Wherein, the method for creating the cloud host container is similar to the foregoing embodiment, and will not be repeated here.
在一可行性实施例中,响应于无法创建云主机容器,物理机20发送用于加载虚拟云主机镜像的加载请求至其他物理机,以调取所述其他物理机存储的虚拟云主机镜像。通常,其他物理机内设置有虚拟云主机数据库所述虚拟云主机数据库独立设置有第一子数据库和第二子数据库,所述第一子数据库用于预埋虚拟云主机镜像,所述第二子数据库用于预埋服务容器镜像。In a feasible embodiment, in response to the inability to create the cloud host container, the physical machine 20 sends a load request for loading the virtual cloud host image to other physical machines to retrieve the virtual cloud host image stored by the other physical machine. Generally, a virtual cloud host database is provided in other physical machines. The virtual cloud host database is independently provided with a first sub-database and a second sub-database. The first sub-database is used to embed the virtual cloud host image, and the second The sub-database is used to embed the service container image.
其他物理机,在接收到物理机20发送的云主机镜像加载请求时,调取预埋在第一子数据库内的云主机镜像,然后发送云主机镜像至相应的物理机20。When receiving the cloud host image loading request sent by the physical machine 20, other physical machines retrieve the cloud host image pre-buried in the first sub-database, and then send the cloud host image to the corresponding physical machine 20.
物理机20响应于其他物理机发送的云主机镜像,加载所述其他物理机下发的云主机镜像,并根据所述云主机镜像创建对应的容器。The physical machine 20 responds to the cloud host image sent by other physical machines, loads the cloud host image issued by the other physical machine, and creates a corresponding container according to the cloud host image.
虚拟云主机镜像创建完成后,所述物理机20被配置为执行步骤S203基于所述服务容器镜像标识遍历预所述第二子数据库得到目标服务容器镜像,所述目标服务容器镜像为与所述服务容器镜像标识相对应的服务容器镜像。After the creation of the virtual cloud host image is completed, the physical machine 20 is configured to perform step S203 to obtain a target service container image by traversing the second sub-database based on the service container image identifier, and the target service container image is the same as the The service container image ID corresponds to the service container image.
通常,其他物理机的虚拟云主机数据库内设存储有多种服务容器镜像,为了便于对所存储的服务容器镜像的代码进行管理,虚拟云主机数据库包括至多个第二子数据库,每个第二子数据库用于存储一种服务容器镜像的代码。其他物理机20通过检测用户的设置操作,可建立第二子数据库的代码与服务容器镜像标识之间的对应关系。基于该对应关系,当接收到物理机20接收到管理平台10下发的服务容器镜像标识时,其他物理机20可以确定所述服务容器镜像对应的代码即为目标服务容器镜像。Generally, the virtual cloud host database of other physical machines stores multiple service container images. In order to facilitate the management of the code of the stored service container images, the virtual cloud host database includes multiple second sub-databases. The sub-database is used to store the code of a service container image. The other physical machine 20 can establish the correspondence between the code of the second sub-database and the service container image identifier by detecting the setting operation of the user. Based on this correspondence, when the physical machine 20 receives the service container image identifier issued by the management platform 10, the other physical machines 20 can determine that the code corresponding to the service container image is the target service container image.
在一可行性实施例中,响应于所述配置文件无法加载至所述云主机容器的配置目录中,发送用于加载目标服务容器镜像的加载请求至其他物理机,以调取所述其他物理机存储的 目标服务容器镜像。其中,上述加载请求包括服务容器镜像标识。In a feasible embodiment, in response to the configuration file being unable to be loaded into the configuration directory of the cloud host container, a load request for loading the target service container image is sent to another physical machine to retrieve the other physical machine. The target service container image stored on the machine. Wherein, the aforementioned loading request includes the service container image identifier.
通常,其他物理机内设置多个第二子数据库,每个第二子数据库用于记录一种服务容器镜像的代码,每个第二子数据库对应一个服务容器镜像标识。基于该对应关系,当接收到物理机上传的服务容器镜像标识时,其他物理机可以调取所述服务容器镜像标识对应的代码(即目标服务容器镜像的配置文件),并发送所述代码至发出加载请求的物理机。Generally, multiple second sub-databases are set in other physical machines, each second sub-database is used to record a code of a service container image, and each second sub-database corresponds to a service container image identifier. Based on this correspondence, when receiving the service container image identifier uploaded by the physical machine, other physical machines can call the code corresponding to the service container image identifier (ie the configuration file of the target service container image), and send the code to The physical machine that issued the load request.
物理机执行步骤S204、将所述目标服务容器镜像的配置文件加载至所述云主机容器的配置目录中,以完成虚拟云主机的创建,以实现与处理服务器的通信。The physical machine executes step S204 to load the configuration file of the target service container image into the configuration directory of the cloud host container to complete the creation of the virtual cloud host to achieve communication with the processing server.
其中,其中服务容器镜像中记录有该服务的配置文件,该配置文件包括虚拟服务器21所管理的多台处理服务器的网络地址信息和端口号。然后将该配置文件加载至云主机容器的配置目录中。这样当虚拟服务器21需要将接收到的请求发送到处理服务器中进行处理时,可以根据配置目录中的处理服务器的网络地址信息和端口号将请求转发至相应的处理服务器中,以使得处理服务器可以对请求进行处理。Wherein, a configuration file of the service is recorded in the service container image, and the configuration file includes network address information and port numbers of multiple processing servers managed by the virtual server 21. Then load the configuration file into the configuration directory of the cloud host container. In this way, when the virtual server 21 needs to send the received request to the processing server for processing, it can forward the request to the corresponding processing server according to the network address information and port number of the processing server in the configuration directory, so that the processing server can Process the request.
本申请实施例还提供的一种服务器扩容方法,所所述方法应用于物理机,所述物理机配置有虚拟云主机数据库,所述虚拟云主机数据库独立设置有第一子数据库和第二子数据库,所述第一子数据库用于预埋虚拟云主机镜像,所述第二子数据库用于预埋服务容器镜像;An embodiment of the present application also provides a server expansion method, the method is applied to a physical machine, the physical machine is configured with a virtual cloud host database, the virtual cloud host database is independently provided with a first sub-database and a second sub-database A database, the first sub-database is used to embed virtual cloud host images, and the second sub-database is used to embed service container images;
所述物理机被配置为执行步骤S301响应于接收到管理平台发送的创建请求,利用预埋的虚拟云主机镜像创建云主机容器;The physical machine is configured to perform step S301 in response to receiving a creation request sent by the management platform, and use the embedded virtual cloud host image to create a cloud host container;
步骤S302基于所述服务容器镜像标识遍历预所述第二子数据库得到目标服务容器镜像,所述目标服务容器镜像为与所述服务容器镜像标识相对应的服务容器镜像;Step S302 traverses the second sub-database based on the service container image identifier to obtain a target service container image, where the target service container image is a service container image corresponding to the service container image identifier;
步骤S303将所述目标服务容器镜像的配置文件加载至所述云主机容器的配置目录中,以完成虚拟云主机的创建,以实现与处理服务器的通信。In step S303, the configuration file of the target service container image is loaded into the configuration directory of the cloud host container to complete the creation of the virtual cloud host, so as to realize the communication with the processing server.
可选择的,响应于所述配置文件无法加载至所述云主机容器的配置目录中,发送用于加载目标服务容器镜像的加载请求至云端服务器,以调取所述云端服务器存储的目标服务容器镜像。Optionally, in response to that the configuration file cannot be loaded into the configuration directory of the cloud host container, send a load request for loading the target service container image to the cloud server to retrieve the target service container stored by the cloud server Mirror.
可选择的,响应于所述配置文件无法加载至所述云主机容器的配置目录中,发送用于加载目标服务容器镜像的加载请求至其他物理机,以调取所述其他物理机预埋的目标服务容器镜像。Optionally, in response to that the configuration file cannot be loaded into the configuration directory of the cloud host container, a load request for loading the target service container image is sent to another physical machine, so as to retrieve the embedded data of the other physical machine. The target service container image.
可选择的,响应于无法创建云主机容器,发送用于加载虚拟云主机镜像的加载请求至云端服务器,以调取所述云端服务器存储的虚拟云主机镜像。Optionally, in response to the inability to create the cloud host container, a loading request for loading the virtual cloud host image is sent to the cloud server to retrieve the virtual cloud host image stored by the cloud server.
可选择的,响应于无法创建云主机容器,发送用于加载虚拟云主机镜像的加载请求至其他物理机,以调取所述其他物理机预埋的虚拟云主机镜像。Optionally, in response to the inability to create the cloud host container, a loading request for loading the virtual cloud host image is sent to other physical machines to retrieve the virtual cloud host image embedded in the other physical machine.
由以上技术方案可以看出,本申请实施例示出一种服务器扩容方法及扩容系统,所述系统包括管理平台,被配置为发送创建请求;物理机,被配置为创建虚拟服务器集群,配置有虚拟云主机数据库,所述虚拟云主机数据库独立设置有第一子数据库和第二子数据库,所述第一子数据库用于预埋虚拟云主机镜像,所述第二子数据库用于预埋服务容器镜像;被进一步配置为:响应于接收到管理平台发送的创建请求,利用预埋的虚拟云主机镜像创建云主机容器;基于所述服务容器镜像标识遍历预所述第二子数据库得到目标服务容器镜像,所述目标服务容器镜像为与所述服务容器镜像标识相对应的服务容器镜像;将所述目标服务容器镜像的配置文件加载至所述云主机容器的配置目录中,以完成虚拟云主机的创 建,以实现与处理服务器的通信。可见本实施例示出的预先将虚拟云主机镜像预埋在物理机的第一子数据库中,同时将服务容器镜像预埋在第二子数据库中;当需要扩容虚拟服务器时,直接利用预埋的虚拟云主机镜像创建云主机容器,将所述目标服务容器镜像的配置文件加载至所述云主机容器的配置目录中,以完成虚拟云服务器的创建,整个创建过程并未到云端的镜像库去拉取文件,而是利用预埋在本地的虚拟云主机镜像及服务容器镜像创建虚拟服务器,上述过程可避免在服务器扩容时,由于大量的物理机请求镜像仓库造成网络拥堵,进而可以节省创建虚拟服务器的时间,达到快速扩容的目的。It can be seen from the above technical solutions that the embodiment of the present application shows a server expansion method and a server expansion system. The system includes a management platform configured to send a creation request; a physical machine is configured to create a virtual server cluster and is configured with a virtual server cluster. A cloud host database, the virtual cloud host database is independently provided with a first sub-database and a second sub-database, the first sub-database is used to embed virtual cloud host images, and the second sub-database is used to embed service containers Mirror; is further configured to: in response to receiving a creation request sent by the management platform, use the embedded virtual cloud host image to create a cloud host container; traverse the second sub-database to obtain a target service container based on the service container image identifier Image, the target service container image is a service container image corresponding to the service container image identifier; the configuration file of the target service container image is loaded into the configuration directory of the cloud host container to complete the virtual cloud host Created to achieve communication with the processing server. It can be seen that this embodiment shows that the virtual cloud host image is embedded in the first sub-database of the physical machine in advance, while the service container image is embedded in the second sub-database; when the virtual server needs to be expanded, the embedded virtual server is directly used. The virtual cloud host image creates a cloud host container, and loads the configuration file of the target service container image into the configuration directory of the cloud host container to complete the creation of the virtual cloud server. The entire creation process does not go to the cloud image library Instead of pulling files, it uses the embedded virtual cloud host image and service container image to create a virtual server. The above process can avoid network congestion caused by a large number of physical machines requesting the mirror warehouse during server expansion, which can save the creation of virtual servers. The time of the server achieves the purpose of rapid expansion.
应理解,本说明书中各个实施例之间相同相似的部分互相参见即可,上述的实施例并不构成对本申请保护范围的限定。对于本领域的技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原则之内所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。It should be understood that the same or similar parts in the various embodiments in this specification can be referred to each other, and the above-mentioned embodiments do not constitute a limitation on the protection scope of this application. For those skilled in the art, this application can have various modifications and changes. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this application shall be included in the protection scope of this application.

Claims (10)

  1. 一种服务器扩容系统,其特征在于,包括:A server expansion system, which is characterized in that it includes:
    管理平台,被配置为发送创建请求;The management platform is configured to send creation requests;
    物理机,被配置为创建虚拟服务器集群,所述虚拟服务器集群包括至少一个虚拟服务器;配置有虚拟云主机数据库,所述虚拟云主机数据库独立设置有第一子数据库和第二子数据库,所述第一子数据库用于预埋虚拟云主机镜像,所述第二子数据库用于预埋服务容器镜像;A physical machine configured to create a virtual server cluster, the virtual server cluster including at least one virtual server; a virtual cloud host database is configured, and the virtual cloud host database is independently provided with a first sub-database and a second sub-database, the The first sub-database is used to embed the virtual cloud host image, and the second sub-database is used to embed the service container image;
    被进一步配置为:响应于接收到管理平台发送的创建请求,利用预埋的虚拟云主机镜像创建云主机容器;It is further configured to: in response to receiving the creation request sent by the management platform, use the embedded virtual cloud host image to create the cloud host container;
    基于所述服务容器镜像标识遍历预所述第二子数据库得到目标服务容器镜像,所述目标服务容器镜像为与所述服务容器镜像标识相对应的服务容器镜像;Traverse the second sub-database based on the service container image identifier to obtain a target service container image, where the target service container image is a service container image corresponding to the service container image identifier;
    将所述目标服务容器镜像的配置文件加载至所述云主机容器的配置目录中,以完成虚拟云主机的创建。Load the configuration file of the target service container image into the configuration directory of the cloud host container to complete the creation of the virtual cloud host.
  2. 根据权利要求1所述的系统,其特征在于,所述物理机,被进一步配置为:The system according to claim 1, wherein the physical machine is further configured to:
    响应于所述配置文件无法加载至所述云主机容器的配置目录中,发送用于加载目标服务容器镜像的加载请求至云端服务器,以调取所述云端服务器存储的目标服务容器镜像。In response to the configuration file being unable to be loaded into the configuration directory of the cloud host container, a load request for loading the target service container image is sent to the cloud server to retrieve the target service container image stored by the cloud server.
  3. 根据权利要求1所述的系统,其特征在于,所述物理机,被进一步配置为:The system according to claim 1, wherein the physical machine is further configured to:
    响应于所述配置文件无法加载至所述云主机容器的配置目录中,发送用于加载目标服务容器镜像的加载请求至其他物理机,以调取所述其他物理机预埋的目标服务容器镜像。In response to that the configuration file cannot be loaded into the configuration directory of the cloud host container, send a load request for loading the target service container image to another physical machine to retrieve the target service container image embedded in the other physical machine .
  4. 根据权利要求1所述的系统,其特征在于,所述物理机,被进一步配置为:The system according to claim 1, wherein the physical machine is further configured to:
    响应于无法创建云主机容器,发送用于加载虚拟云主机镜像的加载请求至云端服务器,以调取所述云端服务器存储的虚拟云主机镜像。In response to the inability to create the cloud host container, a load request for loading the virtual cloud host image is sent to the cloud server to retrieve the virtual cloud host image stored by the cloud server.
  5. 根据权利要求1所述的系统,其特征在于,所述物理机,被进一步配置为:The system according to claim 1, wherein the physical machine is further configured to:
    响应于无法创建云主机容器,发送用于加载虚拟云主机镜像的加载请求至其他物理机,以调取所述其他物理机预埋的虚拟云主机镜像。In response to the inability to create the cloud host container, a load request for loading the virtual cloud host image is sent to other physical machines to retrieve the virtual cloud host image embedded in the other physical machines.
  6. 根据权利要求1所述的系统,其特征在于,所述物理机,被进一步配置为:The system according to claim 1, wherein the physical machine is further configured to:
    响应于获取到开发人员发布的更新服务容器镜像,将所述更新容器镜像同步到所述第二子数据库内。In response to obtaining the update service container image released by the developer, the update container image is synchronized into the second sub-database.
  7. 一种服务器扩容方法,其特征在于,所述方法应用于物理机,所述物理机配置有虚拟云主机数据库,所述虚拟云主机数据库独立设置有第一子数据库和第二子数据库,所述第一子数据库用于预埋虚拟云主机镜像,所述第二子数据库用于预埋服务容器镜像;A server expansion method, characterized in that the method is applied to a physical machine, the physical machine is configured with a virtual cloud host database, the virtual cloud host database is independently provided with a first sub-database and a second sub-database, The first sub-database is used to embed the virtual cloud host image, and the second sub-database is used to embed the service container image;
    响应于接收到管理平台发送的创建请求,利用预埋的虚拟云主机镜像创建云主机容器;In response to receiving the creation request sent by the management platform, use the embedded virtual cloud host image to create a cloud host container;
    基于所述服务容器镜像标识遍历预所述第二子数据库得到目标服务容器镜像,所述目标服务容器镜像为与所述服务容器镜像标识相对应的服务容器镜像;Traverse the second sub-database based on the service container image identifier to obtain a target service container image, where the target service container image is a service container image corresponding to the service container image identifier;
    将所述目标服务容器镜像的配置文件加载至所述云主机容器的配置目录中,以完成虚拟云主机的创建,以实现与处理服务器的通信。The configuration file of the target service container image is loaded into the configuration directory of the cloud host container to complete the creation of the virtual cloud host, so as to realize the communication with the processing server.
  8. 根据权利要求7所述的方法,其特征在于,The method according to claim 7, wherein:
    响应于所述配置文件无法加载至所述云主机容器的配置目录中,发送用于加载目标服 务容器镜像的加载请求至云端服务器,以调取所述云端服务器存储的目标服务容器镜像。In response to that the configuration file cannot be loaded into the configuration directory of the cloud host container, a load request for loading the target service container image is sent to the cloud server to retrieve the target service container image stored by the cloud server.
  9. 根据权利要求7所述的方法,其特征在于,The method according to claim 7, wherein:
    响应于所述配置文件无法加载至所述云主机容器的配置目录中,发送用于加载目标服务容器镜像的加载请求至其他物理机,以调取所述其他物理机预埋的目标服务容器镜像。In response to that the configuration file cannot be loaded into the configuration directory of the cloud host container, send a load request for loading the target service container image to another physical machine to retrieve the target service container image embedded in the other physical machine .
  10. 根据权利要求7所述的方法,其特征在于,The method according to claim 7, wherein:
    响应于无法创建云主机容器,发送用于加载虚拟云主机镜像的加载请求至云端服务器,以调取所述云端服务器存储的虚拟云主机镜像。In response to the inability to create the cloud host container, a load request for loading the virtual cloud host image is sent to the cloud server to retrieve the virtual cloud host image stored by the cloud server.
PCT/CN2020/129869 2020-03-24 2020-11-18 Server capacity expansion method and capacity expansion system WO2021120968A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010214207.4A CN111464603B (en) 2020-03-24 2020-03-24 Server capacity expansion method and system
CN202010214207.4 2020-03-24

Publications (1)

Publication Number Publication Date
WO2021120968A1 true WO2021120968A1 (en) 2021-06-24

Family

ID=71680833

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/129869 WO2021120968A1 (en) 2020-03-24 2020-11-18 Server capacity expansion method and capacity expansion system

Country Status (2)

Country Link
CN (1) CN111464603B (en)
WO (1) WO2021120968A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114490544A (en) * 2022-04-18 2022-05-13 梯度云科技(北京)有限公司 Method and device for downloading container mirror image by newly adding host

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111464603B (en) * 2020-03-24 2022-03-29 聚好看科技股份有限公司 Server capacity expansion method and system
CN113360250B (en) * 2021-08-09 2021-12-14 连连宝(杭州)信息技术有限公司 Application service resource control method, device, equipment and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107733704A (en) * 2017-09-29 2018-02-23 中国石油化工股份有限公司 A kind of system and method for the exploration and development cloud based on virtualization and container technique
CN109379235A (en) * 2018-11-27 2019-02-22 无锡华云数据技术服务有限公司 Method based on high concurrent request scene creation cloud host
CN110471740A (en) * 2019-07-31 2019-11-19 北京百度网讯科技有限公司 Execute method, apparatus, equipment and the computer storage medium of machine learning task
US10585690B2 (en) * 2016-09-30 2020-03-10 Vmware, Inc. Online promote disk using mirror driver
CN111464603A (en) * 2020-03-24 2020-07-28 聚好看科技股份有限公司 Server capacity expansion method and system

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8806479B2 (en) * 2007-06-05 2014-08-12 International Business Machines Corporation Creating an application virtual machine image by isolating installation artifacts in shadow area
CN103067425B (en) * 2011-10-20 2016-04-27 中国移动通信集团公司 Virtual machine creation method, virtual machine management system and relevant device
CN104468734A (en) * 2014-11-18 2015-03-25 国云科技股份有限公司 Virtual cluster expanding method based on cloning
US9775008B2 (en) * 2015-01-14 2017-09-26 Kodiak Networks, Inc. System and method for elastic scaling in a push to talk (PTT) platform using user affinity groups
CN106487850B (en) * 2015-08-29 2019-10-25 华为技术有限公司 The methods, devices and systems of mirror image are obtained under a kind of cloud environment
CN108205481B (en) * 2016-12-19 2022-03-08 华为技术有限公司 Application container instance creation method and device
US20180285139A1 (en) * 2017-04-02 2018-10-04 vEyE Security Ltd. Hypervisor-based containers
CN107438102B (en) * 2017-07-31 2020-04-03 国云科技股份有限公司 Cloud platform mirror image manufacturing system and implementation method thereof
CN108833163B (en) * 2018-06-13 2020-08-28 平安科技(深圳)有限公司 Linux virtual server creating method and device, computer equipment and storage medium
CN109739744B (en) * 2018-12-05 2022-04-22 北京奇艺世纪科技有限公司 Test system and method
CN110674043B (en) * 2019-09-24 2023-09-12 聚好看科技股份有限公司 Processing method and server for application debugging
CN110752947B (en) * 2019-10-18 2022-11-18 北京浪潮数据技术有限公司 K8s cluster deployment method and device, and deployment platform

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10585690B2 (en) * 2016-09-30 2020-03-10 Vmware, Inc. Online promote disk using mirror driver
CN107733704A (en) * 2017-09-29 2018-02-23 中国石油化工股份有限公司 A kind of system and method for the exploration and development cloud based on virtualization and container technique
CN109379235A (en) * 2018-11-27 2019-02-22 无锡华云数据技术服务有限公司 Method based on high concurrent request scene creation cloud host
CN110471740A (en) * 2019-07-31 2019-11-19 北京百度网讯科技有限公司 Execute method, apparatus, equipment and the computer storage medium of machine learning task
CN111464603A (en) * 2020-03-24 2020-07-28 聚好看科技股份有限公司 Server capacity expansion method and system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114490544A (en) * 2022-04-18 2022-05-13 梯度云科技(北京)有限公司 Method and device for downloading container mirror image by newly adding host

Also Published As

Publication number Publication date
CN111464603B (en) 2022-03-29
CN111464603A (en) 2020-07-28

Similar Documents

Publication Publication Date Title
WO2021120968A1 (en) Server capacity expansion method and capacity expansion system
CN109120678B (en) Method and apparatus for service hosting of distributed storage system
CN109683826B (en) Capacity expansion method and device for distributed storage system
CN108683516B (en) Application instance upgrading method, device and system
JP6345211B2 (en) Method and apparatus for creating snapshot of virtual machine system disk
CN114341792B (en) Data partition switching between storage clusters
KR20240013827A (en) Live migration of clusters in containerized environments
KR102047216B1 (en) Replaying jobs at a secondary location of a service
US8090917B2 (en) Managing storage and migration of backup data
CN109408115B (en) Method and computing system for migrating objects in container-based environment
CN111124475B (en) Method for storage management, electronic device, and computer-readable storage medium
US20140379921A1 (en) Resource silos at network-accessible services
CN109325016B (en) Data migration method, device, medium and electronic equipment
CN113010496B (en) Data migration method, device, equipment and storage medium
JP6475304B2 (en) Transaction processing method and apparatus
CN108023939B (en) Method and system for processing lock server fault in distributed system
US10474491B2 (en) Method and apparatus for managing cloud server in cloud environment
US20230385244A1 (en) Facilitating immediate performance of volume resynchronization with the use of passive cache entries
US10972347B2 (en) Converting a first cloud network to second cloud network in a multi-cloud environment
US10474696B2 (en) Replication groups for content libraries
CN104793981A (en) Online snapshot managing method and device for virtual machine cluster
CN105740049A (en) Control method and apparatus
CN112667711B (en) MySQL read-only instance management method, system and computer readable medium
CN110858168A (en) Cluster node fault processing method and device and cluster node
CN109002263B (en) Method and device for adjusting storage capacity

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: 20902887

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: 20902887

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 1205A DATED 25/01/2023)