CN106886434A - A kind of Distributed Application installation method and device - Google Patents

A kind of Distributed Application installation method and device Download PDF

Info

Publication number
CN106886434A
CN106886434A CN201611234720.XA CN201611234720A CN106886434A CN 106886434 A CN106886434 A CN 106886434A CN 201611234720 A CN201611234720 A CN 201611234720A CN 106886434 A CN106886434 A CN 106886434A
Authority
CN
China
Prior art keywords
installation
distributed application
application
distributed
node
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
Application number
CN201611234720.XA
Other languages
Chinese (zh)
Other versions
CN106886434B (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.)
Shanxi Great Wisdom Water Conservancy Technology Co ltd
Original Assignee
Shanxi Ke Ruisen Information 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 Shanxi Ke Ruisen Information Technology Co Ltd filed Critical Shanxi Ke Ruisen Information Technology Co Ltd
Priority to CN201611234720.XA priority Critical patent/CN106886434B/en
Publication of CN106886434A publication Critical patent/CN106886434A/en
Application granted granted Critical
Publication of CN106886434B publication Critical patent/CN106886434B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

This application discloses a kind of Distributed Application installation method and device, it is used to solve the less efficient problem that the installation method of Distributed Application in the prior art is present.The method includes:The corresponding internet protocol address of multiple destination nodes and login parameters of deployment are needed in acquisition Distributed Application;The corresponding installation configuration parameter of the Distributed Application is obtained, the installation configuration parameter includes the host node in the destination node and the information from node;IP address, login parameters and the installation configuration parameter according to the multiple destination node, install the installation kit of the Distributed Application on the multiple destination node.

Description

A kind of Distributed Application installation method and device
Technical field
The application is related to Internet technical field, more particularly to a kind of Distributed Application installation method and device.
Background technology
With the development of science and technology, the continuous improvement of the level of informatization, requirement of the people to the disposal ability of computer is more next It is higher, because disposal ability for computer cannot often meet the requirement of people sometimes, therefore, Distributed Calculation just meets the tendency of And give birth to.Wherein, Distributed Calculation, is that the problem that a very huge computing capability of needs could be solved is divided into many small These small parts, are then distributed to many computers and are processed by part, and finally these result of calculations are integrated To final result.
Distributed Calculation can be related to multiple stage computers, and every computer in Distributed Calculation typically is referred to as into node, Can be host node by wherein any one computer installation, be from node by remaining computer installation.Wherein, host node is used to control Be further processed for the result returned from node from node by system, obtains final process result.
Although Distributed Calculation disclosure satisfy that requirement of the people to computer process ability, the peace of Distributed Application Dress, but has following drawbacks:
In the prior art, typically by way of application manually is installed, respectively in Distributed Calculation the need for pacify The computer for filling application installs application.Because the quantity of the computer in Distributed Calculation is more, application is manually installed Mode can be consumed a longer time, less efficient.
The content of the invention
The embodiment of the present application provides a kind of Distributed Application installation method and device, is used to solve distributed in the prior art The less efficient problem that the installation method of application is present.
The embodiment of the present application uses following technical proposals:
A kind of Distributed Application installation method, including:
Corresponding Internet protocol (the Internet of multiple destination nodes of deployment is needed in acquisition Distributed Application Protocol, IP) IP address and login parameters;
The corresponding installation configuration parameter of the Distributed Application is obtained, the installation configuration parameter includes the destination node In host node and the information from node;
IP address, login parameters and the installation configuration parameter according to the multiple destination node, the multiple The installation kit of the Distributed Application is installed on destination node.
A kind of Distributed Application installation method, methods described includes:
Receive the corresponding application installation script of installation kit of the Distributed Application of the first Distributed Application erecting device transmission Template, installation configuration parameter, the installation kit of the Distributed Application and execute instruction, the execute instruction are used to indicate to install institute State Distributed Application;
According to the application installation script template and the installation configuration parameter, installation script is applied in generation, described to answer It is used to perform the installation kit for installing the Distributed Application with installation script;
The application installation script is run according to the execute instruction.
A kind of first Distributed Application erecting device, described device includes:
Acquisition module, needs the corresponding Internet protocol IP of multiple destination nodes of deployment in Distributed Application for obtaining Address and login parameters;
Acquisition module, is additionally operable to obtain the corresponding installation configuration parameter of the Distributed Application, the installation configuration parameter Information including the host node in the destination node and from node;
Module is installed, is configured for the IP address according to the multiple destination node, login parameters and the installation and joined Number, installs the installation kit of the Distributed Application on the multiple destination node.
A kind of second Distributed Application erecting device, the second Distributed Application erecting device is deployed in for installation point On the destination node of cloth application, described device includes:
Receiver module, the installation kit pair for receiving the Distributed Application that the first Distributed Application erecting device sends Application installation script template, installation configuration parameter, the installation kit of the Distributed Application and the execute instruction answered, the execution refer to Make for indicating to install the Distributed Application on the destination node;
Generation module, for according to the application installation script template and the installation configuration parameter, generation application peace Dress script, the application installation script is used to perform the installation kit for installing the Distributed Application;
Operation module, for running the application installation script according to the execute instruction.
Above-mentioned at least one technical scheme that the embodiment of the present application is used can reach following beneficial effect:
On the one hand, IP address according to multiple destination nodes, login parameters and the installation configuration parameter, described many The installation kit of the Distributed Application is installed on individual destination node, the installation effectiveness of Distributed Application just can be so improved, just may be used Solve the less efficient problem that the installation method of Distributed Application in the prior art is present.
On the other hand, the corresponding application of installation kit of the Distributed Application for being sent according to the first Distributed Application erecting device Installation script template, installation configuration parameter, the installation kit of the Distributed Application and execute instruction, generation application installation script is simultaneously Operation, the Distributed Application is arranged on first object node, just can so improve the installation effectiveness of Distributed Application, Just the less efficient problem that the installation method of Distributed Application in the prior art is present can be solved.
Brief description of the drawings
Accompanying drawing described herein is used for providing further understanding of the present application, constitutes the part of the application, this Shen Schematic description and description please does not constitute the improper restriction to the application for explaining the application.In the accompanying drawings:
A kind of idiographic flow schematic diagram of Distributed Application installation method that Fig. 1 is provided for the embodiment of the present application;
The idiographic flow schematic diagram of another Distributed Application installation method that Fig. 2 is provided for the embodiment of the present application;
The idiographic flow schematic diagram of another Distributed Application installation method that Fig. 3 is provided for the embodiment of the present application;
The concrete structure schematic diagram of a kind of specific Distributed Application erecting device that Fig. 4 is provided for the embodiment of the present application;
Fig. 5 illustrates for the concrete structure of the specific Distributed Application erecting device of another kind that the embodiment of the present application is provided Figure;
A kind of concrete structure schematic diagram of Distributed Application erecting device that Fig. 6 is provided for the embodiment of the present application;
The concrete structure schematic diagram of another Distributed Application erecting device that Fig. 7 is provided for the embodiment of the present application.
Specific embodiment
To make the purpose, technical scheme and advantage of the application clearer, below in conjunction with the application specific embodiment and Corresponding accompanying drawing is clearly and completely described to technical scheme.Obviously, described embodiment is only the application one Section Example, rather than whole embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not doing Go out the every other embodiment obtained under the premise of creative work, belong to the scope of the application protection.
Below in conjunction with accompanying drawing, the technical scheme that each embodiment of the application is provided is described in detail.
Embodiment 1
For the less efficient problem that the installation method for solving Distributed Application in the prior art is present, the embodiment of the present application 1 provides a kind of Distributed Application installation method, and the idiographic flow schematic diagram of the method is as shown in figure 1, comprise the steps:
Step 101, needs multiple destination nodes of deployment in the first Distributed Application erecting device acquisition Distributed Application Corresponding IP address and login parameters.
The Distributed Application can be any type of Distributed Application, such as distributed data base management system (DDBMS) etc..
Step 102, the first Distributed Application erecting device obtains the corresponding installation configuration parameter of Distributed Application.
The configuration parameter of installing can include the host node in the destination node and the information from node.
Step 103, the first Distributed Application erecting device is according to the corresponding IP address of the multiple destination node, login ginseng Several and described installation configuration parameter, installs the installation kit of the Distributed Application on the multiple destination node.
Specifically, the first Distributed Application erecting device can be by the corresponding application installation script mould of the Distributed Application The installation kit of plate, the installation configuration parameter and the Distributed Application is sent to the first object in the multiple destination node Node, wherein, the first object node can be raw according to the application installation script template and the installation configuration parameter Into application installation script, the application installation script is used to install the installation kit of the Distributed Application.To the first object Node sends and performs order, described to perform order for indicating the first object node to run the application installation script.
Wherein, in a kind of implement scene, the first Distributed Application erecting device can be by safety shell protocol (Secure Shell, SSH), by the corresponding application installation script template of the Distributed Application, the installation configuration parameter and The installation kit of the Distributed Application is sent to the first object node in the multiple destination node.
First Distributed Application erecting device is according to the corresponding IP address of the multiple destination node, login parameters and institute Installation configuration parameter is stated, before the installation kit of the Distributed Application is installed on the multiple destination node, can also be monitored The hardware parameter information of first object node in the multiple destination node.If the hardware parameter information meets default hardware Parameter Conditions, it is determined that the first object node is the destination node that can install the Distributed Application.
In the embodiment of the present application, IP address, login of the first Distributed Application erecting device according to multiple destination nodes Parameter and the installation configuration parameter, install the installation kit of the Distributed Application, so on the multiple destination node Just the installation effectiveness of Distributed Application can be improved, the efficiency that the installation method of Distributed Application in the prior art is present just can be solved Relatively low problem.
Embodiment 2
For the less efficient problem that the installation method for solving Distributed Application in the prior art is present, the embodiment of the present application 2 provide a kind of Distributed Application installation method, and the idiographic flow schematic diagram of the method is as shown in Fig. 2 comprise the steps:
Step 201, first object node receives the installation of the Distributed Application that the first Distributed Application erecting device sends Wrap corresponding application installation script template, configuration parameter, the installation kit of the Distributed Application and execute instruction are installed.
The execute instruction is used to indicate to install the Distributed Application.
The Distributed Application can be any type of Distributed Application, such as distributed data base management system (DDBMS) etc..
Step 202, first object node is according to the application installation script template and the installation configuration parameter, generation Using installation script.
The application installation script is used to perform the installation kit for installing the Distributed Application.
Step 203, first object node runs the application installation script according to the execute instruction.
In the embodiment of the present application, first object node should according to the distribution that the first Distributed Application erecting device sends The corresponding application installation script template of installation kit, installation configuration parameter, the installation kit of the Distributed Application and execution refer to Order, generation is using installation script and runs, and the Distributed Application is arranged on first object node, just can so improve The installation effectiveness of Distributed Application, just can solve less efficient the asking of the installation method presence of Distributed Application in the prior art Topic.
Embodiment 3
For the less efficient problem that the installation method for solving Distributed Application in the prior art is present, the embodiment of the present application 3 provide a kind of Distributed Application installation method, and the idiographic flow schematic diagram of the method is as shown in figure 3, comprise the steps:
Step 301, needs multiple destination nodes of deployment in the first Distributed Application erecting device acquisition Distributed Application Corresponding internet protocol address and login parameters.
Wherein, above-mentioned first Distributed Application erecting device, can be hardware unit, such as central processing unit (Central Processing Unit, CPU), the hardware unit such as memory, or in the equipment of any type or model Software, or the equipment for having hardware and software concurrently, such as the equipment such as mobile phone, computer, the embodiment of the present application 3 are not appointed to this What is limited.If in addition, the first Distributed Application erecting device is hardware unit or is equipment installed in any type or model In software, then the first Distributed Application erecting device may reside in any one computer outside Distributed Calculation In;If the first Distributed Application erecting device is the equipment for having hardware and software concurrently, then first Distributed Application installs dress It can be any one computer outside Distributed Calculation to put, as long as the first Distributed Application erecting device can realize this Shen Please embodiment provide Distributed Application installation method.For ease of description, hereinafter with the first Distributed Application erecting device As a example by any one computer (claiming Distributed Application to install computer afterwards) outside for distributed computer, it is described in detail.
Distributed Calculation can typically be related to multiple stage computers, but be not all meters in Distributed Calculation sometimes Application, i.e. application deployment are installed on calculation machine, but select application deployment in multiple stage computers wherein.
In the embodiment of the present application 3, staff can in advance select the multiple stage computers for needing deployment, then, can be by Those computers are used as destination node.Furthermore it is possible in those destination nodes, a node is arbitrarily selected as host node, Using other nodes as from node.After selected target node, staff can directly install in Distributed Application and count The corresponding IP address of those destination nodes and login parameters are input into calculation machine, or staff can be by any type of The corresponding IP address of those destination nodes and login parameters are sent to Distributed Application and install computer by terminal device, so that Distributed Application installs computer and can get the corresponding view IP of multiple destination nodes that deployment is needed in Distributed Application Address and login parameters.Wherein, login parameters can be including login account and login password etc..
Step 302, Distributed Application installs computer and obtains the corresponding installation configuration parameter of the Distributed Application.
Wherein, above-mentioned installation configuration parameter can include the host node in destination node and the information from node, such as pacify The information such as dress catalogue, data storage catalogue, mirror image catalogue, kernel setup parameter.Wherein, installation directory is used to show distribution Using installed in where destination node;Data storage catalogue is used to show Distributed Application in use, produces Raw data will be stored in where destination node;Mirror image catalogue is used to show to store the installation kit of Distributed Application In where destination node.
Step 303, Distributed Application install computer according to the IP address of the multiple destination node, login parameters and The installation configuration parameter, installs the installation kit of the Distributed Application on the multiple destination node.
Wherein, the installation kit of above-mentioned Distributed Application can be the installation kit of any type of application, such as data depositary management Installation kit of reason system etc..
Before step 303 is performed, the corresponding application installation script template of Distributed Application, distribution can be answered in advance Installation kit is stored in Distributed Application and installs on computer.
It is identical to install computer for the operation that each destination node is carried out by Distributed Application, and often Operation performed by one destination node is also identical, therefore, the embodiment of the present application 3 is with the first mesh in multiple destination nodes As a example by mark node, step 303 is elaborated:
Distributed Application installs computer can match somebody with somebody the corresponding application installation script template of the Distributed Application, installation Put the first object node that the installation kit of parameter and Distributed Application is sent in multiple destination nodes.Wherein, first object section Point can apply installation script according to the application installation script template and installation configuration parameter, generation.Using installation script Installation kit for installing Distributed Application.And perform order to the transmission of first object node.Perform order described for indicating First object node runs the application installation script.Wherein, the embodiment of the present application 3 does not limit Distributed Application and installs computer The corresponding application installation script template of the Distributed Application is sent to first object node, installing configuration parameter, distribution should Installation kit and exectorial order, can send simultaneously, can also be sent according to sequencing.
So, first object node is receiving the corresponding application installation script template of Distributed Application, is installing configuration ginseng After the installation kit of number and Distributed Application, first object node spontaneous can be matched somebody with somebody according to the application installation script template and installation Parameter is put, installation script is applied in generation.And according to order operation application installation script is performed, it is finally completed installation.Or, according to The execution order for receiving, according to the application installation script template and installation configuration parameter, installation script is applied in generation, and According to order operation application installation script is performed, installation is finally completed.
In order that the installation for obtaining Distributed Application is more safe and reliable, Distributed Application installs computer can be by safety Shell protocol (Secure Shell, SSH), by the corresponding application installation script template of the installation kit of the Distributed Application, institute State and the first object node that the installation kit of configuration parameter and the Distributed Application is sent in multiple destination nodes is installed.Separately Outward, above-mentioned first object node can also be sent to by order is performed by SSH.Due to SSH prior arts, no longer carry out herein Repeat.
In addition, the success rate of the installation in order to improve Distributed Application, before step 303 is performed, Distributed Application peace Dress computer can perform operations described below:
The hardware parameter information of first object node is monitored, if the hardware parameter information meets default hardware parameter letter Breath, it is determined that the first object node is the destination node that can install Distributed Application, then perform step 303;Otherwise, then really The fixed first object node is not the destination node that can install Distributed Application, then export prompting message.The prompting message For informing staff, the hardware parameter information of the first object node is unsatisfactory for default hardware parameter information, to cause Staff can be processed for the situation in time, finally cause that the hardware parameter information of the first object node meets pre- If hardware parameter information.Wherein, Distributed Application installs computer and can export above-mentioned prompting in forms such as sound or pictures Information.
Specifically, Distributed Application installation computer can be by the first object node in multiple destination nodes On monitoring program, monitor first object node hardware parameter information.Wherein, above-mentioned hardware parameter information, can include meter The information such as calculation machine disk remaining space, cpu busy percentage, store path title.Such as, Distributed Application is installed computer and can be led to The monitoring program crossed on first object node, includes in monitoring first object node with the presence or absence of installation parameter information Installation directory, data storage catalogue, mirror image catalogue, if including in the absence of installation parameter information in the first object node At least one of installation directory, data storage catalogue, mirror image catalogue, it is determined that the hardware parameter information is unsatisfactory for presetting Hardware parameter information;If there is installation directory, the data storage that installation parameter information includes in the first object node Catalogue, mirror image catalogue, then monitor above-mentioned installation directory present in the first object node, data storage catalogue, mirror respectively As whether the corresponding disk remaining space of catalogue is more than default disk remaining space, and monitor the first object node Whether cpu busy percentage is more than default cpu busy percentage, if above-mentioned installation directory present in the first object node, data are deposited Storage catalogue, the corresponding disk remaining space of mirror image catalogue are more than presets disk remaining space, and the first object node Cpu busy percentage is more than default cpu busy percentage, it is determined that the hardware parameter information meets default hardware parameter information;Otherwise, Determine that the hardware parameter information is unsatisfactory for default hardware parameter information.
Distributed Application installs computer by performing step 301~303, can cause that destination node installs distribution automatically The installation kit of formula application, without manually installing.
In order that reader is easier to understand the installation method of the Distributed Application of the offer of the embodiment of the present application 3, illustrate below It is described in detail.As shown in figure 4, the A in Fig. 4 is Distributed Application installation computer, the computer is outside Distributed Calculation Any one computer.B, J, K in Fig. 4 are destination node, wherein, B is host node, and J and K is from node.Need deployment Distributed Application on B, J, K is data base management system.A get the corresponding internet protocol address of B, J, K with And the corresponding installation configuration parameter of login parameters, distributed data base management system (DDBMS), the installation of distributed data base management system (DDBMS) After bag, the application installation script template of distributed data base management system (DDBMS), the corresponding Internet protocol of B, J, K that will can be got IP address and the corresponding installation configuration parameter of login parameters, distributed data base management system (DDBMS), distributed database management system The installation kit of system, the application installation script template of distributed data base management system (DDBMS) are sent respectively to B, J, K.And sent out to B, J, K Send and perform order.
B, J, K are receiving the corresponding installation configuration parameter of distributed data base management system (DDBMS), distributed database management After systematic difference installation script template, can respectively according to distributed data base management system (DDBMS) it is corresponding install configuration parameter, point Installation script is applied in the application installation script template of cloth data base management system, generation.And respectively according to order is performed, each The application installation script of each self-generating is run, distributed data base management system (DDBMS) is arranged on B, J, K.
It should be noted that the corresponding configuration parameter of installing of multiple destination nodes may be identical, it is also possible to different, this be by What the hardware configuration information and software configuration information of multiple destination nodes were determined.If the hardware configuration letter of different destination nodes Breath and software configuration information are identical, then the corresponding installation configuration parameter of those destination nodes just can be identical;If different mesh The hardware configuration information and software configuration information for marking node are different, such as, the fdisk situation of different destination node is not Together, the hard disk in the host node in destination node is divided into three areas:C disks, D disks and E disks, any one in destination node is from section Hard disk in point is divided into an area:C disks, at this moment, staff is just needed for different hardware configuration information and soft The destination node of part configuration information sets corresponding installation configuration parameter.
Installation configuration parameter mentioned by above-mentioned steps 301~303 is identical, then differed when configuration parameter is installed When, the corresponding IP address of destination node can be set up and the corresponding relation of configuration parameter is installed.Staff can be by all of peace Dress configuration parameter, and the corresponding IP address of destination node is directly inputted to distribution in the lump with the corresponding relation for installing configuration parameter Formula application is installed in computer, or by any type of terminal device by above-mentioned installation configuration parameter, and destination node Corresponding IP address is sent to Distributed Application and installs computer in the lump with the corresponding relation for installing configuration parameter so that distributed The installation configuration parameter corresponding to each destination node is got using installation computer.Then Distributed Application is installed and calculated Can be sent to often for the corresponding application installation script template of Distributed Application, the installation kit of Distributed Application, execution order by machine One destination node.And it is sent to corresponding destination node by configuration parameter is installed.Each destination node is receiving application Installation script template, the installation kit of Distributed Application, perform order, install configuration parameter after, performed operation, with step The operation that first object node is performed in 303 is identical.So, all of destination node just can complete the distributed installation answered.
In addition, any one computer of the first Distributed Application erecting device in addition to it may reside in Distributed Calculation In, or for Distributed Calculation outside any one computer outside, the first Distributed Application erecting device is also present in point Cloth calculate in any one computer in, or for Distributed Calculation in any one computer.When the first distribution Be present in using erecting device in any one computer in Distributed Calculation, or for Distributed Calculation in any one If the first Distributed Application erecting device is not present in destination node, or it is not destination node, but deposit during computer In being other computers in Distributed Calculation, or be other computers in Distributed Calculation, then first it is distributed should Remained unchanged with erecting device and perform above-mentioned steps 301~303.If the first Distributed Application erecting device is present in some target section In point, or it is some destination node, then, the first Distributed Application erecting device still carries out step 301~303, only not Cross, when step 303 is performed, the first Distributed Application erecting device is by the corresponding application of the installation kit of the Distributed Application When the installation kit of installation script template, the installation configuration parameter and the Distributed Application is sent to multiple destination nodes, nothing Itself need to be sent to.And the first Distributed Application erecting device installs the corresponding application of the installation kit of the Distributed Application When the installation kit of script template, the installation configuration parameter and the Distributed Application is sent to other destination nodes, the distribution Formula application erecting device itself can apply installation script, and root according to application installation script template and installation configuration parameter generation According to order is performed, the application installation script of generation is performed, Distributed Application is arranged on Distributed Application erecting device.
For example, as shown in figure 5, the E in Fig. 5 is Distributed Application erecting device, the first Distributed Application erecting device One in for destination node.F, G, H in Fig. 5 are other destination nodes.Wherein, E is host node, and F, G, H are from node.Need The Distributed Application being deployed on E, F, G, H is data base management system.E is getting the corresponding internet protocol of E, F, G, H View IP address and the corresponding installation configuration parameter of login parameters, distributed data base management system (DDBMS), distributed database management After the installation kit of system, the application installation script template of distributed data base management system (DDBMS), F, G, the H that will can be got are corresponding Internet protocol address and the corresponding installation configuration parameter of login parameters, distributed data base management system (DDBMS), distributed number F, G, H are sent respectively to according to the application installation script template of the installation kit of base management system, distributed data base management system (DDBMS).And Sent to F, G, H and perform order.Wherein, the corresponding installation configuration parameter of E, F, G, H is identical.
F, G, H are receiving the corresponding installation configuration parameter of distributed data base management system (DDBMS), distributed database management After systematic difference installation script template, can respectively according to distributed data base management system (DDBMS) it is corresponding install configuration parameter, point Installation script is applied in the application installation script template of cloth data base management system, generation.And respectively according to order is performed, each The application installation script of each self-generating is run, distributed data base management system (DDBMS) is arranged on F, G, H.E will get The corresponding internet protocol address of F, G, H and corresponding installation of login parameters, distributed data base management system (DDBMS) configure ginseng Number, the application installation script template of the installation kit of distributed data base management system (DDBMS), distributed data base management system (DDBMS) are sent out respectively After giving F, G, H, E itself is according to the corresponding installation configuration parameter of distributed data base management system (DDBMS), distributed database management Installation script is applied in systematic difference installation script template, generation.And can according to performing order, or spontaneous operation generation application Installation script, distributed data base management system (DDBMS) is arranged on E.
In the embodiment of the present application, Distributed Application installs IP address, login ginseng of the computer according to multiple destination nodes Several and described installation configuration parameter, installs the installation kit of the Distributed Application, so just on the multiple destination node The installation effectiveness of Distributed Application can be improved, just can solve Distributed Application in the prior art installation method exist efficiency compared with Low problem.
Embodiment 4
For the less efficient problem that the installation method for solving Distributed Application in the prior art is present, the embodiment of the present application 4 provide a kind of first Distributed Application erecting device, and the concrete structure schematic diagram of the device is as shown in fig. 7, the device includes:
Acquisition module 41, needs the corresponding Internet protocol of multiple destination nodes of deployment in Distributed Application for obtaining IP address and login parameters.
Acquisition module 41, is additionally operable to obtain the corresponding installation configuration parameter of the Distributed Application, the installation configuration ginseng Number includes the host node in the destination node and the information from node.
Module 42 is installed, for the IP address according to the multiple destination node, login parameters and the installation configuration Parameter, installs the installation kit of the Distributed Application on the multiple destination node.
In one embodiment, module 42 is installed, is used for:
Should by the corresponding application installation script template of the Distributed Application, the installation configuration parameter and the distribution Installation kit is sent to the first object node in the multiple destination node, wherein, the first object node being capable of root According to the application installation script template and the installation configuration parameter, installation script, the application installation script are applied in generation Installation kit for installing the Distributed Application;
Sent to the first object node and perform order, it is described to perform order for indicating the first object node to transport The row application installation script.
In one embodiment, module is installed, is used for:
By safety shell protocol SSH, the corresponding application installation script template of the Distributed Application, the installation are matched somebody with somebody Put the first object node that the installation kit of parameter and the Distributed Application is sent in the multiple destination node.
In one embodiment, described device also includes:
Monitoring modular, for before the installation kit that the Distributed Application is installed on the multiple destination node, monitoring The hardware parameter information of first object node in the multiple node;
Determining module, for meeting default hardware parameter condition when the monitoring module monitors to hardware parameter information When, determine that the first object node is the destination node that can install the Distributed Application.
In one embodiment, the Distributed Application includes distributed data base management system (DDBMS).
It should be strongly noted that the Distributed Application erecting device that the embodiment of the present application 4 is provided, can perform embodiment 1 and embodiment 3 provide Distributed Application installation method.
In the embodiment of the present application, IP address, login of the first Distributed Application erecting device according to multiple destination nodes Parameter and the installation configuration parameter, install the installation kit of the Distributed Application, so on the multiple destination node Just the installation effectiveness of Distributed Application can be improved, the efficiency that the installation method of Distributed Application in the prior art is present just can be solved Relatively low problem.
Embodiment 5
For the less efficient problem that the installation method for solving Distributed Application in the prior art is present, the embodiment of the present application 5 provide the second Distributed Application erecting device, and the device is deployed in the destination node for installing Distributed Application, the device Concrete structure schematic diagram as shown in fig. 7, the device includes:
Receiver module 51, the installation kit for receiving the Distributed Application that the first Distributed Application erecting device sends Corresponding application installation script template, installation configuration parameter, the installation kit of the Distributed Application and execute instruction, the execution Instruct for indicating to install the Distributed Application on the destination node.
Generation module 52, for according to the application installation script template and the installation configuration parameter, generation application Installation script, the application installation script is used to perform the installation kit for installing the Distributed Application.
Operation module 53, for running the application installation script according to the execute instruction.
In one embodiment, the Distributed Application is distributed data base management system (DDBMS).
It should be noted that the Distributed Application erecting device provided in the embodiment of the present application 5, can perform embodiment 2 Or the installation method of the Distributed Application provided in 3.
In the embodiment of the present application, the second Distributed Application erecting device sends according to the first Distributed Application erecting device Distributed Application the corresponding application installation script template of installation kit, install configuration parameter, the installation of the Distributed Application Bag and execute instruction, generation is using installation script and runs, and the Distributed Application is arranged on first object node, this Sample just can improve the installation effectiveness of Distributed Application, just can solve the effect that the installation method of Distributed Application in the prior art is present The relatively low problem of rate.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program Product.Therefore, the present invention can be using the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware Apply the form of example.And, the present invention can be used and wherein include the computer of computer usable program code at one or more The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) is produced The form of product.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product Figure and/or block diagram are described.It should be understood that every first-class during flow chart and/or block diagram can be realized by computer program instructions The combination of flow and/or square frame in journey and/or square frame and flow chart and/or block diagram.These computer programs can be provided The processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that produced for reality by the instruction of computer or the computing device of other programmable data processing devices The device of the function of being specified in present one flow of flow chart or multiple one square frame of flow and/or block diagram or multiple square frames.
These computer program instructions may be alternatively stored in can guide computer or other programmable data processing devices with spy In determining the computer-readable memory that mode works so that instruction of the storage in the computer-readable memory is produced and include finger Make the manufacture of device, the command device realize in one flow of flow chart or multiple one square frame of flow and/or block diagram or The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that in meter Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented treatment, so as in computer or The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in individual square frame or multiple square frames.
In a typical configuration, computing device includes one or more processors (CPU), input/output interface, net Network interface and internal memory.
Internal memory potentially includes the volatile memory in computer-readable medium, random access memory (RAM) and/or The forms such as Nonvolatile memory, such as read-only storage (ROM) or flash memory (flash RAM).Internal memory is computer-readable medium Example.
Computer-readable medium includes that permanent and non-permanent, removable and non-removable media can be by any method Or technology realizes information Store.Information can be computer-readable instruction, data structure, the module of program or other data. The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), moves State random access memory (DRAM), other kinds of random access memory (RAM), read-only storage (ROM), electric erasable Programmable read only memory (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc read-only storage (CD-ROM), Digital versatile disc (DVD) or other optical storages, magnetic cassette tape, the storage of tape magnetic rigid disk or other magnetic storage apparatus Or any other non-transmission medium, can be used to store the information that can be accessed by a computing device.Defined according to herein, calculated Machine computer-readable recording medium does not include temporary computer readable media (transitory media), such as data-signal and carrier wave of modulation.
Also, it should be noted that term " including ", "comprising" or its any other variant be intended to nonexcludability Comprising so that process, method, commodity or equipment including a series of key elements not only include those key elements, but also wrapping Include other key elements being not expressly set out, or also include for this process, method, commodity or equipment is intrinsic wants Element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that wanted including described Also there is other identical element in process, method, commodity or the equipment of element.
It will be understood by those skilled in the art that embodiments herein can be provided as method, system or computer program product. Therefore, the application can be using the embodiment in terms of complete hardware embodiment, complete software embodiment or combination software and hardware Form.And, the application can be used to be can use in one or more computers for wherein including computer usable program code and deposited The shape of the computer program product implemented on storage media (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) Formula.
Embodiments herein is the foregoing is only, the application is not limited to.For those skilled in the art For, the application can have various modifications and variations.It is all any modifications made within spirit herein and principle, equivalent Replace, improve etc., within the scope of should be included in claims hereof.

Claims (14)

1. a kind of Distributed Application installation method, it is characterised in that methods described includes:
The corresponding internet protocol address of multiple destination nodes and login parameters of deployment are needed in acquisition Distributed Application;
The corresponding installation configuration parameter of the Distributed Application is obtained, the installation configuration parameter is included in the destination node Host node and the information from node;
IP address, login parameters and the installation configuration parameter according to the multiple destination node, in the multiple target The installation kit of the Distributed Application is installed on node.
2. the method for claim 1, it is characterised in that IP address, login parameters according to the multiple destination node And the installation configuration parameter, the installation kit of the Distributed Application is installed on the multiple destination node, including:
By the corresponding application installation script template of the Distributed Application, the installation configuration parameter and the Distributed Application Installation kit is sent to the first object node in the multiple destination node, wherein, the first object node can be according to institute State using installation script template and the installation configuration parameter, generation applies the installation script, the application installation script to be used for The installation kit of the Distributed Application is installed;
Sent to the first object node and perform order, it is described to perform order for indicating the first object node operation institute State and apply installation script.
3. method as claimed in claim 2, it is characterised in that by the corresponding application installation script mould of the Distributed Application The installation kit of plate, the installation configuration parameter and the Distributed Application is sent to the first object in the multiple destination node Node, including:
By safety shell protocol SSH, by the corresponding application installation script template of the Distributed Application, installation configuration ginseng The installation kit of the several and Distributed Application is sent to the first object node in the multiple destination node.
4. the method as any one of claims 1 to 3, it is characterised in that institute is installed on the multiple destination node Before stating the installation kit of Distributed Application, methods described also includes:
Monitor the hardware parameter information of first object node in the multiple destination node;
If the hardware parameter information meets default hardware parameter condition, it is determined that the first object node is to install The destination node of the Distributed Application.
5. the method as any one of Claims 1 to 4, it is characterised in that the Distributed Application includes distributed number According to base management system.
6. a kind of Distributed Application installation method, it is characterised in that methods described includes:
Receive the first Distributed Application erecting device transmission Distributed Application the corresponding application installation script template of installation kit, Configuration parameter, the installation kit of the Distributed Application and execute instruction are installed, the execute instruction is used to indicate to install described point Cloth application;
According to the application installation script template and the installation configuration parameter, installation script, the application peace are applied in generation Dress script is used to perform the installation kit for installing the Distributed Application;
The application installation script is run according to the execute instruction.
7. method as claimed in claim 6, it is characterised in that the Distributed Application is distributed data base management system (DDBMS).
8. a kind of first Distributed Application erecting device, it is characterised in that described device includes:
Acquisition module, needs the corresponding internet protocol address of multiple destination nodes of deployment in Distributed Application for obtaining And login parameters;
Acquisition module, is additionally operable to obtain the corresponding installation configuration parameter of the Distributed Application, and the installation configuration parameter includes Host node in the destination node and the information from node;
Module is installed, for the IP address according to the multiple destination node, login parameters and the installation configuration parameter, The installation kit of the Distributed Application is installed on the multiple destination node.
9. device as claimed in claim 8, it is characterised in that install module, be used for:
By the corresponding application installation script template of the Distributed Application, the installation configuration parameter and the Distributed Application Installation kit is sent to the first object node in the multiple destination node, wherein, the first object node can be according to institute State using installation script template and the installation configuration parameter, generation applies the installation script, the application installation script to be used for The installation kit of the Distributed Application is installed;
Sent to the first object node and perform order, it is described to perform order for indicating the first object node operation institute State and apply installation script.
10. device as claimed in claim 9, it is characterised in that install module, be used for:
By safety shell protocol SSH, by the corresponding application installation script template of the Distributed Application, installation configuration ginseng The installation kit of the several and Distributed Application is sent to the first object node in the multiple destination node.
11. device as any one of claim 8~10, it is characterised in that described device also includes:
Monitoring modular, for before the installation kit that the Distributed Application is installed on the multiple destination node, monitoring to be described The hardware parameter information of first object node in multiple nodes;
Determining module, for when the monitoring module monitors meet default hardware parameter condition to hardware parameter information, really The fixed first object node is the destination node that can install the Distributed Application.
12. device as any one of claim 8~11, it is characterised in that the Distributed Application includes distribution Data base management system.
13. a kind of second Distributed Application erecting devices, it is characterised in that the second Distributed Application erecting device is deployed in Destination node for installing Distributed Application, described device includes:
Receiver module, the installation kit for receiving the Distributed Application that the first Distributed Application erecting device sends is corresponding Using installation script template, configuration parameter, the installation kit of the Distributed Application and execute instruction are installed, the execute instruction is used The Distributed Application is installed on the destination node in instruction;
Generation module, for according to the application installation script template and the installation configuration parameter, installation foot to be applied in generation This, the application installation script is used to perform the installation kit for installing the Distributed Application;
Operation module, for running the application installation script according to the execute instruction.
14. devices as claimed in claim 13, it is characterised in that the Distributed Application is distributed database management system System.
CN201611234720.XA 2016-12-28 2016-12-28 Distributed application installation method and device Expired - Fee Related CN106886434B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611234720.XA CN106886434B (en) 2016-12-28 2016-12-28 Distributed application installation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611234720.XA CN106886434B (en) 2016-12-28 2016-12-28 Distributed application installation method and device

Publications (2)

Publication Number Publication Date
CN106886434A true CN106886434A (en) 2017-06-23
CN106886434B CN106886434B (en) 2020-10-23

Family

ID=59175825

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611234720.XA Expired - Fee Related CN106886434B (en) 2016-12-28 2016-12-28 Distributed application installation method and device

Country Status (1)

Country Link
CN (1) CN106886434B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107483602A (en) * 2017-08-28 2017-12-15 济南浪潮高新科技投资发展有限公司 A kind of method and device that communication software is disposed in Distributed Computer System
CN109597627A (en) * 2017-09-30 2019-04-09 北京国双科技有限公司 A kind of component mounting method, device, storage medium and processor
CN109614120A (en) * 2018-11-29 2019-04-12 郑州云海信息技术有限公司 A kind of installation method of Distributed Application, system and node device
CN110109684A (en) * 2019-04-04 2019-08-09 平安科技(深圳)有限公司 Block chain node administration agent services installation method, electronic device and storage medium
CN110297645A (en) * 2019-06-28 2019-10-01 联想(北京)有限公司 A kind of system installation method and electronic equipment
CN114531467A (en) * 2020-11-04 2022-05-24 中移(苏州)软件技术有限公司 Information processing method, equipment and system
WO2022156535A1 (en) * 2021-01-22 2022-07-28 华为技术有限公司 Distributed application processing method and apparatus
CN114816444A (en) * 2021-01-28 2022-07-29 网联清算有限公司 Method and device for deploying monitoring program, electronic equipment and storage medium
CN115004650A (en) * 2020-05-11 2022-09-02 深圳市欢太科技有限公司 Node configuration method, device, distributed system and computer readable medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101014034A (en) * 2006-12-31 2007-08-08 武汉蓝星科技股份有限公司 U disk server-based cluster solving method
CN102455915A (en) * 2010-10-18 2012-05-16 卓望数码技术(深圳)有限公司 Method for automatically configuring distributed system, and server
CN103473140A (en) * 2013-10-09 2013-12-25 浪潮(北京)电子信息产业有限公司 Cluster distribution method of life science applications, and software setup method and device applied of life science applications
CN104601622A (en) * 2013-10-31 2015-05-06 国际商业机器公司 Method and system for deploying cluster

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105099739B (en) * 2014-05-15 2018-08-17 中国移动通信集团公司 One kind being based on plug-in type software deployment method, apparatus and application server

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101014034A (en) * 2006-12-31 2007-08-08 武汉蓝星科技股份有限公司 U disk server-based cluster solving method
CN102455915A (en) * 2010-10-18 2012-05-16 卓望数码技术(深圳)有限公司 Method for automatically configuring distributed system, and server
CN103473140A (en) * 2013-10-09 2013-12-25 浪潮(北京)电子信息产业有限公司 Cluster distribution method of life science applications, and software setup method and device applied of life science applications
CN104601622A (en) * 2013-10-31 2015-05-06 国际商业机器公司 Method and system for deploying cluster

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107483602A (en) * 2017-08-28 2017-12-15 济南浪潮高新科技投资发展有限公司 A kind of method and device that communication software is disposed in Distributed Computer System
CN109597627A (en) * 2017-09-30 2019-04-09 北京国双科技有限公司 A kind of component mounting method, device, storage medium and processor
CN109614120A (en) * 2018-11-29 2019-04-12 郑州云海信息技术有限公司 A kind of installation method of Distributed Application, system and node device
CN110109684A (en) * 2019-04-04 2019-08-09 平安科技(深圳)有限公司 Block chain node administration agent services installation method, electronic device and storage medium
CN110109684B (en) * 2019-04-04 2023-06-09 平安科技(深圳)有限公司 Block chain link point management proxy service installation method, electronic device and storage medium
CN110297645A (en) * 2019-06-28 2019-10-01 联想(北京)有限公司 A kind of system installation method and electronic equipment
CN115004650A (en) * 2020-05-11 2022-09-02 深圳市欢太科技有限公司 Node configuration method, device, distributed system and computer readable medium
CN115004650B (en) * 2020-05-11 2024-01-16 深圳市欢太科技有限公司 Node configuration method, node configuration device, distributed system and computer readable medium
CN114531467A (en) * 2020-11-04 2022-05-24 中移(苏州)软件技术有限公司 Information processing method, equipment and system
US11928449B2 (en) 2020-11-04 2024-03-12 China Mobile (Suzhou) Software Technology Co., Ltd. Information processing method, device, apparatus and system, medium, andprogram
WO2022156535A1 (en) * 2021-01-22 2022-07-28 华为技术有限公司 Distributed application processing method and apparatus
CN114816444A (en) * 2021-01-28 2022-07-29 网联清算有限公司 Method and device for deploying monitoring program, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN106886434B (en) 2020-10-23

Similar Documents

Publication Publication Date Title
CN106886434A (en) A kind of Distributed Application installation method and device
CN105005521B (en) Method of testing and device
CN104765678B (en) The method and device tested the application on mobile terminal device
AU2011349515B2 (en) Techniques for network replication
CN106201661B (en) Method and apparatus for elastic telescopic cluster virtual machine
CN106982266A (en) A kind of method and apparatus of automatically dispose cluster
CN110795148A (en) Method and device for generating layout file and electronic equipment
CN107205057A (en) A kind of game resource update method, device and client
CN106201481A (en) Assembly management method and apparatus in application development system
TW201337626A (en) Non-intrusive method and apparatus for automatically dispatching security rules in cloud environment
CN107637026A (en) Order is performed in virtual machine instance in a distributed computing environment
CN106713495B (en) The method for uploading and access method in IP geographical position, device and access system
CN111124617B (en) Method and device for creating block chain system, storage medium and electronic device
CN109756566B (en) Block chain based data storage method, related equipment and storage medium
US11902103B2 (en) Method and apparatus for creating a custom service
US20150019722A1 (en) Determining, managing and deploying an application topology in a virtual environment
CN109254922A (en) A kind of automated testing method and device of server B MC Redfish function
CN107634989A (en) A kind of cloud wallet construction method and server
US20060212568A1 (en) System and method for managing a computer network
US20150006736A1 (en) Method and System for Deploying and Modifying a Service-Oriented Architecture Deployment Environment
CN116127420A (en) Watermark adding method and device, storage medium and electronic device
CN113794581B (en) Distributed CP unified deployment method, network equipment and storage medium
CN106713407A (en) Pre-downloading method and pre-downloading device
US20140181176A1 (en) Graphical user interface for hadoop system administration
CN115567596B (en) Cloud service resource deployment method, device, equipment and storage medium

Legal Events

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

Effective date of registration: 20200922

Address after: 030006 NO.311, 3rd floor, hydraulic building, No.368, Qinxian North Street, Xiaodian District, Taiyuan City, Shanxi Province

Applicant after: Shanxi Great Wisdom Water Conservancy Technology Co.,Ltd.

Address before: 030001 Shanxi city of Taiyuan province high tech Zone Changzhi Road, Lane 9, e-commerce industrial park two sixteen floor

Applicant before: SHANXI KERUISEN INFORMATION TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant
CB03 Change of inventor or designer information
CB03 Change of inventor or designer information

Inventor after: Yao Xianda

Inventor after: Wang Lei

Inventor after: Wang Gang

Inventor after: Wang Qingyuan

Inventor before: Yao Xianda

Inventor before: Wang Lei

Inventor before: Wang Gang

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20201023