CN106161107B - Multimachine intelligent Service deployment system and method - Google Patents

Multimachine intelligent Service deployment system and method Download PDF

Info

Publication number
CN106161107B
CN106161107B CN201610736889.9A CN201610736889A CN106161107B CN 106161107 B CN106161107 B CN 106161107B CN 201610736889 A CN201610736889 A CN 201610736889A CN 106161107 B CN106161107 B CN 106161107B
Authority
CN
China
Prior art keywords
installation
list
server
host
service
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
CN201610736889.9A
Other languages
Chinese (zh)
Other versions
CN106161107A (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.)
Shandong luruan Digital Technology Co.,Ltd. smart energy branch
Original Assignee
Shandong Luneng Intelligence 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 Shandong Luneng Intelligence Technology Co Ltd filed Critical Shandong Luneng Intelligence Technology Co Ltd
Priority to CN201610736889.9A priority Critical patent/CN106161107B/en
Publication of CN106161107A publication Critical patent/CN106161107A/en
Application granted granted Critical
Publication of CN106161107B publication Critical patent/CN106161107B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • 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
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • 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

Landscapes

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

Abstract

The invention discloses multimachine intelligent Service deployment system and method, deployment in need machine on installation configuration service;IP list corresponding with standby host is configured on host;Host installs server-side, executes installation script;According to IP list, server-side automatically logs into and executes installation procedure on the machine in list;Judge whether there is the machine for being not carried out installation process in IP list, if so, circulation executes installation steps, if nothing, terminates.Host of the present invention and all standby hosts need to be connected into the same network, and guarantee can be with normal communication;Operation is primary to install all programs on all target machines, greatly simplifies installation procedure, and under the guarantee that effective prompt information and input format limit, reducing error may.

Description

Multimachine intelligent Service deployment system and method
Technical field
The present invention relates to the multimachine intelligent Service deployment tools based on linux.
Background technique
" a kind of software automatic deployment, device and terminal " is disclosed in existing patent, in order to solve more machines Need to install the efficiency that extensive work that is soft and being configured may cause.
Linux software single machine installation script exists in the prior art, is: multiple servers installation is soft Part needs each individually downloading program, configuration, and starting services, and complex steps are also easy error.
Summary of the invention
To solve the shortcomings of the prior art, the invention discloses multimachine intelligent Service deployment system and methods, one Installation procedure is executed on platform machine, specifying needs server ip to be mounted, can be automatically in all services after user name password Deployment software on device, and required configuration information update configuration file, last startup program are obtained automatically.
To achieve the above object, concrete scheme of the invention is as follows:
Multimachine intelligent Service dispositions method, comprising the following steps:
Deployment in need machine on installation configuration service;
IP list corresponding with standby host is configured on host;
Host installs server-side, executes installation script;
According to IP list, server-side automatically logs into and executes installation procedure on the machine in list;
Judge whether there is the machine for being not carried out installation process in IP list, if so, circulation executes installation steps, if Nothing terminates.
Further, host installs server-side, and when executing installation script, server-side automatically generates and matches according to being pre-configured with File is set, the configuration file of generation, starting service are read.
Further, according to IP list, when server-side automatically logs into execution installation procedure on the machine in list, according to IP and port information in client, automatically generate configuration file, read the configuration file of generation, starting service.
Further, deployment in need machine on installation configuration rsh, FTP service, this step be steps necessary, If cannot correctly install, execution is interrupted.
Multimachine intelligent Service deployment system, comprising:
Configuration service installation module, for institute deployment in need machine on installation configuration service;
IP List Generating Module, for configuring IP list corresponding with standby host on host;
Server-side installs module, for installing server-side in host, executes installation script;
Installation procedure execution module, for according to IP list, server-side to automatically log into and executes peace on the machine in list Fill process;
Judgment module, for judging whether there is the machine for being not carried out installation process in IP list, if so, circulation executes peace Step is filled, if nothing, is terminated.
Further, server-side installs module, and host installs server-side, and when executing installation script, server-side is according in advance Configuration, automatically generates configuration file, reads the configuration file of generation, starting service.
Further, installation procedure execution module, according to IP list, server-side is automatically logged on the machine in list When executing installation procedure, according to the IP and port information in client, configuration file is automatically generated, reads the configuration text of generation Part, starting service.Starting step, which may include, closes the program being installed and activated, but does not keep a record, and closes by force It is restarted after closing.
Further, configuration service installation module, institute deployment in need machine on installation configure rsh, FTP service, This step interrupts execution if cannot correctly install for steps necessary.
Further, host is communicated by interchanger and multiple standby hosts.
A kind of terminal comprising above-mentioned multimachine intelligent Service deployment system.
Beneficial effects of the present invention:
Host of the present invention and all standby hosts need to be connected into the same network, and guarantee can be with normal communication;Operation is primary i.e. All programs are installed on all target machines, greatly simplify installation procedure, and in effective prompt information and input Under the guarantee of format limitation, reducing error may.
This method is to be monitored in server-side to client, initiates deployment process by server-side, is different from client Upper initiation deployment request;This method to deployed mistake in client, can redeploy it is primary, to guarantee the journey disposed Sequence and configuration are newest, in addition, the controllability during deployment is more preferable.
Detailed description of the invention
Fig. 1 flow chart of the method for the present invention;
Hardware architecture diagram Fig. 2 of the invention.
Specific embodiment:
The present invention is described in detail with reference to the accompanying drawing:
Multimachine intelligent Service dispositions method, comprising the following steps:
Deployment in need machine on installation configuration service;
IP list corresponding with standby host is configured on host;
Host installs server-side, executes installation script;
According to IP list, server-side automatically logs into and executes installation procedure on the machine in list;
Judge whether there is the machine for being not carried out installation process in IP list, if so, circulation executes installation steps, if Nothing terminates.
Host installs server-side, and when executing installation script, server-side automatically generates configuration file according to being pre-configured with, and reads Take the configuration file of generation, starting service.
According to IP list, when server-side automatically logs into execution installation procedure on the machine in list, according in client IP and port information, automatically generate configuration file, read the configuration file of generation, starting service.
Deployment in need machine on installation configuration rsh, FTP service, this step be steps necessary, if cannot be just Really installation, then interrupt execution.
Multimachine intelligent Service deployment system, comprising:
Configuration service installation module, for institute deployment in need machine on installation configuration service;
IP List Generating Module, for configuring IP list corresponding with standby host on host;
Server-side installs module, for installing server-side in host, executes installation script;
Installation procedure execution module, for according to IP list, server-side to automatically log into and executes peace on the machine in list Fill process;
Judgment module, for judging whether there is the machine for being not carried out installation process in IP list, if so, circulation executes peace Step is filled, if nothing, is terminated.
Server-side installs module, and host installs server-side, and when executing installation script, server-side is according to being pre-configured with, automatically Configuration file is generated, the configuration file of generation, starting service are read.
Installation procedure execution module, according to IP list, server-side, which automatically logs into, executes installation stream on the machine in list Cheng Shi automatically generates configuration file according to the IP and port information in client, reads the configuration file of generation, starting service. Starting step, which may include, closes the program being installed and activated, but does not keep a record, and opens again after closing by force It is dynamic.
Configuration service installation module, the installation configuration rsh on the machine of institute's deployment in need, FTP service, this step is must Step is wanted, if cannot correctly install, interrupts execution.
Host is communicated by interchanger and multiple standby hosts.
A kind of terminal comprising above-mentioned multimachine intelligent Service deployment system.
More detailed examples of implementation, as shown in Figure 1, multimachine intelligent Service dispositions method:
1 deployment in need machine on installation configuration rsh, FTP (sftp) service, this step be steps necessary, such as Fruit cannot correctly install, then interrupt execution.
2 have configured the IP list of other machines on host;
3 hosts install server-side, execute installation script;
3.1 server-sides automatically generate configuration file according to being pre-configured with;
3.2 read 3.1 configuration files generated, starting service;
4 automatically log into according to the IP list of step 2, server-side and execute installation procedure on the machine in list;
4.1 automatically generate configuration file according to the ip sat on the client, the information such as port;
4.2 read 4.1 configuration files generated, starting service;
5 judge whether there is the machine for being not carried out installation process in step 2 list, if so, circulation executes step 4, if Nothing terminates;
6 installations terminate.
As shown in Fig. 2, system composition is exactly the journey that needs to run on the client by configuration file, installer script Sequence composition;Installation procedure reads configuration file, above the program copy to client for needing to run on the client, and opens Move these programs.
Server-side: server-side herein refers to the Duan Chengxu of operation on the server, can be also simply referred to as servicing, such as Webservice service.
Interchanger: the network equipment that multiple servers are linked together.
Host, standby host: host and standby host are divisions in logic, physically (software of hardware, operating system and installation) Host and standby host are not different.Choose one from Servers-all as host, other execute peace as standby host on host Fill program.
Above-mentioned, although the foregoing specific embodiments of the present invention is described with reference to the accompanying drawings, not protects model to the present invention The limitation enclosed, those skilled in the art should understand that, based on the technical solutions of the present invention, those skilled in the art are not Need to make the creative labor the various modifications or changes that can be made still within protection scope of the present invention.

Claims (9)

1. multimachine intelligent Service dispositions method, characterized in that the following steps are included:
Deployment in need machine on installation configuration service;
IP list corresponding with standby host is configured on host;
Host installs server-side, executes installation script;
According to IP list, server-side automatically logs into and executes installation procedure on the machine in list;According in client IP and Port information automatically generates configuration file, reads the configuration file of generation, starting service;
Judge whether there is the machine for being not carried out installation process in IP list, if so, circulation executes installation steps, if nothing, knot Beam.
2. multimachine intelligent Service dispositions method as described in claim 1, characterized in that host installs server-side, executes installation When script, server-side automatically generates configuration file according to being pre-configured with, and reads the configuration file of generation, starting service.
3. multimachine intelligent Service dispositions method as described in claim 1, characterized in that deployment in need machine on pacify Rsh, FTP service are set in assembly, this step interrupts execution if cannot correctly install for steps necessary.
4. multimachine intelligent Service deployment system, characterized in that include:
Configuration service installation module, for institute deployment in need machine on installation configuration service;
IP List Generating Module, for configuring IP list corresponding with standby host on host;
Server-side installs module, for installing server-side in host, executes installation script;
Installation procedure execution module, for according to IP list, server-side to automatically log into execution installation stream on the machine in list Journey;
Judgment module, for judging whether there is the machine for being not carried out installation process in IP list, if so, circulation executes installation step Suddenly, if nothing, terminate.
5. multimachine intelligent Service deployment system as claimed in claim 4, characterized in that server-side installs module, host installation Server-side, when executing installation script, server-side automatically generates configuration file according to being pre-configured with, and reads the configuration file of generation, Starting service.
6. multimachine intelligent Service deployment system as claimed in claim 5, characterized in that installation procedure execution module, according to IP List, server-side automatically logs into when executing installation procedure on the machine in list, according to the IP and port information in client, Configuration file is automatically generated, the configuration file of generation, starting service are read.
7. multimachine intelligent Service deployment system as claimed in claim 6, characterized in that configuration service installation module, all Installation configuration rsh on the machine for needing to dispose, FTP service, this step are that steps necessary is interrupted if cannot correctly install It executes.
8. multimachine intelligent Service deployment system as claimed in claim 7, characterized in that host passes through interchanger and multiple standby hosts Communication.
9. a kind of intelligent terminal, characterized in that include multimachine intelligent Service deployment system described in claim 4-8 any one Terminal.
CN201610736889.9A 2016-08-26 2016-08-26 Multimachine intelligent Service deployment system and method Active CN106161107B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610736889.9A CN106161107B (en) 2016-08-26 2016-08-26 Multimachine intelligent Service deployment system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610736889.9A CN106161107B (en) 2016-08-26 2016-08-26 Multimachine intelligent Service deployment system and method

Publications (2)

Publication Number Publication Date
CN106161107A CN106161107A (en) 2016-11-23
CN106161107B true CN106161107B (en) 2019-05-10

Family

ID=57343154

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610736889.9A Active CN106161107B (en) 2016-08-26 2016-08-26 Multimachine intelligent Service deployment system and method

Country Status (1)

Country Link
CN (1) CN106161107B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109286692A (en) * 2018-09-30 2019-01-29 山东浪潮云投信息科技有限公司 A kind of method of configuration server IPMI static ip address
CN114816444A (en) * 2021-01-28 2022-07-29 网联清算有限公司 Method and device for deploying monitoring program, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103019732A (en) * 2012-12-25 2013-04-03 深圳市天维尔通讯技术有限公司 Method and system for installation and deployment of integrated software based on province, city and county
CN104375859A (en) * 2014-10-29 2015-02-25 浪潮电子信息产业股份有限公司 Method for refreshing nodes BMC in batch for Rack complete machine cabinet
CN104572269A (en) * 2015-01-19 2015-04-29 浪潮电子信息产业股份有限公司 Quick cluster deployment method based on Linux operation system
CN105159704A (en) * 2015-08-05 2015-12-16 浪潮(北京)电子信息产业有限公司 Method and apparatus for batch deployment of operation systems

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103019732A (en) * 2012-12-25 2013-04-03 深圳市天维尔通讯技术有限公司 Method and system for installation and deployment of integrated software based on province, city and county
CN104375859A (en) * 2014-10-29 2015-02-25 浪潮电子信息产业股份有限公司 Method for refreshing nodes BMC in batch for Rack complete machine cabinet
CN104572269A (en) * 2015-01-19 2015-04-29 浪潮电子信息产业股份有限公司 Quick cluster deployment method based on Linux operation system
CN105159704A (en) * 2015-08-05 2015-12-16 浪潮(北京)电子信息产业有限公司 Method and apparatus for batch deployment of operation systems

Also Published As

Publication number Publication date
CN106161107A (en) 2016-11-23

Similar Documents

Publication Publication Date Title
CN110572436B (en) Multi-place cross-cluster server deployment method and system
CN105955782B (en) Application program operation control method and device
EP2697714B1 (en) Deployment system for multi-node applications
CN105306225B (en) A kind of physical machine remote power-off method based on Openstack
CN103970650B (en) Distributed testing method and device
CN108632375B (en) Online upgrading method for distributed deployment service software program
US20150347173A1 (en) Method, system and device for managing software on virtual machine in cloud environment
CN106325953A (en) Weblogic cluster one-key automatic deployment method
CN106161107B (en) Multimachine intelligent Service deployment system and method
CN102707971A (en) Method for automatically acquiring and installing software in virtual machine
CN110795108A (en) Method for deploying Weblogic application based on Ansible layout
CN104778105A (en) Method for rapidly testing compatibility of server and RHEL (red hat enterprise software language) based on virtual machine
CN105512026A (en) Automatic batch testing method
CN103490929B (en) Manufacturing and implement method for multi-adaptive firmware of server
CN106406933B (en) One-key automatic deployment method for Tomcat cluster
CN105404569A (en) Method for testing remote Power Reset of server
CN108234172B (en) Physical resource automatic deployment system for cloud computing
CN107729117B (en) Virtual machine generation method and system
CN110795105A (en) Automatic compiling and deploying method and system for power distribution automation master station system
CN106126243A (en) Method for installing operating system by using serial port
CN104965741A (en) Method and apparatus for installing real-time application clusters
CN112333229A (en) Method, device, equipment and storage medium for expanding kubernets nodes
CN104104969B (en) Video interception method and device
CN104484209A (en) Method for automatically accessing mirror image of Windows virtual machine
EP3151512B1 (en) Service authentication processing method and apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 250101 block B, Yinhe building, 2008 Xinjie street, hi tech Zone, Ji'nan, Shandong.

Applicant after: Shandong Luneng Intelligent Technology Co., Ltd.

Address before: 250101 B block 626, Yinhe building, 2008 Xinjie street, Ji'nan high tech Zone, Shandong.

Applicant before: Shandong Luneng Intelligent Technology Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: 250101 Electric Power Intelligent Robot Production Project 101 in Jinan City, Shandong Province, South of Feiyue Avenue and East of No. 26 Road (ICT Industrial Park)

Patentee after: National Network Intelligent Technology Co., Ltd.

Address before: 250101 block B, Yinhe building, 2008 Xinjie street, hi tech Zone, Ji'nan, Shandong.

Patentee before: Shandong Luneng Intelligent Technology Co., Ltd.

CP03 Change of name, title or address
TR01 Transfer of patent right

Effective date of registration: 20201221

Address after: Room 902, 9 / F, block B, Yinhe building, 2008 Xinluo street, hi tech Zone, Jinan City, Shandong Province

Patentee after: Shandong Luneng Software Technology Co.,Ltd. intelligent electrical branch

Address before: 250101 power intelligent robot production project 101 south of Feiyue Avenue and east of No.26 Road (in ICT Industrial Park) in Suncun District of Gaoxin, Jinan City, Shandong Province

Patentee before: National Network Intelligent Technology Co.,Ltd.

TR01 Transfer of patent right
CP01 Change in the name or title of a patent holder

Address after: Room 902, 9 / F, block B, Yinhe building, 2008 Xinluo street, hi tech Zone, Jinan City, Shandong Province

Patentee after: Shandong luruan Digital Technology Co.,Ltd. smart energy branch

Address before: Room 902, 9 / F, block B, Yinhe building, 2008 Xinluo street, hi tech Zone, Jinan City, Shandong Province

Patentee before: Shandong Luneng Software Technology Co.,Ltd. intelligent electrical branch

CP01 Change in the name or title of a patent holder