CN104079657B - Configurable clustered deploy(ment) device and method based on template - Google Patents

Configurable clustered deploy(ment) device and method based on template Download PDF

Info

Publication number
CN104079657B
CN104079657B CN201410319899.3A CN201410319899A CN104079657B CN 104079657 B CN104079657 B CN 104079657B CN 201410319899 A CN201410319899 A CN 201410319899A CN 104079657 B CN104079657 B CN 104079657B
Authority
CN
China
Prior art keywords
cluster
server
information
template
task
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
CN201410319899.3A
Other languages
Chinese (zh)
Other versions
CN104079657A (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.)
Yonyou Network Technology Co Ltd
Original Assignee
Yonyou Network Technology 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 Yonyou Network Technology Co Ltd filed Critical Yonyou Network Technology Co Ltd
Priority to CN201410319899.3A priority Critical patent/CN104079657B/en
Publication of CN104079657A publication Critical patent/CN104079657A/en
Application granted granted Critical
Publication of CN104079657B publication Critical patent/CN104079657B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Stored Programmes (AREA)

Abstract

The present invention provides a kind of configurable clustered deploy(ment) device based on template, including:Cluster template creating unit, number, load-balanced server information, the information of database and the application message of the machine for defining the type of cluster middleware, the number of the server of deployment, server distribution create cluster template;Cluster information is reconfigured unit, after by visualizing web page selection basic mode plate, is reconfigure to cluster base server information;Cluster materialization unit, for carrying out materializing strategy to the cluster after reconfiguration.The configurable clustered deploy(ment) method based on template that the present invention also provides a kind of.Technical solution through the invention, it can be on the basis of existing configurable clustered deploy(ment) mode based on template, it makes full use of single object type to complete configurable clustered deploy(ment) of more object types based on template, establishes general, the unified plan thinking of the configurable clustered deploy(ment) based on template that more object types participate in.

Description

Configurable clustered deploy(ment) device and method based on template
Technical field
The present invention relates to field of computer technology, and in particular, to a kind of configurable clustered deploy(ment) dress based on template It sets and a kind of configurable clustered deploy(ment) method based on template.
Background technology
Recently as the high speed development of Internet technology, the satisfaction desired value of requirement and user of the people to business is not It is disconnected to be promoted, many production systems(Especially finance, fund, security, insurance industry and mobile communication)It needs to provide 7x24 hours Persistent service.The continuous continuous promotion to increase sharply with user demand of user, Some Enterprises are needed using in server cluster One group of server and using distributed framework to increasingly expand user service request handle, load-balancing mechanism meeting Different types of request, which is assigned to, can handle the respective server of request.
Thus be born a new problem, how quickly to dispose a larger server clusterDue to server Clustered deploy(ment) is complicated, and business is multinomial, so deployment cluster becomes a very difficult task.How quickly to dispose One application cluster becomes a urgent problem needed to be solved.
Mapping out the work for group system is a very important task, it is the premise of group system input application.When It can generally consider that there are two types of schemes when preceding user needs to build an application system cluster:When installed by mirror image, including behaviour Making system, all by mirror image, installation is complete to the installation of software, and this scheme is easy to operate, but underaction;Second is that pacifying by hand Dress, technical staff need to repeat the installment work of software on each machine, and then establishment cluster again step by step, this Flexible but relatively time-consuming of scheme also needs to technical staff and is familiar with the installation rule of various softwares and the configuration rule of each server Then, when encountering complicated cluster environment, the probability of deployment cluster error will be promoted, and virtually increase being deployed to for cluster This.
Therefore, it is necessary to a kind of new configurable clustered deploy(ment) technologies based on template, can be based on template existing Configurable clustered deploy(ment) mode on the basis of, make full use of single object type to complete more object types configurable based on template Clustered deploy(ment), establish general, the unified plan thinking of the configurable clustered deploy(ment) based on template that more object types participate in.
Invention content
The present invention is based on the above problem, it is proposed that a kind of new configurable clustered deploy(ment) technology based on template, Can on the basis of existing configurable clustered deploy(ment) mode based on template, make full use of single object type complete it is multipair as The configurable clustered deploy(ment) based on template that more object types participate in is established in configurable clustered deploy(ment) of the type based on template General, unified plan thinking.
In view of this, the present invention proposes a kind of configurable clustered deploy(ment) device based on template, including:Cluster template Creating unit, the number of the machine for defining the type of cluster middleware, the number of the server of deployment, server distribution, Load-balanced server information, the information of database and application message create cluster template;Cluster information is reconfigured unit, uses After by visualizing web page selection basic mode plate, the cluster template created according to the cluster template creating unit is to cluster Base server information reconfigures;Cluster materialization unit, after being reconfigured unit reconfiguration to the cluster information Cluster carries out materializing strategy.In the technical scheme, the basic mode plate of selection can be configured again, realizes cluster topology Personalization is conducive to the flexibility for improving cluster configuration.
In the above-mentioned technical solutions, it is preferable that the cluster template creating unit specifically includes:Cluster essential information is true Cover half block, the essential information for determining cluster, the essential information of the cluster include type, the number of server of cluster; Middleware server distributing position and every machine deployment amount determining module, for determining that middleware server is distributed in several machines On device and every machine upper portion administration server number;The type version determining module of load-balanced server, for determining The type version of load-balanced server;Type of database and version information determining module, for determining type of database and version This information;Application message determining module, for determining application message.It in the technical scheme, can be with by creating cluster template Facilitate the multiple same clusters of deployment, is conducive to improve deployment efficiency.
In the above-mentioned technical solutions, it is preferable that the cluster information is reconfigured unit, specifically includes:Base stencil-chosen mould Block, for when user needs to create a cluster, a basic mode plate to be selected by a visual web page; The first configuration module of cluster base server information, the basic mode plate for being selected based on the basic mode plate selecting module, to cluster Base server information is configured for the first time, is generated a cluster configuration information and is recorded in database;Cluster base server Information is reconfigured module, the collection flock mating for configuring generation for the first time based on the first configuration module of cluster base server information Confidence ceases, and is reconfigure to cluster base server information;The configurable information of cluster base server includes server Software information, port information, the title of server and jvm parameters.In the technical scheme, the basic mode plate based on selection, to collection Group's base server information reconfigures, and can meet the flexibility of cluster establishment.
In the above-mentioned technical solutions, it is preferable that the cluster materialization unit, including:Machine software installs module, for collecting In group on each machine software installation;Server configuration information synchronization module is used for the synchronization of server configuration information;Using Module is installed, the installation for application.In the technical scheme, the establishment of task is all automatically performed by system, user Required concern checks whether each task successfully completes by the Mission Monitor page, manual for not successful task Adjustment can greatly improve deployment efficiency, reduce hand labor intensity.
In the above-mentioned technical solutions, it is preferable that the server configuration information synchronization module to server configuration information into The synchronous operation of row, specifically includes:Synchronizing process uses asynchronous task mode, machine where task is sent to each server On, each task is monitored in real time in web page, and unfinished task is re-executed, each task is executing During there are dependences, all tasks dependent on it does not execute if a mission failure;Pass is not relied on The task of system can be performed simultaneously, and have the task order of dependence to execute;User checks each by the Mission Monitor page Whether business successfully completes, and not successful task is manually adjusted.
According to a further aspect of the invention, it is also proposed that a kind of configurable clustered deploy(ment) method based on template, packet It includes:Step 202:It defines the number of the machine of the type of cluster middleware, the number of the server of deployment, server distribution, bear Equalization server information, the information of database and application message are carried, cluster template is created;Step 204:By visualizing Web page After face selects basic mode plate, the cluster template created according to the step 202 reconfigures cluster base server information;Step Rapid 206:Cluster after being reconfigured to the step 204 carries out materializing strategy.It in the technical scheme, can be to the basic mode of selection Plate is configured again, realizes the personalization of cluster topology, is conducive to the flexibility for improving cluster configuration.
In the above-mentioned technical solutions, it is preferable that the step 202 specifically includes:Step 302:Determine the basic letter of cluster Breath, the essential information of the cluster include type, the number of server of cluster;Step 304:Determine that middleware server is distributed On several machines and every machine upper portion administration server number;Step 306:Determine the type of load-balanced server Version;Step 308:Determine type of database and version information;Step 310:Determine application message.In the technical scheme, lead to Establishment cluster template is crossed, the multiple same clusters of deployment can be facilitated, is conducive to improve deployment efficiency.
In the above-mentioned technical solutions, it is preferable that the step 204 specifically includes:Step 402:When user needs establishment one When a cluster, a basic mode plate is selected by a visual web page;Step 404:Based on the step 402 The basic mode plate of selection configures cluster base server information for the first time, generates a cluster configuration information and data are recorded In library;Step 406:Based on the step 404 for the first time configuration generate cluster configuration information, to cluster base server information into Row is reconfigured;The configurable information of cluster base server includes the title of the software information of server, port information, server With jvm parameters.In the technical scheme, the basic mode plate based on selection reconfigures cluster base server information, can be with Meet the flexibility of cluster establishment.
In the above-mentioned technical solutions, it is preferable that the step 206 specifically includes:Step 502:In cluster on each machine The installation of software;Step 504:The synchronization of server configuration information;Step 506:The installation of application.In the technical scheme, appoint The establishment of business is all automatically performed by system, is concerned required for user and is checked each task by the Mission Monitor page Whether successfully complete, not successful task is manually adjusted, deployment efficiency can be greatly improved, it is strong to reduce hand labor Degree.
In the above-mentioned technical solutions, it is preferable that the operation that the step 504 synchronizes server configuration information, tool Body includes:Synchronizing process uses asynchronous task mode, where task is sent to each server on machine, in web page Each task is monitored in real time, and unfinished task is re-executed, each task exist during execution according to The relationship of relying, all tasks dependent on it does not execute if a mission failure;There is no the task of dependence can be same Shi Zhihang has the task order of dependence to execute;User checks whether each task successfully completes by the Mission Monitor page, Not successful task is manually adjusted.
By above technical scheme, can be filled on the basis of existing configurable clustered deploy(ment) mode based on template Divide and complete configurable clustered deploy(ment) of more object types based on template using single object type, establishes what more object types participated in General, the unified plan thinking of configurable clustered deploy(ment) based on template.
Description of the drawings
Fig. 1 shows the block diagram of the configurable clustered deploy(ment) device according to an embodiment of the invention based on template;
The flow chart for the configurable clustered deploy(ment) method based on template that Fig. 2 shows according to an embodiment of the invention;
Fig. 3 shows the flow chart that cluster template according to an embodiment of the invention creates;
Fig. 4 shows the flow chart that cluster information according to an embodiment of the invention is reconfigured;
Fig. 5 shows the flow chart of cluster materialization according to an embodiment of the invention;
Fig. 6 shows the detailed process of the configurable clustered deploy(ment) method according to an embodiment of the invention based on template Figure;
Fig. 7 shows the detail flowchart of drawing template establishment according to an embodiment of the invention;
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.
Specific implementation mode
To better understand the objects, features and advantages of the present invention, below in conjunction with the accompanying drawings and specific real Mode is applied the present invention is further described in detail.It should be noted that in the absence of conflict, the implementation of the application Feature in example and embodiment can be combined with each other.
Many details are elaborated in the following description to facilitate a thorough understanding of the present invention, still, the present invention may be used also To be implemented different from other modes described here using other, therefore, protection scope of the present invention is not by described below Specific embodiment limitation.
Fig. 1 shows the block diagram of the configurable clustered deploy(ment) device according to an embodiment of the invention based on template.
As shown in Figure 1, the configurable clustered deploy(ment) device 100 according to an embodiment of the invention based on template, including: Cluster template creating unit 102, for defining the type of cluster middleware, the number of the server of deployment, server distribution Number, load-balanced server information, the information of database and the application message of machine create cluster template;Cluster information is again Dispensing unit 104, after by visualizing web page selection basic mode plate, according to the collection of the establishment of cluster template creating unit 102 Group's template reconfigures cluster base server information;Cluster materialization unit 106, for being reconfigured unit to cluster information Cluster after 104 reconfigurations carries out materializing strategy.In the technical scheme, the basic mode plate of selection can be configured again, The personalization for realizing cluster topology is conducive to the flexibility for improving cluster configuration.
In the above-mentioned technical solutions, it is preferable that cluster template creating unit 102 specifically includes:Cluster essential information determines Module 1022, the essential information for determining cluster, the essential information of cluster include type, the number of server of cluster;In Between part server distribution position and every machine deployment amount determining module 1024, for determining that middleware server is distributed in several On machine and every machine upper portion administration server number;The type version determining module 1026 of load-balanced server is used In the type version for determining load-balanced server;Type of database and version information determining module 1028, for determining data Library type and version information;Application message determining module 1030, for determining application message.In the technical scheme, pass through wound Cluster template is built, the multiple same clusters of deployment can be facilitated, is conducive to improve deployment efficiency.
In the above-mentioned technical solutions, it is preferable that cluster information is reconfigured unit 104, specifically includes:Basic mode plate selecting module 1042, for when user needs to create a cluster, a basic mode to be selected by a visual web page Plate;The first configuration module 1044 of cluster base server information, the basic mode plate for being selected based on basic mode plate selecting module 1042, Cluster base server information is configured for the first time, a cluster configuration information is generated and is recorded in database;Cluster is basic Server info is reconfigured module 1046, for based on the first 1044 configuration life for the first time of configuration module of cluster base server information At cluster configuration information, cluster base server information is reconfigure;The configurable packet of cluster base server The title and jvm parameters of software information, port information, server containing server.In the technical scheme, the base based on selection Template reconfigures cluster base server information, can meet the flexibility of cluster establishment.
In the above-mentioned technical solutions, it is preferable that cluster materialization unit 106, including:Machine software installs module 1062, uses In cluster on each machine software installation;Server configuration information synchronization module 1064, for server configuration information It is synchronous;Using installation module 1066, the installation for application.In the technical scheme, the establishment of task be all by system from Dynamic completion, it is concerned required for user and checks whether each task successfully completes by the Mission Monitor page, for not having Successful task manually adjusts, and can greatly improve deployment efficiency, reduces hand labor intensity.
In the above-mentioned technical solutions, it is preferable that server configuration information synchronization module 1064 to server configuration information into The synchronous operation of row, specifically includes:Synchronizing process uses asynchronous task mode, machine where task is sent to each server On, each task is monitored in real time in web page, and unfinished task is re-executed, each task is executing During there are dependences, all tasks dependent on it does not execute if a mission failure;Pass is not relied on The task of system can be performed simultaneously, and have the task order of dependence to execute;User checks each by the Mission Monitor page Whether business successfully completes, and not successful task is manually adjusted.
The flow chart for the configurable clustered deploy(ment) method based on template that Fig. 2 shows according to an embodiment of the invention.
As shown in Fig. 2, the configurable clustered deploy(ment) method according to an embodiment of the invention based on template, including:Step Rapid 202:Define number, the load balancing of the machine of the type of cluster middleware, the number of the server of deployment, server distribution The information and application message of server info, database create cluster template;Step 204:By visualizing web page selection After basic mode plate, the cluster template created according to step 202 reconfigures cluster base server information;Step 206:To step Cluster after rapid 204 reconfiguration carries out materializing strategy.In the technical scheme, the basic mode plate of selection can be matched again It sets, realizes the personalization of cluster topology, be conducive to the flexibility for improving cluster configuration.
In the above-mentioned technical solutions, it is preferable that as shown in figure 3, step 202, specifically includes:Step 302:Determine cluster Essential information, the essential information of cluster include type, the number of server of cluster;Step 304:Determine middleware server point Cloth on several machines and every machine upper portion administration server number;Step 306:Determine the class of load-balanced server Stencilling sheet;Step 308:Determine type of database and version information;Step 310:Determine application message.In the technical scheme, By creating cluster template, the multiple same clusters of deployment can be facilitated, be conducive to improve deployment efficiency.
In the above-mentioned technical solutions, it is preferable that as shown in figure 4, step 204, specifically includes:Step 402:When user needs When creating a cluster, a basic mode plate is selected by a visual web page;Step 404:Based on step The basic mode plate of 402 selections, configures cluster base server information for the first time, generates a cluster configuration information and number is recorded According in library;Step 406:Based on step 404 cluster configuration information that configuration generates for the first time, cluster base server information is carried out It is reconfigured;The configurable information of cluster base server include the software information of server, port information, server title and Jvm parameters.In the technical scheme, the basic mode plate based on selection reconfigures cluster base server information, Ke Yiman The flexibility that sufficient cluster creates.
In the above-mentioned technical solutions, it is preferable that as shown in figure 5, step 206, specifically includes:Step 502:It is each in cluster The installation of software on machine;Step 504:The synchronization of server configuration information;Step 506:The installation of application.In the technical solution In, the establishment of task is all automatically performed by system, is concerned required for user and is checked respectively by the Mission Monitor page Whether a task successfully completes, and not successful task is manually adjusted, deployment efficiency can be greatly improved, reduces artificial labor Fatigue resistance.
In the above-mentioned technical solutions, it is preferable that the operation that step 504 synchronizes server configuration information, it is specific to wrap It includes:Synchronizing process uses asynchronous task mode, where task is sent to each server on machine, to each in web page A task is monitored in real time, and is re-executed to unfinished task, and each task, which exists to rely on during execution, closes System, all tasks dependent on it does not execute if a mission failure;There is no the task of dependence that can hold simultaneously Row has the task order of dependence to execute;User checks whether each task successfully completes by the Mission Monitor page, for There is no successful task to manually adjust.
Technical scheme of the present invention passes through the template to selection to solve defect of the existing technology as foothold The personalization of cluster topology is realized in configuration again, is then synchronized by a key and is realized the establishment from software installation to application server All processes are both the process that cluster configuration flexibility in turn simplifies clustered deploy(ment) in this way.The technical solution is suitable for quick portion Affix one's name to a cluster.
In order to solve defect of the existing technology, in technical scheme of the present invention, the essential information of cluster is stored in number According in library, the various information during cluster configuration are managed by visual web page.
For example, technical scheme of the present invention includes mainly following components:The customization of cluster template, cluster information are again Configuration, the materialization of cluster.In the inventive solutions, it is necessary first to formulate template, template can facilitate the multiple phases of deployment Same cluster.Cluster is created by template and each server info in the cluster is reconfigure according to actual conditions, is matched It is saved in database after the completion of setting, it is synchronous, it completes to create cluster.
For another example, referring to the detail flowchart of Fig. 6 configurable clustered deploy(ment) methods based on template shown, the technology of the present invention The specific implementation example of scheme:
Step 1, cluster template is created
The machine of the number, server distribution of the server of the type of cluster middleware, deployment defined in cluster template Number, load-balanced server information, the information of database and application message.
The type of cluster middleware:Define which kind of middleware cluster uses, such as Websphere, Weblogic and UAP Deng.One cluster can only select a kind of middleware type, the mode that different middleware types creates server different.
The number of the server of deployment:It includes how many application server to define in the cluster created according to template, for Was clusters are exactly corresponding how many a nodes.
The number of the machine of server distribution:The number for the machine that middleware server is distributed in template is defined, generally The machine number that middleware software is installed in the corresponding cluster.
Load-balanced server information:Define the type and version of load-balanced server in template.
Database information:Define the type and version information of database in template.
Application message:Main includes to need the application type being deployed on cluster, version and module information.
The step of creating a cluster template, as shown in Figure 7.
The process of drawing template establishment is specifically described as:The first step determines the essential information of cluster, including the type of cluster, service The number of device;Second step determines that middleware server is distributed in the server that on several machines and every machine upper portion is affixed one's name to Number;Third walks, and determines the version of the type of load-balanced server;4th step determines the type and version information of database; 5th step determines the information of application.To this basic template defined completion.
Step 2:The reconfiguration of cluster information
When user needs to create a cluster, a basic mode plate is selected by a visual web page, The template that the basic mode plate will be consistent with the cluster information that will be created, including the type of cluster, the physical distribution side for answering server Formula and load-balanced server are consistent with database information.The basic service of cluster is selected to have begun to after basic mode plate The process that device information is reconfigured.The reconfiguration of cluster server mainly meets the flexibility of cluster establishment.
The cluster of technical solution of the present invention is configurable to be divided into two ways:One is for being only mounted with operation system on machine System does not install the machine that cluster creates the software environment needed, which platform machine that only specifies each server will be installed to;The Two kinds are configuration servers to having installed the upper of software.
It is to be specified by machine information to be mounted, if only specified machine does not select software for each server shown in Fig. 8 Information is then under software installation to the path of acquiescence.
It is after each server specified machine, to choose whether designated software, if necessary to designated software, then shown in Fig. 9 Including two kinds of situations:First, being mounted with that software then may specify that having installed software is disposed on machine, second is that on machine Software is not installed, then needs the path for selecting a software installation.
By being configured for the first time to each server in cluster, one cluster configuration information of generation is recorded in database, The specific configuration information that each server in cluster is had recorded in the cluster configuration information, this cluster configuration letter generated at this time Breath is the key that carry out clustered deploy(ment), and all server installation configuration informations are all recorded in this cluster configuration information in cluster In.
The structure of the cluster will be shown in a manner of simple topology figure in web page, as shown in Figure 10.It here still can be with Each server in cluster is reconfigure, configurable information includes the software information, port information, service of server Title and jvm parameters of device etc..Figure 11 is shown by with a server info for postponing generation.
Step 3:The materialization of cluster.
The materializing procedure of cluster includes mainly the following aspects:In cluster on each machine software installation, server The synchronization of configuration information, the installation of application.
Task is sent on the machine where each server by synchronous process by the way of asynchronous task, in web Each task is monitored in real time in the page, and unfinished task can be re-executed, mistake of each task in execution There are dependences in journey, and all tasks dependent on it does not execute if a mission failure.
It is described in detail by taking the synchronization of was clusters as an example.
Assuming that the software of each server is installation in was clusters, there are four middleware servers in the cluster Mem01, mem02, mem03, mem04 are distributed on machine A and machine B, and management server Dmgr01 is mounted on machine A, clothes Business Distributor Ihs01 and application App01 are also mounted on machine A.
Synch command will create a series of task from the background after sending out:
The father task syn_was01_task of the synchronization of one top layer, (was01) is the title of cluster.
Create software installation task:Was_a_installTask (installation of machine A softwares Was), was_b_ InstallTask (installation of machine B softwares Was), ihs_a_installTask (installation of machine A software Is HS), app_a_ InstallTask (installation of machine A softwares App).
Summary file creates task:Dmgr01_a_creatProfileTask (machine A creates dmgr), mem01_a_ CreatProfileTask (machine A creates mem01 summaries), (machine A creates mem02 to mem02_a_creatProfileTask Summary), mem03_a_creatProfileTask (machine B creates mem01 summaries), mem04_a_creatProfileTask (machine B creates mem02 summaries),
Synchronous task:Dmgr_a_startTask (dmgr starts task), syncCluster_a_task (synchronous machine A Cluster information), the syncCluster_b_task cluster information of B (synchronous machine).
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, dmgr_a_startTask to depend on Dmgr01_a_ creatProfileTask;
SyncCluster_a_task and syncCluster_b_task all rely 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.
There is no the task of dependence may be performed simultaneously, there is the task order of dependence to execute, as task syn_ Was01_task successfully completes the latter cluster and just builds completion, and the establishment of these tasks is all automatically performed by system, It is concerned required for user and checks whether each task successfully completes by the Mission Monitor page, for not successful task It manually adjusts.
Technical scheme of the present invention provides a kind of scheme of the establishment cluster based on template, and is carried out in fact by system It is existing.User only needs to configure cluster information by the visual page, then can complete to collect by simultaneously operating The establishment of all tasks of the group since software installation finally realizes that a cluster is completed in deployment.
Task in technical solution of the present invention is the asynchronous task that can be monitored, and user can monitor deployment cluster at any time Each task, understands the state of deployment at any time, and technical solution of the present invention can flexibly reconfigure to meet difference cluster Some specific demands of user compensate for mirror image and install inflexible defect, while a key synchronizes and simplifies software installation to collection The process of group's deployment, the task that all operations are all generated by backstage are executed, simplify the operation of user, compensate for hand The defect of work installation process complexity.
The generally speaking flexible configuration of cluster of technical solution of the present invention, simplifies the process of clustered deploy(ment), can be quick A cluster is disposed, the set goal is realized.
Technical scheme of the present invention is described in detail above in association with attached drawing, it is contemplated that not easy, system in the related technology One solution for complicated type clustered deploy(ment).The existing configurable clustered deploy(ment) based on template can not have been completed The configurable clustered deploy(ment) process based on template that complicated type participates in.Therefore, the present invention proposes a kind of based on template Configurable clustered deploy(ment) device and a kind of configurable clustered deploy(ment) method based on template can be based on template existing Configurable clustered deploy(ment) mode on the basis of, make full use of single object type to complete more object types configurable based on template Clustered deploy(ment), establish general, the unified plan thinking of the configurable clustered deploy(ment) based on template that more object types participate in.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, any made by repair Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.

Claims (2)

1. a kind of configurable clustered deploy(ment) device based on template, which is characterized in that including:
Cluster template creating unit, for defining the type of cluster middleware, the number of the server of deployment, server distribution Number, load-balanced server information, the information of database and the application message of machine create cluster template;
Cluster information is reconfigured unit, after by visualizing web page selection basic mode plate, is created according to the cluster template The cluster template that unit creates reconfigures cluster base server information;
Cluster materialization unit carries out materializing strategy for being reconfigured the cluster after unit is reconfigured to the cluster information;
The cluster template creating unit, specifically includes:
The essential information of cluster essential information determining module, the essential information for determining cluster, the cluster includes cluster Type, the number of server;
Middleware server distributing position and every machine deployment amount determining module, for determining that it is several that middleware server is distributed in On platform machine and every machine upper portion administration server number;
The type version determining module of load-balanced server, the type version for determining load-balanced server;
Type of database and version information determining module, for determining type of database and version information;
Application message determining module, for determining application message;
The cluster information is reconfigured unit, specifically includes:
Basic mode plate selecting module, for when user need create a cluster when, by a visual web page come Select a basic mode plate;
The first configuration module of cluster base server information, the basic mode plate for being selected based on the basic mode plate selecting module are right Cluster base server information is configured for the first time, is generated a cluster configuration information and is recorded in database;
Cluster base server information is reconfigured module, for based at the beginning of the first configuration module of cluster base server information The cluster configuration information that secondary configuration generates, reconfigures cluster base server information;Cluster base server is configurable Information include software information, port information, the title of server and the jvm parameters of server;
The cluster materialization unit, including:
Machine software installs module, the installation of software on each machine in cluster;
Server configuration information synchronization module is used for the synchronization of server configuration information;
Using installation module, the installation for application;
The operation that the server configuration information synchronization module synchronizes server configuration information, specifically includes:
Synchronizing process uses asynchronous task mode, where task is sent to each server on machine, to each in web page A task is monitored in real time, and is re-executed to unfinished task, and each task, which exists to rely on during execution, closes System, all tasks dependent on it does not execute if a mission failure;
There is no the task of dependence that can be performed simultaneously, there is the task order of dependence to execute;
User checks whether each task successfully completes by the Mission Monitor page, and not successful task is manually adjusted.
2. a kind of configurable clustered deploy(ment) method based on template, which is characterized in that including:
Step 202:It defines the number of the machine of the type of cluster middleware, the number of the server of deployment, server distribution, bear Equalization server information, the information of database and application message are carried, cluster template is created;
The step 202, specifically includes:
Step 302:Determine that the essential information of cluster, the essential information of the cluster include type, the number of server of cluster;
Step 304:Determine that middleware server is distributed in the server number that on several machines and every machine upper portion is affixed one's name to;
Step 306:Determine the type version of load-balanced server;
Step 308:Determine type of database and version information;
Step 310:Determine application message;
Step 204:After visualizing web page selection basic mode plate, the cluster template created according to the step 202 is to cluster Base server information reconfigures;
Step 206:Cluster after being reconfigured to the step 204 carries out materializing strategy;
The step 204, specifically includes:
Step 402:When user needs to create a cluster, a base is selected by a visual web page Template;
Step 404:Based on the basic mode plate of the step 402 selection, cluster base server information is configured for the first time, is generated One cluster configuration information is recorded in database;
Step 406:Based on the step 404 for the first time configuration generate cluster configuration information, to cluster base server information into Row is reconfigured;The configurable information of cluster base server includes the title of the software information of server, port information, server With jvm parameters;
The step 206, specifically includes:
Step 502:In cluster on each machine software installation;
Step 504:The synchronization of server configuration information;
Step 506:The installation of application;
The operation that the step 504 synchronizes server configuration information, specifically includes:
Synchronizing process uses asynchronous task mode, where task is sent to each server on machine, to each in web page A task is monitored in real time, and is re-executed to unfinished task, and each task, which exists to rely on during execution, closes System, all tasks dependent on it does not execute if a mission failure;
There is no the task of dependence that can be performed simultaneously, there is the task order of dependence to execute;
User checks whether each task successfully completes by the Mission Monitor page, and not successful task is manually adjusted.
CN201410319899.3A 2014-07-07 2014-07-07 Configurable clustered deploy(ment) device and method based on template Active CN104079657B (en)

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 CN104079657A (en) 2014-10-01
CN104079657B true 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)

Families Citing this family (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104410511B (en) * 2014-10-27 2018-07-06 浪潮(北京)电子信息产业有限公司 A kind of server management method and system
CN105743946A (en) * 2014-12-10 2016-07-06 中兴通讯股份有限公司 Template disposition method and apparatus
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
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
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
CN108062225B (en) * 2017-11-27 2021-08-27 国云科技股份有限公司 Method for issuing application cluster by multi-template combination
CN110138577B (en) * 2018-02-08 2021-09-21 腾讯科技(深圳)有限公司 Cluster creation method, first server and readable storage medium
CN108809722B (en) * 2018-06-13 2022-03-22 郑州云海信息技术有限公司 Method, device and storage medium for deploying Kubernetes cluster
CN109039743B (en) * 2018-08-03 2022-05-10 陕西中光电信高科技有限公司 Centralized management method of distributed storage ceph cluster network
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
CN111427592B (en) * 2020-03-20 2021-06-22 广州锦行网络科技有限公司 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
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

Citations (2)

* Cited by examiner, † Cited by third party
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
CN102316159A (en) * 2011-08-01 2012-01-11 崔红保 Method for quickly deploying server and server group and system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN102882900B (en) * 2011-07-11 2016-06-22 阿里巴巴集团控股有限公司 Large-scale server cluster application section arranging method and large-scale server cluster
CN103226493B (en) * 2013-05-15 2017-08-18 百度在线网络技术(北京)有限公司 The dispositions method and system of multi-operation system service
CN103607462B (en) * 2013-11-22 2018-05-01 曙光信息产业股份有限公司 A kind of cluster NAS deployment systems and its dispositions method

Patent Citations (2)

* Cited by examiner, † Cited by third party
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
CN102316159A (en) * 2011-08-01 2012-01-11 崔红保 Method for quickly deploying server and server group and system

Also Published As

Publication number Publication date
CN104079657A (en) 2014-10-01

Similar Documents

Publication Publication Date Title
CN104079657B (en) Configurable clustered deploy(ment) device and method based on template
US11307943B2 (en) Disaster recovery deployment method, apparatus, and system
CN109347663B (en) Resource visualization arranging method in OpenStack cloud platform
CN107566165B (en) Method and system for discovering and deploying available resources of power cloud data center
CN104717233B (en) Database portion arranging method and device
WO2015157897A1 (en) Disaster recovery data center configuration method and apparatus in cloud computing architecture
US9521187B2 (en) Managed filed transfer utilizing dynamic horizontal and vertical scaling
CN105553741A (en) Automatic deployment method for application system based on cloud computing
CN113055232B (en) Network configuration deployment method, device and equipment
CN108011732A (en) Method, controller and the system of configuration service resource
CN106603725A (en) Implementation method for enterprise cloud service virtual mirror image management service
CN104363122B (en) A kind of method for pre-configuration and system of network element
CN114079615B (en) Application synchronization method, system, medium and electronic equipment in multi-cluster environment
CN105306237A (en) Distributed management method and device for network management
WO2023098374A1 (en) Network resource deployment method and apparatus, and electronic device and storage medium
CN113596925A (en) Slice arranging method and system for 5G base station
TWI707561B (en) Management system and management method of vnf
CN105591801A (en) Virtual network function VNF fault processing method and VNF management equipment
CN106301855A (en) A kind of NMS dispositions method, device and NMS
CN111030843B (en) Online configuration method and device for user terminal equipment bearing intelligent private line
CN111858044A (en) Method, system, equipment and medium for single machine multi-instance deployment and management
CN115915404A (en) Network slice deployment system and method based on NFV-MANO
CN103595771A (en) Method for controlling and managing parallel service groups in cluster
CN110460456B (en) Method and device for synchronously generating network topology by Management Information Base (MIB)
CN114363164B (en) Cloud network service arrangement control method, system, storage medium and electronic equipment

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