CN108616384B - Centralized service management deployment tool and method - Google Patents

Centralized service management deployment tool and method Download PDF

Info

Publication number
CN108616384B
CN108616384B CN201810253409.2A CN201810253409A CN108616384B CN 108616384 B CN108616384 B CN 108616384B CN 201810253409 A CN201810253409 A CN 201810253409A CN 108616384 B CN108616384 B CN 108616384B
Authority
CN
China
Prior art keywords
service
server
deployment
module
configuration
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
CN201810253409.2A
Other languages
Chinese (zh)
Other versions
CN108616384A (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 Zhaoyuan Information Technology Co ltd
Original Assignee
Shandong Zhaoyuan 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 Shandong Zhaoyuan Information Technology Co ltd filed Critical Shandong Zhaoyuan Information Technology Co ltd
Priority to CN201810253409.2A priority Critical patent/CN108616384B/en
Publication of CN108616384A publication Critical patent/CN108616384A/en
Application granted granted Critical
Publication of CN108616384B publication Critical patent/CN108616384B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • 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
    • H04L41/0806Configuration setting for initial configuration or provisioning, e.g. plug-and-play
    • 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
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • 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/22Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks comprising specially adapted graphical user interfaces [GUI]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/16Implementing security features at a particular protocol layer
    • H04L63/168Implementing security features at a particular protocol layer above the transport layer

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Stored Programmes (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a centralized service management deployment tool and a method, comprising the following steps: the device comprises an SSH authentication module, an yum source module, a webhttp module, a service configuration uploading module, a service configuration registration module and a service deployment management tool; the Yum source module can pack the specified services as rpm and generate a standard software warehouse from the collection of rpm packs for all services. The Webhttp module starts a web service and mounts the software repository onto the network. The invention has the beneficial effects that: the method can normally operate the servers without installing any plug-in at the server side, and replaces command line type operation with a visual interface, so that the servers and the services are rapidly deployed.

Description

Centralized service management deployment tool and method
Technical Field
The invention relates to the technical field of centralized server clusters, in particular to a centralized service management deployment tool and a centralized service management deployment method.
Background
With the continuous development of computer engineering, the computing scale of many projects is increased nowadays, and usually one service needs dozens of computers to form a service cluster, and a server cluster refers to a cluster in which many servers are centralized together to perform the same service, and appears as if there is only one server at a client. The cluster can utilize a plurality of computers to perform parallel computation so as to obtain high computation speed, and any one machine can damage the whole system or can normally operate.
However, a large number of computer installations and deployments become an urgent problem to be solved, and in current engineering construction, when the functions of the server need to be changed, manual processing is generally performed, or a customized script is used for solving the problem, and a standardized operation flow is rarely available.
Disclosure of Invention
The invention aims to solve the problems and provides a centralized service management deployment tool and a centralized service management deployment method, which can solve the complex problem of installation and deployment and simplify the complex operation by using a visual interface, so that the installation and deployment of a plurality of servers become simple and rapid.
In order to achieve the purpose, the invention adopts the following technical scheme that:
a first objective of the present invention is to disclose a centralized service management deployment tool, which includes:
the SSH authentication module is used for carrying out safe network transmission;
yum source module, providing installation source for all services;
a web http module for providing yum web access of the source;
the service configuration uploading module is used for initializing and changing the configuration of the service;
the service configuration registration module is used for managing service configuration files and parameter information in the server;
and the service deployment management tool is used for realizing increase, decrease and control of the servers and the services.
Further, the SSH authentication module, yum source module, and service configuration registration module are each in communication with a service deployment management tool; the yum source module is connected with the web http module, the service configuration registration module is connected with the service configuration uploading module, and the SSH authentication module, the web http module and the service configuration uploading module are respectively connected with a server to be deployed through a network.
Further, the service deployment management tool stores SSH authentication information related to each server, and establishes communication with the server through an SSH authentication module; the service deployment management tool realizes the increase, decrease and control of the server and the service through the SSH authentication module.
The second purpose of the present invention is to disclose a centralized service management deployment method, which comprises the following steps:
packaging all programs and dependency libraries to be deployed into rpm packages, establishing repo for all the rpm packages, and establishing a local warehouse;
starting a web service, loading the created local warehouse to the web, and enabling the server to be connected to the local warehouse through an http protocol;
adding a server, configuring basic information for the server, and adding service and component information to be deployed;
performing service configuration and component configuration;
and after all the servers and the service configuration are completed, deploying all the servers.
Further, the specific method of adding the server is as follows:
acquiring server HOST, SSH port, SSH user name, password or appointed SSH key file information;
connecting to a corresponding server through a network according to the acquired information;
initializing a configuration of the server.
Further, the specific method for adding the service and the component information to be deployed includes:
determining a server to be deployed;
establishing a connection with the server;
configuring services and components for the server; the method specifically comprises the following steps:
1) assigning an installation source for a server;
2) determining a service and component list which needs to be installed by a server;
3) the server executes the installation command;
4) and finishing deployment.
Further, when the server needs to be deleted, the connection between the service deployment management tool and the server is directly released; or stopping and deleting all the services of the server, and releasing the connection between the service deployment management tool and the server.
The invention has the beneficial effects that:
the design scheme of the service deployment management tool disclosed by the invention can normally operate a plurality of servers without installing any plug-in at the server side, and the command line type operation is replaced by a visual interface, so that the rapid deployment of the servers and the services is realized.
The invention has the advantages that the deployment scheme can be continuously adjusted before deployment, and finally all instructions can be executed at one time; in the scheme adjusting process, the server does not perform any operation, and only when the deployment command is executed, the server performs one-time deployment according to the deployment scheme. And a visual operation interface can be provided, so that the method is simple and rapid, and the threshold of service management is reduced.
Drawings
FIG. 1 is a schematic diagram of a centralized service management deployment tool according to the present invention;
FIG. 2 is a schematic flow chart of the present invention for generating a local warehouse;
FIG. 3 is a flow chart of adding a server according to the present invention;
FIG. 4 is a flow chart of adding services to a server according to the present invention.
The specific implementation mode is as follows:
the invention will be further explained with reference to the drawings.
The noun explains:
rpm: also known as an RPM software package manager;
english original meaning: RPM Package Manager (original Red Hat Package Manager, now a recursive abbreviation)
And annotating: a packaging and installation tool for Internet download packages is included in some Linux distribution versions. It generates a file with the RPM extension. Similar to Dpkg.
And (2) repo: in the linux operating system, repo denotes a location where a file is installed.
It is noted that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of example embodiments according to the present application. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise; furthermore, it will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, steps, operations, devices, components, and/or combinations thereof.
The invention discloses a centralized service management deployment tool, as shown in fig. 1, comprising:
the SSH authentication module is used for carrying out safe network transmission;
yum source module, providing installation source for all services;
a web http module for providing yum web access of the source;
the service configuration uploading module is used for initializing and changing the configuration of the service;
the service configuration registration module is used for managing the service in the server; the installation package of each service comprises configuration files, file formats, parameter descriptions and the like of the service; in view of the differences in the functions of the services, the services need to be registered after installation so that the service management deployment function can know how to use the services.
The service deployment management tool is used for realizing increase, decrease and control of the servers and the services;
aiming at the servers, adding and deleting the servers;
for services, include install, uninstall, add, delete, start, stop, restart, modify configuration.
The SSH authentication module, the yum source module and the service configuration registration module are respectively communicated with the service deployment management tool; yum source module is connected with web http module, service configuration register module is connected with service configuration upload module, SSH authentication module, web http module and service configuration upload module are connected with the server to be deployed through network.
The Yum source module can pack the specified services as rpm and generate a standard software warehouse from the collection of rpm packs for all services. The Webhttp module starts a web service and mounts the software repository onto the network.
The service deployment management tool stores SSH authentication information related to each server and establishes communication with the servers through an SSH authentication module; the service deployment management tool realizes the increase, decrease and control of the server and the service through the SSH authentication module.
The invention discloses a centralized service management deployment method, which comprises the following steps:
generating a local warehouse, wherein the specific process is as shown in fig. 2, all programs and dependency libraries needing to be deployed are packaged into rpm packets, all rpm packets are built into repo, and the local warehouse is created;
starting a web service, loading the created local warehouse to the web, and enabling the server to be connected to the local warehouse through an http protocol;
performing service configuration and component configuration;
adding a server, configuring basic information for the server, and adding service and component information to be deployed;
and after all the servers and the service configuration are completed, deploying all the servers.
The specific method for adding a server is shown in fig. 3, and includes:
acquiring server HOST, SSH port, SSH user name, password or appointed SSH key file information;
connecting to a corresponding server through a network according to the acquired information;
the configuration of the server is initialized.
A specific method for adding service and component information to be deployed is shown in fig. 4, and includes:
determining a server to be deployed;
establishing a connection with a server;
configuring services and components for the server; the method specifically comprises the following steps:
1) assigning an installation source for a server;
2) determining a service and component list which needs to be installed by a server;
3) the server executes the installation command;
4) and finishing deployment.
When a server needs to be deleted, there can be two operations:
1. and (3) direct deletion: the method only disassociates the server from the administrative tool, and the service on the server is still present or even running. These services can also be controlled directly after the association is currently restored.
2. Restoring the server to the original state and then deleting: all services are stopped, deleted, offloaded, and then disassociated from the server. This method restores the server to the original state.
When a service or a component of a server needs to be modified, the service configuration (mainly referring to operation parameters) needs to be modified, and then the service is restarted.
The following details specific embodiments of the method of the present invention are described below:
the centralized service management deployment tool mainly aims at the installation and deployment of the linux RHEL platform, and firstly packs all programs and dependent libraries needing to be deployed into an rpm package and establishes repo for all the rpm packages, as shown in FIG. 1.
Further, a service management deployment tool client is started, the client automatically starts a web service, and the created local warehouse is loaded on the web, so that the server can be connected through an http protocol.
Furthermore, service configuration and component configuration are realized, and one service comprises a plurality of components, execution scripts, configuration files, operation parameter items and the like. Configured services are listed to the left of the add server dialog.
Further, clicking a server adding button, popping up a server adding window to select a service (multiple services can be selected) to be deployed by the server, typing in a server name, an IP (Internet protocol), a ssh port, a server administrator password (the ssh key connection is also supported), clicking for storage, and establishing a server configuration.
Each newly-built server displays a server item on a main interface, wherein the server item comprises basic server information and deployment service list information, and the server information can be modified by clicking the basic server information; clicking on the deploy service list enables modification of the services deployed by the server.
The service item can display the state of the current server, such as whether to deploy, whether to connect, whether to run the service, and the like, for example: the abnormal service connection is displayed by a red icon, and the normal connection is green; if the service is not deployed, the x number is displayed on the configuration page of the server, and if the service is deployed, the v number is displayed.
Furthermore, the service of each server can be modified and controlled, including operations of modifying operation configuration, modifying operation parameters, uploading configuration files, starting, stopping, restarting, refreshing states and the like. The service deployment management tool will save ssh authentication information related to each server, and keep in touch with the server through the ssh channel, and the touch can be operated in a remote server like running a local instruction; the modification control of the server is realized through the ssh channel.
Furthermore, after all the servers and the services are configured, the deployment scheme can be executed for all the servers by clicking the operation button on the upper right corner of the main interface. After a period of waiting, a prompt of completion of server deployment can be received.
Although the embodiments of the present invention have been described with reference to the accompanying drawings, it is not intended to limit the scope of the present invention, and it should be understood by those skilled in the art that various modifications and variations can be made without inventive efforts by those skilled in the art based on the technical solution of the present invention.

Claims (4)

1. A centralized service management deployment tool, comprising:
the SSH authentication module is used for carrying out safe network transmission;
yum source module, providing installation source for all services;
a web http module for providing yum web access of the source;
the service configuration uploading module is used for initializing and changing the configuration of the service;
the service configuration registration module is used for managing service configuration files and parameter information in the server;
the service deployment management tool is used for realizing increase, decrease and control of the servers and the services;
the SSH authentication module, the yum source module and the service configuration registration module are respectively communicated with a service deployment management tool; the yum source module is connected with the web http module, and the service configuration registration module is connected with the service configuration uploading module; the SSH authentication module, the web http module and the service configuration uploading module are respectively connected with a server to be deployed through a network;
after the configuration of all the servers and the services is completed, deployment is performed on all the servers, a deployment scheme can be continuously adjusted before deployment, and finally all instructions are executed at one time.
2. The centralized service management deployment tool of claim 1 wherein the service deployment management tool maintains SSH authentication information associated with each server, establishing communication with the server via an SSH authentication module; the service deployment management tool realizes the increase, decrease and control of the server and the service through the SSH authentication module.
3. A centralized service management deployment method is characterized by comprising the following steps:
packaging all programs to be deployed and a dependency library into an RPM (revolution speed) software package, establishing positions for installing files for all the RPM software packages, and establishing a local warehouse;
starting a service management deployment tool client, wherein the client automatically starts a web service, loads the created local warehouse to the web, and enables the server to be connected to the local warehouse through an http protocol;
adding a server, configuring basic information for the server, and adding service and component information to be deployed;
performing service configuration and component configuration;
the specific method for adding the server comprises the following steps: acquiring server HOST, SSH port, SSH user name, password or appointed SSH key file information; connecting to a corresponding server through a network according to the acquired information; initializing a configuration of the server;
the specific method for adding the service and the component information to be deployed comprises the following steps: determining a server to be deployed; establishing a connection with the server; configuring services and components for the server; the method specifically comprises the following steps: 1) Assigning an installation source for a server; 2) determining a service and component list which needs to be installed by a server; 3) the server executes the installation command; 4) finishing deployment;
after all the servers and the service configuration are completed, deployment is performed on all the servers, a deployment scheme can be continuously adjusted before deployment, and finally all the instructions are executed at one time.
4. A centralized service management deployment method as claimed in claim 3, wherein when a server needs to be deleted, the connection between the service deployment management tool and the server is directly released; or stopping and deleting all the services of the server, and releasing the connection between the service deployment management tool and the server.
CN201810253409.2A 2018-03-26 2018-03-26 Centralized service management deployment tool and method Active CN108616384B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810253409.2A CN108616384B (en) 2018-03-26 2018-03-26 Centralized service management deployment tool and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810253409.2A CN108616384B (en) 2018-03-26 2018-03-26 Centralized service management deployment tool and method

Publications (2)

Publication Number Publication Date
CN108616384A CN108616384A (en) 2018-10-02
CN108616384B true CN108616384B (en) 2021-12-28

Family

ID=63658950

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810253409.2A Active CN108616384B (en) 2018-03-26 2018-03-26 Centralized service management deployment tool and method

Country Status (1)

Country Link
CN (1) CN108616384B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111324356A (en) * 2018-12-17 2020-06-23 北京数安鑫云信息技术有限公司 Software automation deployment method and system
CN110119288B (en) * 2019-03-26 2022-02-08 福建省天奕网络科技有限公司 Method for centralized unified starting service and storage medium
CN111026411B (en) * 2019-11-22 2023-09-08 武汉达梦数据技术有限公司 Remote deployment management method and management machine for software
CN113467790B (en) * 2021-06-22 2023-04-07 龙芯中科(太原)技术有限公司 Software packaging method and device and readable storage medium
CN113535208A (en) * 2021-08-05 2021-10-22 浙江万朋教育科技股份有限公司 Method for realizing visual centralized maintenance and updating test application program based on python
CN114363332B (en) * 2021-12-27 2024-01-23 徐工汉云技术股份有限公司 Remote automatic operation and maintenance method based on distributed gateway
CN117319196B (en) * 2023-10-26 2024-05-14 无锡芯光互连技术研究院有限公司 User server cluster environment deployment management system and method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2339463A1 (en) * 2009-09-18 2011-06-29 Group Business Software AG Process for installing a software application and platform operating system
CN102736946A (en) * 2011-04-11 2012-10-17 阿里巴巴集团控股有限公司 Batch application node deploying method and device
CN104317610A (en) * 2014-10-11 2015-01-28 福建新大陆软件工程有限公司 Method and device for automatic installation and deployment of hadoop platform

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106610836B (en) * 2016-12-23 2019-12-31 国网信息通信产业集团有限公司 Micro-service operation management tool

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2339463A1 (en) * 2009-09-18 2011-06-29 Group Business Software AG Process for installing a software application and platform operating system
CN102736946A (en) * 2011-04-11 2012-10-17 阿里巴巴集团控股有限公司 Batch application node deploying method and device
CN104317610A (en) * 2014-10-11 2015-01-28 福建新大陆软件工程有限公司 Method and device for automatic installation and deployment of hadoop platform

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
CentOS下部署Ansible自动化工具;ellenv;《Linux社区,https://www.linuxidc.com/Linux/2017-06/144430.htm》;20170602;正文第1-6页 *

Also Published As

Publication number Publication date
CN108616384A (en) 2018-10-02

Similar Documents

Publication Publication Date Title
CN108616384B (en) Centralized service management deployment tool and method
CN110572436B (en) Multi-place cross-cluster server deployment method and system
CN103297504B (en) The method of physics bare machine rapid deployment operating system in a kind of cloud data center
TWI374387B (en) Mobile station and method of updating a device management tree
US8839265B2 (en) Virtual environment for server applications, such as web applications
CN110196731B (en) Operation and maintenance system, method and storage medium
CN111989681A (en) Automatically deployed Information Technology (IT) system and method
WO2024077885A1 (en) Management method, apparatus and device for container cluster, and non-volatile readable storage medium
US20130151598A1 (en) Apparatus, systems and methods for deployment of interactive desktop applications on distributed infrastructures
CN110752947A (en) K8s cluster deployment method and device, and deployment platform
US11210132B2 (en) Virtual machine migration in virtualization environment having different virtualization systems
US20120005325A1 (en) Systems and methods for automated processing of devices
CN111580926A (en) Model publishing method, model deploying method, model publishing device, model deploying device, model publishing equipment and storage medium
US20200379742A1 (en) Validation of configurations of factory installations
US9329953B2 (en) Reducing application downtime during failover
CN112099919A (en) Application service visualization rapid deployment method based on cloud computing API
US10073689B2 (en) Managing application lifecycles within a federation of distributed software applications
CN110119279B (en) Application and upgrading method and device thereof
CN116088921B (en) Automatic operation and maintenance management system and method oriented to domestic operation system
CN113821220A (en) Installation method and device of linux operating system
CN112948008A (en) Ironic based physical bare computer management method
US20190012161A1 (en) Distributed and self-deleting apparatus for fast software deployment and upgrade in a network
CN115357258B (en) Application deployment method and device, storage medium and electronic device
CN111708553A (en) Terminal and system for background updating of desktop mirror image
CN110445628B (en) NGINX-based server and deployment and monitoring methods and devices thereof

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
GR01 Patent grant
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: A centralized service management deployment tool and method

Effective date of registration: 20220705

Granted publication date: 20211228

Pledgee: Qilu bank Limited by Share Ltd. Ji'nan Huaiyin branch

Pledgor: SHANDONG ZHAOYUAN INFORMATION TECHNOLOGY CO.,LTD.

Registration number: Y2022980009829

PE01 Entry into force of the registration of the contract for pledge of patent right