CN108023959A - A kind of method and system of automatic installation group system - Google Patents

A kind of method and system of automatic installation group system Download PDF

Info

Publication number
CN108023959A
CN108023959A CN201711296916.6A CN201711296916A CN108023959A CN 108023959 A CN108023959 A CN 108023959A CN 201711296916 A CN201711296916 A CN 201711296916A CN 108023959 A CN108023959 A CN 108023959A
Authority
CN
China
Prior art keywords
installation
program
node
role
button
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.)
Pending
Application number
CN201711296916.6A
Other languages
Chinese (zh)
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.)
Inspur Cloud Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201711296916.6A priority Critical patent/CN108023959A/en
Publication of CN108023959A publication Critical patent/CN108023959A/en
Pending legal-status Critical Current

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/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services

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)
  • Stored Programmes (AREA)

Abstract

The present invention provides a kind of method and system of automatic installation group system, each machine role in cluster is planned in advance, plan the machine quantity of each role, the program installed on the machine of each role, and the configuration of corresponding program, installer package is collected in advance, put to agent node, the machine automatic deployment program of each role is given by agent node, and configuration file is automatically generated, automatic start, so as to reach the effect to whole cluster automatic deployment, clustered deploy(ment) efficiency is improved, reduces deployment error probability.

Description

A kind of method and system of automatic installation group system
Technical field
The present invention relates to the technical field of cluster service, and in particular to a kind of method of automatic installation group system and is System.
Background technology
For the performance, stability, maintainability of system, the service of client is substantially to be provided in the form of cluster.But Cluster installation be always a pretty troublesome thing, installation load equilibrium, web server, database, message queue, delay Deposit, time synchronization, the program such as monitoring.Each machine node role is different in cluster, it is ensured that service cluster Correspondence program on each machine can normal mounting, the corresponding configuration of program is all correct, and program can normally start, it is necessary to very Conscientious careful installation and verification configuration file, slightly mistake, may result in that corresponding program be cannot get up or to complete function incorrect. Since every machine role is all different in cluster, the program quantity installed on every machine is also different, corresponding Configuration it is also different.If installation manually, error probability is too big, can also spend the too many time.
The content of the invention
Based on the above problem, the present invention proposes a kind of method and system of automatic installation group system, by clearly collecting The role of each machine in group, writes one button installation program using python, realizes the work(of the whole cluster of automatic installation and deployment Can, one button installation program includes the program installation kit that all role's machines need in whole cluster, and installation kit is corresponding matches somebody with somebody Put document template.
The present invention provides following technical solution:
On the one hand, the present invention provides a kind of method of automatic installation group system, including:
According to role creation one button installation program, the one button installation program, which includes all role's machines in whole cluster, to be needed The program installation kit wanted, and the corresponding profile template of installation kit;
The role includes agent node, back end, monitoring node, connecting node;
The agent node stores whole service cluster installation kit, agent node installation load equilibrium at the same time, database broker journey Sequence, as the unified agent door externally provided;
The back end installation web server, database key program, for implementing the function of system;
The monitoring node installation message queue, meter, logstash, elasticsearch monitoring programme, monitoring data section Whether point is normal;
The connecting node installation message queue, meter programs, for connecting and monitoring corresponding iaas environment.
Wherein, the one button installation program is what the script based on python generated.
Wherein, the flow of the one button installation program is adapting operation system, Configuration Agent node, one button installation.
Wherein, after each step of the flow has performed, recorded, if middle error, during subsequent execution, skip and held Capable step.
In addition, present invention also offers a kind of system of automatic installation group system, the system comprises:
One button installation module, for according to role creation one button installation program, the one button installation program to include whole collection The program installation kit that all role's machines need in group, and the corresponding profile template of installation kit;
Role Management module, for managing all roles, the role includes agent node, back end, monitoring node, connection Node;
The agent node stores whole service cluster installation kit, agent node installation load equilibrium at the same time, database broker journey Sequence, as the unified agent door externally provided;
The back end installation web server, database key program, for implementing the function of system;
The monitoring node installation message queue, meter, logstash, elasticsearch monitoring programme, monitoring data section Whether point is normal;
The connecting node installation message queue, meter programs, for connecting and monitoring corresponding iaas environment.
Wherein, the one button installation program is what the script based on python generated.
Wherein, the flow of the one button installation program is adapting operation system, Configuration Agent node, one button installation.
Wherein, after each step of the flow has performed, recorded, if middle error, during subsequent execution, skip and held Capable step.
The present invention provides a kind of method and system of automatic installation group system, plan that each machine is played the part of in cluster in advance The role drilled, plans matching somebody with somebody for the machine quantity of each role, the program installed on the machine of each role, and corresponding program Put, installer package is collected in advance, is put to agent node, the machine automatic deployment of each role is given by agent node Program, and configuration file is automatically generated, automatic start, so as to reach the effect to whole cluster automatic deployment, improves cluster Efficiency is disposed, reduces deployment error probability.
Brief description of the drawings
Fig. 1 is the automatic installation group system structure diagram of the present invention;
Fig. 2 is the automatic installation group system installation procedure figure of the present invention;
Embodiment
To describe the technical solutions in the embodiments of the present invention more clearly, below will be to needed in the embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for ability For the those of ordinary skill of domain, without creative efforts, it can also be obtained according to these attached drawings other attached Figure.
On the one hand, embodiments of the present invention provide a kind of method of automatic installation group system, and attached drawing 1 is the present invention Automatic installation group system structure diagram, attached drawing 2 is the automatic installation group system installation procedure figure of the present invention, including:
According to role creation one button installation program, the one button installation program, which includes all role's machines in whole cluster, to be needed The program installation kit wanted, and the corresponding profile template of installation kit;
The installer package write by python, for one button installation service cluster, installation procedure is as shown in Figure 2.
Each catalogue implication is:XXX.cfg:One button installation program configuration file, for configuring each angle of whole cluster Color information.bin:For storing one button installation program:setup.py.config:For storing the configuration of all programs in cluster Document template information.lib:For storing one button installation program, to the installation of each role's machine, configuration, start corresponding program. monitor-deploy:Monitor node one button installation program.noVNC:For installing VNC programs.resource:Storage mirror image, Service, the installation kit etc. of program.tools:Store one button installation small tool.
The role includes agent node, back end, monitoring node, connecting node;
The agent node stores whole service cluster installation kit, agent node installation load equilibrium at the same time, database generation Program is managed, as the unified agent door externally provided;
The back end installation web server, database key program, for implementing the function of system;
The monitoring node installation message queue, meter, logstash, elasticsearch monitoring programme, monitor number It is whether normal according to node;
The connecting node installation message queue, meter programs, for connecting and monitoring corresponding iaas environment.
The flow of the one button installation program is adapting operation system, Configuration Agent node, one button installation.
Each role and the corresponding program of this role in planning system cluster in advance, shift to an earlier date preparation system installation kit and correspondence Configuration file masterplate, controls cluster installation steps, after each step has performed, to there is record.If centre error, back perform When, the step of having performed can be skipped.
By one button installation program, the corresponding program of node of each role in service cluster is all installed and matched somebody with somebody automatically Put, at the same automatic start, after having performed one button installation program, direct login system, you can access.So as to reduce system peace The time of dress, the efficiency of system installation is improved, error probability is substantially zeroed.
The present invention provides a kind of method of automatic installation group system, the angle that each machine is played the part of in cluster is planned in advance Color, plans the machine quantity of each role, the program installed on the machine of each role, and the configuration of corresponding program, will pacify Dress program bag collects in advance, puts to agent node, and the machine automatic deployment program of each role is given by agent node, and Configuration file, automatic start are automatically generated, so as to reach the effect to whole cluster automatic deployment, improves clustered deploy(ment) effect Rate, reduces deployment error probability.
On the other hand, embodiments of the present invention provide a kind of system of automatic installation group system, the system bag Include:
One button installation module, for according to role creation one button installation program, the one button installation program to include whole collection The program installation kit that all role's machines need in group, and the corresponding profile template of installation kit;
The installer package write by python, for one button installation service cluster, installation procedure is as shown in Figure 2.
Each catalogue implication is:XXX.cfg:One button installation program configuration file, for configuring each angle of whole cluster Color information.bin:For storing one button installation program:setup.py.config:For storing the configuration of all programs in cluster Document template information.lib:For storing one button installation program, to the installation of each role's machine, configuration, start corresponding program. monitor-deploy:Monitor node one button installation program.noVNC:For installing VNC programs.resource:Storage mirror image, Service, the installation kit etc. of program.tools:Store one button installation small tool.
Role Management module, for managing all roles, the role include agent node, back end, monitoring node, Connecting node;
The agent node stores whole service cluster installation kit, agent node installation load equilibrium at the same time, database generation Program is managed, as the unified agent door externally provided;
The back end installation web server, database key program, for implementing the function of system;
The monitoring node installation message queue, meter, logstash, elasticsearch monitoring programme, monitor number It is whether normal according to node;
The connecting node installation message queue, meter programs, for connecting and monitoring corresponding iaas environment.
The flow of the one button installation program is adapting operation system, Configuration Agent node, one button installation.
Each role and the corresponding program of this role in planning system cluster in advance, shift to an earlier date preparation system installation kit and correspondence Configuration file masterplate, controls cluster installation steps, after each step has performed, to there is record.If centre error, back perform When, the step of having performed can be skipped.
By one button installation program, the corresponding program of node of each role in service cluster is all installed and matched somebody with somebody automatically Put, at the same automatic start, after having performed one button installation program, direct login system, you can access.So as to reduce system peace The time of dress, the efficiency of system installation is improved, error probability is substantially zeroed.
The present invention provides a kind of system of automatic installation group system, the angle that each machine is played the part of in cluster is planned in advance Color, plans the machine quantity of each role, the program installed on the machine of each role, and the configuration of corresponding program, will pacify Dress program bag collects in advance, puts to agent node, and the machine automatic deployment program of each role is given by agent node, and Configuration file, automatic start are automatically generated, so as to reach the effect to whole cluster automatic deployment, improves clustered deploy(ment) effect Rate, reduces deployment error probability.
The foregoing description of the disclosed embodiments, enables those skilled in the art to realize or use the present invention.To this A variety of modifications of a little embodiments will be apparent for a person skilled in the art, and the general principles defined herein can Without departing from the spirit or scope of the present invention, to realize in other embodiments.Therefore, the present invention will not be limited The embodiments shown herein is formed on, but meets the most wide model consistent with the principles and novel features disclosed herein Enclose.

Claims (8)

  1. A kind of 1. method of automatic installation group system, it is characterised in that:
    According to role creation one button installation program, the one button installation program includes what all role's machines in whole cluster needed Program installation kit, and the corresponding profile template of installation kit;
    The role includes agent node, back end, monitoring node, connecting node;
    The agent node stores whole service cluster installation kit, agent node installation load equilibrium at the same time, database broker journey Sequence, as the unified agent door externally provided;
    The back end installation web server, database key program, for implementing the function of system;
    The monitoring node installation message queue, meter, logstash, elasticsearch monitoring programme, monitoring data section Whether point is normal;
    The connecting node installation message queue, meter programs, for connecting and monitoring corresponding iaas environment.
  2. 2. according to the method described in claim 1, it is characterized in that:The one button installation program is the script language based on python Speech generation.
  3. 3. according to the method described in claim 1, it is characterized in that:The flow of the one button installation program is adapting operation system System, Configuration Agent node, one button installation.
  4. 4. according to the method described in claim 1, it is characterized in that:After each step of flow has performed, recorded, if in Between malfunction, during subsequent execution, skip the step of having performed.
  5. A kind of 5. system of automatic installation group system, it is characterised in that:The system comprises:
    One button installation module, for being included according to role creation one button installation program, the one button installation program in whole cluster The program installation kit that all role's machines need, and the corresponding profile template of installation kit;
    Role Management module, for managing all roles, the role includes agent node, back end, monitoring node, connection Node;
    The agent node stores whole service cluster installation kit, agent node installation load equilibrium at the same time, database broker journey Sequence, as the unified agent door externally provided;
    The back end installation web server, database key program, for implementing the function of system;
    The monitoring node installation message queue, meter, logstash, elasticsearch monitoring programme, monitoring data section Whether point is normal;
    The connecting node installation message queue, meter programs, for connecting and monitoring corresponding iaas environment.
  6. 6. system according to claim 5, it is characterised in that:The one button installation program is the script language based on python Speech generation.
  7. 7. system according to claim 5, it is characterised in that:The flow of the one button installation program is adapting operation system System, Configuration Agent node, one button installation.
  8. 8. system according to claim 5, it is characterised in that:After each step of flow has performed, recorded, if in Between malfunction, during subsequent execution, skip the step of having performed.
CN201711296916.6A 2017-12-08 2017-12-08 A kind of method and system of automatic installation group system Pending CN108023959A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711296916.6A CN108023959A (en) 2017-12-08 2017-12-08 A kind of method and system of automatic installation group system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711296916.6A CN108023959A (en) 2017-12-08 2017-12-08 A kind of method and system of automatic installation group system

Publications (1)

Publication Number Publication Date
CN108023959A true CN108023959A (en) 2018-05-11

Family

ID=62072979

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711296916.6A Pending CN108023959A (en) 2017-12-08 2017-12-08 A kind of method and system of automatic installation group system

Country Status (1)

Country Link
CN (1) CN108023959A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110196731A (en) * 2018-10-29 2019-09-03 腾讯科技(深圳)有限公司 A kind of operational system, method and storage medium
CN113805899A (en) * 2021-08-25 2021-12-17 浪潮卓数大数据产业发展有限公司 Automatic software deployment method
CN114116066A (en) * 2021-11-30 2022-03-01 湖南麒麟信安科技股份有限公司 Cloud platform cluster control method, system and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103399887A (en) * 2013-07-19 2013-11-20 蓝盾信息安全技术股份有限公司 Query and statistical analysis system for mass logs
US20140129819A1 (en) * 2012-11-02 2014-05-08 Delta Electronics, Inc. Cloud cluster system and boot deployment method for the same
CN105677411A (en) * 2016-01-04 2016-06-15 山东超越数控电子有限公司 Device, system and method for installing colony assembly
CN106533753A (en) * 2016-11-07 2017-03-22 广州视源电子科技股份有限公司 Role configuration method of distributed system and role configuration device
CN106961428A (en) * 2017-03-15 2017-07-18 苏州大学 Centralized intrusion detection system based on private cloud platform

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140129819A1 (en) * 2012-11-02 2014-05-08 Delta Electronics, Inc. Cloud cluster system and boot deployment method for the same
CN103399887A (en) * 2013-07-19 2013-11-20 蓝盾信息安全技术股份有限公司 Query and statistical analysis system for mass logs
CN105677411A (en) * 2016-01-04 2016-06-15 山东超越数控电子有限公司 Device, system and method for installing colony assembly
CN106533753A (en) * 2016-11-07 2017-03-22 广州视源电子科技股份有限公司 Role configuration method of distributed system and role configuration device
CN106961428A (en) * 2017-03-15 2017-07-18 苏州大学 Centralized intrusion detection system based on private cloud platform

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110196731A (en) * 2018-10-29 2019-09-03 腾讯科技(深圳)有限公司 A kind of operational system, method and storage medium
CN113805899A (en) * 2021-08-25 2021-12-17 浪潮卓数大数据产业发展有限公司 Automatic software deployment method
CN113805899B (en) * 2021-08-25 2024-01-26 浪潮卓数大数据产业发展有限公司 Automatic software deployment method
CN114116066A (en) * 2021-11-30 2022-03-01 湖南麒麟信安科技股份有限公司 Cloud platform cluster control method, system and storage medium
CN114116066B (en) * 2021-11-30 2024-05-07 湖南麒麟信安科技股份有限公司 Cloud platform cluster control method, system and storage medium

Similar Documents

Publication Publication Date Title
CN106844198B (en) Distributed dispatching automation test platform and method
CN104317610B (en) Method and device for automatic installation and deployment of hadoop platform
US9632817B2 (en) Correlating business workflows with transaction tracking
US8527980B2 (en) System and method for automatically upgrading functionalities in a distributed network
US20030149756A1 (en) Configuration management method and system
EP3201772A1 (en) Methods and systems for portably deploying applications on one or more cloud systems
CN105487977A (en) Agility-oriented automatic test management system and method
CN111125444A (en) Big data task scheduling management method, device, equipment and storage medium
WO2004021207A1 (en) Systems and methods for improving service delivery
US10644973B2 (en) Monitoring of availability data for system management environments
CN108647265A (en) Based on multiple platform data interactive formula system
CN108023959A (en) A kind of method and system of automatic installation group system
US11314622B2 (en) Systems and methods for implementing an automated parallel deployment solution
CN110471652A (en) Task method of combination, composer, equipment and readable storage medium storing program for executing
CN109858817A (en) A kind of Workflow Management System and method
CN113918637A (en) BPMN2.0 specification-based process engine platform creation method and system
CN109597764A (en) A kind of test method and relevant apparatus of catalogue quota
US11856053B2 (en) Systems and methods for hybrid burst optimized regulated workload orchestration for infrastructure as a service
CN113687927A (en) Method, device, equipment and storage medium for scheduling and configuring flash tasks
Raza et al. Configuration and placement of serverless applications using statistical learning
CN110011827A (en) Towards doctor conjuncted multi-user's big data analysis service system and method
CN109710263A (en) Compilation Method, device, storage medium and the electronic equipment of code
CN103414717A (en) Simulation monitoring method and system in regard to C / S structure service system
CN115629784A (en) Method, system, equipment and computer readable storage medium for updating machine file
CN115309558A (en) Resource scheduling management system, method, computer equipment and storage medium

Legal Events

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

Effective date of registration: 20200519

Address after: Building S01, Inspur Science Park, No. 1036, Inspur Road, high tech Zone, Jinan City, Shandong Province, 250000

Applicant after: Tidal Cloud Information Technology Co.,Ltd.

Address before: 450000 Henan province Zheng Dong New District of Zhengzhou City Xinyi Road No. 278 16 floor room 1601

Applicant before: ZHENGZHOU YUNHAI INFORMATION TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
RJ01 Rejection of invention patent application after publication

Application publication date: 20180511

RJ01 Rejection of invention patent application after publication