A kind of automation O&M method and device of single node PaaS platform
Technical field
The present invention relates to the automation fortune of computer software application technical field, more particularly to a kind of single node PaaS platform
Tie up method and device.
Background technology
With the development of Internet technology, cloud computing has become a kind of trend, and PaaS platform is exactly one kind of cloud computing
Important kind, is generally received, demand is also growing day by day by market.PaaS platform integrates existing miscellaneous service ability, turns into
One basic platform, and provide various technical supports to the application on it.Thus the difficulty built of the platform brought itself
The complexity of degree and later stage O&M is also higher than common software project.
The content of the invention
It is an object of the invention to provide a kind of automation O&M method and device of single node PaaS platform, by platform itself
It is used as operation platform, it is to avoid build operation platform again.
To achieve the above object, the present invention uses following technical solution:
A kind of automation O&M method of single node PaaS platform, comprises the following steps:
Step 1:By the integrated single node PaaS platform image file of single node PaaS platform;
Step 2:On IaaS platforms single node PaaS platform is created with single node PaaS platform image file;
Step 3:Start single node PaaS platform, access IaaS platforms;
Step 4:IaaS platforms are tested whether compatible with single node PaaS platform, if so, then carrying out step 5;If it is not, then returning to step
Rapid 1;
Step 5:Dispose single node PaaS platform;
Step 6:Automated maintenance is carried out to self-operating by single node PaaS platform.
Preferably, by before the integrated single node PaaS platform image file of single node PaaS platform, in addition to:Prepare automatic
Change script, automatized script is integrated in a service of single node PaaS platform.
Preferably, after step 5, in addition to:Again IaaS platforms are accessed.
A kind of single node of the method for automation O&M based on a kind of any of the above-described described single node PaaS platform
The automation O&M device of PaaS platform, including:
Integration module, for by the integrated single node PaaS platform image file of single node PaaS platform;
Creation module, for creating single node PaaS platform with single node PaaS platform image file on IaaS platforms;
AM access module, for starting single node PaaS platform, accesses IaaS platforms;
Test module, it is whether compatible with single node PaaS platform for testing IaaS platforms, if so, then carrying out deployment module;If
It is no, then return to integration module;
Deployment module, for disposing single node PaaS platform;
Maintenance module, for carrying out automated maintenance to self-operating by single node PaaS platform.
Preferably, in addition to:Preparation module, for preparing automatized script, single node is integrated in by automatized script
In one service of PaaS platform.
Preferably, in addition to:Again AM access module, for accessing IaaS platforms again.
Compared with prior art, the present invention has advantages below:
1. the present invention by before the integrated single node PaaS platform image file of single node PaaS platform, it is necessary to prepare automate pin
This, automatized script is integrated in a service of single node PaaS platform, prepared in advance, it is possible to reduce workload;
2. single node PaaS platform carries out automated maintenance to self-operating in the present invention, using platform itself as operation platform,
Used for operation maintenance personnel, be monitored, alert, daily record, flexible, fault-tolerant, hot upgrading function, it is to avoid build again O&M put down
Platform, simplifies the complexity of operation maintenance personnel field conduct.
Brief description of the drawings
Fig. 1 is a kind of one of schematic flow sheet of automation O&M method of single node PaaS platform of the invention.
Fig. 2 is the two of the schematic flow sheet of the automation O&M method of a kind of single node PaaS platform of the invention.
Fig. 3 is a kind of one of module diagram of automation O&M device of single node PaaS platform of the invention.
Fig. 4 is the two of the module diagram of the automation O&M device of a kind of single node PaaS platform of the invention.
Embodiment
In order to make it easy to understand, making explanation explained below to the part noun occurred in the present invention:
PaaS platform:Platform is service, the business model that the operation and development environment using application service are provided as a kind of service,
The complete or partial application development that can be accessed there is provided user.
IaaS platforms:Infrastructure is service, and consumer can be from perfect Basis of Computer Engineering facility by Internet
Serviced, it is service that this kind of service, which is referred to as infrastructure,.
Mirror image:It is that the data on a type of redundancy, a disk are identical in the presence of one on another disk
Copy be mirror image.Mirror image is a kind of file layout.
With reference to the accompanying drawings and examples, the embodiment to the present invention is described in further detail:
Embodiment 1:
As shown in figure 1, a kind of automation O&M method of single node PaaS platform of the present invention, comprises the following steps:
S101:By the integrated single node PaaS platform image file of single node PaaS platform;
S102:On IaaS platforms single node PaaS platform is created with single node PaaS platform image file;
S103:Start single node PaaS platform, access IaaS platforms;
S104:IaaS platforms are tested whether compatible with single node PaaS platform, if so, then carrying out S105;If it is not, then returning
S101;
S105:Dispose single node PaaS platform;
S106:Automated maintenance is carried out to self-operating by single node PaaS platform.
Embodiment 2:
As shown in Fig. 2 the automation O&M method of another single node PaaS platform of the present invention, comprises the following steps:
S201:Prepare automatized script, automatized script is integrated in a service of single node PaaS platform;
S202:By the integrated single node PaaS platform image file of single node PaaS platform;
S203:On IaaS platforms single node PaaS platform is created with single node PaaS platform image file;
S204:Start single node PaaS platform, access IaaS platforms;
S205:IaaS platforms are tested whether compatible with single node PaaS platform, if so, then carrying out S206;If it is not, then returning
S201;
S206:Dispose single node PaaS platform;
S207:Again IaaS platforms are accessed;
S208:Automated maintenance is carried out to self-operating by single node PaaS platform.
Embodiment 3:
As shown in figure 3, a kind of automation O&M device of single node PaaS platform of the present invention, including integration module 301, create
Module 302, AM access module 303, test module 304, deployment module 305, maintenance module 306;Wherein integration module 301 connects successively
Connect creation module 302, AM access module 303, test module 304, deployment module 305, maintenance module 306.
Integration module 301, for by the integrated single node PaaS platform image file of single node PaaS platform;Creation module
302, for creating single node PaaS platform with single node PaaS platform image file on IaaS platforms;AM access module 303, is used
In starting single node PaaS platform, IaaS platforms are accessed;Test module 304, it is flat with single node PaaS for testing IaaS platforms
Whether platform is compatible, if so, then carrying out deployment module;If it is not, then returning to integration module;Deployment module 305, for disposing single node
PaaS platform;Maintenance module 306, for carrying out automated maintenance to self-operating by single node PaaS platform.
Embodiment 4:
As shown in figure 4, the automation O&M device of another single node PaaS platform of the present invention, including preparation module 401, collection
Into module 402, creation module 403, AM access module 404, test module 405, deployment module 406, again AM access module 407, dimension
Protect module 408;Preparation module 401 be sequentially connected integration module 402, creation module 403, AM access module 404, test module 405,
Deployment module 406, again AM access module 407 and maintenance module 408.
Preparation module 401, for preparing automatized script, one of single node PaaS platform is integrated in by automatized script
In service;Integration module 402, for by the integrated single node PaaS platform image file of single node PaaS platform;Creation module
403, for creating single node PaaS platform with single node PaaS platform image file on IaaS platforms;AM access module 404, is used
In starting single node PaaS platform, IaaS platforms are accessed;Test module 405, it is flat with single node PaaS for testing IaaS platforms
Whether platform is compatible, if so, then carrying out deployment module 406;If it is not, then returning to integration module 402;Deployment module 406, for disposing
Single node PaaS platform;Again AM access module 407, for accessing IaaS platforms again;Maintenance module 408, for passing through single-unit
Point PaaS platform carries out automated maintenance to self-operating.
For system disclosed in the embodiment of the present invention, because it is corresponded to the method disclosed in Example, so retouching
State fairly simple, related part is referring to method part illustration.
Professional further appreciates that, with reference to the unit of each example of the embodiments described herein description
And algorithm steps, can be realized with electronic hardware, computer software or the combination of the two, in order to clearly demonstrate hardware and
The interchangeability of software, generally describes the composition and step of each example according to function in the above description.And this
A little functions are performed with hardware or software mode actually, depending on the application-specific and design constraint of technical scheme.Specially
Industry technical staff can realize described function to each specific application using distinct methods, but this realization is not
It is considered as beyond the scope of this invention.
Illustrated above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art
For member, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications also should
It is considered as protection scope of the present invention.