WO2017000589A1 - Flexible capacity expansion method, apparatus and system - Google Patents

Flexible capacity expansion method, apparatus and system Download PDF

Info

Publication number
WO2017000589A1
WO2017000589A1 PCT/CN2016/076500 CN2016076500W WO2017000589A1 WO 2017000589 A1 WO2017000589 A1 WO 2017000589A1 CN 2016076500 W CN2016076500 W CN 2016076500W WO 2017000589 A1 WO2017000589 A1 WO 2017000589A1
Authority
WO
WIPO (PCT)
Prior art keywords
virtual machine
server
client
request
cloud computing
Prior art date
Application number
PCT/CN2016/076500
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 WO2017000589A1 publication Critical patent/WO2017000589A1/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications

Definitions

  • This document relates to, but is not limited to, the field of cloud computing technology, and relates to an elastic expansion method, device and system.
  • cloud computing Since the concept of cloud computing was put forward, it has received extensive attention and has broad prospects for development.
  • the core idea of cloud computing is to uniformly manage and schedule a large number of computing resources connected by networks to form a computing resource pool to provide on-demand services to users.
  • the network that provides the resources is called the "cloud.”
  • the resources in the "cloud” can be expanded infinitely by users, and can be obtained at any time, used as needed, expanded at any time, and paid for by usage.
  • OpenStack is a cloud computing platform, an open source project designed to provide software for the construction and management of public and private clouds, enabling service providers and enterprise-wide implementation of cloud infrastructure services.
  • the OpenStack platform needs to add a cloud host (that is, it needs to be expanded)
  • the related technology generally directly calls the elastic extension interface of OpenStack, and installs the data storage software and related applications in the cloud host according to the original template, but cannot add new ones.
  • the virtual machine performs data synchronization. If you need to use the software or the data that the application has generated before running or calling the application, it will cause an error. This is basically the case when the cloud computing platform similar to OpenStack is expanding.
  • the embodiment of the invention provides a method, a device and a system for elastic expansion, which can solve the problem that data synchronization cannot be performed when expanding in the related art, thereby realizing data synchronization of the virtual machine.
  • the embodiment of the present invention provides an elastic expansion method, including: the server receives an increase virtual machine request sent by the cloud computing platform; the server adds a virtual machine according to the request of adding a virtual machine; and the server notifies the client on the virtual machine to perform data. Synchronize.
  • the method further includes: the server determining the added operating system type of the virtual machine; the server is on the virtual machine according to the operating system type. Install the client that corresponds to the operating system type.
  • the server determines the operating system type of the added virtual machine, and includes: sending a ping command to the added virtual machine; determining, according to the ping command return message sent by the virtual machine, an operating system type of the virtual machine, where the ping The command return message contains the IP address information of the virtual machine.
  • the server adds the virtual machine according to the request for adding the virtual machine, and includes: calling the elastic expansion interface of the cloud computing platform according to the request for adding the virtual machine; and adding the virtual machine by using the elastic expansion interface.
  • the method further includes: the server monitoring the working state of the virtual machine; working in the virtual machine When the status is abnormal, an alarm is issued or the cloud computing platform is notified to add a virtual machine.
  • the embodiment of the present invention further provides an elastic expansion device, which is disposed on the server, and includes: a receiving module, configured to receive an increase virtual machine request sent by the cloud computing platform; and an expansion module configured to add a virtual machine according to the request for adding a virtual machine; A synchronization module, configured to notify the client on the virtual machine to synchronize data.
  • the device further includes: a determining module, configured to determine an increased operating system type of the virtual machine; and an installation module configured to install a client corresponding to the operating system type on the virtual machine according to the operating system type.
  • a determining module configured to determine an increased operating system type of the virtual machine
  • an installation module configured to install a client corresponding to the operating system type on the virtual machine according to the operating system type.
  • the determining module includes: a sending unit, configured to send a ping command to the added virtual machine; and an analyzing unit, configured to determine, according to a ping command return message sent by the virtual machine, an operating system type of the virtual machine, where The ping command returns the IP address information of the virtual machine.
  • the expansion module includes: an invoking unit, configured to invoke an elastic expansion interface of the cloud computing platform according to the request for adding a virtual machine; and an expansion unit configured to add a virtual machine through the elastic expansion interface.
  • the device further includes: a monitoring module, configured to: monitor a working state of the virtual machine; and send an alarm or notify the cloud computing platform to add a virtual machine when the working state of the virtual machine is abnormal.
  • a monitoring module configured to: monitor a working state of the virtual machine; and send an alarm or notify the cloud computing platform to add a virtual machine when the working state of the virtual machine is abnormal.
  • the embodiment of the invention further provides an elastic expansion system, comprising:
  • the server is configured to receive an increased virtual machine request sent by the cloud computing platform, add a virtual machine according to the request of adding a virtual machine, and notify the client on the virtual machine to perform data synchronization;
  • the client is set to synchronize data according to the notification of the server.
  • an embodiment of the present invention further provides a computer readable storage medium, where the computer readable storage medium stores computer executable instructions, and the elastic executable method is implemented when the computer executable instructions are executed.
  • the server receives the request for adding a virtual machine sent by the cloud computing platform, and the server adds the virtual machine according to the request for adding the virtual machine, and notifies the client on the newly added virtual machine to perform data synchronization.
  • the cloud computing platform can synchronize the data generated by other software or applications on the platform to the newly added virtual machine while adding the virtual machine.
  • FIG. 1 is a flow chart 1 of an elastic expansion method according to an embodiment of the present invention.
  • FIG. 2 is a second flowchart of an elastic expansion method according to an embodiment of the present invention.
  • FIG. 3 is a structural block diagram 1 of an elastic expansion device according to an embodiment of the present invention.
  • FIG. 4 is a structural block diagram 2 of an elastic expansion device according to an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of deployment of an elastic expansion system according to an embodiment of the invention.
  • FIG. 1 is a flowchart of an elastic expansion method according to an embodiment of the present invention. As shown in FIG. 1, the method includes the following steps:
  • Step S102 The server receives an add virtual machine request sent by the cloud computing platform.
  • Step S104 the server adds a virtual machine according to the request for adding a virtual machine.
  • step S106 the server notifies the client on the newly added virtual machine to perform data synchronization.
  • the above-mentioned client can be installed on the newly added virtual machine in various manners, for example, it can be installed by the above server control, or can be manually installed.
  • the server can be deployed on other servers, and one server can manage multiple clients.
  • the content and address information included in the data synchronization can be configured on the server.
  • the server can notify the client to synchronize the data, and can transmit the configuration data to the client. .
  • the server receives the request for adding a virtual machine sent by the cloud computing platform, and the server adds the virtual machine according to the request for adding the virtual machine, and notifies the client on the newly added virtual machine to perform data synchronization.
  • the cloud computing platform can synchronize the data generated by other software or applications on the platform to the newly added virtual machine while adding the virtual machine.
  • FIG. 2 is a flowchart of an elastic expansion method according to an embodiment of the present invention.
  • the server before the server notifies a client on a newly added virtual machine to perform data synchronization, The server first determines the operating system type of the newly added virtual machine, such as the Linux operating system or the Windows operating system, and then installs the corresponding client according to different types of operating systems.
  • the client can also be installed in other ways before the server determines the operating system type, for example, it can be manually installed. That is, the order of steps S206 and S208 in FIG. 2 can be interchanged.
  • This embodiment uses the OpenStack cloud computing platform as an example.
  • the optional elastic expansion process includes the following processes:
  • Step S202 The OpenStack platform alarm needs to add a virtual machine, and invokes a server interface, that is, notifies the server to request to add a virtual machine;
  • Step S204 After receiving the foregoing request, the server invokes the elastic expansion interface of the OpenStack platform, and adds the virtual machine through the elastic expansion interface.
  • Step S206 if the newly added virtual machine does not install the client by other means, then The server needs to first determine the operating system type of the newly added virtual machine;
  • the method of determining is as follows: sending a ping command to the newly added virtual machine, and the newly added virtual machine returns a response message according to the ping command, wherein the response message includes the network protocol of the newly added virtual machine (IP) , Internet Protocol) address information, the server can determine the operating system type based on the above IP address information.
  • IP network protocol of the newly added virtual machine
  • IP Internet Protocol
  • Step S208 the server downloads the corresponding client version on the newly added virtual machine according to different types of operating systems, and installs and starts, wherein the client installation file is located in the specified directory of the server;
  • Step S210 the server notifies the installed client to perform data synchronization, and the client copies the relevant data according to the notification of the server, transmits the data to the newly added virtual machine, and initializes, wherein the data may be pre-configured by the server;
  • step S212 the client reports the result of the data synchronization to the server.
  • the manner of client data synchronization is also different for different operating system types. If the operating system of the virtual machine is a Linux system, the client needs to transmit the data to be synchronized through ssh signaling; if the operating system of the virtual machine is a Windows system, the client needs to transmit the data to be synchronized through tenant signaling.
  • the server can manage and monitor multiple clients and virtual machines, and the server pre-stores configuration information that needs to be synchronized.
  • the server can issue an alarm or notify the OpenStack platform to add a virtual machine.
  • FIG. 3 is a structural block diagram of an elastic expansion device according to an embodiment of the present invention. As shown in FIG. 3, the device includes:
  • the receiving module 302 is configured to receive an add virtual machine request sent by the cloud computing platform
  • the expansion module 304 is configured to add a virtual machine according to the increased virtual machine request
  • the data synchronization module 306 is configured to notify the client on the virtual machine to perform data synchronization.
  • the above-mentioned client can be installed on the newly added virtual machine in various manners, for example, it can be installed by the above server control, or can be manually installed.
  • the server can be deployed on other servers, and one server can manage multiple clients.
  • the content and address information included in the data synchronization can be configured on the server.
  • the server can notify the client to synchronize the data, and can transmit the configuration data to the client. .
  • the receiving module 302 receives the request for adding a virtual machine sent by the cloud computing platform, and the expansion module 304 adds the virtual machine according to the request of the added virtual machine, and the data synchronization module 306 notifies the client on the virtual machine to perform data synchronization.
  • the cloud computing platform can synchronize the data generated by other software or applications on the platform to the newly added virtual machine while adding the virtual machine.
  • the elastic expansion device includes a receiving module 402, a expansion module 404, and a data synchronization module 406.
  • the module 408 is determined and the module 410 is installed.
  • the receiving module 402 is configured to receive an increased virtual machine request sent by the cloud computing platform; the expansion module 404 is configured to add a virtual machine according to the increased virtual machine request; and the data synchronization module 406 is configured to notify the client on the virtual machine.
  • the data is synchronized by the end; the determining module 408 is configured to: determine the operating system type of the newly added virtual machine, such as the Linux operating system or the Windows operating system; and the installing module 410 is configured to: install and operate the operating system type on the virtual machine according to the foregoing judgment result. Corresponding client.
  • the determining module 408 includes a sending unit 4002 and an analyzing unit 4004.
  • the sending unit 4002 sends a ping command to the newly added virtual machine, and the virtual machine returns a response message according to the ping command, and the analyzing unit 4004 determines, according to the returned response message, the operating system type of the newly added virtual machine, wherein the returned response
  • the message contains the IP address information of the above virtual machine.
  • the expansion module 404 includes a calling unit 4006 and a expansion unit 4008.
  • the elastic expansion device can function as a relay.
  • the calling unit 4006 of the expansion module 404 of the device will invoke the elastic expansion interface of the OpenStack platform to expand the capacity.
  • Unit 4008 can add virtual machines through the elastic expansion interface.
  • the elastic expansion device further includes a monitoring module 412, which is configured to monitor the working state of the client and the virtual machine installed on the virtual machine, and the working state of the virtual machine is abnormal. When an alarm is issued or the OpenStack platform is notified to add a virtual machine.
  • FIG. 5 is a schematic diagram of deployment of an elastic expansion system according to an embodiment of the present invention.
  • the elastic expansion system includes a server and a client (such as a client 1 to n), the client is deployed on the virtual machine of the cloud computing platform (such as virtual machine 1 ⁇ n), the server is deployed on other servers, and one server can manage and monitor multiple clients and virtual machines.
  • the server After receiving the request for adding a virtual machine sent by the cloud computing platform, the server performs an operation of adding a virtual machine, and notifies the client on the newly added virtual machine to perform data synchronization.
  • the above-mentioned client can be installed on the newly added virtual machine in various manners, for example, it can be installed by the above server control, or can be manually installed. After receiving the notification from the server, the client can perform data synchronization.
  • the content and address information included in the data synchronization can be configured on the server.
  • the server can notify the client to synchronize the data, and can transmit the configuration data to the client. .
  • the server receives the request for adding a virtual machine sent by the cloud computing platform, and the server adds the virtual machine according to the request for adding the virtual machine, and notifies the client on the newly added virtual machine to perform data synchronization, and the client is configured according to the server.
  • the notification performs a data synchronization operation.
  • the cloud computing platform can synchronize the data generated by other software or applications on the platform to the newly added virtual machine while adding the virtual machine.
  • an embodiment of the present invention further provides a computer readable storage medium, where the computer readable storage medium stores computer executable instructions, and the elastic executable method is implemented when the computer executable instructions are executed.
  • modules or steps of the present application can be implemented by a general computing device, which can be concentrated on a single computing device or distributed in a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module.
  • the application is not limited to any particular combination of hardware and software.
  • each module/unit in the above embodiment may be implemented in the form of hardware, for example, by implementing an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, executing a program stored in the memory by a processor. / instruction to achieve its corresponding function.
  • the invention is not limited to any specific form of combination of hardware and software. It should be understood by those skilled in the art that the present invention may be modified or equivalently substituted without departing from the spirit and scope of the invention.
  • the embodiment of the invention provides an elastic expansion method, device and system, so that the cloud computing platform can synchronize the data generated by other software or applications on the platform to the newly added virtual machine while adding the virtual machine.

Abstract

A flexible capacity expansion method, comprising: a service end receiving a request, which is sent by a cloud computing platform, for adding a virtual machine, and the service end adding the virtual machine according to the request for adding the virtual machine, and notifying a client on the newly added virtual machine to synchronize data. The method enables a cloud computing platform, while adding a virtual machine, to synchronize data which has been generated previously by other software or applications on the platform to the newly added virtual machine.

Description

一种弹性扩容方法、装置及系统Elastic expansion method, device and system 技术领域Technical field
本文涉及但不限于云计算技术领域,涉及一种弹性扩容方法、装置及系统。This document relates to, but is not limited to, the field of cloud computing technology, and relates to an elastic expansion method, device and system.
背景技术Background technique
云计算的概念自从被提出后,受到了广泛的关注,并且具有广阔的发展前景。云计算的核心思想是将大量用网络连接的计算资源统一管理和调度,构成一个计算资源池向用户提供按需服务。提供资源的网络被称为“云”。“云”中的资源在使用者看来是可以无限扩展的,并且可以随时获取,按需使用,随时扩展,按使用付费。Since the concept of cloud computing was put forward, it has received extensive attention and has broad prospects for development. The core idea of cloud computing is to uniformly manage and schedule a large number of computing resources connected by networks to form a computing resource pool to provide on-demand services to users. The network that provides the resources is called the "cloud." The resources in the "cloud" can be expanded infinitely by users, and can be obtained at any time, used as needed, expanded at any time, and paid for by usage.
OpenStack就是一个云计算平台,是一个旨在为公共及私有云的建设与管理提供软件的开源项目,能够帮助服务商和企业内部实现云基础架构服务。当OpenStack平台需要增加云主机(即需要进行扩容)时,相关技术一般是直接调用OpenStack的弹性伸缩接口,接照原有模板在云主机中安装数据存储软件和相关应用,而无法对新增加的虚拟机进行数据同步,如果运行或调用应用过程中需要用到该软件或应用此前已经生成的数据,则会导致出错。类似于OpenStack的云计算平台在进行扩容时基本都存在这一问题。OpenStack is a cloud computing platform, an open source project designed to provide software for the construction and management of public and private clouds, enabling service providers and enterprise-wide implementation of cloud infrastructure services. When the OpenStack platform needs to add a cloud host (that is, it needs to be expanded), the related technology generally directly calls the elastic extension interface of OpenStack, and installs the data storage software and related applications in the cloud host according to the original template, but cannot add new ones. The virtual machine performs data synchronization. If you need to use the software or the data that the application has generated before running or calling the application, it will cause an error. This is basically the case when the cloud computing platform similar to OpenStack is expanding.
发明内容Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
本发明实施例提供一种弹性扩容方法、装置及系统,能够解决相关技术中在进行扩容时无法进行数据同步的问题,从而实现虚拟机的数据同步。The embodiment of the invention provides a method, a device and a system for elastic expansion, which can solve the problem that data synchronization cannot be performed when expanding in the related art, thereby realizing data synchronization of the virtual machine.
本发明实施例提供一种弹性扩容方法,包括:服务端接收云计算平台发送的增加虚拟机请求;该服务端根据增加虚拟机请求增加虚拟机;该服务端通知虚拟机上的客户端进行数据同步。 The embodiment of the present invention provides an elastic expansion method, including: the server receives an increase virtual machine request sent by the cloud computing platform; the server adds a virtual machine according to the request of adding a virtual machine; and the server notifies the client on the virtual machine to perform data. Synchronize.
可选地,该服务端通知该虚拟机上的客户端进行数据同步之前,该方法还包括:该服务端判断增加的该虚拟机的操作系统类型;该服务端根据操作系统类型在虚拟机上安装与操作系统类型对应的客户端。Optionally, before the server notifies the client on the virtual machine to perform data synchronization, the method further includes: the server determining the added operating system type of the virtual machine; the server is on the virtual machine according to the operating system type. Install the client that corresponds to the operating system type.
可选地,上述服务端判断增加的虚拟机的操作系统类型,包括:向增加的虚拟机发送ping命令;根据该虚拟机发送的ping命令返回消息判断虚拟机的操作系统类型,其中,该ping命令返回消息中包含该虚拟机的IP地址信息。Optionally, the server determines the operating system type of the added virtual machine, and includes: sending a ping command to the added virtual machine; determining, according to the ping command return message sent by the virtual machine, an operating system type of the virtual machine, where the ping The command return message contains the IP address information of the virtual machine.
可选地,该服务端根据增加虚拟机请求增加虚拟机,包括:根据该增加虚拟机请求调用云计算平台的弹性伸缩接口;通过该弹性伸缩接口增加虚拟机。Optionally, the server adds the virtual machine according to the request for adding the virtual machine, and includes: calling the elastic expansion interface of the cloud computing platform according to the request for adding the virtual machine; and adding the virtual machine by using the elastic expansion interface.
可选地,该服务端根据增加虚拟机请求调用该云计算平台弹性伸缩接口并通过该弹性伸缩接口增加虚拟机之后,该方法还包括:该服务端监控虚拟机的工作状态;在虚拟机工作状态异常时,发出告警或通知云计算平台增加虚拟机。Optionally, after the server sends the virtual computing interface of the cloud computing platform and adds the virtual machine through the elastic expansion interface, the method further includes: the server monitoring the working state of the virtual machine; working in the virtual machine When the status is abnormal, an alarm is issued or the cloud computing platform is notified to add a virtual machine.
本发明实施例还提供一种弹性扩容装置,设置于服务端,包括:接收模块,设置为接收云计算平台发送的增加虚拟机请求;扩容模块,设置为根据增加虚拟机请求增加虚拟机;数据同步模块,设置为通知该虚拟机上的客户端进行数据同步。The embodiment of the present invention further provides an elastic expansion device, which is disposed on the server, and includes: a receiving module, configured to receive an increase virtual machine request sent by the cloud computing platform; and an expansion module configured to add a virtual machine according to the request for adding a virtual machine; A synchronization module, configured to notify the client on the virtual machine to synchronize data.
可选地,该装置还包括:判断模块,设置为判断增加的该虚拟机的操作系统类型;安装模块,设置为根据操作系统类型在虚拟机上安装与该操作系统类型对应的客户端。Optionally, the device further includes: a determining module, configured to determine an increased operating system type of the virtual machine; and an installation module configured to install a client corresponding to the operating system type on the virtual machine according to the operating system type.
可选地,该判断模块,包括:发送单元,设置为向增加的虚拟机发送ping命令;分析单元,设置为根据虚拟机发送的ping命令返回消息判断该虚拟机的操作系统类型,其中,该ping命令返回消息中包含该虚拟机的IP地址信息。Optionally, the determining module includes: a sending unit, configured to send a ping command to the added virtual machine; and an analyzing unit, configured to determine, according to a ping command return message sent by the virtual machine, an operating system type of the virtual machine, where The ping command returns the IP address information of the virtual machine.
可选地,该扩容模块,包括:调用单元,设置为根据增加虚拟机请求调用该云计算平台的弹性伸缩接口;扩容单元,设置为通过该弹性伸缩接口增加虚拟机。Optionally, the expansion module includes: an invoking unit, configured to invoke an elastic expansion interface of the cloud computing platform according to the request for adding a virtual machine; and an expansion unit configured to add a virtual machine through the elastic expansion interface.
可选地,该装置还包括:监控模块,设置为:监控虚拟机的工作状态;以及在该虚拟机工作状态异常时,发出告警或通知云计算平台增加虚拟机。 Optionally, the device further includes: a monitoring module, configured to: monitor a working state of the virtual machine; and send an alarm or notify the cloud computing platform to add a virtual machine when the working state of the virtual machine is abnormal.
本发明实施例还提供一种弹性扩容系统,包括:The embodiment of the invention further provides an elastic expansion system, comprising:
服务端,设置为接收云计算平台发送的增加虚拟机请求,根据增加虚拟机请求增加虚拟机,通知该虚拟机上的客户端进行数据同步;The server is configured to receive an increased virtual machine request sent by the cloud computing platform, add a virtual machine according to the request of adding a virtual machine, and notify the client on the virtual machine to perform data synchronization;
客户端,设置为根据该服务端的通知进行数据同步。The client is set to synchronize data according to the notification of the server.
此外,本发明实施例还提供一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机可执行指令,所述计算机可执行指令被执行时实现所述弹性扩容方法。In addition, an embodiment of the present invention further provides a computer readable storage medium, where the computer readable storage medium stores computer executable instructions, and the elastic executable method is implemented when the computer executable instructions are executed.
上述技术方案中,服务端接收云计算平台发送的增加虚拟机请求,该服务端根据上述增加虚拟机请求增加虚拟机,通知新增加的虚拟机上的客户端进行数据同步。如此,使得云计算平台在增加虚拟机的同时,可以将平台上其他软件或应用此前已经生成的数据同步到该新增虚拟机上。In the foregoing technical solution, the server receives the request for adding a virtual machine sent by the cloud computing platform, and the server adds the virtual machine according to the request for adding the virtual machine, and notifies the client on the newly added virtual machine to perform data synchronization. In this way, the cloud computing platform can synchronize the data generated by other software or applications on the platform to the newly added virtual machine while adding the virtual machine.
在阅读并理解了附图和详细描述后,可以明白其它方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图说明DRAWINGS
此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the present application, and are intended to be a part of this application. In the drawing:
图1是根据本发明实施例的弹性扩容方法的流程图一;1 is a flow chart 1 of an elastic expansion method according to an embodiment of the present invention;
图2是根据本发明实施例的弹性扩容方法的流程图二;2 is a second flowchart of an elastic expansion method according to an embodiment of the present invention;
图3是根据本发明实施例的弹性扩容装置的结构框图一;3 is a structural block diagram 1 of an elastic expansion device according to an embodiment of the present invention;
图4是根据本发明实施例的弹性扩容装置的结构框图二;4 is a structural block diagram 2 of an elastic expansion device according to an embodiment of the present invention;
图5是根据本发明实施例的弹性扩容系统的部署示意图。FIG. 5 is a schematic diagram of deployment of an elastic expansion system according to an embodiment of the invention.
具体实施方式detailed description
下文将结合附图和实施例详细说明本发明实施例的技术方案。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。 The technical solutions of the embodiments of the present invention will be described in detail below with reference to the accompanying drawings and embodiments. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
本发明实施例提供了一种弹性扩容方法,图1是根据本发明实施例的弹性扩容方法流程图,如图1所示,该方法包括以下步骤:An embodiment of the present invention provides a method for elastic expansion. FIG. 1 is a flowchart of an elastic expansion method according to an embodiment of the present invention. As shown in FIG. 1, the method includes the following steps:
步骤S102,服务端接收云计算平台发送的增加虚拟机请求;Step S102: The server receives an add virtual machine request sent by the cloud computing platform.
步骤S104,该服务端根据上述增加虚拟机请求增加虚拟机;Step S104, the server adds a virtual machine according to the request for adding a virtual machine.
步骤S106,该服务端通知新增加虚拟机上的客户端进行数据同步。In step S106, the server notifies the client on the newly added virtual machine to perform data synchronization.
其中,上述客户端可以通过多种方式安装在新增加的虚拟机上,比如可以由上述服务端控制来安装,也可以手动安装。服务端可以部署在其他服务器上,一个服务端可以管理多个客户端。The above-mentioned client can be installed on the newly added virtual machine in various manners, for example, it can be installed by the above server control, or can be manually installed. The server can be deployed on other servers, and one server can manage multiple clients.
另外,数据同步所包含的内容和地址等信息可在服务端进行配置,客户端在虚拟机上安装完成后,服务端即可通知客户端进行数据同步,并可以将这些配置数据传给客户端。In addition, the content and address information included in the data synchronization can be configured on the server. After the client is installed on the virtual machine, the server can notify the client to synchronize the data, and can transmit the configuration data to the client. .
通过本发明实施例,服务端接收云计算平台发送的增加虚拟机请求,该服务端根据上述增加虚拟机请求增加虚拟机,通知新增加虚拟机上的客户端进行数据同步。如此,使得云计算平台在增加虚拟机的同时,可以将平台上其他软件或应用此前已经生成的数据同步到该新增虚拟机上。In the embodiment of the present invention, the server receives the request for adding a virtual machine sent by the cloud computing platform, and the server adds the virtual machine according to the request for adding the virtual machine, and notifies the client on the newly added virtual machine to perform data synchronization. In this way, the cloud computing platform can synchronize the data generated by other software or applications on the platform to the newly added virtual machine while adding the virtual machine.
在本发明的一个实施方式中,图2是根据本发明实施例的弹性扩容方法的流程图,如图2所示,在该服务端通知新增加虚拟机上的客户端进行数据同步之前,该服务端先判断新增加虚拟机的操作系统类型,比如Linux操作系统或Windows操作系统等,然后根据不同类型的操作系统来安装相应的客户端。其中,该客户端也可以在服务端判断操作系统类型之前通过其他方式安装,比如可以手动安装。即,图2中的步骤S206与步骤S208的先后顺序可以互换。本实施方式以OpenStack云计算平台为例,可选的弹性扩容流程包括如下过程:In an embodiment of the present invention, FIG. 2 is a flowchart of an elastic expansion method according to an embodiment of the present invention. As shown in FIG. 2, before the server notifies a client on a newly added virtual machine to perform data synchronization, The server first determines the operating system type of the newly added virtual machine, such as the Linux operating system or the Windows operating system, and then installs the corresponding client according to different types of operating systems. The client can also be installed in other ways before the server determines the operating system type, for example, it can be manually installed. That is, the order of steps S206 and S208 in FIG. 2 can be interchanged. This embodiment uses the OpenStack cloud computing platform as an example. The optional elastic expansion process includes the following processes:
步骤S202,OpenStack平台告警需要增加虚拟机,调用服务端接口,即通知服务端请求增加虚拟机;Step S202: The OpenStack platform alarm needs to add a virtual machine, and invokes a server interface, that is, notifies the server to request to add a virtual machine;
步骤S204,服务端收到上述请求后,调用OpenStack平台的弹性伸缩接口,通过该弹性伸缩接口增加虚拟机;Step S204: After receiving the foregoing request, the server invokes the elastic expansion interface of the OpenStack platform, and adds the virtual machine through the elastic expansion interface.
步骤S206,如果该新增加的虚拟机上没有通过其他方式安装客户端,则 服务端需要先判断该新增加虚拟机的操作系统类型;Step S206, if the newly added virtual machine does not install the client by other means, then The server needs to first determine the operating system type of the newly added virtual machine;
其中,判断方式如下:向新增加的虚拟机发送一条ping命令,新增加的虚拟机会根据该ping命令返回一条响应消息,其中,在该响应消息中包含了该新增加虚拟机的网络协议(IP,Internet Protocol)地址信息,该服务端根据上述IP地址信息就可以判断出其操作系统类型。The method of determining is as follows: sending a ping command to the newly added virtual machine, and the newly added virtual machine returns a response message according to the ping command, wherein the response message includes the network protocol of the newly added virtual machine (IP) , Internet Protocol) address information, the server can determine the operating system type based on the above IP address information.
步骤S208,服务端根据不同类型的操作系统,在新增加的虚拟机上下载对应的客户端版本并安装启动,其中,客户端安装文件位于服务端指定目录下;Step S208, the server downloads the corresponding client version on the newly added virtual machine according to different types of operating systems, and installs and starts, wherein the client installation file is located in the specified directory of the server;
步骤S210,服务端通知安装好的客户端进行数据同步,客户端根据服务端的通知复制相关数据,传输到新增虚拟机上并进行初始化,其中,这些数据可以是服务端预先配置好的;Step S210, the server notifies the installed client to perform data synchronization, and the client copies the relevant data according to the notification of the server, transmits the data to the newly added virtual machine, and initializes, wherein the data may be pre-configured by the server;
步骤S212,客户端将数据同步的结果上报给服务端。In step S212, the client reports the result of the data synchronization to the server.
在本发明的一个实施方式中,如图2所示,针对不同的操作系统类型,客户端数据同步的方式也有所不同。如果虚拟机的操作系统为Linux系统,则客户端需要通过ssh信令传输要同步到的数据;如果虚拟机的操作系统为Windows系统,则客户端需要通过tenant信令传输要同步到的数据。In one embodiment of the present invention, as shown in FIG. 2, the manner of client data synchronization is also different for different operating system types. If the operating system of the virtual machine is a Linux system, the client needs to transmit the data to be synchronized through ssh signaling; if the operating system of the virtual machine is a Windows system, the client needs to transmit the data to be synchronized through tenant signaling.
在本发明的一个实施方式中,服务端可以管理并监控多个客户端及虚拟机,并且服务端会预先保存需要进行数据同步的配置信息。在虚拟机工作状态异常时,服务端可以发出告警或者通知OpenStack平台增加虚拟机。In an embodiment of the present invention, the server can manage and monitor multiple clients and virtual machines, and the server pre-stores configuration information that needs to be synchronized. When the virtual machine works abnormally, the server can issue an alarm or notify the OpenStack platform to add a virtual machine.
本发明实施例还提供了一种弹性扩容装置,设置于服务端,图3是根据本发明实施例的弹性扩容装置的结构框图,如图3所示,该装置包括:The embodiment of the present invention further provides an elastic expansion device, which is disposed at the server end. FIG. 3 is a structural block diagram of an elastic expansion device according to an embodiment of the present invention. As shown in FIG. 3, the device includes:
接收模块302,设置为接收云计算平台发送的增加虚拟机请求;The receiving module 302 is configured to receive an add virtual machine request sent by the cloud computing platform;
扩容模块304,设置为根据该增加虚拟机请求增加虚拟机;The expansion module 304 is configured to add a virtual machine according to the increased virtual machine request;
数据同步模块306,设置为通知所该虚拟机上的客户端进行数据同步。The data synchronization module 306 is configured to notify the client on the virtual machine to perform data synchronization.
其中,上述客户端可以通过多种方式安装在新增加的虚拟机上,比如可以由上述服务端控制来安装,也可以手动安装。服务端可以部署在其他服务器上,一个服务端可以管理多个客户端。 The above-mentioned client can be installed on the newly added virtual machine in various manners, for example, it can be installed by the above server control, or can be manually installed. The server can be deployed on other servers, and one server can manage multiple clients.
另外,数据同步所包含的内容和地址等信息可在服务端进行配置,客户端在虚拟机上安装完成后,服务端即可通知客户端进行数据同步,并可以将这些配置数据传给客户端。In addition, the content and address information included in the data synchronization can be configured on the server. After the client is installed on the virtual machine, the server can notify the client to synchronize the data, and can transmit the configuration data to the client. .
通过本发明实施例,接收模块302接收云计算平台发送的增加虚拟机请求,扩容模块304根据该增加虚拟机请求增加虚拟机,数据同步模块306通知所该虚拟机上的客户端进行数据同步。如此,使得云计算平台在增加虚拟机的同时,可以将平台上其他软件或应用此前已经生成的数据同步到该新增虚拟机上。Through the embodiment of the present invention, the receiving module 302 receives the request for adding a virtual machine sent by the cloud computing platform, and the expansion module 304 adds the virtual machine according to the request of the added virtual machine, and the data synchronization module 306 notifies the client on the virtual machine to perform data synchronization. In this way, the cloud computing platform can synchronize the data generated by other software or applications on the platform to the newly added virtual machine while adding the virtual machine.
图4是根据本发明另一实施例的弹性扩容装置的结构框图,在本发明该实施方式中,如图4所示,该弹性扩容装置包括接收模块402、扩容模块404、数据同步模块406、判断模块408以及安装模块410。4 is a structural block diagram of an elastic expansion device according to another embodiment of the present invention. In the embodiment of the present invention, as shown in FIG. 4, the elastic expansion device includes a receiving module 402, a expansion module 404, and a data synchronization module 406. The module 408 is determined and the module 410 is installed.
其中,接收模块402,设置为接收云计算平台发送的增加虚拟机请求;扩容模块404,设置为根据该增加虚拟机请求增加虚拟机;数据同步模块406,设置为通知所该虚拟机上的客户端进行数据同步;判断模块408设置为:判断新增加虚拟机的操作系统类型,比如Linux操作系统或Windows操作系统等;安装模块410设置为:根据上述判断结果在虚拟机上安装与操作系统类型对应的客户端。The receiving module 402 is configured to receive an increased virtual machine request sent by the cloud computing platform; the expansion module 404 is configured to add a virtual machine according to the increased virtual machine request; and the data synchronization module 406 is configured to notify the client on the virtual machine. The data is synchronized by the end; the determining module 408 is configured to: determine the operating system type of the newly added virtual machine, such as the Linux operating system or the Windows operating system; and the installing module 410 is configured to: install and operate the operating system type on the virtual machine according to the foregoing judgment result. Corresponding client.
其中,判断模块408包括发送单元4002和分析单元4004。发送单元4002会向新增加的虚拟机发送ping命令,虚拟机根据ping命令返回一个响应消息,分析单元4004根据该返回的响应消息来判断新增加虚拟机的操作系统类型,其中,该返回的响应消息中包含上述虚拟机的IP地址信息。The determining module 408 includes a sending unit 4002 and an analyzing unit 4004. The sending unit 4002 sends a ping command to the newly added virtual machine, and the virtual machine returns a response message according to the ping command, and the analyzing unit 4004 determines, according to the returned response message, the operating system type of the newly added virtual machine, wherein the returned response The message contains the IP address information of the above virtual machine.
在本发明的一个实施方式中,如图4所示,扩容模块404包括调用单元4006和扩容单元4008。当OpenStack平台将增加虚拟机请求发送给接收模块402,该弹性扩容装置在此处可以起到一个中转的作用,该装置的扩容模块404的调用单元4006会再调用OpenStack平台的弹性伸缩接口,扩容单元4008就可以通过该弹性伸缩接口来增加虚拟机。In an embodiment of the present invention, as shown in FIG. 4, the expansion module 404 includes a calling unit 4006 and a expansion unit 4008. When the OpenStack platform sends a virtual machine request to the receiving module 402, the elastic expansion device can function as a relay. The calling unit 4006 of the expansion module 404 of the device will invoke the elastic expansion interface of the OpenStack platform to expand the capacity. Unit 4008 can add virtual machines through the elastic expansion interface.
在本发明的一个实施方式中,如图4所示,该弹性扩容装置还包括监控模块412,其作用是监控在虚拟机上安装的客户端以及虚拟机的工作状态,在虚拟机工作状态异常时,发出告警或通知OpenStack平台增加虚拟机。 In an embodiment of the present invention, as shown in FIG. 4, the elastic expansion device further includes a monitoring module 412, which is configured to monitor the working state of the client and the virtual machine installed on the virtual machine, and the working state of the virtual machine is abnormal. When an alarm is issued or the OpenStack platform is notified to add a virtual machine.
本发明实施例还提供了一种弹性扩容系统,图5是根据本发明实施例的弹性扩容系统部署示意图,如图5所示,该弹性扩容系统包括服务端与客户端(如客户端1~n),客户端部署在云计算平台的虚拟机(如虚拟机1~n)上,服务端部署在其他服务器上,一个服务端可以管理和监控多个客户端及虚拟机。服务端收到云计算平台发送的增加虚拟机请求后,执行增加虚拟机的操作,并且通知在新增加虚拟机上的客户端进行数据同步。其中,上述客户端可以通过多种方式安装在新增加的虚拟机上,比如可以由上述服务端控制来安装,也可以手动安装。客户端收到据服务端的通知后就可以执行数据同步操作。The embodiment of the present invention further provides an elastic expansion system. FIG. 5 is a schematic diagram of deployment of an elastic expansion system according to an embodiment of the present invention. As shown in FIG. 5, the elastic expansion system includes a server and a client (such as a client 1 to n), the client is deployed on the virtual machine of the cloud computing platform (such as virtual machine 1 ~ n), the server is deployed on other servers, and one server can manage and monitor multiple clients and virtual machines. After receiving the request for adding a virtual machine sent by the cloud computing platform, the server performs an operation of adding a virtual machine, and notifies the client on the newly added virtual machine to perform data synchronization. The above-mentioned client can be installed on the newly added virtual machine in various manners, for example, it can be installed by the above server control, or can be manually installed. After receiving the notification from the server, the client can perform data synchronization.
另外,数据同步所包含的内容和地址等信息可在服务端进行配置,客户端在虚拟机上安装完成后,服务端即可通知客户端进行数据同步,并可以将这些配置数据传给客户端。In addition, the content and address information included in the data synchronization can be configured on the server. After the client is installed on the virtual machine, the server can notify the client to synchronize the data, and can transmit the configuration data to the client. .
通过本发明实施例,服务端接收云计算平台发送的增加虚拟机请求,该服务端根据上述增加虚拟机请求增加虚拟机,通知新增加虚拟机上的客户端进行数据同步,客户端根据服务端的通知执行数据同步操作。如此,使得云计算平台在增加虚拟机的同时,可以将平台上其他软件或应用此前已经生成的数据同步到该新增虚拟机上。According to the embodiment of the present invention, the server receives the request for adding a virtual machine sent by the cloud computing platform, and the server adds the virtual machine according to the request for adding the virtual machine, and notifies the client on the newly added virtual machine to perform data synchronization, and the client is configured according to the server. The notification performs a data synchronization operation. In this way, the cloud computing platform can synchronize the data generated by other software or applications on the platform to the newly added virtual machine while adding the virtual machine.
此外,本发明实施例还提供一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机可执行指令,所述计算机可执行指令被执行时实现所述弹性扩容方法。In addition, an embodiment of the present invention further provides a computer readable storage medium, where the computer readable storage medium stores computer executable instructions, and the elastic executable method is implemented when the computer executable instructions are executed.
显然,本领域的技术人员应该明白,上述的本申请的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本申请不限制于任何特定的硬件和软件结合。Obviously, those skilled in the art should understand that the above modules or steps of the present application can be implemented by a general computing device, which can be concentrated on a single computing device or distributed in a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. The steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module. Thus, the application is not limited to any particular combination of hardware and software.
以上该仅为本申请的优选实施例而已,并不用于限制本申请,对于本领 域的技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above is only a preferred embodiment of the present application, and is not intended to limit the present application. Various modifications and variations are possible in the application of this invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of this application are intended to be included within the scope of the present application.
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件(例如处理器)完成,所述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现。相应地,上述实施例中的各模块/单元可以采用硬件的形式实现,例如通过集成电路来实现其相应功能,也可以采用软件功能模块的形式实现,例如通过处理器执行存储于存储器中的程序/指令来实现其相应功能。本发明不限制于任何特定形式的硬件和软件的结合。本领域的普通技术人员应当理解,可以对本发明的技术方案进行修改或者等同替换,而不脱离本发明技术方案的精神和范围,均应涵盖在本发明的权利要求范围当中。One of ordinary skill in the art will appreciate that all or a portion of the above steps may be performed by a program to instruct related hardware, such as a processor, which may be stored in a computer readable storage medium, such as a read only memory, disk or optical disk. Wait. Alternatively, all or part of the steps of the above embodiments may also be implemented using one or more integrated circuits. Correspondingly, each module/unit in the above embodiment may be implemented in the form of hardware, for example, by implementing an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, executing a program stored in the memory by a processor. / instruction to achieve its corresponding function. The invention is not limited to any specific form of combination of hardware and software. It should be understood by those skilled in the art that the present invention may be modified or equivalently substituted without departing from the spirit and scope of the invention.
工业实用性Industrial applicability
本发明实施例提供一种弹性扩容方法、装置及系统,使得云计算平台在增加虚拟机的同时,可以将平台上其他软件或应用此前已经生成的数据同步到新增虚拟机上。 The embodiment of the invention provides an elastic expansion method, device and system, so that the cloud computing platform can synchronize the data generated by other software or applications on the platform to the newly added virtual machine while adding the virtual machine.

Claims (12)

  1. 一种弹性扩容方法,包括:An elastic expansion method includes:
    服务端接收云计算平台发送的增加虚拟机请求;The server receives the increased virtual machine request sent by the cloud computing platform;
    所述服务端根据所述增加虚拟机请求增加虚拟机;The server adds a virtual machine according to the request for adding a virtual machine;
    所述服务端通知所述虚拟机上的客户端进行数据同步。The server notifies the client on the virtual machine to perform data synchronization.
  2. 根据权利要求1所述的方法,所述服务端通知所述虚拟机上的客户端进行数据同步之前,该方法还包括:The method of claim 1, before the server notifies the client on the virtual machine to perform data synchronization, the method further includes:
    所述服务端判断增加的所述虚拟机的操作系统类型;The server determines the added operating system type of the virtual machine;
    所述服务端根据所述操作系统类型在所述虚拟机上安装与所述操作系统类型对应的客户端。The server installs a client corresponding to the operating system type on the virtual machine according to the operating system type.
  3. 根据权利要求2所述的方法,其中,所述服务端判断增加的所述虚拟机的操作系统类型,包括:The method of claim 2, wherein the server determines the increased operating system type of the virtual machine, including:
    向增加的所述虚拟机发送ping命令;Sending a ping command to the added virtual machine;
    根据所述虚拟机发送的ping命令返回消息判断所述虚拟机的操作系统类型,其中,所述ping命令返回消息中包含所述虚拟机的网络协议IP地址信息。And determining, according to the ping command return message sent by the virtual machine, an operating system type of the virtual machine, where the ping command return message includes network protocol IP address information of the virtual machine.
  4. 根据权利要求1至3任一项所述的方法,其中,所述服务端根据所述增加虚拟机请求增加虚拟机,包括:The method according to any one of claims 1 to 3, wherein the server adds a virtual machine according to the request for adding a virtual machine, including:
    根据所述增加虚拟机请求调用所述云计算平台的弹性伸缩接口;Invoking an elastic expansion interface of the cloud computing platform according to the request for adding a virtual machine;
    通过所述弹性伸缩接口增加虚拟机。The virtual machine is added through the elastic expansion interface.
  5. 根据权利要求4所述的方法,所述服务端根据所述增加虚拟机请求调用所述云计算平台弹性伸缩接口并通过所述弹性伸缩接口增加虚拟机之后,该方法还包括:The method of claim 4, after the server invokes the cloud computing platform elastic scaling interface according to the adding virtual machine request and adds a virtual machine through the elastic expansion interface, the method further includes:
    所述服务端监控所述虚拟机的工作状态;The server monitors an operating state of the virtual machine;
    在所述虚拟机工作状态异常时,发出告警或通知所述云计算平台增加虚拟机。When the working state of the virtual machine is abnormal, an alarm is issued or the cloud computing platform is notified to add a virtual machine.
  6. 一种弹性扩容装置,设置于服务端,包括: An elastic expansion device is disposed at the server end, and includes:
    接收模块,设置为接收云计算平台发送的增加虚拟机请求;a receiving module, configured to receive an increased virtual machine request sent by the cloud computing platform;
    扩容模块,设置为根据所述增加虚拟机请求增加虚拟机;The expansion module is configured to add a virtual machine according to the request for adding a virtual machine;
    数据同步模块,设置为通知所述虚拟机上的客户端进行数据同步。A data synchronization module is configured to notify a client on the virtual machine to perform data synchronization.
  7. 根据权利要求6所述的装置,所述装置还包括:The apparatus of claim 6 further comprising:
    判断模块,设置为判断增加的所述虚拟机的操作系统类型;a determining module, configured to determine an increased operating system type of the virtual machine;
    安装模块,设置为根据所述操作系统类型在所述虚拟机上安装与所述操作系统类型对应的客户端。The installation module is configured to install a client corresponding to the operating system type on the virtual machine according to the operating system type.
  8. 根据权利要求7所述的装置,其中,所述判断模块,包括:The device of claim 7, wherein the determining module comprises:
    发送单元,设置为向增加的所述虚拟机发送ping命令;a sending unit, configured to send a ping command to the added virtual machine;
    分析单元,设置为根据所述虚拟机发送的ping命令返回消息判断所述虚拟机的操作系统类型,其中,所述ping命令返回消息中包含所述虚拟机的网络协议IP地址信息。The analyzing unit is configured to determine, according to the ping command return message sent by the virtual machine, an operating system type of the virtual machine, where the ping command return message includes network protocol IP address information of the virtual machine.
  9. 根据权利要求6至8任一项所述的装置,其中,所述扩容模块,包括:The device according to any one of claims 6 to 8, wherein the expansion module comprises:
    调用单元,设置为根据所述增加虚拟机请求调用所述云计算平台的弹性伸缩接口;a calling unit, configured to invoke an elastic expansion interface of the cloud computing platform according to the request for adding a virtual machine;
    所述扩容单元,设置为通过所述弹性伸缩接口增加虚拟机。The expansion unit is configured to add a virtual machine through the elastic expansion interface.
  10. 根据权利要求9所述的装置,所述装置还包括:The apparatus of claim 9 further comprising:
    监控模块,设置为:监控所述虚拟机的工作状态;以及在所述虚拟机工作状态异常时,发出告警或通知所述云计算平台增加虚拟机。The monitoring module is configured to: monitor an operating state of the virtual machine; and send an alarm or notify the cloud computing platform to add a virtual machine when the working state of the virtual machine is abnormal.
  11. 一种弹性扩容系统,包括:An elastic expansion system comprising:
    服务端,设置为接收云计算平台发送的增加虚拟机请求,根据所述增加虚拟机请求增加虚拟机,通知所述虚拟机上的客户端进行数据同步;The server is configured to receive an increased virtual machine request sent by the cloud computing platform, add a virtual machine according to the request for adding the virtual machine, and notify the client on the virtual machine to perform data synchronization;
    客户端,设置为根据所述服务端的通知进行数据同步。The client is set to perform data synchronization according to the notification of the server.
  12. 一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机可执行指令,所述计算机可执行指令被执行时实现权利要求1~5任一项所述的方法。 A computer readable storage medium having stored therein computer executable instructions that, when executed, implement the method of any one of claims 1 to 5.
PCT/CN2016/076500 2015-06-29 2016-03-16 Flexible capacity expansion method, apparatus and system WO2017000589A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510368483.5 2015-06-29
CN201510368483.5A CN106302626A (en) 2015-06-29 2015-06-29 A kind of elastic expansion method, Apparatus and system

Publications (1)

Publication Number Publication Date
WO2017000589A1 true WO2017000589A1 (en) 2017-01-05

Family

ID=57607657

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/076500 WO2017000589A1 (en) 2015-06-29 2016-03-16 Flexible capacity expansion method, apparatus and system

Country Status (2)

Country Link
CN (1) CN106302626A (en)
WO (1) WO2017000589A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110830307A (en) * 2019-11-21 2020-02-21 中盈优创资讯科技有限公司 Network capacity expansion method and device
CN115934479A (en) * 2023-03-15 2023-04-07 天聚地合(苏州)科技股份有限公司 Interface service control method, device, storage medium and equipment

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108366082B (en) * 2017-01-26 2020-03-10 华为技术有限公司 Capacity expansion method and capacity expansion device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101938416A (en) * 2010-09-01 2011-01-05 华南理工大学 Cloud computing resource scheduling method based on dynamic reconfiguration virtual resources
CN103200020A (en) * 2012-01-04 2013-07-10 中兴通讯股份有限公司 Resource allocating method and resource allocating system
US20140101649A1 (en) * 2012-10-05 2014-04-10 International Business Machines Corporation Virtual machine based controller and upgrade mechanism

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102681899B (en) * 2011-03-14 2015-06-10 金剑 Virtual computing resource dynamic management system of cloud computing service platform
CN102523109A (en) * 2011-12-08 2012-06-27 杭州华三通信技术有限公司 Resource state updating method, management client ends, and server
CN102646062B (en) * 2012-03-20 2014-04-09 广东电子工业研究院有限公司 Flexible capacity enlargement method for cloud computing platform based application clusters
CN104142847B (en) * 2013-05-06 2017-09-29 中国银联股份有限公司 Stateless virtual machine and its application under cloud computing environment
WO2015074200A1 (en) * 2013-11-20 2015-05-28 华为技术有限公司 Method, system and apparatus for generating snapshot
CN104407938B (en) * 2014-11-21 2018-05-08 上海爱数信息技术股份有限公司 A kind of a variety of granularity restoration methods after virtual machine image level backup

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101938416A (en) * 2010-09-01 2011-01-05 华南理工大学 Cloud computing resource scheduling method based on dynamic reconfiguration virtual resources
CN103200020A (en) * 2012-01-04 2013-07-10 中兴通讯股份有限公司 Resource allocating method and resource allocating system
US20140101649A1 (en) * 2012-10-05 2014-04-10 International Business Machines Corporation Virtual machine based controller and upgrade mechanism

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110830307A (en) * 2019-11-21 2020-02-21 中盈优创资讯科技有限公司 Network capacity expansion method and device
CN110830307B (en) * 2019-11-21 2022-02-15 中盈优创资讯科技有限公司 Network capacity expansion method and device
CN115934479A (en) * 2023-03-15 2023-04-07 天聚地合(苏州)科技股份有限公司 Interface service control method, device, storage medium and equipment
CN115934479B (en) * 2023-03-15 2023-07-25 天聚地合(苏州)科技股份有限公司 Interface service control method, device, storage medium and equipment

Also Published As

Publication number Publication date
CN106302626A (en) 2017-01-04

Similar Documents

Publication Publication Date Title
CN108809722B (en) Method, device and storage medium for deploying Kubernetes cluster
US20210271506A1 (en) Centralized management, provisioning and monitoring of cloud infrastructure
WO2017162173A1 (en) Method and device for establishing connection of cloud server cluster
US9176786B2 (en) Dynamic and automatic colocation and combining of service providers and service clients in a grid of resources for performing a data backup function
CN110737442A (en) edge application management method and system
US11057471B2 (en) Edge application management method and system
CN111045854B (en) Method, apparatus and computer readable medium for managing service containers
WO2017167100A1 (en) Data migration method and device
CN113742031B (en) Node state information acquisition method and device, electronic equipment and readable storage medium
WO2014169870A1 (en) Virtual network element automatic loading and virtual machine ip address acquisition method and system, and storage medium
CN104935672A (en) High available realizing method and equipment of load balancing service
WO2017049997A1 (en) Virtual machine monitoring method, apparatus and system based on cloud computing service
CN102821000A (en) Method for improving usability of PaaS platform
WO2017092505A1 (en) Method, system and device for elastic scaling of virtual resources in cloud computing environment
US8566847B2 (en) Out-of-band host management via a management controller
US11968267B2 (en) Computing system providing cloud-based user profile management for virtual sessions and related methods
US20170033980A1 (en) Agent manager for distributed transaction monitoring system
WO2017000589A1 (en) Flexible capacity expansion method, apparatus and system
CN111835685A (en) Method and server for monitoring running state of Nginx network isolation space
CN113268254A (en) Cluster system installation method and device, electronic equipment and storage medium
US20230056683A1 (en) Quantum Key Distribution Network Security Survivability
WO2024021471A1 (en) Service updating method, apparatus and system, and storage medium
KR101740234B1 (en) Method for providing http/2 proxy gateway server in virtualized environment
CN114930313A (en) System and method for managing blockchain nodes
CN112363887A (en) Distributed application monitoring method and device and storage medium

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

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

Country of ref document: EP

Kind code of ref document: A1