CN104079657A - Configurable cluster deployment device and method based on templates - Google Patents
Configurable cluster deployment device and method based on templates Download PDFInfo
- Publication number
- CN104079657A CN104079657A CN201410319899.3A CN201410319899A CN104079657A CN 104079657 A CN104079657 A CN 104079657A CN 201410319899 A CN201410319899 A CN 201410319899A CN 104079657 A CN104079657 A CN 104079657A
- Authority
- CN
- China
- Prior art keywords
- cluster
- server
- information
- task
- template
- 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.)
- Granted
Links
Landscapes
- Stored Programmes (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention provides a configurable cluster deployment device based on templates. The configurable cluster deployment device comprises a cluster template establishment unit, a cluster information reconfiguration unit and a cluster materialization unit. The cluster template establishment unit is used for defining the type of cluster middleware, the number of deployed servers, the number of machines on which the servers are distributed, load balancing server information, database information and application information and establishing the cluster templates. The cluster information reconfiguration unit is used for reconfiguring cluster basic server information after a base template is selected through a visualized web page. The cluster materialization unit is used for materialization of reconfigured clusters. The invention further provides a configurable cluster deployment method based on the templates. By the adoption of the technical scheme, based on an existing configurable cluster deployment mode based on the templates, configurable cluster deployment with multiple object types participated in and based on the templates is conducted by fully utilizing a single object type, and a universal and unified deployment idea, with multiple object types participated in, for configurable cluster deployment based on the templates is raised.
Description
Technical field
The present invention relates to field of computer technology, particularly, relate to a kind of a kind of configurable clustered deploy(ment) device and configurable clustered deploy(ment) method based on template based on template.
Background technology
In recent years along with the high speed development of Internet technology, people constantly promote the requirement of business and user's satisfaction desired value, a lot of production systems (especially finance, fund, security, insurance industry and mobile communication) need to provide the persistent service of 7x24 hour.User's continuous surge and the continuous lifting of user's request, Some Enterprises need to be used one group of server in server cluster and adopt distributed framework to process the user's service request day by day expanding, and load-balancing mechanism can be assigned to the respective server that can process request by dissimilar request.
How the new problem that has been born thus, dispose a larger server cluster fast? because server cluster is disposed complexity, and business is multinomial, so dispose cluster, has become a very difficult task.How to dispose fast an application cluster and become a problem of needing solution badly.
Mapping out the work of group system is a very important task, and it is the prerequisite that group system drops into application.When need to building an application system cluster, active user generally can consider to have two schemes: the one, by mirror image, install, and comprise that the installation that operating system arrives software all passes through mirror image installation, this scheme is simple to operate, but underaction; The 2nd, manual installation, technical staff need to repeat the installment work of software on each machine, and then establishment cluster step by step, this scheme flexibly but more time-consumingly also need technical staff to have the knack of the installation rule of various softwares and the configuration rule of each server, when running into complicated cluster environment, the probability that deployment cluster is made mistakes will promote, and has virtually strengthened the lower deployment cost of cluster.
Therefore, need a kind of new configurable clustered deploy(ment) technology based on template, can be on the existing configurable clustered deploy(ment) mode basis based on template, make full use of single object type and complete the configurable clustered deploy(ment) of multi-object type based on template, set up general, the unified plan thinking of the configurable clustered deploy(ment) based on template of multi-object type participation.
Summary of the invention
The present invention is just based on the problems referred to above, a kind of new configurable clustered deploy(ment) technology based on template has been proposed, can be on the existing configurable clustered deploy(ment) mode basis based on template, make full use of single object type and complete the configurable clustered deploy(ment) of multi-object type based on template, set up general, the unified plan thinking of the configurable clustered deploy(ment) based on template of multi-object type participation.
In view of this, the present invention proposes a kind of configurable clustered deploy(ment) device based on template, comprise: cluster template establishment unit, for defining the type of cluster middleware, the number of the server of deployment, information and the application message of the number of the machine of server distribution, load-balanced server information, database, creates cluster template; Cluster information is dispensing unit again, and for selecting after basic mode plate by visual web page, the cluster template creating according to described cluster template establishment unit configures cluster base server information again; Cluster materialization unit, for to described cluster information again the cluster of dispensing unit after configuring again carry out materialization processing.In this technical scheme, can again configure the basic mode plate of selecting, realize the personalization of cluster topology, be conducive to improve the flexibility of cluster configuration.
In technique scheme, preferably, described cluster template establishment unit, specifically comprises: cluster essential information determination module, for determining the essential information of cluster, the number that the essential information of described cluster comprises the type of cluster, server; Middleware server distributing position and every machine deployment amount determination module, for determining that middleware server is distributed in the server number of several machines and every machine deploy; The type version determination module of load-balanced server, for determining the type version of load-balanced server; Type of database and version information determination module, for specified data storehouse type and version information; Application message determination module, for determining application message.In this technical scheme, by creating cluster template, can conveniently dispose a plurality of same cluster, be conducive to improve deployment efficiency.
In technique scheme, preferably, described cluster information is dispensing unit again, specifically comprises: base stencil-chosen module, for when user need to create a cluster, by a visual web page, select a basic mode plate; The first configuration module of cluster base server information, the basic mode plate for selecting based on described base stencil-chosen module, configures for the first time to cluster base server information, generates a cluster configuration information and is recorded in database; Cluster base server information is configuration module again, for the cluster configuration information based on the first configuration integrate of the first configuration module of described cluster base server information, cluster base server information is configured again; The configurable packets of information of cluster base server is containing title and the jvm parameter of the software information of server, port information, server.In this technical scheme, the basic mode plate based on selecting, configures cluster base server information again, can meet the flexibility that cluster creates.
In technique scheme, preferably, described cluster materialization unit, comprising: machine software installation module, for the installation of software on each machine of cluster; Server configuration information synchronization module, synchronous for server configuration information; Application installation module, for the installation of applying.In this technical scheme, the establishment of task all completes automatically by system, the required care of user be to check by the Mission Monitor page whether each task is successfully completed, for not having successful task manually to adjust, can greatly improve deployment efficiency, reduce hand labor intensity.
In technique scheme, preferably, described server configuration information synchronization module carries out synchronous operation to server configuration information, specifically comprise: synchronizing process adopts asynchronous task mode, task is sent on each server place machine, in web page, each task is monitored in real time, and uncompleted task is re-executed, each task is Existence dependency relationship in the process of carrying out, if a mission failure, all tasks of depending on it are not carried out; Do not have the task of dependence to carry out simultaneously, have the task of dependence sequentially to carry out; User checks by the Mission Monitor page whether each task is successfully completed, for not having successful task manually to adjust.
According to a further aspect of the invention, a kind of configurable clustered deploy(ment) method based on template has also been proposed, comprise: step 202: the definition type of cluster middleware, the number of the server of deployment are, information and the application message of the number of the machine of server distribution, load-balanced server information, database create cluster template; Step 204: select after basic mode plate by visual web page, the cluster template creating according to described step 202 configures cluster base server information again; Step 206: the cluster after described step 204 is configured again carries out materialization processing.In this technical scheme, can again configure the basic mode plate of selecting, realize the personalization of cluster topology, be conducive to improve the flexibility of cluster configuration.
In technique scheme, preferably, described step 202, specifically comprises: step 302: determine the essential information of cluster, the number that the essential information of described cluster comprises the type of cluster, server; Step 304: determine that middleware server is distributed on several machines and the server number of every machine deploy; Step 306: the type version of determining load-balanced server; Step 308: specified data storehouse type and version information; Step 310: determine application message.In this technical scheme, by creating cluster template, can conveniently dispose a plurality of same cluster, be conducive to improve deployment efficiency.
In technique scheme, preferably, described step 204, specifically comprises: step 402: when user need to create a cluster, by a visual web page, select a basic mode plate; Step 404: the basic mode plate of selecting based on described step 402, cluster base server information is configured for the first time, generate a cluster configuration information and be recorded in database; Step 406: the cluster configuration information based on the first configuration integrate of described step 404, configures cluster base server information again; The configurable packets of information of cluster base server is containing title and the jvm parameter of the software information of server, port information, server.In this technical scheme, the basic mode plate based on selecting, configures cluster base server information again, can meet the flexibility that cluster creates.
In technique scheme, preferably, described step 206, specifically comprises: step 502: the installation of software on each machine in cluster; Step 504: server configuration information synchronous; Step 506: the installation of application.In this technical scheme, the establishment of task all completes automatically by system, the required care of user be to check by the Mission Monitor page whether each task is successfully completed, for not having successful task manually to adjust, can greatly improve deployment efficiency, reduce hand labor intensity.
In technique scheme, preferably, described step 504 pair server configuration information carries out synchronous operation, specifically comprise: synchronizing process adopts asynchronous task mode, task is sent on each server place machine, in web page, each task is monitored in real time, and uncompleted task is re-executed, each task is Existence dependency relationship in the process of carrying out, if a mission failure, all tasks of depending on it are not carried out; Do not have the task of dependence to carry out simultaneously, have the task of dependence sequentially to carry out; User checks by the Mission Monitor page whether each task is successfully completed, for not having successful task manually to adjust.
By above technical scheme, can be on the existing configurable clustered deploy(ment) mode basis based on template, make full use of single object type and complete the configurable clustered deploy(ment) of multi-object type based on template, set up general, the unified plan thinking of the configurable clustered deploy(ment) based on template of multi-object type participation.
Accompanying drawing explanation
Fig. 1 shows the block diagram of the configurable clustered deploy(ment) device based on template according to an embodiment of the invention;
Fig. 2 shows the flow chart of the configurable clustered deploy(ment) method based on template according to an embodiment of the invention;
Fig. 3 shows the flow chart of cluster template establishment according to an embodiment of the invention;
Fig. 4 shows the flow chart that cluster information configures again according to an embodiment of the invention;
Fig. 5 shows the flow chart of cluster materialization according to an embodiment of the invention;
Fig. 6 shows the detail flowchart of the configurable clustered deploy(ment) method based on template according to an embodiment of the invention;
Fig. 7 show drawing template establishment according to an embodiment of the invention detail flowchart;
Fig. 8 shows the flow chart of cluster server specified machine according to an embodiment of the invention;
Fig. 9 shows the flow chart of cluster server specified machine and software according to an embodiment of the invention;
Figure 10 shows cluster topology graph according to an embodiment of the invention;
Figure 11 shows the display interface figure of the essential information of a middleware server according to an embodiment of the invention.
Embodiment
In order more clearly to understand above-mentioned purpose of the present invention, feature and advantage, below in conjunction with the drawings and specific embodiments, the present invention is further described in detail.It should be noted that, in the situation that not conflicting, the application's embodiment and the feature in embodiment can combine mutually.
A lot of details have been set forth in the following description so that fully understand the present invention; but; the present invention can also adopt other to be different from other modes described here and implement, and therefore, protection scope of the present invention is not subject to the restriction of following public specific embodiment.
Fig. 1 shows the block diagram of the configurable clustered deploy(ment) device based on template according to an embodiment of the invention.
As shown in Figure 1, configurable clustered deploy(ment) device 100 based on template according to an embodiment of the invention, comprise: cluster template establishment unit 102, for defining the type of cluster middleware, the number of the server of deployment, information and the application message of the number of the machine of server distribution, load-balanced server information, database, creates cluster template; Cluster information is dispensing unit 104 again, and for selecting after basic mode plate by visual web page, the cluster template creating according to cluster template establishment unit 102 configures cluster base server information again; Cluster materialization unit 106, for to cluster information again the cluster of dispensing unit 104 after configuring again carry out materialization processing.In this technical scheme, can again configure the basic mode plate of selecting, realize the personalization of cluster topology, be conducive to improve the flexibility of cluster configuration.
In technique scheme, preferably, cluster template establishment unit 102, specifically comprises: cluster essential information determination module 1022, for determining the essential information of cluster, the number that the essential information of cluster comprises the type of cluster, server; Middleware server distributing position and every machine deployment amount determination module 1024, for determining that middleware server is distributed in the server number of several machines and every machine deploy; The type version determination module 1026 of load-balanced server, for determining the type version of load-balanced server; Type of database and version information determination module 1028, for specified data storehouse type and version information; Application message determination module 1030, for determining application message.In this technical scheme, by creating cluster template, can conveniently dispose a plurality of same cluster, be conducive to improve deployment efficiency.
In technique scheme, preferably, cluster information is dispensing unit 104 again, specifically comprises: base stencil-chosen module 1042, for when user need to create a cluster, by a visual web page, select a basic mode plate; The first configuration module 1044 of cluster base server information, the basic mode plate for selecting based on base stencil-chosen module 1042, configures for the first time to cluster base server information, generates a cluster configuration information and is recorded in database; Cluster base server information is configuration module 1046 again, and the cluster configuration information for based on the first configuration module 1044 first configuration integrates of cluster base server information, configures cluster base server information again; The configurable packets of information of cluster base server is containing title and the jvm parameter of the software information of server, port information, server.In this technical scheme, the basic mode plate based on selecting, configures cluster base server information again, can meet the flexibility that cluster creates.
In technique scheme, preferably, cluster materialization unit 106, comprising: machine software installation module 1062, for the installation of software on each machine of cluster; Server configuration information synchronization module 1064, synchronous for server configuration information; Application installation module 1066, for the installation of applying.In this technical scheme, the establishment of task all completes automatically by system, the required care of user be to check by the Mission Monitor page whether each task is successfully completed, for not having successful task manually to adjust, can greatly improve deployment efficiency, reduce hand labor intensity.
In technique scheme, preferably, 1064 pairs of server configuration informations of server configuration information synchronization module carry out synchronous operation, specifically comprise: synchronizing process adopts asynchronous task mode, task is sent on each server place machine, in web page, each task is monitored in real time, and uncompleted task is re-executed, each task is Existence dependency relationship in the process of carrying out, if a mission failure, all tasks of depending on it are not carried out; Do not have the task of dependence to carry out simultaneously, have the task of dependence sequentially to carry out; User checks by the Mission Monitor page whether each task is successfully completed, for not having successful task manually to adjust.
Fig. 2 shows the flow chart of the configurable clustered deploy(ment) method based on template according to an embodiment of the invention.
As shown in Figure 2, configurable clustered deploy(ment) method based on template according to an embodiment of the invention, comprise: step 202: the definition type of cluster middleware, the number of the server of deployment are, information and the application message of the number of the machine of server distribution, load-balanced server information, database create cluster template; Step 204: select after basic mode plate by visual web page, the cluster template creating according to step 202 configures cluster base server information again; Step 206: the cluster after step 204 is configured again carries out materialization processing.In this technical scheme, can again configure the basic mode plate of selecting, realize the personalization of cluster topology, be conducive to improve the flexibility of cluster configuration.
In technique scheme, preferably, as shown in Figure 3, step 202, specifically comprises: step 302: determine the essential information of cluster, the number that the essential information of cluster comprises the type of cluster, server; Step 304: determine that middleware server is distributed on several machines and the server number of every machine deploy; Step 306: the type version of determining load-balanced server; Step 308: specified data storehouse type and version information; Step 310: determine application message.In this technical scheme, by creating cluster template, can conveniently dispose a plurality of same cluster, be conducive to improve deployment efficiency.
In technique scheme, preferably, as shown in Figure 4, step 204, specifically comprises: step 402: when user need to create a cluster, by a visual web page, select a basic mode plate; Step 404: the basic mode plate of selecting based on step 402, cluster base server information is configured for the first time, generate a cluster configuration information and be recorded in database; Step 406: the cluster configuration information based on the first configuration integrate of step 404, configures cluster base server information again; The configurable packets of information of cluster base server is containing title and the jvm parameter of the software information of server, port information, server.In this technical scheme, the basic mode plate based on selecting, configures cluster base server information again, can meet the flexibility that cluster creates.
In technique scheme, preferably, as shown in Figure 5, step 206, specifically comprises: step 502: the installation of software on each machine in cluster; Step 504: server configuration information synchronous; Step 506: the installation of application.In this technical scheme, the establishment of task all completes automatically by system, the required care of user be to check by the Mission Monitor page whether each task is successfully completed, for not having successful task manually to adjust, can greatly improve deployment efficiency, reduce hand labor intensity.
In technique scheme, preferably, step 504 pair server configuration information carries out synchronous operation, specifically comprise: synchronizing process adopts asynchronous task mode, task is sent on each server place machine, in web page, each task is monitored in real time, and uncompleted task is re-executed, each task is Existence dependency relationship in the process of carrying out, if a mission failure, all tasks of depending on it are not carried out; Do not have the task of dependence to carry out simultaneously, have the task of dependence sequentially to carry out; User checks by the Mission Monitor page whether each task is successfully completed, for not having successful task manually to adjust.
Technical scheme of the present invention, the defect that the solution prior art of take exists is foothold, by the personalization to the cluster topology of Configuration again of the template of selecting, then by synchronous the realization from software of a key, being installed to all processes that application server creates, is the process that cluster configuration flexibility has been simplified again clustered deploy(ment) like this.This technical scheme, is applicable to cluster of rapid deployment.
The defect existing in order to solve prior art, in technical scheme of the present invention, the essential information of cluster is stored in database, by visual web page, the various information in cluster configuration process is managed.
For example, technical scheme of the present invention mainly comprises following components: the materialization of the configuring again of the customization of cluster template, cluster information, cluster.In technical scheme of the present invention, first need to formulate template, template can conveniently be disposed a plurality of same cluster.By template establishment cluster and according to actual conditions, each server info in this cluster is configured again, after having configured, be saved in database, synchronous, complete establishment cluster.
And for example, the detail flowchart of the configurable clustered deploy(ment) method based on template showing referring to Fig. 6, the specific implementation example of technical solution of the present invention:
Step 1, creates cluster template
In cluster template, defined the type of cluster middleware, the number of the server of deployment, information and the application message of the number of the machine of server distribution, load-balanced server information, database.
The type of cluster middleware: stipulated which kind of middleware cluster adopts, as Websphere, Weblogic and UAP etc.A cluster can only be selected a kind of middleware type, and the mode that different middleware type creates server is different.
The number of the server of disposing: having stipulated according to comprising how many application servers in the cluster of template establishment, is exactly corresponding how many nodes for was cluster.
The number of the machine of server distribution: stipulated the number of the machine that in template, middleware server distributes, the machine number of generally middleware software in should cluster being installed.
Load-balanced server information: stipulated type and the version of load-balanced server in template.
Database information: stipulated type and the version information of database in template.
Application message: mainly comprise application type, version and the module information that need to be deployed on cluster.
Create the step of a cluster template, as shown in Figure 7.
The process of drawing template establishment specifically describes: the first step is determined the essential information of cluster, the type that comprises cluster, the number of server; Second step, determines that middleware server is distributed on several machines, and the number of the server of every machine deploy; The 3rd step, determines the version of the type of load-balanced server; The 4th step, the type in specified data storehouse and version information; The 5th step, determines the information of applying.To this basic template, defined.
Step 2: the configuring again of cluster information
When user need to create a cluster, by a visual web page, select a basic mode plate, the template that this basic mode plate will conform to the cluster information that will create, comprises that the type of cluster, the physical distribution mode of answering server and load-balanced server and database information are consistent.Selected just to have started after basic mode plate the process that the basic server info of cluster configures again.The configuration again of cluster server is mainly to meet the flexibility that cluster creates.
The cluster of technical solution of the present invention is configurable is divided into two kinds of modes: a kind of is, for operating system has only been installed on machine, the machine that cluster creates the software environment of needs is not installed, and which platform machine that only specifies each server will be installed to; What the second was configuration server to mounting software is upper.
Shown in Fig. 8, be to specify for each server the machine information that will install, if only specified machine is not selected software information, software is installed under the path of acquiescence.
Shown in Fig. 9, be for after each server specified machine, whether select designated software, if need designated software, comprise two kinds of situations: the one, software has been installed on machine and can be assigned to mounting software and disposes, the 2nd, mounting software not on machine, needs the path of selecting a software to install.
Through each server in cluster is configured for the first time, generating a cluster configuration information is recorded in database, in this cluster configuration information, recorded the specific configuration information of each server in cluster, this cluster configuration information now generating is the key of carrying out clustered deploy(ment), and server installation configuration informations all in cluster are all recorded in this cluster configuration information.
In web page, the structure of this cluster will be shown in the mode of simple topology figure, as shown in figure 10.Here still can each server in cluster be configured again, configurable packets of information is containing the title of the software information of server, port information, server and jvm parameter etc.Figure 11 shows that by configuring a server info of rear generation.
Step 3: the materialization of cluster.
The materializing procedure of cluster mainly comprises the following aspects: the installation of software on each machine in cluster, server configuration information synchronous, the installation of application.
Synchronous process adopts the mode of asynchronous task task to be sent on the machine at each server place, in web page, each task is monitored in real time, and can re-execute uncompleted task, each task is Existence dependency relationship in the process of carrying out, if a mission failure, all tasks of depending on it are not carried out.
Take was cluster synchronously as example is elaborated.
The software of supposing each server in was cluster is installation, in this cluster, there are four middleware server mem01, mem02, mem03, mem04 to be distributed on machine A and machine B, it is upper that management server Dmgr01 is arranged on machine A, and delivery of services server I hs01 and application App01 are also arranged on machine A.
Synch command will create on backstage a series of task after sending:
Synchronous father's task syn_was01_task of a top layer, (was01) is the title of cluster.
Create software task: was_a_installTask (installation of machine A software Was) is installed, was_b_installTask (installation of machine B software Was), ihs_a_installTask (installation of machine A software I HS), app_a_installTask (installation of machine A software App).
Summary file creation task: Dmgr01_a_creatProfileTask (machine A creates dmgr), mem01_a_creatProfileTask (machine A creates mem01 summary), mem02_a_creatProfileTask (machine A creates mem02 summary), mem03_a_creatProfileTask (machine B creates mem01 summary), mem04_a_creatProfileTask (machine B creates mem02 summary)
Synchronous task: dmgr_a_startTask (dmgr initiating task), syncCluster_a_task (cluster information of synchronous machine A), syncCluster_b_task (cluster information of synchronous machine B).
The dependence of each task is: was_b_installTask depends on was_a_installTask,
Dmgr01_a_creatProfileTask depends on was_a_installTask; Mem01_a_creatProfileTask depends on was_a_installTask; Mem02_a_creatProfileTask depends on was_a_installTask; Mem01_a_creatProfileTask depends on was_b_installTask; Mem02_a_creatProfileTask depends on was_b_installTask, and dmgr_a_startTask depends on Dmgr01_a_creatProfileTask;
SyncCluster_a_task and syncCluster_b_task all depend on dmgr_a_startTask, mem01_a_creatProfileTask, mem02_a_creatProfileTask, mem01_b_creatProfileTask, mem02_b_creatProfileTask, ihs_a_installTask
app_a_installTask;
Syn_was01_task depends on syncCluster_a_task and syncCluster_b_task.
Do not have the task of dependence to carry out simultaneously, there is the task of dependence sequentially to carry out, after task syn_was01_task is successfully completed, a cluster has just built, the establishment of these tasks all completes automatically by system, the required care of user be to check by the Mission Monitor page whether each task is successfully completed, for not having successful task manually to adjust.
Technical scheme of the present invention, provides a kind of scheme of the establishment cluster based on template, and has realized by system.User only need to be configured cluster information by the visual page, then by simultaneous operation, just can complete cluster the establishment of all tasks that start is installed from software, finally realizes and has disposed a cluster.
Task in technical solution of the present invention is the asynchronous task that can monitor, user can monitor each task of disposing cluster at any time, understand at any time the state of disposing, technical solution of the present invention can be configured to meet some specific demands of different user flexibly again to cluster, made up mirror image inflexible defect has been installed, simultaneously a key has synchronously been simplified the process that software is installed to clustered deploy(ment), the task that all operations all generate by backstage is carried out, simplify user's operation, made up the defect of manual installation procedure complexity.
The configuration of cluster that generally speaking technical solution of the present invention is flexible, has simplified the process of clustered deploy(ment), can dispose fast a cluster, has realized the set goal.
More than be described with reference to the accompanying drawings technical scheme of the present invention, considered and in correlation technique, there is no easy, the unified solution for complicated type clustered deploy(ment).The existing configurable clustered deploy(ment) based on template cannot complete the configurable clustered deploy(ment) process based on template that complicated type participates in.Therefore, the present invention proposes a kind of a kind of configurable clustered deploy(ment) device and configurable clustered deploy(ment) method based on template based on template, can be on the existing configurable clustered deploy(ment) mode basis based on template, make full use of single object type and complete the configurable clustered deploy(ment) of multi-object type based on template, set up general, the unified plan thinking of the configurable clustered deploy(ment) based on template of multi-object type participation.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.
Claims (10)
1. the configurable clustered deploy(ment) device based on template, is characterized in that, comprising:
Cluster template establishment unit, for defining the type of cluster middleware, the number of the server of deployment, information and the application message of the number of the machine of server distribution, load-balanced server information, database, creates cluster template;
Cluster information is dispensing unit again, and for selecting after basic mode plate by visual web page, the cluster template creating according to described cluster template establishment unit configures cluster base server information again;
Cluster materialization unit, for to described cluster information again the cluster of dispensing unit after configuring again carry out materialization processing.
2. the configurable clustered deploy(ment) device based on template according to claim 1, is characterized in that, described cluster template establishment unit, specifically comprises:
Cluster essential information determination module, for determining the essential information of cluster, the number that the essential information of described cluster comprises the type of cluster, server;
Middleware server distributing position and every machine deployment amount determination module, for determining that middleware server is distributed in the server number of several machines and every machine deploy;
The type version determination module of load-balanced server, for determining the type version of load-balanced server;
Type of database and version information determination module, for specified data storehouse type and version information;
Application message determination module, for determining application message.
3. the configurable clustered deploy(ment) device based on template according to claim 1, is characterized in that, described cluster information is dispensing unit again, specifically comprises:
Base stencil-chosen module, for when user need to create a cluster, selects a basic mode plate by a visual web page;
The first configuration module of cluster base server information, the basic mode plate for selecting based on described base stencil-chosen module, configures for the first time to cluster base server information, generates a cluster configuration information and is recorded in database;
Cluster base server information is configuration module again, for the cluster configuration information based on the first configuration integrate of the first configuration module of described cluster base server information, cluster base server information is configured again; The configurable packets of information of cluster base server is containing title and the jvm parameter of the software information of server, port information, server.
4. according to the configurable clustered deploy(ment) device based on template described in any one in claim 1-3, it is characterized in that, described cluster materialization unit, comprising:
Machine software installation module, for the installation of software on each machine of cluster;
Server configuration information synchronization module, synchronous for server configuration information;
Application installation module, for the installation of applying.
5. the configurable clustered deploy(ment) device based on template according to claim 4, is characterized in that, described server configuration information synchronization module carries out synchronous operation to server configuration information, specifically comprises:
Synchronizing process adopts asynchronous task mode, task is sent on each server place machine, in web page, each task is monitored in real time, and uncompleted task is re-executed, each task is Existence dependency relationship in the process of carrying out, if a mission failure, all tasks of depending on it are not carried out;
Do not have the task of dependence to carry out simultaneously, have the task of dependence sequentially to carry out;
User checks by the Mission Monitor page whether each task is successfully completed, for not having successful task manually to adjust.
6. the configurable clustered deploy(ment) method based on template, is characterized in that, comprising:
Step 202: the definition type of cluster middleware, the number of the server of deployment are, information and the application message of the number of the machine of server distribution, load-balanced server information, database create cluster template;
Step 204: select after basic mode plate by visual web page, the cluster template creating according to described step 202 configures cluster base server information again;
Step 206: the cluster after described step 204 is configured again carries out materialization processing.
7. the configurable clustered deploy(ment) method based on template according to claim 6, is characterized in that, described step 202, specifically comprises:
Step 302: determine the essential information of cluster, the number that the essential information of described cluster comprises the type of cluster, server;
Step 304: determine that middleware server is distributed on several machines and the server number of every machine deploy;
Step 306: the type version of determining load-balanced server;
Step 308: specified data storehouse type and version information;
Step 310: determine application message.
8. the configurable clustered deploy(ment) method based on template according to claim 6, is characterized in that, described step 204, specifically comprises:
Step 402: when user need to create a cluster, select a basic mode plate by a visual web page;
Step 404: the basic mode plate of selecting based on described step 402, cluster base server information is configured for the first time, generate a cluster configuration information and be recorded in database;
Step 406: the cluster configuration information based on the first configuration integrate of described step 404, configures cluster base server information again; The configurable packets of information of cluster base server is containing title and the jvm parameter of the software information of server, port information, server.
9. according to the configurable clustered deploy(ment) method based on template described in any one in claim 6-8, it is characterized in that, described step 206, specifically comprises:
Step 502: the installation of software on each machine in cluster;
Step 504: server configuration information synchronous;
Step 506: the installation of application.
10. the configurable clustered deploy(ment) method based on template according to claim 9, is characterized in that, described step 504 pair server configuration information carries out synchronous operation, specifically comprises:
Synchronizing process adopts asynchronous task mode, task is sent on each server place machine, in web page, each task is monitored in real time, and uncompleted task is re-executed, each task is Existence dependency relationship in the process of carrying out, if a mission failure, all tasks of depending on it are not carried out;
Do not have the task of dependence to carry out simultaneously, have the task of dependence sequentially to carry out;
User checks by the Mission Monitor page whether each task is successfully completed, for not having successful task manually to adjust.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410319899.3A CN104079657B (en) | 2014-07-07 | 2014-07-07 | Configurable clustered deploy(ment) device and method based on template |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410319899.3A CN104079657B (en) | 2014-07-07 | 2014-07-07 | Configurable clustered deploy(ment) device and method based on template |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104079657A true CN104079657A (en) | 2014-10-01 |
CN104079657B CN104079657B (en) | 2018-10-19 |
Family
ID=51600697
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410319899.3A Active CN104079657B (en) | 2014-07-07 | 2014-07-07 | Configurable clustered deploy(ment) device and method based on template |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104079657B (en) |
Cited By (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104410511A (en) * | 2014-10-27 | 2015-03-11 | 浪潮(北京)电子信息产业有限公司 | Server management method and system |
CN105589734A (en) * | 2015-12-15 | 2016-05-18 | 国云科技股份有限公司 | Method for creating applications through self-defined templates |
CN105743946A (en) * | 2014-12-10 | 2016-07-06 | 中兴通讯股份有限公司 | Template disposition method and apparatus |
CN106330546A (en) * | 2016-08-26 | 2017-01-11 | 北京易讯通信息技术股份有限公司 | System and method for deploying application cluster in private cloud environment |
CN106469068A (en) * | 2015-08-14 | 2017-03-01 | 中国移动通信集团安徽有限公司 | The dispositions method of application program and system |
CN107463418A (en) * | 2017-09-12 | 2017-12-12 | 北京宝兰德软件股份有限公司 | The configuration file generation method and device of a kind of server middleware |
CN107766060A (en) * | 2017-10-31 | 2018-03-06 | 新华三云计算技术有限公司 | Application configuration dispositions method and device |
CN108063675A (en) * | 2016-11-08 | 2018-05-22 | 北京京东尚科信息技术有限公司 | Detection method, detection device and the cluster configuration detecting system of cluster configuration |
CN108062225A (en) * | 2017-11-27 | 2018-05-22 | 国云科技股份有限公司 | A kind of method of multi-template combination issue application cluster |
CN108234159A (en) * | 2016-12-14 | 2018-06-29 | 中标软件有限公司 | The configuration method and system of load balancing host |
CN108809722A (en) * | 2018-06-13 | 2018-11-13 | 郑州云海信息技术有限公司 | A kind of method, apparatus and storage medium of deployment Kubernetes clusters |
CN109039743A (en) * | 2018-08-03 | 2018-12-18 | 西安东美信息科技有限公司 | The centralized management method of distributed storage ceph cluster networks |
CN109783198A (en) * | 2019-01-29 | 2019-05-21 | 中山大学 | A kind of fast automatic construction method of data experiment environment of large quantities |
CN110138577A (en) * | 2018-02-08 | 2019-08-16 | 腾讯科技(深圳)有限公司 | Cluster creation method, first server and readable storage medium storing program for executing |
CN111427592A (en) * | 2020-03-20 | 2020-07-17 | 广州锦行网络科技有限公司 | High-availability system for virtual deployment of mysql |
CN111522543A (en) * | 2020-04-16 | 2020-08-11 | 科大国创云网科技有限公司 | Visual application component arrangement method and system |
CN111708560A (en) * | 2020-06-17 | 2020-09-25 | 云和恩墨(北京)信息技术有限公司 | Automatic deployment method and device of database high-availability management system |
CN112486073A (en) * | 2020-12-03 | 2021-03-12 | 用友网络科技股份有限公司 | Robot control method, control system and readable storage medium |
CN112751687A (en) * | 2019-10-30 | 2021-05-04 | 北京车和家信息技术有限公司 | Cluster creation method and device |
CN113138776A (en) * | 2021-03-25 | 2021-07-20 | 杭州博联智能科技股份有限公司 | Template-based cluster automatic deployment method, device, equipment and medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101355436A (en) * | 2007-07-24 | 2009-01-28 | 中兴通讯股份有限公司 | System for rapidly configuring data based on formwork and implementing method |
CN101859317A (en) * | 2010-05-10 | 2010-10-13 | 浪潮电子信息产业股份有限公司 | Method for establishing database cluster by utilizing virtualization |
CN101977121A (en) * | 2010-10-25 | 2011-02-16 | 中兴通讯股份有限公司 | Configuration file processing method, device and system |
CN102316159A (en) * | 2011-08-01 | 2012-01-11 | 崔红保 | Method for quickly deploying server and server group and system |
CN102882900A (en) * | 2011-07-11 | 2013-01-16 | 阿里巴巴集团控股有限公司 | Application and deployment method for large-scale server cluster and large-scale server cluster |
CN103226493A (en) * | 2013-05-15 | 2013-07-31 | 百度在线网络技术(北京)有限公司 | Method and system for deploying multi-operation system service |
CN103607462A (en) * | 2013-11-22 | 2014-02-26 | 曙光信息产业股份有限公司 | Cluster NAS deployment system and deployment method thereof |
-
2014
- 2014-07-07 CN CN201410319899.3A patent/CN104079657B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101355436A (en) * | 2007-07-24 | 2009-01-28 | 中兴通讯股份有限公司 | System for rapidly configuring data based on formwork and implementing method |
CN101859317A (en) * | 2010-05-10 | 2010-10-13 | 浪潮电子信息产业股份有限公司 | Method for establishing database cluster by utilizing virtualization |
CN101977121A (en) * | 2010-10-25 | 2011-02-16 | 中兴通讯股份有限公司 | Configuration file processing method, device and system |
CN102882900A (en) * | 2011-07-11 | 2013-01-16 | 阿里巴巴集团控股有限公司 | Application and deployment method for large-scale server cluster and large-scale server cluster |
CN102316159A (en) * | 2011-08-01 | 2012-01-11 | 崔红保 | Method for quickly deploying server and server group and system |
CN103226493A (en) * | 2013-05-15 | 2013-07-31 | 百度在线网络技术(北京)有限公司 | Method and system for deploying multi-operation system service |
CN103607462A (en) * | 2013-11-22 | 2014-02-26 | 曙光信息产业股份有限公司 | Cluster NAS deployment system and deployment method thereof |
Cited By (27)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104410511A (en) * | 2014-10-27 | 2015-03-11 | 浪潮(北京)电子信息产业有限公司 | Server management method and system |
CN105743946A (en) * | 2014-12-10 | 2016-07-06 | 中兴通讯股份有限公司 | Template disposition method and apparatus |
CN106469068A (en) * | 2015-08-14 | 2017-03-01 | 中国移动通信集团安徽有限公司 | The dispositions method of application program and system |
CN106469068B (en) * | 2015-08-14 | 2020-11-03 | 中国移动通信集团安徽有限公司 | Application program deployment method and system |
CN105589734B (en) * | 2015-12-15 | 2019-03-22 | 国云科技股份有限公司 | A kind of method of self-defined template creation application |
CN105589734A (en) * | 2015-12-15 | 2016-05-18 | 国云科技股份有限公司 | Method for creating applications through self-defined templates |
CN106330546A (en) * | 2016-08-26 | 2017-01-11 | 北京易讯通信息技术股份有限公司 | System and method for deploying application cluster in private cloud environment |
CN108063675A (en) * | 2016-11-08 | 2018-05-22 | 北京京东尚科信息技术有限公司 | Detection method, detection device and the cluster configuration detecting system of cluster configuration |
CN108234159A (en) * | 2016-12-14 | 2018-06-29 | 中标软件有限公司 | The configuration method and system of load balancing host |
CN107463418A (en) * | 2017-09-12 | 2017-12-12 | 北京宝兰德软件股份有限公司 | The configuration file generation method and device of a kind of server middleware |
CN107463418B (en) * | 2017-09-12 | 2020-11-13 | 北京宝兰德软件股份有限公司 | Configuration file generation method and device for server middleware |
CN107766060A (en) * | 2017-10-31 | 2018-03-06 | 新华三云计算技术有限公司 | Application configuration dispositions method and device |
CN108062225A (en) * | 2017-11-27 | 2018-05-22 | 国云科技股份有限公司 | A kind of method of multi-template combination issue application cluster |
CN110138577B (en) * | 2018-02-08 | 2021-09-21 | 腾讯科技(深圳)有限公司 | Cluster creation method, first server and readable storage medium |
CN110138577A (en) * | 2018-02-08 | 2019-08-16 | 腾讯科技(深圳)有限公司 | Cluster creation method, first server and readable storage medium storing program for executing |
CN108809722A (en) * | 2018-06-13 | 2018-11-13 | 郑州云海信息技术有限公司 | A kind of method, apparatus and storage medium of deployment Kubernetes clusters |
CN109039743A (en) * | 2018-08-03 | 2018-12-18 | 西安东美信息科技有限公司 | The centralized management method of distributed storage ceph cluster networks |
CN109783198A (en) * | 2019-01-29 | 2019-05-21 | 中山大学 | A kind of fast automatic construction method of data experiment environment of large quantities |
CN109783198B (en) * | 2019-01-29 | 2023-01-20 | 中山大学 | Rapid and automatic construction method for batch big data experiment environment |
CN112751687B (en) * | 2019-10-30 | 2023-03-24 | 北京车和家信息技术有限公司 | Cluster creation method and device |
CN112751687A (en) * | 2019-10-30 | 2021-05-04 | 北京车和家信息技术有限公司 | Cluster creation method and device |
CN111427592A (en) * | 2020-03-20 | 2020-07-17 | 广州锦行网络科技有限公司 | High-availability system for virtual deployment of mysql |
CN111522543A (en) * | 2020-04-16 | 2020-08-11 | 科大国创云网科技有限公司 | Visual application component arrangement method and system |
CN111708560A (en) * | 2020-06-17 | 2020-09-25 | 云和恩墨(北京)信息技术有限公司 | Automatic deployment method and device of database high-availability management system |
CN112486073A (en) * | 2020-12-03 | 2021-03-12 | 用友网络科技股份有限公司 | Robot control method, control system and readable storage medium |
CN112486073B (en) * | 2020-12-03 | 2022-04-19 | 用友网络科技股份有限公司 | Robot control method, control system and readable storage medium |
CN113138776A (en) * | 2021-03-25 | 2021-07-20 | 杭州博联智能科技股份有限公司 | Template-based cluster automatic deployment method, device, equipment and medium |
Also Published As
Publication number | Publication date |
---|---|
CN104079657B (en) | 2018-10-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104079657A (en) | Configurable cluster deployment device and method based on templates | |
EP3241114B1 (en) | Failure resistant distributed computing system | |
CN103703724B (en) | Resource payment method | |
CN107566165B (en) | Method and system for discovering and deploying available resources of power cloud data center | |
CN113742031B (en) | Node state information acquisition method and device, electronic equipment and readable storage medium | |
CN102664747B (en) | Cloud calculating platform system | |
US9521187B2 (en) | Managed filed transfer utilizing dynamic horizontal and vertical scaling | |
CN106656630A (en) | Electric marketing service application system, and construction method and platform thereof | |
CN104965726A (en) | Configuration updating method, apparatus and system | |
CN104137482A (en) | Disaster recovery data center configuration method and device under cloud computing framework | |
CN113778623B (en) | Resource processing method and device, electronic equipment and storage medium | |
CN104243515A (en) | Method and device for processing configuration information | |
CN113296882A (en) | Container arranging method, device, system and storage medium | |
CN105306237A (en) | Distributed management method and device for network management | |
EP3457668B1 (en) | Clustering in unified communication and collaboration services | |
CN103118100A (en) | Guarantee method and guarantee system for improving usability of virtual machine application | |
CN105764097A (en) | Resource allocation method and device | |
CN102207978A (en) | Database access method and system | |
CN113783953A (en) | Industrial Internet of things network management and control method and system based on cloud edge cooperation | |
CN115915404A (en) | Network slice deployment system and method based on NFV-MANO | |
CN102868746B (en) | Method for realizing mobile informationization | |
CN105490849A (en) | Automatic deployment method and system of application system | |
US10917292B2 (en) | Architectural design to enable bidirectional service registration and interaction among clusters | |
CN116700752A (en) | Cluster updating method and device | |
CN105847428A (en) | Mobile cloud platform |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: 100094 Beijing city Haidian District North Road No. 68, UFIDA Software Park Applicant after: Yonyou Network Technology Co., Ltd. Address before: 100094 Beijing city Haidian District North Road No. 68, UFIDA Software Park Applicant before: UFIDA Software Co., Ltd. |
|
COR | Change of bibliographic data | ||
GR01 | Patent grant | ||
GR01 | Patent grant |