CN112130871A - Method and device for remotely deploying middleware, computer equipment and storage medium - Google Patents

Method and device for remotely deploying middleware, computer equipment and storage medium Download PDF

Info

Publication number
CN112130871A
CN112130871A CN202011033866.4A CN202011033866A CN112130871A CN 112130871 A CN112130871 A CN 112130871A CN 202011033866 A CN202011033866 A CN 202011033866A CN 112130871 A CN112130871 A CN 112130871A
Authority
CN
China
Prior art keywords
middleware
deployment
server
deployed
configuration file
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.)
Granted
Application number
CN202011033866.4A
Other languages
Chinese (zh)
Other versions
CN112130871B (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.)
Shenzhen Ping An Medical Health Technology Service Co Ltd
Original Assignee
Ping An Medical and Healthcare Management 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 Ping An Medical and Healthcare Management Co Ltd filed Critical Ping An Medical and Healthcare Management Co Ltd
Priority to CN202011033866.4A priority Critical patent/CN112130871B/en
Publication of CN112130871A publication Critical patent/CN112130871A/en
Application granted granted Critical
Publication of CN112130871B publication Critical patent/CN112130871B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/20Network architectures or network communication protocols for network security for managing network security; network security policies in general

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)

Abstract

The application relates to the technical field of distributed deployment, and discloses a method, a device, computer equipment and a storage medium for remotely deploying middleware, wherein the method is applied to a control server, the control server is provided with an automatic operation and maintenance tool, the control server and a server to be deployed realize secret-free login based on a key pair of an SSH (secure Shell) protocol, and the server to be deployed is used for deploying a digital medical system; the method comprises the following steps: acquiring a middleware installation request through an automatic operation and maintenance tool, wherein the middleware installation request carries a storage path of a target configuration file; and according to the middleware installation request, the automatic operation and maintenance tool performs middleware deployment preparation, corresponding middleware deployment and middleware state check on the server to be deployed so as to complete the deployment of the middleware and obtain a deployment check result. Therefore, the method is simple to operate, improves the deployment efficiency, enables the deployed middleware to have consistent environment, is favorable for reducing the operation and maintenance cost and the operation and maintenance difficulty, and is also favorable for quickly analyzing and positioning the problem.

Description

Method and device for remotely deploying middleware, computer equipment and storage medium
Technical Field
The present application relates to the field of distributed deployment technologies, and in particular, to a method and an apparatus for remotely deploying middleware, a computer device, and a storage medium.
Background
With the development of digital medical treatment, the functions of the digital medical treatment system are increased sharply, and the number of servers for deploying the digital medical treatment system is increased, so that the difficulty and complexity of operation and maintenance are increased sharply. In a traditional operation and maintenance deployment mode, operation and maintenance personnel manually deploy, so that deployment efficiency is low; because different engineers have a set of own deployment schemes and do not have uniform deployment standards, the later-stage operation and maintenance cost is increased, the operation and maintenance difficulty is increased, and the difficulty of analyzing and positioning problems is increased.
Disclosure of Invention
The application mainly aims to provide a method, a device, computer equipment and a storage medium for remotely deploying middleware, and aims to solve the technical problems that in the prior art, the deployment efficiency of an operation and maintenance deployment mode is low and a uniform deployment standard does not exist.
In order to achieve the above object, the present application provides a method for remotely deploying middleware, where the method is applied to a control server, the control server and a server to be deployed implement a secret-free login based on a key pair of an SSH protocol, and the server to be deployed is used for deploying a digital medical system;
the method comprises the following steps:
acquiring a middleware installation request through an installed automatic operation and maintenance tool, wherein the middleware installation request carries a storage path of a target configuration file;
acquiring a target configuration file according to the middleware installation request through the automatic operation and maintenance tool, performing middleware deployment preparation on the server to be deployed according to the target configuration file, and acquiring a deployment preparation completion result sent by the server to be deployed;
deploying corresponding middleware on the server to be deployed according to the deployment preparation completion result and the target configuration file through the automatic operation and maintenance tool, and acquiring a middleware deployment completion result sent by the server to be deployed;
and performing middleware state inspection according to the middleware deployment completion result through the automatic operation and maintenance tool to obtain a deployment inspection result.
Further, the middleware installation request includes: any one of an application container engine installation request, a search service module installation request, an open source streaming processing platform installation request, a proxy server installation request, a computer programming language installation request, a message proxy software installation request, a Web application server installation request, an application framework installation request, and a distributed application coordination service installation request.
Further, the target configuration file includes: the method comprises the steps that an IP address of a node to be deployed, core cluster configuration parameters of the middleware, a deployment environment name, a middleware software version, a customized service port and a JAVA version are obtained;
and adding the default port and a preset numerical value to obtain the customized service port.
Further, the step of obtaining, by the automation operation and maintenance tool, a target configuration file according to the middleware installation request, performing middleware deployment preparation on the server to be deployed according to the target configuration file, and obtaining a deployment preparation completion result sent by the server to be deployed includes:
performing middleware environment inspection on the server to be deployed through the automatic operation and maintenance tool according to the target configuration file, and acquiring a middleware environment inspection result sent by the server to be deployed;
when the middleware environment inspection result is successful, performing deployment operation of initializing a basic environment of a server on the server to be deployed through the automatic operation and maintenance tool according to the target configuration file, and acquiring a basic environment initialization result sent by the server to be deployed;
when the basic environment initialization result is successful, installing a Java development kit on the server to be deployed through the automatic operation and maintenance tool according to the target configuration file, and obtaining a JDK installation result sent by the server to be deployed;
and when the JDK installation result is successful, configuring a middleware management tool on the server to be deployed through the automatic operation and maintenance tool according to the target configuration file, and acquiring a deployment preparation completion result sent by the server to be deployed.
Further, the step of deploying, by the automated operation and maintenance tool, a corresponding middleware at the server to be deployed according to the deployment preparation completion result and the target configuration file, and acquiring the middleware deployment completion result sent by the server to be deployed includes:
when the middleware installation request is a middleware installation request, distributing a middleware installation package from the control server to the server to be deployed through the automatic operation and maintenance tool according to the deployment preparation completion result and the target configuration file, decompressing the middleware installation package to a middleware directory in the server to be deployed, establishing soft connection of a middleware version, establishing a data directory required by middleware cluster construction, establishing a core configuration file required by middleware cluster construction, establishing a data log directory of a middleware cluster and establishing soft connection, configuring core configuration and starting scripts of different nodes of the cluster through template functions, updating permissions and user attributes of the middleware directory and the log directory, and starting deployment of the middleware cluster;
and acquiring the middleware deployment completion result sent by the server to be deployed through the automatic operation and maintenance tool.
Further, the step of performing middleware state inspection according to the middleware deployment completion result by the automated operation and maintenance tool to obtain a deployment inspection result includes:
acquiring a middleware state check request according to the middleware deployment completion result through the automatic operation and maintenance tool, wherein the middleware state check request carries a storage path of the target configuration file;
acquiring the target configuration file according to the middleware state check request through the automatic operation and maintenance tool, checking whether the middleware deployment of the server to be deployed is finished and checking whether the middleware cluster state of the server to be deployed is normal according to the target configuration file, and acquiring a middleware deployment check result and a middleware cluster state check result sent by the server to be deployed;
and when the middleware deployment inspection result is completion and the middleware cluster state inspection result is normal, determining that the deployment inspection result is successful through the automatic operation and maintenance tool, and otherwise determining that the deployment inspection result is successful and determining that the deployment inspection result is failure.
Further, after the step of determining that the deployment inspection result is successful by the automation operation and maintenance tool when the middleware deployment inspection result is complete and the middleware cluster state inspection result is normal, otherwise determining that the deployment inspection result is successful and the deployment inspection result is failed, the method further includes:
and when the deployment checking result is failure, executing the middleware deployed in the server to be deployed according to the target configuration file, and completing the step of generating a deployment completion instruction by deployment until the deployment checking result is success.
The application also provides a device for remotely deploying the middleware, the device is applied to a control server, the control server and a server to be deployed realize the password-free login based on a key pair of an SSH protocol, and the server to be deployed is used for deploying the digital medical system;
the device comprises:
the request acquisition module is used for acquiring a middleware installation request through an installed automatic operation and maintenance tool, wherein the middleware installation request carries a storage path of a target configuration file;
the deployment preparation module is used for acquiring a target configuration file according to the middleware installation request through the automatic operation and maintenance tool, performing middleware deployment preparation on the server to be deployed according to the target configuration file, and acquiring a deployment preparation completion result sent by the server to be deployed;
the middleware deployment module is used for deploying corresponding middleware on the server to be deployed according to the deployment preparation completion result and the target configuration file through the automatic operation and maintenance tool, and acquiring the middleware deployment completion result sent by the server to be deployed;
and the middleware checking module is used for checking the state of the middleware through the automatic operation and maintenance tool according to the middleware deployment completion result to obtain a deployment checking result.
The present application further proposes a computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the steps of any of the above methods when executing the computer program.
The present application also proposes a computer-readable storage medium having stored thereon a computer program which, when being executed by a processor, carries out the steps of the method of any of the above.
According to the method, the device, the computer equipment and the storage medium for remotely deploying the middleware, the automatic operation and maintenance tool is installed on the control server, and the control server and the server to be deployed realize secret-free login based on the key pair of the SSH protocol, so that the middleware can be deployed on the server to be deployed only by operating the control server, the operation is simple, and the deployment efficiency is improved; the automatic operation and maintenance tool obtains a middleware installation request, the middleware installation request carries a storage path of a target configuration file, the automatic operation and maintenance tool performs middleware deployment preparation, corresponding middleware deployment and middleware state check according to the middleware installation request so as to complete the deployment of the middleware, and the same target configuration file and the same deployment flow are adopted, so that the deployed middleware is consistent in environment, the operation and maintenance cost and the operation and maintenance difficulty are reduced, and the rapid analysis and positioning problem is facilitated.
Drawings
FIG. 1 is a flowchart illustrating a method for remotely deploying middleware according to an embodiment of the present application;
FIG. 2 is a block diagram illustrating an exemplary architecture of an apparatus for remotely deploying middleware according to an embodiment of the present application;
fig. 3 is a block diagram illustrating a structure of a computer device according to an embodiment of the present application.
The implementation, functional features and advantages of the objectives of the present application will be further explained with reference to the accompanying drawings.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The nomenclature used in this application is as follows:
the automatic operation and maintenance tool in the application is an Angle, which is developed based on Python, integrates the advantages of a plurality of operation and maintenance tools (puppet, cfengine, chef, func and fabric), and realizes functions of batch system configuration, batch program deployment, batch operation commands and the like. The automatic operation and maintenance tool works based on modules and has no capacity of batch deployment. What really has the bulk deployment is the module that the automated operation and maintenance tool runs, and the automated operation and maintenance tool only provides a framework.
The SSH protocol of the application is a Secure Shell protocol, and the SSH is an abbreviation of Secure Shell and is formulated by an IETF Network Group (Network Working Group); SSH is a security protocol built on an application layer basis. SSH is a relatively reliable protocol that is dedicated to providing security for telnet sessions and other web services. The SSH protocol can effectively prevent the problem of information leakage in the remote management process. SSH was initially a program on UNIX systems and was subsequently rapidly expanding to other operating platforms. SSH, when used correctly, can remedy vulnerabilities in the network. SSH clients are applicable to a variety of platforms. Almost all UNIX platforms-including HP-UX, Linux, AIX, Solaris, Digital UNIX, Irix, and others-can run SSH.
The middleware Docker is an open-source application container engine, so that developers can package applications and dependency packages of the applications into a portable mirror image and then distribute the portable mirror image to any popular Linux or Windows machine, and virtualization can be achieved. The containers are fully sandboxed without any interface between each other.
The middleware, namely an elastic search, is a search service module based on Lucene. It provides a distributed multi-user capable full-text search engine based on RESTful web interface. The Elasticsearch was developed in the Java language and published as open source under the Apache licensing terms, a popular enterprise level search engine. The Elasticisearch is used in cloud computing, can achieve real-time searching, and is stable, reliable, rapid, convenient to install and use. Official clients are available in Java,. NET (C #), PHP, Python, Apache Groovy, Ruby and many other languages. The Elasticisearch is the most popular enterprise search engine, as shown by the DB-Engineers ranking, followed by Apache Solr, also based on Lucene.
The middleware Kafka of the present application is an open source stream processing platform developed by the Apache software foundation, and written by Scala and Java. Kafka is a high-throughput distributed publish-subscribe messaging system that can handle all the action flow data of a consumer in a web site. This action (web browsing, searching and other user actions) is a key factor in many social functions on modern networks. These data are typically addressed by handling logs and log aggregations due to throughput requirements. This is a viable solution to the limitations of Hadoop-like log data and offline analysis systems, but which require real-time processing. The purpose of Kafka is to unify online and offline message processing through the parallel loading mechanism of Hadoop, and also to provide real-time messages through clustering.
The middleware Nginx of the present application is a lightweight Web server/reverse proxy server and an electronic mail (IMAP/POP3) proxy server, and is distributed under the BSD-like protocol. The method has the characteristics of less occupied memory and strong concurrency capability, and the fact that the concurrency capability of nginx is better in the same type of web servers.
The middleware Python of the application is a cross-platform computer programming language. Is a high-level scripting language that combines interpretive, compiled, interactive, and object-oriented capabilities. Originally designed for writing automated scripts (shells), the more they are used for the development of independent, large projects with the continual updating of versions and the addition of new functionality in language.
The middleware Rabbitmq of the present application is open source message agent software (also referred to as message-oriented middleware) that implements Advanced Message Queuing Protocol (AMQP). The RabbitMQ server is written in Erlang language, while the cluster and failover are built on an open telecommunications platform framework. All major programming languages have a client library that communicates with the agent interface.
The middleware Spring Boot, also called Spring Boot, is a brand new framework provided by Pivotal team, and is designed to simplify the initial building and development process of new Spring application. The framework uses a specific way to configure, thereby eliminating the need for developers to define a templated configuration. In this way, Spring boots are dedicated to become the leader in the briskly developing field of rapid application development (rapid application development). The Spring framework is an open source application framework on the Java platform, and provides a container with control reversal characteristics.
The middleware Tomcat is a free Web application server with open source codes, belongs to a lightweight application server, is commonly used in small and medium-sized systems and occasions where concurrent access users are not many, and is the first choice for developing and debugging JSP programs. For a novice, it can be said that when an Apache server is configured on a machine, it can be used to respond to access requests for HTML (an application in the standard universal markup language) pages. Tomcat is in fact an extension of the Apache server, but it runs independently at runtime, so when you run Tomcat, it actually runs separately as a process independent of Apache.
The middleware Zookeeper is distributed application program coordination service with open source codes, is realized by an open source of Chubby of Google, and is an important component of Hadoop and Hbase. It is a software that provides a consistent service for distributed applications, and the functions provided include: configuration maintenance, domain name service, distributed synchronization, group service, etc. The Zookeeper aims to package complex and error-prone key services and provide a simple and easy-to-use interface and a system with high performance and stable functions for users.
In order to solve the technical problems that the deployment efficiency of an operation and maintenance deployment mode is low and a uniform deployment standard does not exist in the prior art, the application provides a method for remotely deploying middleware, and the method is applied to the technical field of digital medical treatment. The application is operational with numerous general purpose or special purpose computing system environments or configurations. For example: personal computers, server computers, hand-held or portable devices, tablet-type devices, multiprocessor systems, microprocessor-based systems, set top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like. The application may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The application may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. The method for remotely deploying the middleware is applied to a control server, the control server and a server to be deployed realize password-free login based on a key pair of an SSH protocol, the server to be deployed is used for deploying a digital medical system, and the deployed middleware is consistent in environment by adopting the same target configuration file and the same deployment process specification, so that the operation and maintenance cost and the operation and maintenance difficulty are reduced, and the problem of rapid analysis and positioning is also facilitated.
The digital medical system includes but is not limited to: case management system, treatment management system, medication management system, medical expense management system, laboratory test management system, radiation management system and hospitalization management system.
The control server is a server for installing an automatic operation and maintenance tool.
The server to be deployed refers to a server for deploying middleware and a digital medical system. The number of the servers to be deployed is at least one.
The automatic operation and maintenance tool uses a standard SSH protocol to connect and transmit data, a daemon process does not need to be started on the server to be deployed, and the transmission of the standard SSH data is encrypted transmission, so that the server to be deployed is not easy to be attacked, and the deployment safety of the middleware is improved.
The automatic operation and maintenance tool enables the control server and the server to be deployed to communicate through the SSH protocol, operation and maintenance can be performed only by running an SSH process in the server to be deployed, and the SSH process is a process commonly used in the server, so that the automatic operation and maintenance tool only needs to pay attention to the state of the control server when performing operation and maintenance, and the operation and maintenance efficiency is improved. After SSH key authentication is completed on the servers to be deployed, operation and maintenance management can be performed on the plurality of servers to be deployed only by logging in the control server, so that the operation and maintenance are efficient and convenient.
In addition, the method for remotely deploying the middleware can be deployed only based on an internal to-and-fro environment without accessing the Internet, and the whole deployment process is based on an SSH protocol, so that the deployment safety of the middleware is further improved.
Optionally, the automatic operation and maintenance tool is installed offline on the control server.
Referring to fig. 1, the method for remotely deploying middleware comprises:
s1: acquiring a middleware installation request through an installed automatic operation and maintenance tool, wherein the middleware installation request carries a storage path of a target configuration file;
s2: acquiring a target configuration file according to the middleware installation request through the automatic operation and maintenance tool, performing middleware deployment preparation on the server to be deployed according to the target configuration file, and acquiring a deployment preparation completion result sent by the server to be deployed;
s3: deploying corresponding middleware on the server to be deployed according to the deployment preparation completion result and the target configuration file through the automatic operation and maintenance tool, and acquiring a middleware deployment completion result sent by the server to be deployed;
s4: and performing middleware state inspection according to the middleware deployment completion result through the automatic operation and maintenance tool to obtain a deployment inspection result.
In the embodiment, the control server is provided with the automatic operation and maintenance tool, and the control server and the server to be deployed realize the password-free login based on the key pair of the SSH protocol, so that the middleware can be deployed in the server to be deployed only by operating the control server, the operation is simple, and the deployment efficiency is improved; the automatic operation and maintenance tool obtains a middleware installation request, the middleware installation request carries a storage path of a target configuration file, the automatic operation and maintenance tool performs middleware deployment preparation, corresponding middleware deployment and middleware state check according to the middleware installation request so as to complete the deployment of the middleware, and the same target configuration file and the same deployment flow are adopted, so that the deployed middleware is consistent in environment, the operation and maintenance cost and the operation and maintenance difficulty are reduced, and the rapid analysis and positioning problem is facilitated.
Through the steps S1 to S3, the automatic deployment of the middleware can be realized through one middleware installation request, and the operation of operation and maintenance personnel is simplified.
For S1, the control server obtains a middleware installation request through the installed automation operation and maintenance tool.
The middleware installation request refers to a request for remotely deploying the middleware on the server to be deployed through the control server.
The middleware includes but is not limited to: docker, Elasticissearch, Kafka, Nginx, Python, Rabbitmq, Springboot, Tomcat, Zookeeper.
It can be understood that the instruction formats of the middleware installation requests of different middleware are the same, thereby being beneficial to reducing the operation difficulty of deployment.
Optionally, before the step of obtaining the middleware installation request by the installed automation operation and maintenance tool, the method further includes: acquiring the target configuration file; and storing the target configuration file into a database of the control server.
The target configuration file may be configured by the user at the control server, or may be imported by the user from another data source.
It is to be understood that the target profiles of different middleware may be different or the same.
For example, the installation request of the installation middleware Zookeeper is an automation operation and maintenance tool-playlist-i inverter/20200608-ybkj-demo-Zookeeper-stg deployment _ Zookeeper, wherein 20200608-ybkj-demo-Zookeeper-stg is a storage path of the target configuration file.
For S2, the control server obtains a target configuration file according to the storage path of the target configuration file of the middleware installation request by the automation operation and maintenance tool; and then, according to the target configuration file, middleware deployment preparation is carried out on at least one server to be deployed, and a deployment preparation completion result sent by the server to be deployed is obtained. That is, middleware deployment preparations may be made simultaneously at a plurality of the servers to be deployed at a time.
And the deployment preparation completion result carries the identifier of the server to be deployed. The control server can determine which server to be deployed sends the deployment preparation completion result through the identification of the server to be deployed.
The identifier of the server to be deployed may be an identifier that uniquely identifies one server to be deployed, such as an ID of the server to be deployed, a name of the server to be deployed, and the like.
The middleware deployment preparation comprises: checking whether a middleware environment exists, initializing a server basic environment, installing a Java development kit and configuring a middleware management tool.
The deployment preparation completion result includes: success and failure.
Optionally, when the deployment preparation completion result is failure, the step S2 is repeatedly executed until the deployment preparation completion result is success.
Optionally, when the deployment preparation completion result is failure, the middleware deployment is stopped, and a deployment preparation failure result signal is sent.
For S3, the control server responds to the deployment preparation completion result through the automation operation and maintenance tool, and when the deployment preparation completion result is successful, deploys a corresponding middleware on the server to be deployed corresponding to the server to be deployed identifier according to the server to be deployed identifier and the target configuration file carried by the deployment preparation completion result, and obtains a middleware deployment completion result sent by the server to be deployed. And the deployment completion result of the middleware carries the identifier of the server to be deployed.
The middleware deployment completion result comprises: success and failure.
It is understood that the control server may deploy corresponding middleware to a plurality of servers to be deployed at the same time.
It is to be understood that the specific steps for deploying the corresponding middleware for different middleware may be different or the same.
Optionally, when the middleware deployment completion result is failure, the step S3 is repeatedly executed until the middleware deployment completion result is success.
Optionally, when the middleware deployment completion result is failure, the middleware deployment is stopped, and a middleware deployment failure result signal is sent.
For step S4, when the middleware deployment completion result is successful, the control server performs middleware state check on the to-be-deployed server corresponding to the to-be-deployed server identifier according to the to-be-deployed server identifier carried in the middleware deployment completion result by the automated operation and maintenance tool, and obtains a middleware state check result sent by the to-be-deployed server; and the control server determines a deployment inspection result according to the middleware state inspection result through the automatic operation and maintenance tool.
It is understood that the control server may perform middleware status check on a plurality of servers to be deployed at the same time.
The deployment check result includes: success and failure.
It can be understood that, when a plurality of servers to be deployed are deployed at the same time, each server to be deployed is taken as an independent deployment process, that is, when one of the servers to be deployed fails, the deployment progress of the other servers to be deployed is not affected.
Optionally, when a plurality of servers to be deployed are deployed at the same time, the operating systems of the servers to be deployed have the same configuration.
In one embodiment, the middleware installation request comprises: any one of an application container engine installation request, a search service module installation request, an open source streaming processing platform installation request, a proxy server installation request, a computer programming language installation request, a message proxy software installation request, a Web application server installation request, an application framework installation request, and a distributed application coordination service installation request.
The embodiment provides different installation requests for different middleware, which is beneficial to simplifying the deployment work of the automatic operation and maintenance tool and also beneficial to quickly starting the problems encountered in deployment.
The application container engine installation request refers to an installation request for an application container engine. The search service module installation request refers to an installation request for a search service module. The installation request of the source flow processing platform refers to an installation request of the source flow processing platform. The proxy server installation request refers to an installation request for a proxy server. The installation request of the computer programming language installation package refers to an installation request of a computer programming language. The message agent software installation request refers to an installation request for message agent software. The installation request of the Web application server refers to an installation request of the Web application server. The application framework installation request refers to an installation request of the application framework. The distributed application program coordination service installation request refers to an installation request of a distributed application program coordination service.
The application container engine includes, but is not limited to, Docker. The search service module includes, but is not limited to, an Elasticsearch. The open source stream processing platform includes, but is not limited to, Kafka. The proxy server includes, but is not limited to, Nginx. The computer programming language installation package includes, but is not limited to, a Python installation package. The message broker software includes, but is not limited to, Rabbitmq. The open source application framework includes, but is not limited to, Springboot. The Web application server includes, but is not limited to, Tomcat. The distributed application coordination service includes, but is not limited to, Zookeeper.
In one embodiment, the target profile includes: the method comprises the steps that an IP address of a node to be deployed, core cluster configuration parameters of the middleware, a deployment environment name, a middleware software version, a customized service port and a JAVA version are obtained;
and adding the default port and a preset numerical value to obtain the customized service port.
The target configuration file of the embodiment provides configuration data for middleware deployment preparation, corresponding middleware deployment and middleware state check, so that configuration data input in the deployment process is avoided, and the operation and maintenance personnel can be further simplified.
For example, if the default port is 3128, the sum of 3128 and the preset value 30000 results in 33128, 33128 being the customized service port, which is not specifically limited by the examples. The operation and maintenance personnel can know which type of middleware service is through the customized service port, and hide the port through a preset numerical value so as to avoid external attack, thereby ensuring the readability, the understandability and the safety of the customized service port.
In an embodiment, the step of performing middleware deployment preparation on the server to be deployed according to the target configuration file and obtaining a deployment preparation completion result sent by the server to be deployed includes:
s21: performing middleware environment inspection on the server to be deployed through the automatic operation and maintenance tool according to the target configuration file, and acquiring a middleware environment inspection result sent by the server to be deployed;
s22: when the middleware environment inspection result is successful, performing deployment operation of initializing a basic environment of a server on the server to be deployed through the automatic operation and maintenance tool according to the target configuration file, and acquiring a basic environment initialization result sent by the server to be deployed;
s23: when the basic environment initialization result is successful, installing a Java development kit on the server to be deployed through the automatic operation and maintenance tool according to the target configuration file, and obtaining a JDK installation result sent by the server to be deployed;
s24: and when the JDK installation result is successful, configuring a middleware management tool on the server to be deployed through the automatic operation and maintenance tool according to the target configuration file, and acquiring a deployment preparation completion result sent by the server to be deployed.
According to the embodiment, the middleware deployment preparation is carried out according to the deployment flow specification and the target configuration file of the deployment preparation through the automatic operation and maintenance tool, and the middleware deployment preparation results are consistent due to the fact that the same target configuration file and the same deployment flow specification are adopted.
For S21, the control server sequentially checks whether a middleware directory exists in the to-be-deployed server and whether a middleware instance port in the to-be-deployed server monitors a state according to the target configuration file by using the automation operation and maintenance tool; and when the middleware directory exists and the middleware instance port in the server to be deployed is in a monitoring state, determining that the middleware environment check result is successful, otherwise, determining that the middleware environment check result is failed.
Optionally, when the middleware environment check result is a failure, the middleware deployment is stopped, and a middleware environment check failure result signal is sent.
For step S22, when the middleware environment check result is successful, the control server performs disk mount and user configuration on the server to be deployed according to the target configuration file through the automation operation and maintenance tool; and when the disk mounting is successful and the user configuration is successful, determining that the basic environment initialization result is successful, otherwise, determining that the basic environment initialization result is failed.
Because the deployment operation is carried out based on the unified standard, the user account number and the authority, the log file directory and the log authority are kept consistent, and the installation and the starting of the middleware are also consistent on the basis of consistency, thereby facilitating the subsequent adoption of the unified operation and maintenance standard and further improving the efficiency of positioning and solving problems.
Optionally, when the basic environment initialization result is a failure, the middleware deployment is stopped, and a basic environment initialization failure result signal is sent.
The disk mount is used for mounting the log disk. The log file directory has a special log disk mounting point of/wls/applications, and log deposits of different middleware instances are distributed with independent directories.
For example, the log file directory of the kafka03 instance is: /wls/applications/rtlog/hsp-jjsj-kafka-stg/kafka-03, which is not specifically limited by way of example.
Optionally, the authority of the log file directory also has a standard log specification, the standard log specification can specify which users can read and write, and the execution of the standard log specification is realized by packaging a shell script tool.
The user configuration is used for creating users, user groups, initialization of standardized directories and initialization of directory authorities. The creating user is used for creating an operation and maintenance user, a deployment user, a service start and stop user and a log user.
For S23, when the basic environment initialization result is successful, the control server sequentially creates a middleware directory in the to-be-deployed server through the automation operation and maintenance tool according to the target configuration file, distributes a Java development kit (JDK installation package for short) from the control server to the to-be-deployed server, decompresses the JDK installation package under the middleware directory, establishes a soft connection of a JDK middleware version, and updates the authority of the middleware directory; and when the creation of a middleware directory, the distribution of a JDK installation package from the control server to the server to be deployed, the decompression of the JDK installation package under the middleware directory, the establishment of the soft connection of the JDK middleware version and the updating of the authority of the middleware directory are successful, determining that the JDK installation result is successful, otherwise, determining that the JDK installation result is failed.
The soft connection between the JDK and the middleware version is established to facilitate the later upgrading.
Optionally, when the JDK installation result is a failure, the middleware deployment is stopped, and a JDK installation failure result signal is sent.
For S24, the configuration middleware management tool comprises: creating a configuration directory of the middleware management tool, a middleware service list of a configuration server, creating a directory of an executable file of the middleware management tool, distributing MiddleAdmin of the middleware management tool from the control server to the server to be deployed, distributing core configuration complete _ MiddleAdmin of the middleware management tool from the control server to the server to be deployed, and performing deployment operation of auto-completion function for adding MiddleAdmin of the middleware management tool.
And determining that the deployment preparation completion result is successful when all steps of the configuration middleware management tool are successful, and determining that the deployment preparation completion result is failed if not.
The configuration server's middleware services list may enable one server to deploy multiple or multiple kinds of middleware.
The MiddleAdmin is a tool for managing starting and stopping of the middleware.
The complete _ midleAdmin is an additional tool for optimizing the middleAdmin.
And the middleware management tool is used for checking the starting and stopping of the middleware and the state of service.
Through the steps S21 to S24, the control server deploys the middleware on the to-be-deployed server remotely through the automation operation and maintenance tool based on the middleware deployment specification, the application deployment specification, and the log specification, so as to implement automation and standardized deployment on the whole deployment process in terms of environment initialization of the to-be-deployed server, creation of a user, mounting of a disk, installation of software, initialization of middleware configuration, and the like. And the middleware deployment specification, the application deployment specification and the log specification are remotely identical, so that the middleware deployment preparation results are consistent.
In an embodiment, the step of deploying, by the automation operation and maintenance tool, a corresponding middleware at the server to be deployed according to the deployment preparation completion result and the target configuration file, and obtaining the middleware deployment completion result sent by the server to be deployed includes:
s31: when the middleware installation request is a middleware installation request, distributing a middleware installation package from the control server to the server to be deployed through the automatic operation and maintenance tool according to the deployment preparation completion result and the target configuration file, decompressing the middleware installation package to a middleware directory in the server to be deployed, establishing soft connection of a middleware version, establishing a data directory required by middleware cluster construction, establishing a core configuration file required by middleware cluster construction, establishing a data log directory of a middleware cluster and establishing soft connection, configuring core configuration and starting scripts of different nodes of the cluster through template functions, updating permissions and user attributes of the middleware directory and the log directory, and starting deployment of the middleware cluster;
s32: and acquiring the middleware deployment completion result sent by the server to be deployed through the automatic operation and maintenance tool.
In the embodiment, when the middleware is requested to be installed, the corresponding middleware is deployed according to the middleware deployment specification, so that the deployed middleware is consistent, the operation and maintenance cost and the operation and maintenance difficulty are reduced, and the problem of rapid analysis and positioning is also facilitated.
It is to be understood that the steps of deploying respective middleware by different middleware may be different or the same.
Optionally, when the middleware installation request is a Zookeeper installation request, distributing a Zookeeper installation package from the control server to the server to be deployed according to the deployment preparation completion result and the target configuration file by the automation operation and maintenance tool, decompressing the Zookeeper installation package into a middleware directory, establishing a soft connection of a Zookeeper middleware version, creating a data directory required for building a Zookeeper cluster, creating a core configuration file required for building a Zookeeper cluster, creating a data log directory of the Zookeeper cluster and establishing a soft connection, configuring core configuration zo.cfg of different nodes of the cluster through a templates function, starting a script zkenv.sh, updating permissions and user affiliation groups of the middleware directory and the log directory, and starting deployment of the Zookeeper cluster.
In an embodiment, the step of performing, by the automation operation and maintenance tool, middleware state inspection according to the middleware deployment completion result to obtain a deployment inspection result includes:
s41: acquiring a middleware state check request according to the middleware deployment completion result through the automatic operation and maintenance tool, wherein the middleware state check request carries a storage path of the target configuration file;
s42: acquiring the target configuration file according to the middleware state check request through the automatic operation and maintenance tool, checking whether the middleware deployment of the server to be deployed is finished and checking whether the middleware cluster state of the server to be deployed is normal according to the target configuration file, and acquiring a middleware deployment check result and a middleware cluster state check result sent by the server to be deployed;
s43: and when the middleware deployment inspection result is completion and the middleware cluster state inspection result is normal, determining that the deployment inspection result is successful through the automatic operation and maintenance tool, and otherwise determining that the deployment inspection result is successful and determining that the deployment inspection result is failure.
In this embodiment, the accuracy of the middleware deployment is ensured by checking whether the middleware deployment of the server to be deployed is completed and checking whether the middleware cluster state of the server to be deployed is normal.
For S41, when the middleware deployment completion result is successful, the control server obtains a middleware status check request through the automation operation and maintenance tool.
For example, the middleware status check request is:
the automatic operation and maintenance tool all-i inventoryy/20200608-ybkj-demo-Zookeeper-stg-mshell-a 'middleAdmin-l', wherein 20200608-ybkj-demo-Zookeeper-stg is a storage path of a target configuration file.
For S42, the middleware deployment check result includes: completed, not completed; the middleware cluster state check result comprises: normal and abnormal.
In an embodiment, after the step of determining, by the automation operation and maintenance tool, that the deployment inspection result is successful when the middleware deployment inspection result is complete and the middleware cluster status inspection result is normal, and otherwise determining that the deployment inspection result is successful and the deployment inspection result is failed, the method further includes:
and when the deployment checking result is failure, executing the middleware deployed in the server to be deployed according to the target configuration file, and completing the step of generating a deployment completion instruction by deployment until the deployment checking result is success.
According to the embodiment, when the deployment check result is failure, the deployment middleware of the server to be deployed is automatically executed, and the step of generating the deployment completion instruction is completed after deployment is performed again, so that the operation of operation and maintenance personnel is reduced, and the deployment efficiency is improved.
The deployment check results in success, that is, the middleware has been successfully deployed to the deployment server.
Referring to fig. 2, the present application further provides a device for remotely deploying middleware, where the device is applied to a control server, the control server and a server to be deployed implement a secret-free login based on a key pair of an SSH protocol, and the server to be deployed is used for deploying a digital medical system;
the device comprises:
a request obtaining module 100, configured to obtain, by an installed automation operation and maintenance tool, a middleware installation request, where the middleware installation request carries a storage path of a target configuration file;
the deployment preparation module 200 is configured to obtain, by the automation operation and maintenance tool, a target configuration file according to the middleware installation request, perform middleware deployment preparation on the server to be deployed according to the target configuration file, and obtain a deployment preparation completion result sent by the server to be deployed;
the middleware deployment module 300 is configured to deploy, by the automation operation and maintenance tool, a corresponding middleware at the server to be deployed according to the deployment preparation completion result and the target configuration file, and obtain a middleware deployment completion result sent by the server to be deployed;
and the middleware checking module 400 is configured to perform middleware state checking according to the middleware deployment completion result by the automatic operation and maintenance tool, so as to obtain a deployment checking result.
In the embodiment, the control server is provided with the automatic operation and maintenance tool, and the control server and the server to be deployed realize the password-free login based on the key pair of the SSH protocol, so that the middleware can be deployed in the server to be deployed only by operating the control server, the operation is simple, and the deployment efficiency is improved; the automatic operation and maintenance tool obtains a middleware installation request, the middleware installation request carries a storage path of a target configuration file, the automatic operation and maintenance tool performs middleware deployment preparation, corresponding middleware deployment and middleware state check according to the middleware installation request so as to complete the deployment of the middleware, and the same target configuration file and the same deployment flow are adopted, so that the deployed middleware is consistent in environment, the operation and maintenance cost and the operation and maintenance difficulty are reduced, and the rapid analysis and positioning problem is facilitated.
Referring to fig. 3, a computer device, which may be a server and whose internal structure may be as shown in fig. 3, is also provided in the embodiment of the present application. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the computer designed processor is used to provide computational and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used for storing data such as a method for remotely deploying middleware. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a method of remotely deploying middleware. The method for remotely deploying the middleware is applied to a control server, the control server and a server to be deployed realize the password-free login based on a key pair of an SSH (secure Shell) protocol, and the server to be deployed is used for deploying the digital medical system; the method comprises the following steps: acquiring a middleware installation request through an installed automatic operation and maintenance tool, wherein the middleware installation request carries a storage path of a target configuration file; acquiring a target configuration file according to the middleware installation request through the automatic operation and maintenance tool, performing middleware deployment preparation on the server to be deployed according to the target configuration file, and acquiring a deployment preparation completion result sent by the server to be deployed; deploying corresponding middleware on the server to be deployed according to the deployment preparation completion result and the target configuration file through the automatic operation and maintenance tool, and acquiring a middleware deployment completion result sent by the server to be deployed; and performing middleware state inspection according to the middleware deployment completion result through the automatic operation and maintenance tool to obtain a deployment inspection result.
In the embodiment, the control server is provided with the automatic operation and maintenance tool, and the control server and the server to be deployed realize the password-free login based on the key pair of the SSH protocol, so that the middleware can be deployed in the server to be deployed only by operating the control server, the operation is simple, and the deployment efficiency is improved; the automatic operation and maintenance tool obtains a middleware installation request, the middleware installation request carries a storage path of a target configuration file, the automatic operation and maintenance tool performs middleware deployment preparation, corresponding middleware deployment and middleware state check according to the middleware installation request so as to complete the deployment of the middleware, and the same target configuration file and the same deployment flow are adopted, so that the deployed middleware is consistent in environment, the operation and maintenance cost and the operation and maintenance difficulty are reduced, and the rapid analysis and positioning problem is facilitated.
An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a method for remotely deploying middleware, the method is applied to a control server, the control server and a server to be deployed implement secure login based on a key pair of an SSH protocol, and the server to be deployed is used for deploying a digital medical system; the method comprises the following steps: acquiring a middleware installation request through an installed automatic operation and maintenance tool, wherein the middleware installation request carries a storage path of a target configuration file; acquiring a target configuration file according to the middleware installation request through the automatic operation and maintenance tool, performing middleware deployment preparation on the server to be deployed according to the target configuration file, and acquiring a deployment preparation completion result sent by the server to be deployed; deploying corresponding middleware on the server to be deployed according to the deployment preparation completion result and the target configuration file through the automatic operation and maintenance tool, and acquiring a middleware deployment completion result sent by the server to be deployed; and performing middleware state inspection according to the middleware deployment completion result through the automatic operation and maintenance tool to obtain a deployment inspection result.
According to the method for remotely deploying the middleware, the automatic operation and maintenance tool is installed on the control server, and the control server and the server to be deployed realize secret-free login based on the key pair of the SSH protocol, so that the middleware can be deployed on the server to be deployed only by operating the control server, the operation is simple, and the deployment efficiency is improved; the automatic operation and maintenance tool obtains a middleware installation request, the middleware installation request carries a storage path of a target configuration file, the automatic operation and maintenance tool performs middleware deployment preparation, corresponding middleware deployment and middleware state check according to the middleware installation request so as to complete the deployment of the middleware, and the same target configuration file and the same deployment flow are adopted, so that the deployed middleware is consistent in environment, the operation and maintenance cost and the operation and maintenance difficulty are reduced, and the rapid analysis and positioning problem is facilitated.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium provided herein and used in the examples may include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), double-rate SDRAM (SSRSDRAM), Enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and bus dynamic RAM (RDRAM).
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, apparatus, article, or method that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, apparatus, article, or method. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, apparatus, article, or method that includes the element.
The above description is only a preferred embodiment of the present application, and not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application, or which are directly or indirectly applied to other related technical fields, are also included in the scope of the present application.

Claims (10)

1. The method for remotely deploying the middleware is applied to a control server, the control server and a server to be deployed realize the password-free login based on a key pair of an SSH (secure Shell) protocol, and the server to be deployed is used for deploying the digital medical system;
the method comprises the following steps:
acquiring a middleware installation request through an installed automatic operation and maintenance tool, wherein the middleware installation request carries a storage path of a target configuration file;
acquiring a target configuration file according to the middleware installation request through the automatic operation and maintenance tool, performing middleware deployment preparation on the server to be deployed according to the target configuration file, and acquiring a deployment preparation completion result sent by the server to be deployed;
deploying corresponding middleware on the server to be deployed according to the deployment preparation completion result and the target configuration file through the automatic operation and maintenance tool, and acquiring a middleware deployment completion result sent by the server to be deployed;
and performing middleware state inspection according to the middleware deployment completion result through the automatic operation and maintenance tool to obtain a deployment inspection result.
2. The method of claim 1, wherein the middleware installation request comprises: any one of an application container engine installation request, a search service module installation request, an open source streaming processing platform installation request, a proxy server installation request, a computer programming language installation request, a message proxy software installation request, a Web application server installation request, an application framework installation request, and a distributed application coordination service installation request.
3. The method of claim 1, wherein the target configuration file comprises: the method comprises the steps that an IP address of a node to be deployed, core cluster configuration parameters of the middleware, a deployment environment name, a middleware software version, a customized service port and a JAVA version are obtained;
and adding the default port and a preset numerical value to obtain the customized service port.
4. The method according to claim 1, wherein the step of performing middleware deployment preparation on the server to be deployed according to the target configuration file and obtaining a deployment preparation completion result sent by the server to be deployed comprises:
performing middleware environment inspection on the server to be deployed through the automatic operation and maintenance tool according to the target configuration file, and acquiring a middleware environment inspection result sent by the server to be deployed;
when the middleware environment inspection result is successful, performing deployment operation of initializing a basic environment of a server on the server to be deployed through the automatic operation and maintenance tool according to the target configuration file, and acquiring a basic environment initialization result sent by the server to be deployed;
when the basic environment initialization result is successful, installing a Java development kit on the server to be deployed through the automatic operation and maintenance tool according to the target configuration file, and obtaining a JDK installation result sent by the server to be deployed;
and when the JDK installation result is successful, configuring a middleware management tool on the server to be deployed through the automatic operation and maintenance tool according to the target configuration file, and acquiring a deployment preparation completion result sent by the server to be deployed.
5. The method according to claim 1, wherein the step of deploying, by the automation operation and maintenance tool, a corresponding middleware at the server to be deployed according to the deployment preparation completion result and the target configuration file, and obtaining the middleware deployment completion result sent by the server to be deployed comprises:
when the middleware installation request is a middleware installation request, distributing a middleware installation package from the control server to the server to be deployed through the automatic operation and maintenance tool according to the deployment preparation completion result and the target configuration file, decompressing the middleware installation package to a middleware directory in the server to be deployed, establishing soft connection of a middleware version, establishing a data directory required by middleware cluster construction, establishing a core configuration file required by middleware cluster construction, establishing a data log directory of a middleware cluster and establishing soft connection, configuring core configuration and starting scripts of different nodes of the cluster through template functions, updating permissions and user attributes of the middleware directory and the log directory, and starting deployment of the middleware cluster;
and acquiring the middleware deployment completion result sent by the server to be deployed through the automatic operation and maintenance tool.
6. The method according to claim 1, wherein the step of performing middleware state inspection by the automation operation and maintenance tool according to the middleware deployment completion result to obtain a deployment inspection result comprises:
acquiring a middleware state check request according to the middleware deployment completion result through the automatic operation and maintenance tool, wherein the middleware state check request carries a storage path of the target configuration file;
acquiring the target configuration file according to the middleware state check request through the automatic operation and maintenance tool, checking whether the middleware deployment of the server to be deployed is finished and checking whether the middleware cluster state of the server to be deployed is normal according to the target configuration file, and acquiring a middleware deployment check result and a middleware cluster state check result sent by the server to be deployed;
and when the middleware deployment inspection result is completion and the middleware cluster state inspection result is normal, determining that the deployment inspection result is successful through the automatic operation and maintenance tool, and otherwise determining that the deployment inspection result is successful and determining that the deployment inspection result is failure.
7. The method according to claim 6, wherein the determining, by the automated operation and maintenance tool, that the deployment inspection result is successful when the middleware deployment inspection result is complete and the middleware cluster status inspection result is normal, and after the determining that the deployment inspection result is successful and the deployment inspection result is failed otherwise, further comprises:
and when the deployment checking result is failure, executing the middleware deployed in the server to be deployed according to the target configuration file, and completing the step of generating a deployment completion instruction by deployment until the deployment checking result is success.
8. The device for remotely deploying the middleware is applied to a control server, the control server and a server to be deployed realize the password-free login based on a key pair of an SSH (secure Shell) protocol, and the server to be deployed is used for deploying the digital medical system;
the device comprises:
the request acquisition module is used for acquiring a middleware installation request through an installed automatic operation and maintenance tool, wherein the middleware installation request carries a storage path of a target configuration file;
the deployment preparation module is used for acquiring a target configuration file according to the middleware installation request through the automatic operation and maintenance tool, performing middleware deployment preparation on the server to be deployed according to the target configuration file, and acquiring a deployment preparation completion result sent by the server to be deployed;
the middleware deployment module is used for deploying corresponding middleware on the server to be deployed according to the deployment preparation completion result and the target configuration file through the automatic operation and maintenance tool, and acquiring the middleware deployment completion result sent by the server to be deployed;
and the middleware checking module is used for checking the state of the middleware through the automatic operation and maintenance tool according to the middleware deployment completion result to obtain a deployment checking result.
9. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
CN202011033866.4A 2020-09-27 2020-09-27 Method and device for remotely deploying middleware, computer equipment and storage medium Active CN112130871B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011033866.4A CN112130871B (en) 2020-09-27 2020-09-27 Method and device for remotely deploying middleware, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011033866.4A CN112130871B (en) 2020-09-27 2020-09-27 Method and device for remotely deploying middleware, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112130871A true CN112130871A (en) 2020-12-25
CN112130871B CN112130871B (en) 2022-11-15

Family

ID=73840704

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011033866.4A Active CN112130871B (en) 2020-09-27 2020-09-27 Method and device for remotely deploying middleware, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112130871B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112764753A (en) * 2020-12-31 2021-05-07 北京知因智慧科技有限公司 Project deployment method and device, electronic equipment and storage medium
CN113419747A (en) * 2021-06-22 2021-09-21 康键信息技术(深圳)有限公司 Middleware deployment method, device, equipment and storage medium
CN113434155A (en) * 2021-06-18 2021-09-24 广州市玄武无线科技股份有限公司 Automatic deployment system in mixed cloud mode
CN113687858A (en) * 2021-08-05 2021-11-23 深圳集智数字科技有限公司 Configuration file checking method and device, electronic equipment and storage medium
CN113778466A (en) * 2021-08-25 2021-12-10 浪潮卓数大数据产业发展有限公司 Server-oriented application system deployment method, equipment and medium
CN113918182A (en) * 2021-11-10 2022-01-11 北京锐安科技有限公司 Software deployment method, device, server and storage medium
CN114518871A (en) * 2022-01-06 2022-05-20 南京博联智能科技有限公司 Method, system, electronic device and storage medium for automated deployment
CN115344273A (en) * 2022-10-19 2022-11-15 杭州比智科技有限公司 Method and system for running application software based on shelf system
CN116594664A (en) * 2023-07-19 2023-08-15 山东捷瑞数字科技股份有限公司 Cloud platform-based software operation and maintenance system, method, equipment and storage medium

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101051851A (en) * 2007-05-16 2007-10-10 贵州大学 Programmable/automatic delay compensation method and device of radio frequency module in TDD system
CN104536899A (en) * 2015-01-20 2015-04-22 成都益联科创科技有限公司 Software deploying and maintaining method based on intelligent cluster
WO2016127756A1 (en) * 2015-02-15 2016-08-18 北京京东尚科信息技术有限公司 Flexible deployment method for cluster and management system
CN106610836A (en) * 2016-12-23 2017-05-03 国网信息通信产业集团有限公司 Micro-service operation management tool
US20170199752A1 (en) * 2016-01-12 2017-07-13 International Business Machines Corporation Optimizing the deployment of virtual resources and automating post-deployment actions in a cloud environment
CN107870845A (en) * 2017-10-19 2018-04-03 北京工业大数据创新中心有限公司 Towards the management method and system of micro services framework applications
US20180173510A1 (en) * 2016-12-19 2018-06-21 Uptake Technologies, Inc. Systems, Devices, and Methods for Deploying One or More Artifacts to a Deployment Environment
CN109800002A (en) * 2019-01-17 2019-05-24 恒峰信息技术有限公司 A kind of automatic installation and deployment method of Java software
CN109889377A (en) * 2019-01-29 2019-06-14 京信通信系统(中国)有限公司 The method and apparatus of VNF are disposed in NFV system based on Openstack
CN110138876A (en) * 2019-05-30 2019-08-16 北京达佳互联信息技术有限公司 Task deployment method, apparatus, equipment and platform
CN110673858A (en) * 2019-08-30 2020-01-10 四川新网银行股份有限公司 Lightweight deployment method based on ssh secret-free login protocol
CN110855746A (en) * 2019-10-12 2020-02-28 重庆金融资产交易所有限责任公司 Middleware management method, electronic device and storage medium

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101051851A (en) * 2007-05-16 2007-10-10 贵州大学 Programmable/automatic delay compensation method and device of radio frequency module in TDD system
CN104536899A (en) * 2015-01-20 2015-04-22 成都益联科创科技有限公司 Software deploying and maintaining method based on intelligent cluster
WO2016127756A1 (en) * 2015-02-15 2016-08-18 北京京东尚科信息技术有限公司 Flexible deployment method for cluster and management system
US20170199752A1 (en) * 2016-01-12 2017-07-13 International Business Machines Corporation Optimizing the deployment of virtual resources and automating post-deployment actions in a cloud environment
US20180173510A1 (en) * 2016-12-19 2018-06-21 Uptake Technologies, Inc. Systems, Devices, and Methods for Deploying One or More Artifacts to a Deployment Environment
CN106610836A (en) * 2016-12-23 2017-05-03 国网信息通信产业集团有限公司 Micro-service operation management tool
CN107870845A (en) * 2017-10-19 2018-04-03 北京工业大数据创新中心有限公司 Towards the management method and system of micro services framework applications
CN109800002A (en) * 2019-01-17 2019-05-24 恒峰信息技术有限公司 A kind of automatic installation and deployment method of Java software
CN109889377A (en) * 2019-01-29 2019-06-14 京信通信系统(中国)有限公司 The method and apparatus of VNF are disposed in NFV system based on Openstack
CN110138876A (en) * 2019-05-30 2019-08-16 北京达佳互联信息技术有限公司 Task deployment method, apparatus, equipment and platform
CN110673858A (en) * 2019-08-30 2020-01-10 四川新网银行股份有限公司 Lightweight deployment method based on ssh secret-free login protocol
CN110855746A (en) * 2019-10-12 2020-02-28 重庆金融资产交易所有限责任公司 Middleware management method, electronic device and storage medium

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112764753A (en) * 2020-12-31 2021-05-07 北京知因智慧科技有限公司 Project deployment method and device, electronic equipment and storage medium
CN112764753B (en) * 2020-12-31 2024-04-12 北京知因智慧科技有限公司 Project deployment method and device, electronic equipment and storage medium
CN113434155A (en) * 2021-06-18 2021-09-24 广州市玄武无线科技股份有限公司 Automatic deployment system in mixed cloud mode
CN113419747B (en) * 2021-06-22 2023-11-28 康键信息技术(深圳)有限公司 Middleware deployment method, device, equipment and storage medium
CN113419747A (en) * 2021-06-22 2021-09-21 康键信息技术(深圳)有限公司 Middleware deployment method, device, equipment and storage medium
WO2022267675A1 (en) * 2021-06-22 2022-12-29 康键信息技术(深圳)有限公司 Middleware deployment method and apparatus, and device and storage medium
CN113687858A (en) * 2021-08-05 2021-11-23 深圳集智数字科技有限公司 Configuration file checking method and device, electronic equipment and storage medium
CN113687858B (en) * 2021-08-05 2024-04-19 深圳须弥云图空间科技有限公司 Configuration file checking method and device, electronic equipment and storage medium
CN113778466A (en) * 2021-08-25 2021-12-10 浪潮卓数大数据产业发展有限公司 Server-oriented application system deployment method, equipment and medium
CN113918182A (en) * 2021-11-10 2022-01-11 北京锐安科技有限公司 Software deployment method, device, server and storage medium
CN114518871A (en) * 2022-01-06 2022-05-20 南京博联智能科技有限公司 Method, system, electronic device and storage medium for automated deployment
CN115344273A (en) * 2022-10-19 2022-11-15 杭州比智科技有限公司 Method and system for running application software based on shelf system
CN116594664A (en) * 2023-07-19 2023-08-15 山东捷瑞数字科技股份有限公司 Cloud platform-based software operation and maintenance system, method, equipment and storage medium

Also Published As

Publication number Publication date
CN112130871B (en) 2022-11-15

Similar Documents

Publication Publication Date Title
CN112130871B (en) Method and device for remotely deploying middleware, computer equipment and storage medium
US20210349706A1 (en) Release lifecycle management system for multi-node application
US10095489B1 (en) GUI-based application template for containerized application software development
US10419289B2 (en) System and method for configuration management service
US11941452B2 (en) System to generate a deployment plan for a cloud infrastructure according to logical, multi-tier application blueprint
US9043786B1 (en) Blueprint-driven environment template creation in a virtual infrastructure
US9003406B1 (en) Environment-driven application deployment in a virtual infrastructure
US9015712B1 (en) Environment template-driven environment provisioning in a virtual infrastructure
US20130232463A1 (en) System and method for customizing a deployment plan for a multi-tier application in a cloud infrastructure
US8285787B2 (en) Systems and methods for managing a collaboration space having application hosting capabilities
US9785490B2 (en) Computer readable storage media for dynamic service deployment and methods and systems for utilizing same
CN113687858A (en) Configuration file checking method and device, electronic equipment and storage medium
CN115794372A (en) Method and system for communication between cross-language application systems
CN113505036B (en) Application monitoring method, client and server
CN113721930A (en) Method, apparatus, device, medium and program product for deploying application program
US12026491B2 (en) System architecture for pattern-based software applications
US20220222053A1 (en) Extensible upgrade and modification as a service
CN113805878B (en) Plug-in engineering method, device, computer system and medium
US20230409454A1 (en) System and method for updating a non-persistent collector deployed in a compute environment
Frampton et al. Stack Storage Options
CN112843674A (en) Game play method and system
CN117075871A (en) Method, device, equipment and storage medium for generating calling code of application program interface
CN115904683A (en) Resource allocation method, device, electronic equipment and storage medium
CN114880276A (en) Distributed cluster management method and device, storage medium and electronic equipment
Matotek et al. Configuration Management: By James Turnbull and Dennis Matotek

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
TA01 Transfer of patent application right

Effective date of registration: 20220525

Address after: 518000 China Aviation Center 2901, No. 1018, Huafu Road, Huahang community, Huaqiang North Street, Futian District, Shenzhen, Guangdong Province

Applicant after: Shenzhen Ping An medical and Health Technology Service Co.,Ltd.

Address before: Room 12G, Block H, 666 Beijing East Road, Huangpu District, Shanghai 200000

Applicant before: PING AN MEDICAL AND HEALTHCARE MANAGEMENT Co.,Ltd.

GR01 Patent grant
GR01 Patent grant