CN101699403B - Method for graphically installing distributed system - Google Patents

Method for graphically installing distributed system Download PDF

Info

Publication number
CN101699403B
CN101699403B CN2009102366420A CN200910236642A CN101699403B CN 101699403 B CN101699403 B CN 101699403B CN 2009102366420 A CN2009102366420 A CN 2009102366420A CN 200910236642 A CN200910236642 A CN 200910236642A CN 101699403 B CN101699403 B CN 101699403B
Authority
CN
China
Prior art keywords
installation
equipment
file
devices
distributed system
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN2009102366420A
Other languages
Chinese (zh)
Other versions
CN101699403A (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.)
Beijing Ruian Technology Co Ltd
Original Assignee
Beijing Ruian 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 Beijing Ruian Technology Co Ltd filed Critical Beijing Ruian Technology Co Ltd
Priority to CN2009102366420A priority Critical patent/CN101699403B/en
Publication of CN101699403A publication Critical patent/CN101699403A/en
Application granted granted Critical
Publication of CN101699403B publication Critical patent/CN101699403B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a method for graphically installing a distributed system, which comprises the following steps: 1) drawing the types of devices required by the installation of the distributed system, the data flow direction among the types of the devices, and the IP addresses of the devices on a WIMP interface in the form of a topological graph by a user; 2) generating configuration files and installation script files required by the installation of the devices according to the configuration of the devices on the topological graph and the connection relations among the devices; 3) uploading the configuration files and the installation script files generated in step 2) and the local installation source file to a remote PC or a server to be installed; and 4) remotely operating to install the script files, thereby realizing the remote installation. The method of the invention can flexibly design the installation file of the distributed system, automatically generate the configuration files, realize the rapid installation and be beneficial to the determination on the installation scheme by the user, thereby solving the technical problem in the prior art that the user can only log on the devices through an SSH tool, manually modify the configuration files and then execute the installation script.

Description

A kind of method of graphically installing distributed system
Technical field
The invention belongs to the distributed system installing area, be specifically related to a kind of method of utilizing the graphic interface installing distributed system.
Background technology
In today of information industry high speed development, along with the scale increase of application program, used technology becomes increasingly complex, and functional module is more and more, thereby also more and more stronger to distributed demand.Distributed processing system(DPS) couples together many computing machines different location or that have difference in functionality or that have different pieces of information with communication network, under the unified management control of control system, accomplish the computer system of information handling task in phase.The typical structure that distributed network is used is that a plurality of PC or server link to each other through LAN.Under this environment, the applying unit of numerous dispersions is collaborative to provide various calculation tasks for the terminal user.
Distributed processing system(DPS) is a very complicated system, and distributed processing system(DPS) is made up of data insertion equipment (foreground), data processing platform (DPP) (backstage), control desk and LAN; Can the parallel processing mass data; The mass data of handling is deposited in the foreground with document form.
If when adopting the SSH instrument to install in the prior art, should carry out following steps:
1, at first prepares to install source file and installation script file in this locality;
2, utilizing local installation source file of SSH instrument handle and installation script file to upload to needs on the installed device;
3, utilize long-range being connected to of SSH instrument to need on the installed device;
4, carry out installation script and carry out the software installation;
5, after software is installed, the relevant configuration file (* .xml, * .ini) of configuration software itself at first, configuration operation system configuration file of being correlated with secondly, as: the rc.local file;
6, utilize SSH instrument restart facility then.
Can find out that by above installation steps the user needs the many CONFIG.SYSs of manual modification when installing, and the operating system configuration.Meanwhile also brought some defectives: 1, configuration is loaded down with trivial details, and the user need land each PC or server is made amendment; 2, revise easy error.
Summary of the invention
In order to solve above technical matters; The present invention proposes a kind of to be the WIMP (Windows at center alternately; Icons; Menus, Pointer) graphic interface is installed the method that figure divides the Bu Shi system, and this method is through the SSH agreement and multithreading is parallel and remote equipment is installed alternately.
For realizing above-mentioned purpose, technical scheme of the present invention is following:
A kind of method of graphically installing distributed system, its step comprises:
1) user is the type of installing distributed system equipment needed thereby, data flow and IP address of equipment between the equipment, is plotted on the WIMP interface with the form of topological diagram;
2) according to the annexation of configuration of devices on the topological diagram and equipment room, generate configuration file and installation script file that erecting equipment needs;
3) with step 2) configuration file, installation script file and the local source file of installing that generate upload on the long-range PC to be installed or server through the SSH agreement;
4) long-range operation installation script file is realized long-range installation.
Be plotted in the said step 1) between equipment and the physical equipment on the user interface and communicate with the SSH agreement.
The type of said each equipment of step 1) is provided with attribute, with the software and modification configuration file of attribute indication installation needs.
Said step 4) installation process multi-threaded parallel carries out.
Said step 3) adopts the mode of point-to-point upload file.
Said step 3) is installed through the long-range execution installation script of SSH agreement.
Said device type is WEB server, interface message processor (IMP), foreground, database and transcript server.
The present invention has following advantage and good effect:
1, the present invention adopts mutual be WIMP interface, center, the deployment that greatly improves the user installation system, the efficient of debugging; Reduce the people and be the possibility of makeing mistakes (in artificial modification; Need a large amount of modifications to need the relevant configuration file of install software, as: * .xml, * .ini; And the relevant configuration file of operating system, as: rc.local); And the user can clearly know the details of installation in installation process.
2, the characteristic of multi-threaded parallel installation of the present invention has been avoided the free time waste that user's serial is installed, for the user has practiced thrift the great amount of time cost.
3, adopt installation method of the present invention, the user can install whole bill assessment fast and effectively.
4, installation script can be by user oneself customization, and it is unrestricted that therefore content be installed, and the user can install any file of wanting to install.
The user adopts method of the present invention; Can the flexible design distributed system be installed by file, generate configuration file automatically, realize Fast Installation; And help the user and confirm mount scheme; The user can only pass through SSH instrument beaching accommodation in the prior art thereby solved, and the manual modification configuration file is carried out the technical matters of installation script again.
Description of drawings
Fig. 1 is the data interaction figure of the applied distributed installation system of the present invention;
Fig. 2 accomplishes the main flow chart of installation for the present invention;
Fig. 3 is a WIMP surface chart of the present invention.
Embodiment
In order to make those skilled in the art person better understand the present invention, the present invention is done further detailed description below in conjunction with accompanying drawing and specific embodiment.
As shown in Figure 2, be the process flow diagram of distributed system installation,
Step 1) user customizes topological diagram
The user needs the type of equipment, data flow and IP address of equipment between the equipment with installing distributed system, is plotted on the topological diagram at WIMP interface (as shown in Figure 3), adopts the SSH agreement between local PC or the server;
Concrete process is:
At first on the WIMP interface, utilize and add some equipment (with icon representation and differentiation) that the functions of the equipments interpolation has the IP address; These equipment on topological diagram; Representing and physically existing and be to need installed device; Carry out with the SSH agreement between equipment on the topological diagram and the physical equipment related, also with regard on say between equipment and the physical equipment on the topological diagram and use the SSH agreement to communicate, realize through programming.
Next is provided with the device attribute on the topological diagram, and attribute can be that user oneself is provided with here, as: WEB server, database or the like.The effect that the attribute of equipment is set is, can know those softwares of needs installation and revise those configuration files according to these attributes.Such as: if the attribute of an equipment on the topological diagram is the WEB server, just need to install TOMCAT software on the physical equipment of so corresponding this equipment, and the startup item of the TOMCAT of configuration rc.local the inside.
Moreover the data relationship between the equipment (line) on the drawing topological graph; What the relation was here represented is the data flow between each equipment; Such as, the equipment of WEB server property and the equipment of Database Properties are arranged, if the WEB data in server need be deposited into database on the topological diagram; So just need draw a connecting line to database facility (realizing), so just set up the relation between WEB server apparatus and the database facility from the WEB server apparatus through programming.
Step 2) according to the annexation of configuration of devices on the topological diagram and equipment room, generates configuration file and installation script file that erecting equipment needs;
Explain (after topological diagram customization finishes; The equipment of various attributes has been arranged on the topological diagram this time; And the annexation between the equipment; User's trigger event (program provides function), program generates configuration file and installation script file according to device attribute and annexation), such as topological diagram IP being arranged is on the equipment of the data of the WEB server property equipment of the 192.168.0.1 Database Properties that is input to 192.168.0.2; So after the Event triggered that generates configuration file; So just generate the needed configuration file of WEB server property equipment in this locality by program itself, content, < db-resource db-id=" 168 " enable=" true " jdbc-connect=" false " are added in file ddbconfig.xml by name and then ddbconfig.xml file the inside
description=″168″>
<resource-name>java:comp/env/jdbc/orcl168</resource-name>
</db-resource>
And then the needed configuration file vista.xml of generation TOMCAT file adds content inside
<Resource?name=″jdbc/>orcl168″auth=″Container″type=″javax.sql.DataSource″
driverClassName=″oracle.jdbc.driver.OracleDriver″
url=″jdbc:oracle:thin:192.168.0.2:1521:orcl″
username=″runvi?sta″password=″runco″
maxActive=″32″maxIdle=″8″maxWait=″-1″/>
Configuration file just generates and finishes like this, leaves one in fixedly in the catalogue.
Step 3) is with step 2) (script file of installation itself has a template for the configuration file, the installation script file that generate; The same with configuration file; Also be to replace the configuration item in the script according to the attribute on the topological diagram, example is the same with generating configuration file) and the local source file of installing upload to long-range being mounted on PC or the server through the SSH agreement;
File is installed in the long-range operation of step 4), realizes long-range installation.
The device type of present embodiment installing distributed system is: WEB server, interface message processor (IMP), foreground, database and transcript server (all being the server that can use the SSH agreement to be connected); As shown in Figure 1; Complicated system needs more than these five kinds of installed device in the reality, here only with example.The user is according to the graphical configuration of WIMP interface on topological diagram; Data flow and IP address of equipment between the said equipment type, the equipment are set; As shown in Figure 3, have five kinds of device types among the figure, the data flow between each equipment is: the data on foreground are connected on the database; The data on foreground are respectively installed on the interface message processor (IMP); The data of interface message processor (IMP) are connected on the WEB server; The front two of IP address of equipment is 192.168 in the present embodiment.
Such as in the environment of reality; Need to install two equipment; One is web server apparatus and database server equipment, and the web data in server is deposited in the data; So just need again to add on the topological diagram two equipment; Specify the attribute of two equipment to be respectively the equipment of WEB server property and the equipment of Database Properties then, draw (this province of program provides function) connecting line from the WEB server apparatus then and so just set up the relation between WEB server apparatus and the database facility to database facility.
The user is according to the graphical setting on the topological diagram; Generate configuration file and installation script file, the configuration file, installation script file and the former installation file that generate through the SHH agreement, are uploaded on each PC or server to be installed; Carry out installation script then, install.
Installation between above-mentioned each device type and each equipment is that multi-threaded parallel carries out, but so the present invention's parallel processing mass data, time cost has been practiced thrift in the free time waste of having avoided user's serial to install.
The treatment scheme of graphical distributed installation of the present invention is as shown in Figure 2, all adopts the SSH protocol communication between the physical equipment of installing with the needs of icon representative on distributed processing system(DPS) and the topological diagram, guarantees the stable and safety of communication, and is specific as follows:
1, generates configuration file and installation script file according to the topological diagram on the user interface;
2, judge whether there is the file that to upload on PC to be installed or the server, do not upload, otherwise just do not upload if do not exist then;
Judge whether that the process of being uploaded by the needs of file is following:
2.1 on the physical equipment that at first judgement needs to install, whether have the catalogue that needs installed software under the catalogue;
If 2.2 just do not judge not installation;
If 2.3 there is the size of judging catalogue so whether consistent with the installation source file size of this locality;
If 2.4 inconsistent just think install;
3, present embodiment adopts the mode of point-to-point upload file, has guaranteed the efficient utilization of the network bandwidth;
4, upload finish after, through the long-range execution installation script of SSH agreement, install.In the process of installing, adopt parallel process of installing, guaranteed the high efficiency of installing.
Although disclose specific embodiment of the present invention and accompanying drawing for the purpose of illustration; Its purpose is to help to understand content of the present invention and implement according to this; But it will be appreciated by those skilled in the art that: in the spirit and scope that do not break away from the present invention and appended claim, various replacements, variation and modification all are possible.The present invention should not be limited to this instructions most preferred embodiment and the disclosed content of accompanying drawing, and the scope that the present invention requires to protect is as the criterion with the scope that claims define.

Claims (7)

1. the method for a graphically installing distributed system, its step comprises:
1) user is the type of installing distributed system equipment needed thereby, data flow and IP address of equipment between the equipment, is plotted on the WIMP interface with the form of topological diagram;
2) according to the annexation of configuration of devices on the topological diagram and equipment room, generate configuration file and installation script file that erecting equipment needs;
3) with step 2) configuration file, installation script file and the local source file of installing that generate upload on the long-range PC to be installed or server;
4) long-range operation installation script file is realized long-range installation.
2. the method for claim 1 is characterized in that, is plotted in the said step 1) between equipment and the physical equipment on the WIMP interface to communicate with the SSH agreement.
3. the method for claim 1 is characterized in that, each equipment of said step 1) is provided with attribute, with the software and modification configuration file of attribute indication installation needs.
4. the method for claim 1 is characterized in that, said step 3) adopts the mode of point-to-point upload file.
5. the method for claim 1 is characterized in that, said step 3) is installed through the long-range execution installation script of SSH agreement.
6. the method for claim 1 is characterized in that, said step 4) installation process multi-threaded parallel carries out.
7. the method for claim 1 is characterized in that, the server of said device type for using the SSH agreement to connect comprises WEB server, interface message processor (IMP), foreground, database and transcript server.
CN2009102366420A 2009-10-27 2009-10-27 Method for graphically installing distributed system Active CN101699403B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009102366420A CN101699403B (en) 2009-10-27 2009-10-27 Method for graphically installing distributed system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009102366420A CN101699403B (en) 2009-10-27 2009-10-27 Method for graphically installing distributed system

Publications (2)

Publication Number Publication Date
CN101699403A CN101699403A (en) 2010-04-28
CN101699403B true CN101699403B (en) 2012-07-04

Family

ID=42147863

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009102366420A Active CN101699403B (en) 2009-10-27 2009-10-27 Method for graphically installing distributed system

Country Status (1)

Country Link
CN (1) CN101699403B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101950304A (en) * 2010-09-30 2011-01-19 辛乐夫 Integration and running and maintenance method and device for information system
CN102455915A (en) * 2010-10-18 2012-05-16 卓望数码技术(深圳)有限公司 Method for automatically configuring distributed system, and server
CN101977274A (en) * 2010-10-25 2011-02-16 中兴通讯股份有限公司 System and method for disposing service platforms
CN102567051B (en) * 2011-12-14 2015-03-25 中标软件有限公司 Method and device for preparing graphical installation system of Loongson platform
CN103186376B (en) * 2011-12-30 2018-06-05 百度在线网络技术(北京)有限公司 A kind of method, apparatus and equipment for being used to establish or update software development environment
CN103207798A (en) * 2013-04-08 2013-07-17 浪潮集团山东通用软件有限公司 Method of automatic system installation in distributed environment
AT515715B1 (en) * 2014-04-30 2019-10-15 Georg Hagleitner Hans System with at least one base station and with the base station via radio connectable devices
CN105068868A (en) * 2015-08-27 2015-11-18 浪潮软件股份有限公司 Linux based quick message middleware deployment method
CN112367180A (en) * 2020-09-27 2021-02-12 苏州浪潮智能科技有限公司 Networking method and device for multi-subsatellite node type and electronic equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1703016A (en) * 2003-03-06 2005-11-30 微软公司 Virtual network topology generation
CN1804798A (en) * 2005-01-10 2006-07-19 英业达股份有限公司 Program installation system and method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1703016A (en) * 2003-03-06 2005-11-30 微软公司 Virtual network topology generation
CN1804798A (en) * 2005-01-10 2006-07-19 英业达股份有限公司 Program installation system and method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
JP特开2006-302312A 2006.11.02

Also Published As

Publication number Publication date
CN101699403A (en) 2010-04-28

Similar Documents

Publication Publication Date Title
CN101699403B (en) Method for graphically installing distributed system
CN102196003B (en) A kind of long-range control method of supervisory control system and device
CN107992308B (en) Plug-in management method for android terminal application program
US20150213379A1 (en) System and approach for setting forth a physical view and a network view of a job
CN104657174A (en) Method and device for dynamically realizing application function
CN104335170A (en) Cloud application deployment
WO2010113160A1 (en) A method and system for emulating desktop software applications in a mobile communication network
EP2863281B1 (en) System and method to configure a field device
CN113645071B (en) Cluster deployment method, system, medium and electronic terminal
CN107395747B (en) High-expansion method based on STF platform
US11327724B2 (en) System and method that support application software development
CN105897899A (en) Standard operation procedure electronization method based on automatic platform
EP3230865B1 (en) Recovery execution system using programatic generation of actionable workflows
CN105468430A (en) Virtualization technology-based exploration application cloud desktop construction method
CN103281331A (en) Method for enabling windows client to login remote server desktop
CN110569473A (en) Method for remotely operating linux server based on SSH protocol
CN102567050B (en) The method and apparatus of B/S system remote deploying projects
CN114185734A (en) Cluster monitoring method and device and electronic equipment
US10073689B2 (en) Managing application lifecycles within a federation of distributed software applications
CN108595169B (en) Visual programming method, cloud server and storage medium
CN110413285A (en) Method for deploying cloud service and method for developing cloud service
CN114116487B (en) Pressure testing method and device, electronic equipment and storage medium
JP6758434B2 (en) Management server, management method, user terminal, setting method and setting program
CN113885982A (en) Remote control method and device combining AI and RPA, electronic equipment and medium
CN101729495A (en) Network servo system and method of remotely installing file thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CB03 Change of inventor or designer information

Inventor after: Lv Jie

Inventor after: Liu Tao

Inventor before: Lv Jie

CB03 Change of inventor or designer information