CN103475677B - The method, apparatus and system of dummy node are managed in a kind of PaaS cloud platforms - Google Patents

The method, apparatus and system of dummy node are managed in a kind of PaaS cloud platforms Download PDF

Info

Publication number
CN103475677B
CN103475677B CN201210185409.6A CN201210185409A CN103475677B CN 103475677 B CN103475677 B CN 103475677B CN 201210185409 A CN201210185409 A CN 201210185409A CN 103475677 B CN103475677 B CN 103475677B
Authority
CN
China
Prior art keywords
application
order
administration order
park
administration
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.)
Active
Application number
CN201210185409.6A
Other languages
Chinese (zh)
Other versions
CN103475677A (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.)
ZTE Corp
Original Assignee
Nanjing ZTE New Software Co Ltd
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 Nanjing ZTE New Software Co Ltd filed Critical Nanjing ZTE New Software Co Ltd
Priority to CN201210185409.6A priority Critical patent/CN103475677B/en
Publication of CN103475677A publication Critical patent/CN103475677A/en
Application granted granted Critical
Publication of CN103475677B publication Critical patent/CN103475677B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses the systems that dummy node is managed in the managing device in the method, PaaS cloud platforms of management dummy node in a kind of PaaS cloud platforms, the park device on dummy node and the PaaS cloud platforms including the managing device and park device, wherein, this method includes:The park device of managing device and each virtual machine node, which is established, to be communicated to connect;The managing device sends administration order by unified interface to each park device;After the park device receives the administration order by unified interface, the application container or application execution that are managed it according to the administration order manage operation accordingly.Method, apparatus and system provided by the invention, by calling unified interface to go to complete the management to different nodes, it is thinner to manage granularity, flexile node administration can be carried out in the case where maintaining environment baseline stability so that PaaS platform lower node can more stablize effective operation.

Description

The method, apparatus and system of dummy node are managed in a kind of PaaS cloud platforms
Technical field
The present invention relates to the communications fields, and in particular to a kind of platform service (Plateform as a Service, PaaS) managed in cloud platform the method for dummy node, the managing device in PaaS cloud platforms, the park device on dummy node with And the system that dummy node is managed in PaaS cloud platforms.
Background technology
With a large amount of commercial Applications of cloud computing technology become increasingly popular with cloud computing technology, cloud computing is in quick response ring Border demand, maintains easily environment baseline, and the advantage in terms of enhanced scalability is increasingly approved by industry.By cloud computing technology with It is integrated using open platform, the hardware resource of various regions everywhere can be will be distributed over and organized, the profit of resource is greatly improved With rate.Currently, existing a large amount of PaaS cloud computing platforms example on internet, such as SAE (Sina App Engine, Sina's support Pipe platform), the day wing of telecommunications is using factory, jelastic etc..
Based on the application hosting platform based on cloud computing technology, a variety of application containers, so-called application container can be integrated Environment when referring to application operation, runs using in application container.One application container includes an application.Such as .Net Application container is the real running environment of .Net applications, is used to support the operation for the .Net applications being deployed in PaaS platform, again The java application containers such as set up based on jvm, tomcat, jetty, and with jvm, USEE (Unified Service Execution Environment, uniform traffic performing environment) the USEE applications set up based on engine hold Device etc..
The PaaS cloud platforms that are constructed based on cloud computing technology while many regulatory requirements are faced with, for example, using When deployment, how standardized application container meets the customization demand of application;When the abnormal conditions such as power-off occur, how to weigh Open application container;When fictitious host computer low memory or Insufficient disk space, how system alarm is carried out;When an application is held Device is disposed multiple in application, how to control startup and closing of specific application node etc..
There are mainly two types of the existing managing devices to dummy node in PaaS, and one is by being interacted with virtual machine Realize management, one is by itself interacting to realize management with application container or application.First method manages grain Degree is thicker, is not easy to realize and is managed collectively to the different dummy nodes for being equipped with different application hosted platform, is not easy to answer Two level monitors, that is, is not easy to the operating status to application, the disk utilization rate of virtual machine, memory usage, cpu uses Rate, network connection status are monitored, and are not easy to the pause of application, the operations such as restart.And second method, then necessarily require head Application container can first be started, be not easy to realize the operations such as the individual cultivation of application container, while if application container can not open It is dynamic, it is susceptible to node escape phenomenon, is not suitable for the more complicated PaaS cloud computing environments of scene.
Invention content
The technical problem to be solved in the invention is to provide the method for management dummy node, PaaS in a kind of PaaS cloud platforms The system that dummy node is managed in park device in managing device, dummy node and PaaS cloud platforms in cloud platform, pipe It is thinner to manage granularity, is easy to be managed collectively the different dummy nodes for being equipped with different application container, the management to node, both Existing virtual machine environment will not be destroyed, and the repeatable utilization of existing resource may be implemented so that is virtually saved under PaaS platform Point can more stablize effective operation.
In order to solve the above technical problem, the present invention provides in a kind of PaaS cloud platforms manage dummy node method, Applied to PaaS cloud platforms side, including:
The park device of the managing device of PaaS platform, that is, service cloud platform and each dummy node, which is established, to be communicated to connect, described Managing device sends administration order by unified interface to each park device, to complete to application container on the dummy node Or the management of application.
Further, the managing device sends administration order by unified interface to each park device, including:
The managing device defines the administration order interface of standard, and calls the administration order interface of the standard to difference The park device of type sends the administration order of unified format.
Further, the managing device sends administration order by unified interface to each park device, including:
The managing device judges the application type of application to be managed, obtains a virtual section consistent with the application type Point, and send the administration order to park device corresponding with the dummy node.
Further, the administration order includes at least:Using deployment order, application pause order, using reset command, Application upgrade order and application unloading order;The application deployment order includes at least following parameter:Resource where application resource Server address and the required configuration information address of application.
Further, the method further includes:
The managing device receives the node status information that the park device reports, and is shown in WEB page, and protects It there are on Resource Server, checks and manages for administrator, the node status information includes that one or more of includes: CPU usage, disk utilization rate, memory usage, network interface card are received and sent messages flow and application operation log information.
In order to solve the above technical problem, the present invention provides in a kind of PaaS cloud platforms manage dummy node method, Applied to dummy node, including:
After the park device of each virtual machine node establishes communication connection with the managing device of PaaS platform, that is, service cloud platform, The administration order that the managing device is sent is received by unified interface;Park device root after receiving the administration order The application container or application execution managed it according to the administration order manages operation accordingly.
Further, each dummy node includes at least an application container and one corresponding with the application container resident Device, the park device is corresponding with application type, and different park devices is adapted to identical interface.
Further, the park device is answered after receiving the administration order according to what the administration order managed it Operation is managed accordingly with container or application execution, including:
The park device judges the command type of the administration order, and according to phase after receiving the administration order Application container that the administration order of command type manages it or application execution is answered to manage operation accordingly.
Further, the administration order includes at least:Using deployment order;The application deployment order includes at least such as Lower parameter:Resource Server address where application resource and the required configuration information address of application;
Application container that the park device manages it after receiving the administration order according to the administration order or Application execution manages operation accordingly, including:
The park device judges that the command type of the administration order is disposed for application after receiving the administration order Order, then parse the parameter using deployment order, is matched accordingly from the download of corresponding Resource Server according to the parameter Confidence ceases, and carries out configuration and the application deployment of application container.
Further, the administration order includes at least:Application pause order, using reset command, application upgrade order With application unloading order;
Application container that the park device manages it after receiving the administration order according to the administration order or Application execution manages operation accordingly, including:
The park device after receiving the administration order, judge the administration order type for application pause order, Using reset command, application upgrade order or application unloading order, then to the corresponding pipe of administration order described in the application execution Reason operation.
Further, the method further includes:
The park device periodically reports node status information to the managing device, the node status information include with Under one or more include:CPU usage, disk utilization rate, memory usage, network interface card are received and sent messages flow and application operation day Will information.
In order to solve the above technical problem, the present invention provides the management dresses in a kind of PaaS platform, that is, service cloud platform It sets, including:
Communication building block is communicated to connect for being established with the park device of each dummy node;
Sending module, for sending administration order to each park device by unified interface, to complete to described virtual The management of application container or application on node.
Further, the managing device further includes interface definition module, the administration order interface for defining standard;
The sending module is additionally operable to call the administration order interface of the standard to be sent to different types of park device The administration order of unified format.
Further, the managing device further includes dummy node acquisition module, the application for judging application to be managed Type obtains a dummy node consistent with the application type, and sending module is notified to be stayed to corresponding with the dummy node Device is stayed to send the administration order;
The sending module is additionally operable to send the administration order to the park device corresponding with the dummy node.
Further, the administration order includes at least:Using deployment order, application pause order, using reset command, Application upgrade order and application unloading order;The application deployment order includes at least following parameter:Resource where application resource Server address and the required configuration information address of application.
Further, the managing device further includes receiving module, the node shape reported for receiving the park device State information, and be shown in WEB page, and be stored on Resource Server, it checks and manages for administrator;The node state Information includes that one or more of includes:CPU usage, disk utilization rate, memory usage, network interface card receive and send messages flow and Application operation log information.
In order to solve the above technical problem, the present invention provides on dummy node in a kind of PaaS platform, that is, service cloud platform Park device, including:
Communication module is communicated to connect for being established with the managing device of PaaS platform, that is, service cloud platform;
Receiving module, for receiving the administration order that the managing device is sent by unified interface;
Execution module, application container or application execution for being managed it according to the administration order manage behaviour accordingly Make.
Further, each dummy node includes at least an application container and one corresponding with the application container resident Device, the park device is corresponding with application type, and the receiving module of different park devices is adapted to identical interface.
Further, the execution module, application container or application for being managed it according to the administration order are held The corresponding management operation of row, including:
The execution module judges the command type of the administration order, and according to the administration order pair of the corresponding command type Its application container managed or application execution manage operation accordingly.
Further, the administration order includes at least:Using deployment order;The application deployment order includes at least such as Lower parameter:Resource Server address where application resource and the required configuration information address of application;
The execution module, application container or application execution for being managed it according to the administration order are managed accordingly Reason operation, including:
The execution module judges the command type of the administration order using deployment order, then to parse the application section The parameter for affixing one's name to order downloads corresponding configuration information from corresponding Resource Server according to the parameter, carries out application container Configuration and application deployment.
Further, the administration order includes at least:Application pause order, using reset command, application upgrade order With application unloading order;
The execution module, application container or application execution for being managed it according to the administration order are managed accordingly Reason operation, including:
The execution module judge the administration order type for application pause order, using reset command, application upgrade Order or application unloading order, then operate the corresponding management of administration order described in the application execution.
Further, the park device further includes applying monitoring module, for periodically reporting section to the managing device Three-point state information, the node status information include that one or more of includes:CPU usage, disk utilization rate, memory make It is received and sent messages flow and application operation log information with rate, network interface card.
In order to solve the above-mentioned technical problem, virtual the present invention also provides being managed in a kind of PaaS platform, that is, service cloud platform The system of node, including managing device as described above and park device as described above, wherein:
The managing device is communicated to connect for being established with the park device of each virtual machine node, by unified interface to Each park device sends administration order;
The park device, for after receiving the administration order by unified interface, according to the administration order pair Its application container managed or application execution manage operation accordingly.
Compared with prior art, method, the PaaS cloud platforms of dummy node are managed in PaaS cloud platforms provided by the invention On managing device, the system of management dummy node passes through first in the park device on dummy node and PaaS cloud platforms It calls unified interface to go to complete the management to different nodes, the specific management action of node will be placed on except application container, The management to application container is specifically executed by park device, management granularity is thinner;Secondly, the root when application is disposed can be realized Performance configuration is carried out to application container in dummy node according to the feature of application;And it can realize that specific application is given birth in node administration The application in the period is ordered to start, pause, upgrade and delete release resource;In addition, node administration life cycle internal segment can be realized The two level monitoring of point operating status;It can be carried out in the case where maintaining environment baseline stability by the above-mentioned management of progress flexibly more The node administration of sample, the technique effect effectively run can more be stablized by reaching PaaS platform lower node.
Description of the drawings
Fig. 1 is the system construction drawing for managing dummy node in embodiment in PaaS cloud platforms;
Fig. 2 is the structure chart of managing device in PaaS cloud platforms in embodiment;
Fig. 3 is the structure chart of the park device in PaaS cloud platforms on dummy node in embodiment;
Fig. 4 is the method flow diagram for managing dummy node in an application example in PaaS cloud platforms;
Fig. 5 is the work flow diagram using managing device when deployment in an application example;
Fig. 6 is the work flow diagram using park device when deployment in an application example;
Fig. 7 is the workflow schematic diagram of embodiment interior joint running state monitoring.
Specific implementation mode
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention Embodiment be described in detail.It should be noted that in the absence of conflict, in the embodiment and embodiment in the application Feature mutually can arbitrarily combine.
Embodiment:
As shown in Figure 1, the system that dummy node is managed in present embodiments providing a kind of PaaS cloud platforms, including:PaaS The managing device of cloud platform, park device and Resource Server on dummy node, wherein:
The managing device of PaaS cloud platforms is the man-machine interactive interface of dummy node management under PaaS environment, and managing device is logical It crosses and receives the management operation that system manager carries out on administration page, administration order is assigned to the park device of each dummy node To complete the management function to many dummy nodes under PaaS environment;In addition, managing device defines the administration order interface of standard, Management module only calls standard interface that can realize the management to dummy node, can thus be adapted to different types of application Container, meanwhile, according to this unified standard interface, future, managing device module can also be adapted to further types of park device Dummy node in other words.Meanwhile managing device will guarantee to transmit necessary information to correct residing node, including safeguard industry The maintenance of business configuration information, the maintenance of service scripts address, the maintenance etc. of business-virtual machine map information.
Park device is installed on dummy node, localized execution is really to the management logic of dummy node, Ke Yishi Now to the more fine-grained management of application and application container, the park device is receiving the management life by unified interface After order, the application container or application execution that are managed it according to the administration order manage operation accordingly.Park device corresponds to Management with container and application is more flexible,, can dynamically modification application primarily directed to application container when application is disposed Certain configurations of container so that application container performance reaches best.Then it is needle when application upgrade application is restarted in application pause To application, without restarting application container, which improves the efficiency of operation.(virtual machine operations to generally be taken 10 minutes or more, to generally wanting 2 minutes or so using container operation, application is operated, is several seconds).
Resource Server is the storing containers of all resources under PaaS environment, application file such as to be disposed, configuration file Information etc., this device realize the unified management of resource in cloud environment.
Wherein, as shown in Fig. 2, the managing device includes:Communication building block and sending module, wherein:
Communication building block is communicated to connect for being established with the park device of each dummy node;
The managing device and the park device can be built by establishing HTTP long connections as a preferred method, Vertical communication connection;
Sending module, for sending administration order to each park device by unified interface, to complete to described virtual The management of application container or application on node.
In addition, the managing device further includes interface definition module, the administration order interface for defining standard;
The sending module is additionally operable to call the administration order interface of the standard to be sent to different types of park device The administration order of unified format.
In addition, the managing device further includes dummy node acquisition module, the application type for judging application to be managed, A dummy node consistent with the application type is obtained, and notifies sending module to park device corresponding with the dummy node Send the administration order;Wherein, managing device can determine the application class of the application according to unique mark of application to be managed Type;For example, managing device can be inputted according to administrator or the extension name of the application file of application to be managed obtains the application It is unique mark and application type;In the present embodiment, the application type includes but not limited to one or more of:java Using, USEE application .Net applications and PHP applications;
The sending module is additionally operable to send the administration order to the park device corresponding with the dummy node.
Wherein, the administration order for being sent to park device is included, but is not limited to issue orders:It is ordered using deployment It enables, application pause order, unload and order using reset command, application upgrade order and application;
The application deployment order includes at least following parameter:Needed for Resource Server address where application resource and application Configuration information address, so that park device is searched from Resource Server and obtains corresponding configuration information and application file.
Finally, the managing device further includes receiving module, the node state letter reported for receiving the park device Breath, and be shown in WEB page, and be stored on Resource Server, it checks and manages for administrator;The node status information Include including one or more of:CPU usage, disk utilization rate, memory usage, network interface card are received and sent messages flow and application Running log information, to realize the two level monitoring to being applied on dummy node.
Wherein, as shown in figure 3, the park device includes:Communication module, receiving module and execution module, wherein:
Communication module is communicated to connect for being established with the managing device of PaaS platform, that is, service cloud platform;
Receiving module, for receiving the administration order that the managing device is sent by unified interface;
Execution module, application container or application execution for being managed it according to the administration order manage behaviour accordingly Make.
In the present embodiment, each dummy node includes at least an application container and one corresponding with the application container Park device, the park device is corresponding with application type, and different park devices is adapted to identical interface, but specifically holds The different application container of row logical AND is adapted, and is allowed for managing device in this way and is realized by unified interface with many park devices Unified management to different application container, and park device is only the real executor of dummy node management, will hold to application The specific management action of device, which is placed on except application container, to be executed, to realize to application container and apply more fine-grained pipe Reason.
Wherein, the execution module, the application container for being managed it according to the administration order or application execution phase The management operation answered, including:
The execution module judges the command type of the administration order, and according to the administration order pair of the corresponding command type Its application container managed or application execution manage operation accordingly.
In the specific implementation, administration order includes for example:Using deployment order, application pause order, using reset command, Application upgrade order and application unloading order etc..
When application is disposed, the execution module judges the administration order using deployment order, then to be answered described in parsing With the parameter of deployment order, corresponding configuration information is downloaded from corresponding Resource Server according to the parameter, is carried out using appearance The configuration and application deployment of device.
The application deployment order includes at least following parameter:Resource Server address where application resource, using required Configuration information address;
In general, the address of Resource Server is dynamic, so execution module is first according to resource where application resource Server address first finds corresponding Resource Server, then according to the required configuration information address of application from the Resource Server Download corresponding configuration information, the configuration information includes, such as the configuration file of application and application application file.Thus Realize application dispose when according to the feature of application to dummy node in application container carry out performance configuration.
The configuration file of the application includes one or more of:Data source link information, JVM performance configurations information, Web.xml application configuration informations and application deployment report address.The application file of the application refers to that corresponding application container is determined The valid application file of justice.
Within the management cycle of application, the execution module judge the administration order type for application pause order, answer With reset command, application upgrade order or application unloading order, wherein the administration order includes at least following parameter:Using Unique mark, the execution module then to the corresponding management of administration order described in the application execution operate.
For example, at one in application example, as shown in Figure 1, park device 1-3 corresponds respectively to three kinds of different application containers 1-3, wherein application container 1 is .Net application containers, and application container 2 is Java application containers, and application container 3 is USEE applications Container..Net application container is the real running environment of .Net applications, is used to support the .Net being deployed in the PaaS platform and answers Operation;Java application containers are the real running environments of Java applications, are used to support and are deployed in the PaaS platform The operation of Java applications;USEE application containers are the real running environments of USEE applications, are used to support and are deployed in the PaaS platform On USEE application operation.And park device 1-3 is the practical executor for the management action of different application container.
Managing device needs to record and maintenance application uniquely indicates and it runs virtual machine Ip address mapping relations and matches Set the mapping relations of file and application file and its storage address.Managing device safeguards virtualization pool information table, for recording The service condition of resources of virtual machine;It also safeguards the application container configuration file deposit position table corresponding to different application type, uses To search configuration information in service deployment;And maintenance application disposition list, for searching needs according to unique mark of application The corresponding virtual machine address of application deployment.
When application is disposed, if the managing device judges that the application type for the application for needing to dispose is applied for .Net, Pass through the .Net applications virtual resource from system of tabling look-up according to the unique mark of application and its operation virtual machine Ip address mapping relation An available dummy node is obtained in pond, to the park device of the node, i.e. 1 sending application deployment order of park device;
Park device 1 parses the parameter using deployment order, according to .Net after receiving the application deployment order Resource Server address where application resource is corresponding from the corresponding Resource Server download .Net application containers of .Net application resources Configuration file and application file, the configuration of .Net application containers is changed according to configuration file, and according to application file to .Net Using being disposed.
Within the management cycle of application, the managing device obtains unique mark of application, according to the unique mark of application and It runs virtual machine Ip address mapping relations, by table look-up obtain application where virtual machine address, and to opposite with the virtual machine The park device sending application reset command answered;The reset command includes following parameter:The unique mark of specific application.
The park device is after receiving the reset command, according to the reset command and the unique mark of specific application Restart the specific application.
Finally, the park device further includes applying monitoring module, for periodically reporting node shape to the managing device State information, the node status information include that one or more of includes:CPU usage, disk utilization rate, memory use Rate, network interface card are received and sent messages flow and application operation log information, so that managing device is checked and managed for administrator.It is thus real The two level monitoring to node operating status in node administration life cycle is showed.
As shown in figure 4, a kind of method that dummy node is managed in present embodiments providing PaaS cloud platforms, including following step Suddenly:
S101:The park device of the managing device of PaaS platform and each virtual machine node, which is established, to be communicated to connect;
S102:The managing device sends administration order by unified interface to each park device;
S103:After the park device receives the administration order by unified interface, according to the administration order to it The application container or application execution of management manage operation accordingly.
Wherein, in step S101, the park device of the managing device and each virtual machine node can pass through foundation HTTP long connections communicate to connect to establish.
In step s 102, described managing device defines the administration order interface of standard, and calls the pipe of the standard Manage the administration order that command interface sends unified format to different types of park device;Inhomogeneity can be thus adapted to The application container of type, meanwhile, according to this unified standard interface, future managing device module can also be adapted to it is further types of Park device dummy node in other words.
The managing device judges the application type of application to be managed, obtains a virtual section consistent with the application type Point, and send the administration order to park device corresponding with the dummy node, wherein in the present embodiment, the application Type includes but not limited to one or more of:Java applications, USEE applications .Net applications and PHP applications;
The administration order is included, but is not limited to issue orders:Using deployment order, application pause order, using weight Open order, application upgrade order and application unloading order;Wherein, the application deployment order includes at least following parameter:Using Resource Server address where resource and the required configuration information address of application.
In the present embodiment, each dummy node includes at least an application container and one corresponding with the application container Park device, the park device is corresponding with application type, and different park devices is adapted to identical interface, and dummy node is just It is a virtual machine, can regards that a computer for being connected into network, application container are the running environment of application as, be to operate in A software on dummy node.
Wherein, in step s 103, the park device judges the administration order after receiving the administration order Command type, and the application container or application execution that are managed it according to the administration order of the corresponding command type manage behaviour accordingly Make, wherein:
When application is disposed, the park device judges the order of the administration order after receiving the administration order Type is then to parse the parameter using deployment order using deployment order, and the application deployment command parameter includes at least: Resource Server address where application resource, using required configuration information address;The park device is according to the parameter slave phase The Resource Server answered downloads corresponding configuration information, carries out configuration and the application deployment of application container.
Within the management cycle of application, the administration order includes at least:Application pause order, using reset command, answer With upgrade command and application unloading order;
The park device after receiving the administration order, judge the administration order type for application pause order, Using reset command, application upgrade order or application unloading order, then to the corresponding pipe of administration order described in the application execution Reason operation.
In addition, after the above step, the method for this implementation further includes:
The park device periodically reports node status information to the managing device, the node status information include with Under one or more include:CPU usage, disk utilization rate, memory usage, network interface card are received and sent messages flow and application operation day Will information;
The managing device receives the node status information that the park device reports, and is shown in WEB page, and protects There are on Resource Server, checks and manage for administrator.
Thereby realize the two level monitoring to node operating status in node administration life cycle.
It is as shown in Figure 5 and Figure 6, described when application is disposed using system as shown in Figure 1 at one in application example The managing device of system and the workflow of park device are as follows:
S201:The managing device of PaaS platform receives the application deployment order of administrator's input;
S202:Managing device is inputted according to administrator uploads application file to Resource Server, and obtains and record application File storage address;
S203:Managing device is inputted according to administrator or the extension name of application file obtains and unique mark of record application The application type for showing and applying;
Wherein, application type includes:.Net、Java、USEE.
S204:Managing device judges application type according to the unique mark of application, applies, thens follow the steps if it is .Net S205 applies if it is Java, thens follow the steps S207, is applied if it is USEE, thens follow the steps S209;
S205:By tabling look-up, storage address of the application container configuration information of .Net applications on Resource Server is obtained;
Because managing device record and maintain using unique mark and its run virtual machine Ip address mapping relations and The mapping relations of configuration file and application file and its storage address, so configuration information and application can be obtained by tabling look-up The storage address of file.
S206:An available dummy node is obtained from .Net applications virtualization pool in system by tabling look-up, and to The park device sending application deployment order of the node;
Wherein, it is described using Resource Server address where application resource is carried in deployment order, confidence is matched in application The storage address of breath and application file.
S207:By tabling look-up, storage address of the application container configuration information of Java applications on Resource Server is obtained;
S208:An available dummy node is obtained from Java applications virtualization pool in system by tabling look-up, and to The park device sending application deployment order of the node;
S209:By tabling look-up, storage address of the application container configuration information of USEE applications on Resource Server is obtained;
S210:An available dummy node is obtained from USEE applications virtualization pool in system by tabling look-up, and to The park device sending application deployment order of the node.
As shown in fig. 6, when application is disposed, the workflow of park device is as follows:
S301:Park device receives the application deployment order of managing device transmission;
S302:Deployment order is applied in park device parsing, obtains configuration file storage address, and download configuration file;
S303:Park device carries out initial configuration according to configuration file to application container;
S304:Deployment order is applied in park device parsing, obtains application file storage address, and download application file;
S305:Park device, which executes, specifically to be acted using deployment, and application file is deployed in application container.
Similar, managing device can receive the application pause order of administrator's transmission, using reset command, application upgrade Order and application unloading order etc., to realize the specified operation to application.
Park device can receive managing device transmission application pause order, using reset command, application upgrade order, It is ordered using unloading, to realize the specified operation to application.
At one in application example, when node is run, park device can report node to run shape to managing device timing State information, managing device can be by the node running state information persistent storages received to local or including on WEB, such as scheming Shown in 7, the workflow of node running state monitoring is as follows:
S401:The operating status of park device regularly collector node, including application operation daily record, CPU usage, disk Utilization rate, memory usage and network interface card are received and sent messages flow etc..
S402:Park device assembling reports information, and node operating status is reported to managing device according to certain format;
S403:What managing device received all nodes reports information;
S404:Managing device gives the node running state information received addition nodal information and reports temporal information, and Persistent storage is called and is shown when administrator checks to local.
From above-described embodiment as can be seen that compared with the existing technology, the PaaS cloud platform middle pipes provided in above-described embodiment In method, the managing device in PaaS cloud platforms, the park device on dummy node and the PaaS cloud platforms of managing dummy node The system for managing dummy node, first, managing device, will be right by calling unified interface to go to complete the management to different nodes The specific management action of node is placed on except application container, i.e., the management to application container is specifically executed by park device, management Granularity is thinner;Secondly, can realize application dispose when according to the feature of application to dummy node in application container carry out performance Configuration;And it can realize that application of the specific application in node administration life cycle starts, pause, upgrades and delete release money Source;In addition, the two level monitoring of node administration life cycle interior nodes operating status can be realized.In short, by carrying out above-mentioned pipe Reason managing device defines unified command interface, and park device has been adapted to all administration orders of managing device, has passed through them Between cooperation, can consume less resource, complete the more careful management work to node, environment base can maintained Line carries out flexile node administration in the case of stablizing, and effective operation can more be stablized by reaching PaaS platform lower node Technique effect.
One of ordinary skill in the art will appreciate that all or part of step in the above method can be instructed by program Related hardware is completed, and described program can be stored in computer readable storage medium, such as read-only memory, disk or CD Deng.Optionally, all or part of step of above-described embodiment can also be realized using one or more integrated circuits.Accordingly Ground, the form that hardware may be used in each module/unit in above-described embodiment are realized, the shape of software function module can also be used Formula is realized.The present invention is not limited to the combinations of the hardware and software of any particular form.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the scope of the present invention.According to The invention content of the present invention, can also there is other various embodiments, without deviating from the spirit and substance of the present invention, be familiar with Those skilled in the art makes various corresponding change and deformations in accordance with the present invention, all in the spirit and principles in the present invention Within, any modification, equivalent replacement, improvement and so on should all be included in the protection scope of the present invention.

Claims (15)

1. a kind of method that dummy node is managed in PaaS cloud platforms is applied to PaaS cloud platforms side, including:
The park device of the managing device of PaaS platform, that is, service cloud platform and each dummy node, which is established, to be communicated to connect, the management Device sends administration order by unified interface to each park device, to complete to application container on the dummy node or answer Management;
The managing device sends administration order by unified interface to each park device, including:
The managing device defines the administration order interface of standard, and calls the administration order interface of the standard to different type Park device send the administration order of unified format;
The managing device judges the application type of application to be managed, obtains a dummy node consistent with the application type, And send the administration order to park device corresponding with the dummy node.
2. the method as described in claim 1, it is characterised in that:
The administration order includes at least:Using deployment order, application pause order, using reset command, application upgrade order With application unloading order;The application deployment order includes at least following parameter:Resource Server address where application resource and Using required configuration information address.
3. the method as described in claim 1, it is characterised in that:The method further includes:
The managing device receives the node status information that the park device reports, and is shown in WEB page, and is stored in On Resource Server, checks and manage for administrator;The node status information includes one or more of:CPU usage, Disk utilization rate, memory usage, network interface card are received and sent messages flow and application operation log information.
4. a kind of method that dummy node is managed in PaaS cloud platforms is applied to dummy node, including:
After the park device of each dummy node establishes communication connection with the managing device of PaaS platform, that is, service cloud platform, pass through system The administration order that managing device described in one interface is sent;
The application container or application that the park device manages it after receiving the administration order according to the administration order Execute corresponding management operation;
Each dummy node includes at least an application container and a park device corresponding with the application container, described resident Device is corresponding with application type, and different park devices is adapted to identical interface;
The application container or application that the park device manages it after receiving the administration order according to the administration order Corresponding management operation is executed, including:
The park device judges the command type of the administration order, and according to corresponding life after receiving the administration order Application container that the administration order of type manages it or application execution is enabled to manage operation accordingly.
5. method as claimed in claim 4, it is characterised in that:
The administration order includes at least:Using deployment order;The application deployment order includes at least following parameter:Using money Resource Server address where source and the required configuration information address of application;
The application container or application that the park device manages it after receiving the administration order according to the administration order Corresponding management operation is executed, including:
The park device judges the command type of the administration order for application deployment life after receiving the administration order It enables, then parses the parameter using deployment order, corresponding configuration is downloaded from corresponding Resource Server according to the parameter Information carries out configuration and the application deployment of application container.
6. method as claimed in claim 4, it is characterised in that:
The administration order includes at least:Application pause order is ordered using reset command, application upgrade order and application unloading It enables;
The application container or application that the park device manages it after receiving the administration order according to the administration order Corresponding management operation is executed, including:
The park device judges the administration order type for application pause order, application after receiving the administration order Reset command, application upgrade order or application unloading order, then grasp the corresponding management of administration order described in the application execution Make.
7. method as claimed in claim 4, it is characterised in that:The method further includes:
It includes with next that the park device periodically reports node status information, the node status information to the managing device Kind is a variety of:CPU usage, disk utilization rate, memory usage, network interface card are received and sent messages flow and application operation log information.
8. the managing device in a kind of PaaS platform, that is, service cloud platform, including:
Communication building block is communicated to connect for being established with the park device of each dummy node;
Sending module, for sending administration order to each park device by unified interface, to complete to the dummy node The management of upper application container or application;
Interface definition module, the administration order interface for defining standard;
The sending module is additionally operable to call the administration order interface of the standard to send unification to different types of park device The administration order of format;
Dummy node acquisition module, the application type for judging application to be managed, acquisition one are consistent with the application type Dummy node, and sending module is notified to send the administration order to park device corresponding with the dummy node;
The sending module is additionally operable to send the administration order to the park device corresponding with the dummy node.
9. device as claimed in claim 8, it is characterised in that:
The administration order includes at least:Using deployment order, application pause order, using reset command, application upgrade order With application unloading order;The application deployment order includes at least following parameter:Resource Server address where application resource and Using required configuration information address.
10. device as claimed in claim 8, it is characterised in that:
The managing device further includes receiving module, the node status information reported for receiving the park device, and is shown It onto WEB page, and is stored on Resource Server, checks and manage for administrator;The node status information includes following It is one or more:CPU usage, disk utilization rate, memory usage, network interface card receive and send messages flow and application operation daily record letter Breath.
11. the park device in a kind of PaaS platform, that is, service cloud platform on dummy node, including:
Communication module is communicated to connect for being established with the managing device of PaaS platform, that is, service cloud platform;
Receiving module, for receiving the administration order that the managing device is sent by unified interface;
Execution module, application container or application execution for being managed it according to the administration order manage operation accordingly;
Each dummy node includes at least an application container and a park device corresponding with the application container, described resident Device is corresponding with application type, and the receiving module of different park devices is adapted to identical interface;
The execution module, application container or application execution for being managed it according to the administration order manage behaviour accordingly Make, including:
The execution module judges the command type of the administration order, and is managed to it according to the administration order of the corresponding command type The application container or application execution of reason manage operation accordingly.
12. device as claimed in claim 11, it is characterised in that:
The administration order includes at least:Using deployment order;The application deployment order includes at least following parameter:Using money Resource Server address where source and the required configuration information address of application;
The execution module, application container or application execution for being managed it according to the administration order manage behaviour accordingly Make, including:
The execution module judges the command type of the administration order using deployment order, then to parse the application deployment life The parameter of order downloads corresponding configuration information from corresponding Resource Server according to the parameter, carries out the configuration of application container And application deployment.
13. device as claimed in claim 11, it is characterised in that:
The administration order includes at least:Application pause order is ordered using reset command, application upgrade order and application unloading It enables;
The execution module, application container or application execution for being managed it according to the administration order manage behaviour accordingly Make, including:
The execution module judge the administration order type for application pause order, using reset command, application upgrade order Or application unloading order, then the corresponding management of administration order described in the application execution is operated.
14. device as claimed in claim 11, it is characterised in that:
The park device further includes applying monitoring module, for periodically reporting node status information to the managing device, institute It includes one or more of to state node status information:CPU usage, disk utilization rate, memory usage, network interface card are received and sent messages Flow and application operation log information.
15. the system that dummy node is managed in a kind of PaaS platform, that is, service cloud platform, including such as any power of claim 8~10 Profit requires the park device described in the managing device and claim 11~14 any claim, wherein:
The managing device is communicated to connect for being established with the park device of each dummy node, is stayed to each by unified interface Device is stayed to send administration order;
The park device, for after receiving the administration order by unified interface, being managed to it according to the administration order The application container or application execution of reason manage operation accordingly.
CN201210185409.6A 2012-06-07 2012-06-07 The method, apparatus and system of dummy node are managed in a kind of PaaS cloud platforms Active CN103475677B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210185409.6A CN103475677B (en) 2012-06-07 2012-06-07 The method, apparatus and system of dummy node are managed in a kind of PaaS cloud platforms

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210185409.6A CN103475677B (en) 2012-06-07 2012-06-07 The method, apparatus and system of dummy node are managed in a kind of PaaS cloud platforms

Publications (2)

Publication Number Publication Date
CN103475677A CN103475677A (en) 2013-12-25
CN103475677B true CN103475677B (en) 2018-08-28

Family

ID=49800372

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210185409.6A Active CN103475677B (en) 2012-06-07 2012-06-07 The method, apparatus and system of dummy node are managed in a kind of PaaS cloud platforms

Country Status (1)

Country Link
CN (1) CN103475677B (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103746839B (en) * 2013-12-27 2017-06-16 新浪网技术(中国)有限公司 PaaS systems and PaaS are using the VM node scheduling methods in pond
CN103701922B (en) * 2013-12-31 2017-06-06 曙光云计算技术有限公司 The method and system of the application security deployment of PAAS platforms
CN103873460B (en) * 2014-01-27 2017-08-25 华为技术有限公司 Service resources group implementation method and device
CN105592127B (en) * 2014-11-20 2019-10-25 ***股份有限公司 Application management system for cloud computing environment
CN106550002B (en) * 2015-09-23 2019-12-13 中移(杭州)信息技术有限公司 paas cloud hosting system and method
CN105554004B (en) * 2015-12-24 2018-12-11 北京轻元科技有限公司 The Verification System and method of container service in a kind of mixing cloud computing environment
CN106802805B (en) * 2017-01-18 2020-03-10 郑州云海信息技术有限公司 Application service management method and device suitable for server management
CN110535671B (en) * 2018-05-23 2022-11-08 龙芯中科(山西)技术有限公司 Cloud platform management method and device
CN109032753B (en) * 2018-06-20 2022-02-22 上海市信息网络有限公司 Heterogeneous virtual machine hard disk hosting method and system, storage medium and Nova platform
CN110837407B (en) * 2018-08-15 2023-04-28 阿里巴巴集团控股有限公司 Server-free cloud service system, resource management method thereof and electronic equipment
CN109491776B (en) * 2018-11-06 2022-05-31 北京百度网讯科技有限公司 Task arranging method and system
CN112491984B (en) * 2020-11-13 2022-08-12 上海连尚网络科技有限公司 Container editing engine cluster management system based on virtual network bridge
CN112286696B (en) * 2020-12-30 2021-06-29 江苏苏宁银行股份有限公司 PaaS platform resource utilization assessment method
CN115328529B (en) * 2022-06-30 2023-08-18 北京亚控科技发展有限公司 Application management method and related equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101677276A (en) * 2008-09-16 2010-03-24 华为技术有限公司 Method, device and system of managing execution environment (EE)
CN102307208A (en) * 2010-09-25 2012-01-04 广东电子工业研究院有限公司 Cloud-computing-based virtual machine running control device and running control method thereof
CN102377598A (en) * 2010-08-26 2012-03-14 ***通信集团公司 Internet application custody system, equipment and method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6996502B2 (en) * 2004-01-20 2006-02-07 International Business Machines Corporation Remote enterprise management of high availability systems

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101677276A (en) * 2008-09-16 2010-03-24 华为技术有限公司 Method, device and system of managing execution environment (EE)
CN102377598A (en) * 2010-08-26 2012-03-14 ***通信集团公司 Internet application custody system, equipment and method
CN102307208A (en) * 2010-09-25 2012-01-04 广东电子工业研究院有限公司 Cloud-computing-based virtual machine running control device and running control method thereof

Also Published As

Publication number Publication date
CN103475677A (en) 2013-12-25

Similar Documents

Publication Publication Date Title
CN103475677B (en) The method, apparatus and system of dummy node are managed in a kind of PaaS cloud platforms
CN105827446B (en) A kind of intelligent transportation API gateway and intelligent transportation operation system
US9870247B2 (en) System and method for dynamic provisioning of applications
US10292044B2 (en) Apparatus for end-user transparent utilization of computational, storage, and network capacity of mobile devices, and associated methods
CN110196731A (en) A kind of operational system, method and storage medium
CN104508627A (en) Hybrid cloud environment
CN111698283B (en) Management and control method, device, equipment and storage medium of distributed cluster host
CN101442555B (en) Artificial resource proxy service system facing HLA
CN104021078B (en) Software supervision device and method
CN109347681A (en) Self refresh function in distributed system
EP4293987A1 (en) Information processing method based on internet-of-things device, and related device and storage medium
CN106201527B (en) A kind of Application Container system of logic-based subregion
CN106134141A (en) A kind of method and device updating network service describer NSD
CN104077199A (en) Shared disk based high availability cluster isolation method and system
WO2014165200A1 (en) Managing virtual computing services
CN112000353A (en) Application running method and device and storage medium
CN112114939A (en) Distributed system deployment equipment and method
CN105404530B (en) It is a kind of to realize easy deployment and the system and method using private clound
CN111193610B (en) Intelligent monitoring data system and method based on Internet of things
CN112698930B (en) Method, device, equipment and medium for obtaining server identification
CN110912726A (en) Service providing method, device, system, storage medium and electronic device
CN112559138A (en) Resource scheduling system and method
CN114579250A (en) Method, device and storage medium for constructing virtual cluster
CN114615268B (en) Service network, monitoring node, container node and equipment based on Kubernetes cluster
CN113824801B (en) Intelligent integration terminal unified access management component system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20180518

Address after: 210012 No. 68, Bauhinia Road, Ningnan street, Yuhuatai District, Nanjing, Jiangsu

Applicant after: Nanjing Zhongxing Software Co., Ltd.

Address before: 518057 Nanshan District high tech Industrial Park, Shenzhen, Guangdong, Ministry of justice, Zhongxing Road, South China road.

Applicant before: ZTE Corporation

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20191106

Address after: 518057 Nanshan District science and Technology Industrial Park, Guangdong high tech Industrial Park, ZTE building

Patentee after: ZTE Communications Co., Ltd.

Address before: 210012 Nanjing, Yuhuatai District, South Street, Bauhinia Road, No. 68

Patentee before: Nanjing Zhongxing Software Co., Ltd.

TR01 Transfer of patent right