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.