Movatterモバイル変換


[0]ホーム

URL:


CN104618164B - The management method of cloud computing platform application rapid deployment - Google Patents

The management method of cloud computing platform application rapid deployment
Download PDF

Info

Publication number
CN104618164B
CN104618164BCN201510076848.7ACN201510076848ACN104618164BCN 104618164 BCN104618164 BCN 104618164BCN 201510076848 ACN201510076848 ACN 201510076848ACN 104618164 BCN104618164 BCN 104618164B
Authority
CN
China
Prior art keywords
deployment
application
request
copy
cloud platform
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201510076848.7A
Other languages
Chinese (zh)
Other versions
CN104618164A (en
Inventor
刘旭东
孙海龙
袁薇
张日崇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beihang University
Original Assignee
Beihang University
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 Beihang UniversityfiledCriticalBeihang University
Priority to CN201510076848.7ApriorityCriticalpatent/CN104618164B/en
Publication of CN104618164ApublicationCriticalpatent/CN104618164A/en
Application grantedgrantedCritical
Publication of CN104618164BpublicationCriticalpatent/CN104618164B/en
Expired - Fee Relatedlegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Landscapes

Abstract

Translated fromChinese

本发明提供一种云计算平台应用快速部署的管理方法,包括:应用部署控制器接收应用部署或反部署请求以及向云平台资源管理器发送应用部署或反部署请求;云平台资源管理器确定应用部署或反部署请求所需资源和向应用部署控制器发送资源信息,以及向资源信息中位置信息对应的本地代理发送应用部署或反部署请求,以使本地代理根据应用部署或反部署请求在对应节点的对应容器中进行应用的部署或反部署;应用部署控制器接收本地代理发送的应用部署或反部署成功消息,以及向云平台资源管理器和快速部署模块发送应用部署或反部署成功消息;快速部署模块根据应用部署或反部署成功消息中对应的应用配置信息更新配置文件并通过动态热部署使配置文件生效。

The present invention provides a management method for rapid deployment of cloud computing platform applications, including: an application deployment controller receives an application deployment or anti-deployment request and sends an application deployment or anti-deployment request to a cloud platform resource manager; the cloud platform resource manager determines the application Deployment or anti-deployment requests the required resources and sends resource information to the application deployment controller, and sends the application deployment or anti-deployment request to the local agent corresponding to the location information in the resource information, so that the local agent can respond according to the application deployment or anti-deployment request The deployment or anti-deployment of the application is performed in the corresponding container of the node; the application deployment controller receives the application deployment or anti-deployment success message sent by the local agent, and sends the application deployment or anti-deployment success message to the cloud platform resource manager and the rapid deployment module; The rapid deployment module updates the configuration file according to the corresponding application configuration information in the application deployment or anti-deployment success message and makes the configuration file take effect through dynamic hot deployment.

Description

The management method of cloud computing platform application rapid deployment
Technical field
The present invention relates to computer field more particularly to a kind of management methods of cloud computing platform application rapid deployment.
Background technique
Computing resource, storage resource and the application resource converged on internet constantly increases with the expansion of internet scaleAdd, in order to adapt to the new features of Internet resources, cloud computing is come into being, and cloud computing is a kind of mode paid by usage amount,This mode provides available, convenient and fast, on-demand network access, and into configurable computing resources shared pool, (resource includesNetwork, server, storage, application software, service etc.), these resources need to only put into seldom management work or and service provisionQuotient, which carries out seldom interaction, quickly to be provided.With the development of cloud computing technology, cloud computing platform has been emerged (also referred to asCloud platform), there is cloud platform characteristics, the terminal users such as height is concurrent, user volume is big can be met by cloud platform to applicationThe demand of the calculating of software, storage or other infrastructure.
However, with the development of cloud computing technology and universal, the popularization of cloud platform number of users is deployed in single nodeOn application have been unable to meet the requirements for access of multiple users, especially the case where the access request of multiple users concurrently arrivesUnder, the response time will obviously increase, and not can guarantee preferable user experience, therefore, how provide for user quick, flexibleApplication deployment and operation support, and the demand for making the confession of resource in cloud platform give user matches, it has also become cloud is flat at presentThe new challenge that platform is faced using deployment.
Summary of the invention
The present invention provides a kind of management method of cloud computing platform application rapid deployment, can be provided for user quickly,Flexible application deployment and operation support, and the demand for making the confession of resource in cloud platform give user matches.
The management method of cloud computing platform application rapid deployment provided by the invention, comprising:
Application deployment or anti-deployment request are received using deployment controller;
It is disposed using deployment controller to cloud platform resource manager sending application or anti-deployment is requested;
Cloud platform resource manager, which is determined, requests required resource using deployment or anti-deployment;
Cloud platform resource manager sends resource information to application deployment controller;
The corresponding local agent sending application deployment of cloud platform resource manager location information into resource information or anti-portionAdministration's request, so that the portion that local agent is applied in the correspondence container of corresponding node according to application deployment or anti-deployment requestAdministration or anti-deployment;
The application deployment or anti-deployment success message that local agent is sent are received using deployment controller;
It to cloud platform resource manager and the deployment of rapid deployment module sending application or counter is deployed to using deployment controllerFunction message, wherein being sent in the application deployment or anti-deployment success message of rapid deployment module includes corresponding application configurationInformation;
Rapid deployment module according to corresponding application configuration information more new configuration file and makes to configure by dynamic heat deploymentFile comes into force.
The management method of cloud computing platform application rapid deployment provided by the invention, user submit application deployment or anti-deploymentWhen request, application deployment or anti-deployment request are received using deployment controller and to cloud platform resource manager sending application portionIt affixes one's name to or anti-dispose is requested, cloud platform resource manager is determined using deployment or instead disposed and requests required resource and dispose to application to controlDevice processed sends resource information, and the corresponding local agent sending application deployment of location information or anti-deployment are asked into resource informationAsk so that deployment that local agent is applied in the correspondence container of corresponding node according to application deployment or anti-deployment request orAnti- deployment is provided using the application deployment of deployment controller reception local agent transmission or anti-deployment success message and to cloud platformSource manager and the deployment of rapid deployment module sending application or anti-deployment success message, are sent to the application section of rapid deployment moduleIt include corresponding application configuration information in administration or anti-deployment success message, rapid deployment module is according to corresponding application configuration informationMore new configuration file simultaneously makes configuration file come into force by dynamic heat deployment.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show belowThere is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hairBright some embodiments for those of ordinary skill in the art without any creative labor, can be withIt obtains other drawings based on these drawings.
Fig. 1 is the management method flow chart for the cloud computing platform application rapid deployment that one embodiment of the invention provides;
Fig. 2 is application oriented rapid deployment in the management method of cloud computing platform application rapid deployment provided by the inventionWith the management structure chart of elastic telescopic;
Fig. 3 be another embodiment of the present invention provides cloud computing platform application rapid deployment management method flow chart;
Fig. 4 is the process that rapid deployment is applied in the management method of cloud computing platform application rapid deployment provided by the inventionSchematic diagram;
Fig. 5 be another embodiment of the present invention provides cloud computing platform application rapid deployment management method application access streamCheng Tu;
Fig. 6 is in the management method of cloud computing platform application rapid deployment provided by the invention using deployment and application accessProcess schematic;
Fig. 7 is the management method flow chart for the cloud computing platform application rapid deployment that further embodiment of this invention provides.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present inventionIn attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment isA part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the artEvery other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
Fig. 1 is the management method flow chart for the cloud computing platform application rapid deployment that one embodiment of the invention provides, and Fig. 2 isApplication oriented rapid deployment and elastic telescopic in the management method of cloud computing platform application rapid deployment provided by the inventionManage structure chart.When user needs the rapid deployment applied in cloud platform or anti-deployment, and make the confession of resource in platformWhen giving the demand of user and matching, the manager of cloud computing platform application rapid deployment provided in this embodiment can be usedMethod.As depicted in figs. 1 and 2, the management method of cloud computing platform application rapid deployment provided in this embodiment, comprising:
S101: application deployment or anti-deployment request are received using deployment controller 22;
Wherein, it is used to handle the deployment or anti-deployment request of application using deployment controller 22, user can be in cloud platformIn carry out using deployment or anti-deployment, when user wants the deployment in cloud platform in application, user is to applying deployment controller 22Application deployment request is submitted, receives the application deployment request that user submits using deployment controller 22;When user wants to put down in cloudOn platform when anti-application deployment, user submits the anti-deployment request of application to application deployment controller 22, connects using deployment controller 22Receive the anti-deployment request of application that user submits.
It should be noted that user herein refers to the permission in cloud platform deployment or anti-application deployment, it canApplication section administration or the anti-user disposed are carried out in cloud platform.
S102: disposing using deployment controller 22 to 21 sending application of cloud platform resource manager or anti-deployment request;
Wherein, cloud platform resource manager 21 is used to manage the money such as calculating, storage being distributed on each node of cloud platformSource, deployment or anti-deployment to application carry out overall scheduling.
It should be noted that application distribution all in cloud platform, on several nodes, such as node 1, node 2 ... ... is savedPoint n, wherein n is used to indicate the number of node.
S103: cloud platform resource manager 21, which is determined, requests required resource using deployment or anti-deployment;
S104: cloud platform resource manager 21 sends resource information to application deployment controller 22;
Wherein, after cloud platform receives the application deployment or anti-deployment request sent using deployment controller 22, cloud platform moneySource manager 21 determines needed for application deployment or anti-deployment request according to resources such as calculating, the storages being distributed on each nodeResource, includes the location information and Container Type of required resource in required resource, to applying 22 sending application portion of deployment controllerThe location information of resource needed for administration or anti-deployment are requested.Specifically, the location information of resource can be the corresponding section of required resourceThe address of dot address and container.
It should be noted that cloud platform resource manager 21 determines that the anti-deployment of application requests required resource to refer to applicationWhen anti-deployment inquiry need by it is counter dispose using corresponding using locations of copies.
S105: the corresponding 23 sending application portion of local agent of the location information into resource information of cloud platform resource manager 21Administration or anti-deployment request so that local agent 23 according to application deployment or anti-deployment request in the correspondence container of corresponding node intoThe deployment of row application or anti-deployment;
Wherein, local agent 23 is distributed on each node of cloud platform, each node contains a local agent 23And one or more containers, it include one or more application in each container.
S106: the application deployment or anti-deployment success message that local agent 23 is sent are received using deployment controller 22;
S107: it is disposed using deployment controller 22 to cloud platform resource manager 21 and 24 sending application of rapid deployment moduleOr anti-deployment success message, wherein being sent in the application deployment or anti-deployment success message of rapid deployment module 24 includes pairThe application configuration information answered;
Specifically, rapid deployment module 24 includes module configurator 241 and dynamic reverse proxy 242.It is controlled using deploymentDevice 22 is to cloud platform resource manager 21 and 24 sending application of rapid deployment module is disposed or anti-deployment success message, comprising: answersDisappeared with deployment controller 22 to cloud platform resource manager 21 and the deployment of 242 sending application of dynamic reverse proxy or anti-deployment successBreath.
It should be noted that reverse proxy can be regarded as a special proxy server, it receives the company on networkRequest is connect, then forwards a request to the server on internal network, and the result obtained from server is returned into networkThe client of upper request connection, at this time reverse proxy externally will appear as a server.It is leaned in general, reverse proxy is deployed inOne end of nearly original contents rather than client.Meanwhile dynamic reverse proxy 242 can be used as load balancer.For example, working as clientEnd sends a request, when rear end has multiple application servers that can respond the request, the problem of there is load balancing.LoadBalanced device is one of the significant components in distributed system, for the node for being split in several responsible service requests will to be loaded,Enable multiple nodes an of system to provide service for identical function, and balances the resource utilization of each server.ToolThe dynamic reverse proxy 242 for having load balancing to act on can serve as load balancer, is used in cloud platform, is capable of handlingMany connections carried out simultaneously, and these connections are routed on one of service node, it enables the system to pass through increasingSupernumerary segment point handles more multi-request.
Dynamic reverse proxy 242 provided in this embodiment uses lightweight, the hypertext of high concurrent connection is supported to passDefeated agreement (Hypertext transfer protocol, abbreviation HTTP) server Nginx, and expanded on NginxExhibition supports dynamic heat deployment, is able to ascend the deployment efficiency of whole system.Nginx acts not only as dynamic reverse proxy242, it is alternatively arranged as load balancer.
S108: rapid deployment module 24 is according to corresponding application configuration information more new configuration file and passes through dynamic heat deploymentConfiguration file is set to come into force.
Wherein, rapid deployment module 24 according to corresponding application configuration information more new configuration file and passes through dynamic heat deploymentConfiguration file is set to come into force, comprising: dynamic reverse proxy 242 updates dynamic reverse proxy 242 according to corresponding application configuration informationConfiguration file.
It should be noted that dynamic heat deployment refers to that container state redeploys entire project in the case where operation,And the configuration file of reverse proxy can be modified in the case where not stopping service.
Dynamic reverse proxy 242 makes configuration file come into force by dynamic heat deployment.
Specifically, dynamic reverse proxy 242 can dynamically update the configuration file of oneself and newly to configure by heat deploymentIt comes into force, the configuration file being stored in without manual modification on disk.
The management method of cloud computing platform application rapid deployment provided in this embodiment, user submit application deployment or anti-portionWhen administration's request, application deployment or anti-deployment request are received using deployment controller 22 and is sent to cloud platform resource manager 21Using deployment or anti-deployment request, cloud platform resource manager 21 determines resource needed for application deployment or anti-deployment are requested and to answeringResource information, and the corresponding 23 sending application portion of local agent of location information into resource information are sent with deployment controller 22Administration or anti-deployment request so that local agent 23 according to application deployment or anti-deployment request in the correspondence container of corresponding node intoThe deployment of row application or anti-deployment receive the application deployment or anti-deployment success that local agent 23 is sent using deployment controller 22Message and to cloud platform resource manager 21 and 24 sending application of rapid deployment module deployment or anti-deployment success message, sendIt include corresponding application configuration information, rapid deployment mould in deployment or anti-deployment success message to applying for rapid deployment module 24Block 24 according to corresponding application configuration information more new configuration file and makes configuration file come into force by dynamic heat deployment.
The management method of cloud computing platform application rapid deployment provided in this embodiment supports dynamic heat deployment, can be fastFast dynamic implement application deployment or anti-deployment, promote the deployment efficiency of whole system, can provide for user quick, flexibleApplication deployment and operation support, and the demand for making the confession of resource in cloud platform give user matches.
Optionally, module configurator 241 is used to visual means be presented the configuration file of dynamic reverse proxy 242 simultaneouslyCarry out modular arrangements.
Specifically, for ease of operation and management, module configurator 241 can by the configuration of dynamic reverse proxy 242 withVisual mode is presented to the user by module, and user can directly be currently configured in module configuration page modification, if after modificationConfiguration meet configuration file rule check, then submit after newly configuration can come into force.
Fig. 3 be another embodiment of the present invention provides cloud computing platform application rapid deployment management method flow chart, Fig. 4For the process schematic for applying rapid deployment in the management method of cloud computing platform application rapid deployment provided by the invention.When withWhen family carries out more copy deployment or anti-deployment using deployment or anti-deployment in cloud platform, cloud provided in this embodiment can be usedThe management method of computing platform application rapid deployment.As shown in Figure 3 and Figure 4, cloud computing platform application provided in this embodiment is fastThe management method of speed deployment, comprising:
S301: application deployment or anti-deployment request are received using deployment controller 22, using in deployment or anti-deployment requestIncluding application deployment or the anti-copy disposed;
Specifically, since cloud platform supports the deployment of more copies, so copy can be set when user submits deployment requestNumber;When user submits anti-deployment request, i.e., some application disposed in cloud platform is deleted, default is deleted this and answeredWith corresponding all copies.
It should be noted that copy refers to the redundancy provided in a distributed system for data or service.Data copy refers toThe same part data of persistence on different nodes can be from copy when there is the loss of data of some node storageRead data.Another kind of copy is service copy, and index node provides certain identical service, and this service is general and disobeysRely being locally stored in node, required data are generally from other nodes.Demand with the user in internet to resourceIt measures increasing, if only a data, needs the users of the data all must be to it is read on the same node, network holdsEasily there is congestion, and the limited node of processing capacity as access number is too big and delay machine.However, more parts of data pairs of creationThis, and by their reasonable layouts on multiple server nodes, the task of processing access request is shared, node can be effectively reducedCrash rate reduces subscriber response time.
S302: disposing using deployment controller 22 to 21 sending application of cloud platform resource manager or anti-deployment request;
S303: cloud platform resource manager 21 determines resource needed for copy in application deployment or anti-deployment request;
S304: resource information needed for cloud platform resource manager 21 sends copy to application deployment controller 22;
Specifically, cloud platform resource manager 21 determines resource information packet needed for copy in application deployment or anti-deployment requestInclude the location information and Container Type of required resource, wherein the location information of resource needed for copy can be resource needed for copyThe address of corresponding node address and container.
S305: the corresponding local agent 23 of the location information into resource information needed for copy of cloud platform resource manager 21 is sent outIt send using disposing or instead disposing request, so that local agent 23 disposes request in the correspondence of corresponding node according to application deployment or insteadThe deployment for the copy applied in container or anti-deployment;
S306: the application deployment or anti-deployment success message that local agent 23 is sent are received using deployment controller 22;
S307: it is disposed using deployment controller 22 to cloud platform resource manager 21 and 24 sending application of rapid deployment moduleOr anti-deployment success message, wherein being sent in the application deployment or anti-deployment success message of rapid deployment module 24 includes pairThe application configuration information answered;
Wherein, in corresponding application configuration information include mapping relations using-copy.
S308: rapid deployment module 24 is according to corresponding application configuration information more new configuration file and passes through dynamic heat deploymentConfiguration file is set to come into force.
Wherein, rapid deployment module 24 is reversed according to corresponding application-copy mapping relations configuration information update dynamicThe configuration of agency 242.
The management method of cloud computing platform application rapid deployment provided in this embodiment is asked by application deployment or anti-deploymentIt include using deployment or the anti-copy disposed in asking, cloud platform resource manager 21 determines each in application deployment or anti-deployment requestResource needed for copy, resource information needed for each copy includes the corresponding node address of resource needed for each copy, Container Type and appearanceThe address of device, dynamic reverse proxy 242 are quick more according to the application-copy mapping relations dynamic in corresponding application configuration informationOneself new configuration, may be implemented to apply and rapid deployment and configuration using more copies.
Fig. 5 be another embodiment of the present invention provides cloud computing platform application rapid deployment management method application access streamCheng Tu, Fig. 6 are in the management method of cloud computing platform application rapid deployment provided by the invention using deployment and application accessProcess schematic.After user applies deployment or anti-deployment success in cloud platform, when application access request arrives, it can useThe management method of cloud computing platform application rapid deployment provided in this embodiment.As shown in Figure 5 and Figure 6, in above-described embodimentOn the basis of, the management method of cloud computing platform application rapid deployment provided in this embodiment, further includes:
S501: dynamic reverse proxy 242 receives application access request;
Wherein, after applying deployment or anti-deployment success in cloud platform as user, the user for having application access to request wantsUsing cloud platform deployment in application, the user for having application access to request proposes application access request, when application access request is arrivedWhen coming, dynamic reverse proxy 242 receives application access request.
S502: dynamic reverse proxy 242 according in configuration file application and copy mapping relations and load balancingDetermine that application access request is corresponding using copy;
Specifically, dynamic reverse proxy 242 is according to the application and copy mapping relations and load balancing plan in configuration fileIt slightly determines that application access request is corresponding and applies copy, comprising: dynamic reverse proxy 242 is according to the application and pair in configuration fileThis mapping relations and load balancing determine that application access request corresponding one is applied copy.
It should be noted that dynamic reverse proxy 242 can be used as load balancer, contain inside dynamic reverse proxy 242There is a setting to load balancing, dynamic reverse proxy 242 is according to application and the copy mapping relations in configuration file and movesThe load balancing of state reverse proxy itself setting determines that application access request is corresponding using copy.
S503: dynamic reverse proxy 242 requests corresponding answering using copy acquisition application access request from application accessWith access result;
S504: dynamic reverse proxy 242 accesses result to user's sending application of sending application access request.
Specifically, when multiple application request users access, especially multiple application request user concurrent access when, dynamic is anti-To agency 242 according in oneself configuration information application-copy mapping relations and load balancing to access request carry out fastlySpeed guiding quickly, makes application request user that application quickly be accessed.
It should be noted that the user of application access request only has the user of access application permission, application access requestUser do not have generally and carry out application section administration or the anti-permission disposed in cloud platform.
The management method of cloud computing platform application rapid deployment provided in this embodiment, on the basis of the above embodiments,When there is application request, dynamic reverse proxy 242 is according to the application-copy mapping relations and load balancing in oneself configuration informationStrategy is quickly oriented to access request, while realizing the application quick Dynamical Deployment of more copies and configuration, may be implementedMultiple application request users access when, especially multiple application request user concurrent access when, dynamic reverse proxy 242 according to fromApplication-copy mapping relations and load balancing in own configuration information are quickly oriented to access request, make to apply and askIt asks user that application is quickly accessed, reduces the waiting time of application request user, it is good to ensure that application request user hasUser experience.
Fig. 7 is the management method flow chart for the cloud computing platform application rapid deployment that further embodiment of this invention provides.WhenAfter user applies deployment or anti-deployment success in cloud platform, need to using elastic using copy progress in disposing or instead disposingWhen flexible, the management method of cloud computing platform application rapid deployment provided in this embodiment can be used.As shown in fig. 7, this realityThe management method of the cloud computing platform application rapid deployment of example offer is provided, further includes:
S701: dynamic retractility module 25 obtains the resource service condition of all 23 place nodes of local agent;
Specifically, dynamic retractility module 25 includes data capture device 255, data collector 254, application engine monitor253, copy flow monitor 252, dynamic retractility controller 251.
Wherein, dynamic retractility module 25 obtains the resource service condition of all 23 place nodes of local agent, comprising: dataThe resource service condition of node where acquirer 255 obtains, and resource service condition is sent to data collector 254.
It should be noted that data capture device 255 is distributed on each node of cloud platform, each node contains oneData capture device 255.Data capture device 255 is responsible for the service condition of resource on monitoring node, starting of the container on node, fortuneMarket condition, and actively sent to data collector 254 in upper vessel portion administration or the anti-application message disposed, and by some cyclesThe data information monitored.Data collector 254 is responsible for collecting, converging the monitoring data that all data capture devices 255 are sent.
S702: resource service condition is presented with visual means in dynamic retractility module 25;
Wherein, resource service condition is presented with visual means in dynamic retractility module 25, comprising: copy flow monitor252 are presented each access times using node, container and each copy where corresponding copy with visual means;Using drawingIt holds up monitor 253 and each varigrained resource service condition of node is presented with visual means.It is provided visually for userUsing the monitoring resource of copy flowing of access monitoring and more granularities, the access for checking current application deployment rapidly is enabled a user toSituation and the varigrained resource service condition of cloud platform interior joint.
Specifically, copy flow monitor 252 provides copy real time access traffic monitoring for user, and visualized with webpageForm show that, when user checks the monitoring of copy flowing of access, copy flow monitor 252 can be to dynamic reversed generation to userThe corresponding data information of 242 request of reason, is then shown.It is monitored by the flowing of access of copy, user can see eachIt is a to apply current corresponding copy and each number for applying copy to be accessed, and current request amount is judged.
Table 1 is that copy flowing of access monitors table, as shown in table 1, illustrates in platform portion in the flowing of access monitoring pageAffix one's name to identity number (IDentity, abbreviation ID), the title (Name), corresponding copy information (back-end Node of applicationAnd the number (Invoke Counts) that is currently accessed of each copy (s)).Two are deployed in current platform applies (IDIt is APP_113 and APP_114 respectively), wherein there are two copies using APP_114, it is separately operable in 192.168.7.106:80In two containers of 192.168.7.107:80.Table 2 is that the copy flowing of access after copy is flexible monitors table, APP_113 in table 2The copy newly increased operates on the node that IP address is 192.168.7.107, and the access request then to arrive can be reversed generationReason is shunted, to mitigate the load of original node.Then reduce one using APP_114 and operate in address and is192.168.7.107:80 the copy in container.
Table 1: copy flowing of access monitors table
Table 2: the copy flowing of access after copy is flexible monitors table
Specifically, the varigrained resource that application engine monitor 253 collects data collector 254 uses data(such as computing resource, storage resource) shows user with webpage visual pattern.The access application engine monitoring page can be checkedEach node operates in the application message of container on node and deployment in a reservoir.
Specifically, the information shown in the visual page that multi-granularity resource monitoring provides includes the Internet protocol of nodeCurrent central processing unit (the Central of the address (Internet Protocol, abbreviation IP), node corresponding hostProcessing Unit, abbreviation CPU) utilization rate, current idle memory, indicate data obtaining time on the monitoring page whenBetween stab (timestamp), the number of vessels being currently deployed on the node etc., the visualization provided according to multi-granularity resource monitoringPage user can be directly viewable the position of node upper container, data acquisition timestamp and be currently operating on the containerApplication numbers and application call address etc..
S703: dynamic retractility module 25 is received requests using dilatation or capacity reducing;
Optionally, it requests to include the request increased or decreased using copy amount using dilatation or capacity reducing.
Wherein, dynamic retractility module 25 is received requests using dilatation or capacity reducing, comprising: dynamic retractility controller 251 receivesIt is requested using dilatation or capacity reducing.Flexible management is carried out to using copy, avoids the deficiency or residue of resource, realizes dynamic elasticityFlexible management, it is convenient to operate.
Specifically, dynamic retractility controller 251 provides interface in the application engine monitoring page for user, allow users toCarry out the operation of dynamic retractility application copy number.On the one hand, user can only be managed according to copy flowing of access: whenWhen the application access amount of deployment is larger, user can be monitored on the page in application engine through " increasing (scale out) " buttonIncrease the copy number of application.When amount of access is less whithin a period of time for a certain application, and current copy number is more, userThe copy number of the application can be reduced by " reducing (scale in) " button in the application engine monitoring page.Increased by dynamicThe copy number for subtracting application avoids the deficiency or residue of resource.Due to having used dynamic reverse proxy 242 in frame, so answeringWith the variation meeting Real-time Feedback of replica node into the configuration of dynamic reverse proxy 242, and then pass through dynamic reverse proxy 242Load balancing acts on so that overall system performance is promoted.
It should be noted that user can be only according to fine-grained monitoring resource results management replica node.User may be used alsoTo carry out corresponding elastic telescopic operation in combination with application copy flowing of access and both results of the resource of more granularities.This realityExample is applied to be not limited herein.
When the resource utilization for monitoring certain node is higher, user can be that the application being deployed on the node increases pairThis number, then user's request can be diverted to answering of newly increasing automatically by load balancing possessed by dynamic reverse proxy 242With the load on copy, reducing single copy, total handling capacity is promoted.
In the present embodiment, the information shown in the visual page for option offer of stretching using copy includes " scaleOut " or " scale in " button, user can directly be increased by button " scale out " or " scale in " button orReduce the copy number of specified application.
S704: dynamic retractility module 25 is expanded by inquiring application to cloud platform resource manager 21 using deployment controller 22The perhaps capacity reducing resource information of requesting corresponding copy;
Wherein, dynamic retractility module 25 is expanded by inquiring application to cloud platform resource manager 21 using deployment controller 22The perhaps capacity reducing resource information of requesting corresponding copy, comprising: dynamic retractility controller 251 by using deployment controller 22 toThe resource information of corresponding copy, the resource of specific copy are requested in the inquiry of cloud platform resource manager 21 using dilatation or capacity reducingInformation includes the location information of copy.
S705: the application dilatation or capacity reducing request pair that cloud platform resource manager 21 is sent are received using deployment controller 22The resource information using copy answered, and will be sent to using dilatation or capacity reducing request and request corresponding answer using dilatation or capacity reducingThe local agent 23 of node where copy;
S706: dilatation or capacity reducing success message are applied using what the reception local agent 23 of deployment controller 22 was sent, and willCloud platform resource manager 21 and rapid deployment module 24 are sent to using dilatation or capacity reducing success message.
Specifically, executing process by taking the increase of application copy number as an example to elastic telescopic and being illustrated.
(1) when the application being deployed in cloud platform needs to increase a copy, user passes through dynamic retractility controllerThe 251 interface selections provided on the application engine monitoring page increase a copy, that is, click this using corresponding " scaleOut " button, deployment request can be sent to using deployment controller 22.
(2) it after receiving the request for increasing copy using deployment controller 22, is inquired newly to cloud platform resource manager 21Increase copy should be deployed in which container on which node and node.
(3) after cloud platform resource manager 21 receives above-mentioned request, according to the service condition of global resource, for newly-increased pairThis distribution node and container, and send result to using deployment controller 22.
(4) newly-increased copy and the deployment nodal information of distribution are sent in corresponding node using deployment controller 22Local agent 23 is disposed newly-increased copy by local agent 23, after successful deployment, is sent to using deployment controller 22 1A feedback.
(5) it after the feedback for receiving successful deployment using deployment controller 22, can be sent to cloud platform resource manager 21The message of one successful deployment is convenient for subsequent resource management.Meanwhile it can also be to dynamic reverse proxy using deployment controller 22242 send the deployment information configuring request of a newly-increased copy, enable dynamic reverse proxy 242 in time by newly-increased Replica updatingTo the configuration file of oneself, to carry out equilibrium assignment to subsequent access request.
It should be noted that the copy that can also be applied reduces operation, the copy of application reduces operation and clicks the applicationCorresponding " scale in " button, other operations are similar with application copy increase operation, and details are not described herein.
The management method of cloud computing platform application rapid deployment provided in this embodiment, on the basis of the above embodiments,The visual monitoring resource using copy flowing of access monitoring and more granularities is provided for user, enables a user to directly look into rapidlySee the access situation and the varigrained resource service condition of cloud platform interior joint of current application deployment, and according to oneselfThe characteristic and monitoring data of application rapidly carry out flexible management to using copy, avoid the deficiency or residue of resource, correspondingWith flexible, dynamic elastic telescopic management is carried out, it is convenient to operate.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extentPipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according toSo be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features intoRow equivalent replacement;And these are modified or replaceed, and the essence of corresponding technical solution is not made to be detached from various embodiments of the present invention technologyThe range of scheme.

Claims (8)

Translated fromChinese
1.一种云计算平台应用快速部署的管理方法,其特征在于,包括:1. A management method for rapid deployment of cloud computing platform applications, characterized in that, comprising:应用部署控制器接收应用部署或反部署请求;The application deployment controller receives the application deployment or anti-deployment request;所述应用部署控制器向云平台资源管理器发送所述应用部署或反部署请求;The application deployment controller sends the application deployment or anti-deployment request to the cloud platform resource manager;所述云平台资源管理器确定所述应用部署或反部署请求所需资源;The cloud platform resource manager determines resources required by the application deployment or anti-deployment request;所述云平台资源管理器向所述应用部署控制器发送所述资源信息;The cloud platform resource manager sends the resource information to the application deployment controller;所述云平台资源管理器向所述资源信息中位置信息对应的本地代理发送所述应用部署或反部署请求,以使所述本地代理根据所述应用部署或反部署请求在对应节点的对应容器中进行应用的部署或反部署;The cloud platform resource manager sends the application deployment or de-deployment request to the local agent corresponding to the location information in the resource information, so that the local agent deploys or de-deploys the application in the corresponding container of the corresponding node according to the application deployment or de-deployment request Deployment or anti-deployment of applications in所述应用部署控制器接收所述本地代理发送的应用部署或反部署成功消息;The application deployment controller receives the application deployment or anti-deployment success message sent by the local agent;所述应用部署控制器向所述云平台资源管理器和快速部署模块发送所述应用部署或反部署成功消息,其中,发送给所述快速部署模块的应用部署或反部署成功消息中包括对应的应用配置信息;The application deployment controller sends the application deployment or anti-deployment success message to the cloud platform resource manager and the rapid deployment module, wherein the application deployment or anti-deployment success message sent to the rapid deployment module includes the corresponding application configuration information;所述快速部署模块根据所述对应的应用配置信息更新配置文件并通过动态热部署使所述配置文件生效;The rapid deployment module updates the configuration file according to the corresponding application configuration information and makes the configuration file take effect through dynamic hot deployment;所述快速部署模块包括模块配置器和动态反向代理;所述应用部署控制器向所述云平台资源管理器和快速部署模块发送所述应用部署或反部署成功消息,包括:所述应用部署控制器向所述云平台资源管理器和所述动态反向代理发送所述应用部署或反部署成功消息;所述快速部署模块根据所述对应的应用配置信息更新配置文件并通过动态热部署使所述配置文件生效,包括:所述动态反向代理根据所述对应的应用配置信息更新配置文件并通过动态热部署使所述配置文件生效。The rapid deployment module includes a module configurator and a dynamic reverse proxy; the application deployment controller sends the application deployment or anti-deployment success message to the cloud platform resource manager and the rapid deployment module, including: the application deployment The controller sends the application deployment or anti-deployment success message to the cloud platform resource manager and the dynamic reverse agent; the rapid deployment module updates the configuration file according to the corresponding application configuration information and uses dynamic hot deployment The configuration file taking effect includes: the dynamic reverse proxy updating the configuration file according to the corresponding application configuration information and making the configuration file take effect through dynamic hot deployment.2.根据权利要求1所述的方法,其特征在于,所述应用部署或反部署请求中包括应用部署或反部署的副本;2. The method according to claim 1, wherein the application deployment or anti-deployment request includes a copy of the application deployment or anti-deployment;所述云平台资源管理器确定所述应用部署或反部署请求所需资源,包括:The cloud platform resource manager determines the resources required for the application deployment or anti-deployment request, including:所述云平台资源管理器确定所述应用部署或反部署请求中所述副本所需资源;The resource manager of the cloud platform determines the resources required by the copy in the application deployment or anti-deployment request;所述云平台资源管理器向所述应用部署控制器发送所述资源信息,包括:The resource manager of the cloud platform sends the resource information to the application deployment controller, including:所述云平台资源管理器向所述应用部署控制器发送所述副本所需资源信息;The resource manager of the cloud platform sends the resource information required by the copy to the application deployment controller;所述云平台资源管理器向所述资源信息中位置信息对应的本地代理发送所述应用部署或反部署请求,以使所述本地代理根据所述应用部署或反部署请求在对应节点的对应容器中进行应用的部署或反部署,包括:The cloud platform resource manager sends the application deployment or de-deployment request to the local agent corresponding to the location information in the resource information, so that the local agent deploys or de-deploys the application in the corresponding container of the corresponding node according to the application deployment or de-deployment request Deployment or anti-deployment of applications, including:所述云平台资源管理器向所述副本所需资源信息中位置信息对应的本地代理发送所述应用部署或反部署请求,以使所述本地代理根据所述应用部署或反部署请求在对应节点的对应容器中进行应用的所述副本的部署或反部署。The resource manager of the cloud platform sends the application deployment or anti-deployment request to the local agent corresponding to the location information in the resource information required by the copy, so that the local agent performs the application deployment or anti-deployment request on the corresponding node according to the application deployment or anti-deployment request. Deploy or undeploy the copy of the application in the corresponding container.3.根据权利要求1所述的方法,其特征在于,所述模块配置器用于将所述动态反向代理的配置文件以可视化方式呈现并进行模块化配置。3. The method according to claim 1, wherein the module configurator is used to present the configuration file of the dynamic reverse proxy in a visual manner and perform modular configuration.4.根据权利要求1所述的方法,其特征在于,所述方法还包括:4. The method according to claim 1, wherein the method further comprises:所述动态反向代理接收应用访问请求;The dynamic reverse proxy receives an application access request;所述动态反向代理根据配置文件中的应用与副本映射关系和负载均衡策略确定所述应用访问请求对应的应用副本;The dynamic reverse proxy determines the application copy corresponding to the application access request according to the application-copy mapping relationship and the load balancing policy in the configuration file;所述动态反向代理从所述应用访问请求对应的应用副本获取所述应用访问请求的应用访问结果;The dynamic reverse proxy obtains the application access result of the application access request from the application copy corresponding to the application access request;所述动态反向代理向发送应用访问请求的用户发送所述应用访问结果。The dynamic reverse proxy sends the application access result to the user who sends the application access request.5.根据权利要求4所述的方法,其特征在于,所述动态反向代理根据配置文件中的应用与副本映射关系和负载均衡策略确定所述应用访问请求对应的应用副本,包括:5. The method according to claim 4, wherein the dynamic reverse proxy determines the application copy corresponding to the application access request according to the application-copy mapping relationship and the load balancing policy in the configuration file, including:所述动态反向代理根据配置文件中的应用与副本映射关系和负载均衡策略确定所述应用访问请求对应的一个应用副本。The dynamic reverse proxy determines an application copy corresponding to the application access request according to the application-copy mapping relationship and the load balancing policy in the configuration file.6.根据权利要求1所述的方法,其特征在于,所述方法还包括:6. The method according to claim 1, further comprising:动态伸缩模块获取所有本地代理所在节点的资源使用情况;The dynamic scaling module obtains the resource usage of all nodes where the local agents are located;所述动态伸缩模块以可视化方式呈现所述资源使用情况;The dynamic scaling module presents the resource usage in a visual manner;所述动态伸缩模块接收应用扩容或缩容请求;The dynamic scaling module receives an application expansion or contraction request;所述动态伸缩模块通过所述应用部署控制器向所述云平台资源管理器查询所述应用扩容或缩容请求对应的应用副本的资源信息;The dynamic scaling module queries the cloud platform resource manager for the resource information of the application copy corresponding to the application expansion or contraction request through the application deployment controller;所述应用部署控制器接收所述云平台资源管理器发送的所述应用扩容或缩容请求对应的应用副本的资源信息,并将所述应用扩容或缩容请求发送给所述应用扩容或缩容请求对应的应用副本所在节点的本地代理;The application deployment controller receives the resource information of the application copy corresponding to the application expansion or contraction request sent by the cloud platform resource manager, and sends the application expansion or contraction request to the application expansion or contraction request. The local agent of the node where the application copy corresponding to the content request is located;所述应用部署控制器接收本地代理发送的应用扩容或缩容成功消息,并将所述应用扩容或缩容成功消息发送给所述云平台资源管理器和所述快速部署模块。The application deployment controller receives the application expansion or contraction success message sent by the local agent, and sends the application expansion or contraction success message to the cloud platform resource manager and the rapid deployment module.7.根据权利要求6所述的方法,其特征在于,所述应用扩容或缩容请求包括增加或减少应用副本数量的请求。7. The method according to claim 6, wherein the application expansion or contraction request includes a request to increase or decrease the number of application copies.8.根据权利要求6或7所述的方法,其特征在于,所述动态伸缩模块包括数据捕获器、数据收集器、应用引擎监控器、副本流量监控器、动态伸缩控制器;8. The method according to claim 6 or 7, wherein the dynamic scaling module comprises a data capturer, a data collector, an application engine monitor, a copy traffic monitor, and a dynamic scaling controller;所述动态伸缩模块获取所有本地代理所在节点的资源使用情况,包括:The dynamic scaling module obtains the resource usage of all nodes where the local agents are located, including:所述数据捕获器获取所在节点的资源使用情况,并将所述资源使用情况发送给所述数据收集器;The data collector obtains the resource usage of the node where it is located, and sends the resource usage to the data collector;所述动态伸缩模块以可视化方式呈现所述资源使用情况,包括:The dynamic scaling module presents the resource usage in a visualized manner, including:所述副本流量监控器以可视化方式呈现每一应用对应的副本所在节点、容器以及各副本的访问次数;The copy traffic monitor presents in a visual manner the node where the copy corresponding to each application is located, the container and the access times of each copy;所述应用引擎监控器以可视化方式呈现每一节点不同粒度的资源使用情况;The application engine monitor presents resource usage of each node with different granularities in a visual manner;所述动态伸缩模块接收应用扩容或缩容请求,包括:The dynamic scaling module receives application expansion or contraction requests, including:所述动态伸缩控制器接收应用扩容或缩容请求;The dynamic scaling controller receives an application expansion or contraction request;所述动态伸缩模块通过所述应用部署控制器向所述云平台资源管理器查询所述应用扩容或缩容请求对应的副本的资源信息,包括:The dynamic scaling module queries the resource manager of the cloud platform through the application deployment controller for the resource information of the copy corresponding to the application expansion or contraction request, including:所述动态伸缩控制器通过所述应用部署控制器向所述云平台资源管理器查询所述应用扩容或缩容请求对应的副本的资源信息。The dynamic scaling controller queries the resource manager of the cloud platform through the application deployment controller for the resource information of the copy corresponding to the application expansion or contraction request.
CN201510076848.7A2015-02-122015-02-12The management method of cloud computing platform application rapid deploymentExpired - Fee RelatedCN104618164B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201510076848.7ACN104618164B (en)2015-02-122015-02-12The management method of cloud computing platform application rapid deployment

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201510076848.7ACN104618164B (en)2015-02-122015-02-12The management method of cloud computing platform application rapid deployment

Publications (2)

Publication NumberPublication Date
CN104618164A CN104618164A (en)2015-05-13
CN104618164Btrue CN104618164B (en)2018-12-21

Family

ID=53152455

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201510076848.7AExpired - Fee RelatedCN104618164B (en)2015-02-122015-02-12The management method of cloud computing platform application rapid deployment

Country Status (1)

CountryLink
CN (1)CN104618164B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US11068243B2 (en)2019-06-042021-07-20Red Hat, Inc.Application stack builder based on node features

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN106533713B (en)*2015-09-092019-12-10阿里巴巴集团控股有限公司Application deployment method and device
CN110806920B (en)2015-09-102022-12-13华为云计算技术有限公司Mirror image deployment method and device
CN105354076B (en)*2015-10-232019-01-25北京云端光科技术有限公司Application deployment method and device
CN105429938B (en)*2015-10-232018-11-06深圳前海达闼云端智能科技有限公司Resource allocation method and device
CN105227374B (en)*2015-10-232018-05-29浪潮(北京)电子信息产业有限公司The failure moving method and system of a kind of cluster application
CN105357296B (en)*2015-10-302018-10-23河海大学Elastic caching system under a kind of Docker cloud platforms
CN105468362B (en)*2015-11-172019-03-08广州杰赛科技股份有限公司 Application deployment method and cloud computing system
CN105897826A (en)*2015-11-242016-08-24乐视云计算有限公司Cloud platform service creating method and system
US10523581B2 (en)2016-10-312019-12-31Microsoft Technology Licensing LlcFlighting of node controller in pilot mode in resource management system
CN107590001B (en)*2017-09-082020-12-22北京京东尚科信息技术有限公司Load balancing method and device, storage medium and electronic equipment
CN109597655B (en)*2017-09-282020-11-10华为技术有限公司Method and device for configuring application program
CN108616599B (en)*2018-05-112021-10-29北京辰森世纪科技股份有限公司Method and device for registering and updating application service
CN108932156A (en)*2018-08-222018-12-04郑州云海信息技术有限公司A kind of information acquisition method and device
CN111435302B (en)*2019-01-142023-06-20阿里巴巴集团控股有限公司Application processing method and device
CN112463376B (en)*2020-11-262024-12-27抖音视界有限公司 A resource allocation method and device
CN114844783B (en)*2021-01-142024-04-19新智云数据服务有限公司Agent starting deployment system based on cloud platform calculation decision
CN114138406B (en)*2021-11-092025-04-29北京银盾泰安网络科技有限公司 A rapid deployment platform for application containers

Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101763266A (en)*2010-01-132010-06-30上海动量软件技术有限公司Platform system and method for realizing cloud component deployment and configuration of computer software system
CN101938416A (en)*2010-09-012011-01-05华南理工大学 A cloud computing resource scheduling method based on dynamic reconfiguration of virtual resources
CN103226493A (en)*2013-05-152013-07-31百度在线网络技术(北京)有限公司Method and system for deploying multi-operation system service
CN103905508A (en)*2012-12-282014-07-02华为技术有限公司Cloud platform application deployment method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101763266A (en)*2010-01-132010-06-30上海动量软件技术有限公司Platform system and method for realizing cloud component deployment and configuration of computer software system
CN101938416A (en)*2010-09-012011-01-05华南理工大学 A cloud computing resource scheduling method based on dynamic reconfiguration of virtual resources
CN103905508A (en)*2012-12-282014-07-02华为技术有限公司Cloud platform application deployment method and device
CN103226493A (en)*2013-05-152013-07-31百度在线网络技术(北京)有限公司Method and system for deploying multi-operation system service

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US11068243B2 (en)2019-06-042021-07-20Red Hat, Inc.Application stack builder based on node features

Also Published As

Publication numberPublication date
CN104618164A (en)2015-05-13

Similar Documents

PublicationPublication DateTitle
CN104618164B (en)The management method of cloud computing platform application rapid deployment
US10491523B2 (en)Load distribution in data networks
CN105579960B (en) Management of computing sessions
JP5179359B2 (en) Method and system for dynamic rebalancing of client sessions in a server cluster connected to a network
CN108023953B (en)High-availability implementation method and device for FTP service
CN110430274A (en)A kind of document down loading method and system based on cloud storage
CN108737470B (en)Access request source returning method and device
CN102387220A (en)Offline downloading method and system based on cloud storage
Bianchini et al.Analytical and experimental evaluation of cluster-based network servers
CN109729106A (en)Handle the method, system and computer program product of calculating task
CN103607424B (en)Server connection method and server system
CN106886455B (en)Method and system for realizing user isolation
CN102420863B (en)Rapid file distribution system, method thereof and apparatus thereof
CN102158518B (en)Data transmission method in content distribution network (CDN), network node and system
CN105791370B (en)A kind of data processing method and associated server
CN105897865B (en)Protocol-independent network file service management system and method
JP6888478B2 (en) Sorting system
CN105681266B (en)A kind of communication cluster method and device of mediaphone MMTel
CN109639502A (en)Return operated control method and content distributing network
CN103763133B (en)Method, equipment and system for realizing access control
JP4154287B2 (en) Server load balancing method, load balancing system, server, and load balancing device
CN110191362B (en)Data transmission method and device, storage medium and electronic equipment
TWI571077B (en) Integrated network device and its service integration method
CN107005468B (en) A method and device for determining NSD to be uploaded
CN102843424B (en)A kind of heterogeneous distributed cloud computing system and method

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant
CF01Termination of patent right due to non-payment of annual fee
CF01Termination of patent right due to non-payment of annual fee

Granted publication date:20181221


[8]ページ先頭

©2009-2025 Movatter.jp