CN114461233A - System and method for realizing automatic deployment of data center software based on cloud environment - Google Patents
System and method for realizing automatic deployment of data center software based on cloud environment Download PDFInfo
- Publication number
- CN114461233A CN114461233A CN202011218179.XA CN202011218179A CN114461233A CN 114461233 A CN114461233 A CN 114461233A CN 202011218179 A CN202011218179 A CN 202011218179A CN 114461233 A CN114461233 A CN 114461233A
- Authority
- CN
- China
- Prior art keywords
- data center
- data
- deployment
- software
- automation
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44521—Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
- G06F9/44526—Plug-ins; Add-ons
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/547—Remote procedure calls [RPC]; Web services
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
- Computer And Data Communications (AREA)
Abstract
The invention provides a system for realizing automatic deployment of data center software based on a cloud environment, which comprises a management layer and an execution layer, wherein the execution layer comprises a software automatic deployment system, and the management layer is deployed in a main data center, uniformly manages various templates, strategies or processes and issues the templates, the strategies or the processes to the execution layer; the execution layer is deployed in each data center and is responsible for specifically executing the template, the strategy or the flow task issued by the management layer; the unified and centralized management layer and the independent and decentralized execution layer work cooperatively, and the integrated management of the cloud data center is realized through a software automation deployment system in the execution layer. The invention also provides a method for realizing the automatic deployment of the data center software based on the cloud environment, which realizes the software components of remote login access and automatic operation based on SSH and various protocols by the matching use of the software automatic deployment systems in the management layer, the execution layer and the execution layer, and improves the application range of the automatic workflow engine software.
Description
Technical Field
The invention relates to the technical field of cloud services in an enterprise cloud computing environment, in particular to a system and a method for realizing automatic deployment of data center software based on a cloud environment.
Background
The enterprise cloud computing system is a large computer system established in a multi-data center scene in different places. The business volume and the information volume brought by the high-speed development of the system urgently need a large-scale data center to provide platform support. Meanwhile, the data center also needs to dynamically deploy highly virtualized IT resources, thereby saving cost. Therefore, the cloud computing service needs to provide a faster, more efficient, more flexible and more complete-function deployment scheme, and the automatic and fast deployment of software is an important implementation function.
In the actual application process, the software deployment of the virtual IT resources in the cloud environment is realized by firstly creating an operating system virtual environment, then logging in the operating system virtual environment to complete system resource adjustment and configuration of a network card and an IP address in a command mode, and finally deploying the system and the application software one by one, so that a large amount of initialization work is repeated, and the time consumption is huge.
Through retrieval, patent document CN103268457A discloses a multi-level relationship information management system based on cloud computing and a design method thereof, including a cloud service platform and a client; the cloud service platform comprises a physical resource layer for storing information data of all organization level units, a processing platform layer for processing the information data in the physical resource layer, a display application layer for displaying the information data and a management layer for managing and maintaining three layers; providing a 'one-vertical-three-horizontal' mode to support the whole multi-level organization structure, and establishing a multi-level relation information management system based on cloud computing, so that the whole system meets the requirements of 'one-base, one-platform and one-network'; meanwhile, the method provides abundant cloud computing capability and a friendly user interface, reaches the interior of an organization for taking mass information, and is applied and analyzed in the interior of the organization. The prior art has the defects that the automation degree of IT resource information deployment is not high, and the IT resource information deployment can not run in various different operating system environments across platforms.
Disclosure of Invention
Aiming at the defects in the prior art, the invention aims to provide a system and a method for realizing automatic deployment of data center software based on a cloud environment. In order to effectively improve the operation and working efficiency, the invention provides a system and a method for dynamically finishing software automation deployment for virtual IT resources by realizing remote login and command line execution components based on an SSH protocol. For enterprise users, even if professional knowledge of cloud environment networks, systems and software is not provided, the virtual machine IT resource environment can be independently, quickly and completely deployed for the remote data center by mastering a simple configuration method.
The invention provides a system for realizing automatic deployment of data center software based on a cloud environment, which comprises: a management layer and an execution layer, the execution layer comprising a software automation deployment system,
the management layer is deployed in the main data center, uniformly manages various templates, strategies or processes and issues the templates, the strategies or the processes to the execution layer; the execution layer is deployed in each data center and is responsible for specifically executing the template, the strategy or the flow task issued by the management layer; the unified and centralized management layer and the independent and decentralized execution layer work cooperatively, and the integrated management of the cloud data center is realized through a software automation deployment system in the execution layer.
Preferably, the management layer comprises:
the monitoring center: collecting information and acquiring various data indexes of the monitored node;
the automatic operation and maintenance center: monitoring the whole cluster dynamic state in real time by taking monitoring alarm and automatic inspection as core functions, and automatically finding and solving problems;
security situation awareness center: the safety state and the information of the cloud environment are detected and found in real time, and safety events and alarms in the operation process are rapidly mastered and captured;
the business situation perception center: distributed application fault analysis positioning and intelligent monitoring early warning under the cloud environment are provided;
intelligent customer service center: providing a plurality of functional modules including a conversation robot, intelligent quality inspection, intelligent outbound and intelligent training;
the dispatching center: and performing automatic task scheduling by using an algorithm, and distributing the task subset to the IT resource with the optimal performance for execution.
Preferably, the execution layer further comprises:
a monitoring area server: the system is responsible for collecting various data indexes of monitored nodes in the region to which the system belongs;
an automation engine module: the automatic engine module in the software automation deployment system is responsible for executing various automation working flows;
situation awareness area server: and the system is responsible for collecting the safety state and information of the nodes in the area and applying fault analysis data.
Preferably, the software automation deployment system comprises:
a work scheduler module: receiving and determining a data center region to which an automatic deployment request belongs, organizing data according to an HTTP-POST protocol, initiating client-side calling to an REST interface of an automation engine of a remote data center, and receiving response data;
an automation engine module: and receiving a calling request of a client, executing a working process, and performing software automated deployment on the IT resources of the data center area.
Preferably, the automation engine module comprises:
WEB console/WEB designer: the system is connected with a database and a core process engine, is used for visual data configuration, analysis and management, supports WEB-based automatic process design and layout, and then directly calls the core process engine through an REST interface to start and execute;
a core flow engine: the external application service directly calls a core flow engine through an REST interface;
a log module: the core process engine is connected with the core process engine and is responsible for storing all information executed by the process;
a component module: the system is connected with a core process engine, provides various component supports for an automatic process, realizes various business functions, can remotely log in various IT resource devices to implement related automatic command operation, and supports the development of the process.
Preferably, the core flow engine comprises:
a message processing module: providing a standard REST API interface to realize synchronous/asynchronous communication with external resources;
a flow execution module: and the system is responsible for optimizing and processing the arranged flow and directly executing the flow, performing corresponding analysis and processing on an execution result, and then delivering the data to a log module for storage.
Preferably, the device further comprises an insert type component: and the plug-in component is registered and installed on a software automation deployment system platform, and when integration of a business service access protocol needs to be processed, a call point of the plug-in can be generated through the platform.
Preferably, the method further comprises implementing a remote command line execution component: and adopting Java language and open source JSCH communication framework, connecting to a remote SSH server through a client-server mode, executing the shell command and reading the execution result of the echo display.
According to the method for realizing the automatic deployment of the data center software based on the cloud environment, the system for realizing the automatic deployment of the data center software based on the cloud environment is adopted, and the implementation comprises the following steps:
step 1: the workflow scheduler module is responsible for determining a data center region to which the automatic deployment request belongs, organizing data according to an HTTP-POST protocol, initiating client-side calling to an REST interface of a remote data center automation engine, and receiving response data;
step 2: and the automation engine module is responsible for receiving the call request and executing the workflow and carrying out software automation deployment on the IT resources of the region to which the automation engine module belongs.
Preferably, step 1 further comprises:
step 1.1: a cloud service unified management platform of a management layer initiates HTTP-POST client calling to a workflow scheduler;
step 1.2: the workflow dispatcher concurrently receives and processes the call request, analyzes the incoming data and determines the data center area to which the call belongs;
step 1.3: and forwarding the call request to an automation engine of the execution layer data center according to the region.
Preferably, step 2 further comprises:
step 2.1: the automatic engine module is responsible for registering and activating the plug-in object and recording initial time after being started;
step 2.2: if the SSH protocol is used, establishing session connection with a number 22 port of a TCP protocol of a target host;
step 2.3: judging whether the SSH session connection is successful, if so, entering the step 2.4, otherwise, closing the SSH session connection;
step 2.4: judging whether the passwords of the SSH session are matched, if so, establishing Shell channel connection, otherwise, closing the SSH session connection;
step 2.5: recording the current time, judging whether the time difference with the initial time is overtime, and if the time difference is overtime, closing the SSH session connection;
step 2.6: sending a first Shell command to be executed on a remote host, judging whether input stream data is readable, and if the input stream data is not readable, executing the following substeps: judging whether the command lines are matched with all the echoing displays, if so, closing the SSH channel and the session connection and then exiting, and if not, sleeping for one second and then starting to read input stream data next time;
step 2.7: reading the echoed data of the input stream, judging whether the echoed data is matched with the termination prompt, and if the echoed data is matched with the termination prompt, closing the SSH channel and the session connection;
step 2.8: judging whether the input stream data is matched with the successful termination prompt, if not, sleeping for one second, and then starting to read the input stream data next time;
step 2.9: judging whether the prompt is matched with the login success prompt, if so, recording login success, and if not, analyzing the execution result of the command line and displaying back;
step 2.10: and judging whether a next command needs to be executed or not, if so, executing, then starting to read input stream data next time, and if not, closing the SSH channel and the session connection and exiting.
Compared with the prior art, the invention has the following beneficial effects:
1. the software component realizes remote login access and automatic operation based on SSH and various protocols by the cooperation of the management layer, the execution layer and the software automation deployment system, and improves the application range of the automation workflow engine software.
2. According to the invention, a user can perform remote automatic maintenance and management on IT resources of each data center through the cloud service unified platform, so that the effects of distributed execution, unified management and no perception of the user are achieved.
3. The software automation deployment system and the related plug-in component module are successfully implemented in engineering after being designed, coded and comprehensively tested. Through the overall test of the system, all the test indexes reach the industrial standard, the design target is completely realized, the system is successful, and the favorable comment of the user is obtained.
Drawings
Other features, objects and advantages of the invention will become more apparent upon reading of the detailed description of non-limiting embodiments with reference to the following drawings:
FIG. 1 is a functional architecture diagram for automated IT resource deployment in an enterprise cloud computing system according to the present invention;
FIG. 2 is a functional module configuration diagram of an IT resource software automation deployment system of an enterprise cloud computing system according to the present invention;
FIG. 3 is a diagram of an automated engine module architecture according to the present invention;
FIG. 4 is a flow chart of the operation of the command line execution component based on SSH protocol in the present invention.
Detailed Description
The present invention will be described in detail with reference to specific examples. The following examples will assist those skilled in the art in further understanding the invention, but are not intended to limit the invention in any way. It should be noted that variations and modifications can be made by persons skilled in the art without departing from the concept of the invention. All falling within the scope of the present invention.
As shown in fig. 1, a system for implementing automated deployment of data center software based on a cloud environment according to the present invention includes:
and (3) a management layer: the management layer is deployed in a main data center, comprises a monitoring center, an automatic operation and maintenance center, a security situation perception center, a service situation perception center, an intelligent customer service center, a scheduling center and the like, uniformly manages various templates, strategies or processes and issues the templates, the strategies or the processes to the execution layer;
an execution layer: the execution layer is deployed in each data center, comprises a monitoring area server, an automation engine, a situation awareness area server and the like, is responsible for specifically executing tasks such as template and strategy flow execution monitoring, automation operation, situation awareness and the like issued by the management layer, can share the management layer pressure, and can also improve the overall usability of the platform.
Further, the management layer comprises a monitoring center, and the monitoring center collects information and acquires various data indexes of the monitored nodes and the like; the system comprises an automatic operation and maintenance center, a monitoring alarm and automatic inspection are taken as core functions, the whole cluster dynamic is monitored in real time, and problems are automatically found and solved; the system comprises a security situation perception center, a cloud environment monitoring center and a cloud environment monitoring center, wherein the security situation perception center is used for detecting and discovering security states and information of a cloud environment in real time, and rapidly mastering and capturing security events and alarms in the operation process; the system comprises a service situation perception center, a service state perception center and a service state perception center, wherein the service situation perception center provides distributed application fault analysis positioning and intelligent monitoring early warning under a cloud environment; the intelligent service center provides a plurality of functional modules including a session robot, intelligent quality inspection, intelligent outbound and intelligent training and the like, and assists the enterprise service center to realize comprehensive intelligent service; the system also comprises a dispatching center: and performing automatic task scheduling by using an algorithm, and distributing the task subset to the IT resource with the optimal performance for execution.
The execution layer comprises a monitoring area server and is responsible for collecting various data indexes of monitored nodes in the area to which the execution layer belongs; the system comprises an automation engine, an automation engine module in a software automation deployment system and a control module, wherein the automation engine module is responsible for executing various automation working flows; the system also comprises a situation awareness area server which is responsible for collecting the safety state and information of the node of the area to which the system belongs, and applying data such as fault analysis. The unified and centralized management layer and the independent and decentralized execution layer work cooperatively, and the integrated management of the cloud data center is realized through the software automation deployment system.
As shown in fig. 2, the software automation deployment system of the IT resource of the enterprise cloud computing system data center is composed of a workflow scheduler and an automation workflow engine software system (hereinafter referred to as an automation engine module) module, wherein the workflow scheduler module is responsible for determining a data center area to which an automation deployment request belongs, organizing data according to an HTTP-POST protocol, initiating a client call to an REST interface of an automation engine of a remote data center, and receiving response data. And the automation engine module is responsible for receiving the calling request, executing the workflow and carrying out software automation deployment on the IT resources of the region to which the automation engine module belongs. The method comprises the following steps that automatic deployment is carried out through a calling mechanism, firstly, a cloud service unified management platform of a management layer initiates HTTP-POST client calling to a workflow scheduler; secondly, a flow scheduler is used for concurrently receiving and processing the call request, analyzing the incoming data and determining a data center region to which the call belongs; thirdly, the calling request is forwarded to an automation engine of an execution layer data center according to the area to which the calling request belongs; and fourthly, the automation engine is responsible for executing the relevant workflow, storing the execution record in the database and then returning a response.
The software automation deployment system comprises a work scheduler module, a data center area, a remote data center and a data center, wherein the work scheduler module receives and determines the data center area to which an automation deployment request belongs, organizes data according to an HTTP-POST protocol, initiates client-side calling to an REST interface of an automation engine of the remote data center, and receives response data; and the automatic engine module receives the calling request, executes the work flow and automatically deploys the IT resources of the data center area.
Still further, as shown in fig. 3, the automation engine module is a core module for implementing various services of cloud computing, is a basis for implementing rapid delivery of various services and automated deployment of IT resources, and may be applied to a cloud environment or applied to other systems as an independent module. The automatic engine module comprises a WEB console/WEB designer, is connected with a database and a core process engine, is used for visual data configuration, analysis and management, supports WEB-based automatic process design and arrangement, and then directly calls the core process engine through an REST interface to start and execute; the system also comprises a core flow engine, wherein an external application service and a WEB designer directly call the core flow engine through an REST interface; the log module is connected with the core process engine, is responsible for storing all information of process execution, can store all current and historical states of active and complete process instances, and can be used for inquiring any information related to process instance execution; the system also comprises a component module which is connected with the core process engine, provides various component supports for the automatic process, realizes various service functions, can remotely log in various IT resource equipment to implement related automatic command operation, supports the development of the process, provides various component supports for the automatic process, realizes various service functions, comprises a remote command line execution component based on SSH and TELNET protocols, an REST interface access component based on HTTP protocols, a mail processing component based on SMTP protocols and the like, can remotely log in various IT resource equipment to implement related automatic command operation, and supports the development of the process.
Furthermore, the core process engine comprises a message processing module, which provides a standard REST API interface to realize synchronous/asynchronous communication with external resources; the system also comprises a flow execution module: and the system is responsible for optimizing and processing the arranged flow and directly executing the flow, performing corresponding analysis and processing on an execution result, and then delivering the data to a log module for storage.
According to the inventionPreferred embodiment(s) of the inventionFor further explanation.
Based on the basic embodiment, the invention can also adopt a plug-in component, the plug-in component is registered and installed on the software automation deployment system platform, and when the integration of the business service access protocol needs to be processed, the call point of the plug-in component can be generated through the platform.
The component refers to an independent constituent module with the same service function in an application system, and the essence of the plug-in software component is that the software function is expanded and strengthened under the condition of not modifying a main program. When the software system platform needs to process the integration of the access protocols of certain business services, the platform can search the component plug-in the system and generate the call point of the plug-in on the platform only by registering the plug-in component to the system platform. The component generates an object of an associated business access plug-in for each IT resource node accessed by the automation engine system. Once the object is activated, it will take over and be responsible for all data transceiving processing, protocol resolution over the session, and decide whether to close the connection.
Based on the basic embodiment, the invention can also adopt a remote command line execution component, adopt Java language and open source JSCH communication framework, connect to a remote SSH server through a client-server mode, execute the shell command and read the execution result of the echo display.
The data communication of the remote command line execution component adopts SSH (secure Shell) protocol, which is a security protocol established on the basis of an application layer and established by the Internet engineering technical organization (IETF). The component adopts Java language and open source JSCH communication framework, is connected to a remote SSH server through a client-server mode, executes shell commands and reads the execution result of the echoed display. The execution results of each shell command are output in the input stream of the shell channel in a echoed manner. The component reads a character string output Block (echo Block) of a playback result once every second, firstly, the character string output Block is divided according to line feed characters, then, the required output result is matched according to a preset success or error prompt value through a regular expression line by line, and if the result is not matched, the component reads a subsequent playback Block again after one second to match.
The method for realizing the automatic deployment of the data center software based on the cloud environment comprises the following steps:
step 1: the workflow scheduler module is responsible for determining a data center region to which the automatic deployment request belongs, organizing data according to an HTTP-POST protocol, initiating client-side calling to an REST interface of a remote data center automation engine, and receiving response data;
step 1.1: a cloud service unified management platform of a management layer initiates HTTP-POST client calling to a workflow scheduler;
step 1.2: the workflow dispatcher concurrently receives and processes the call request, analyzes the incoming data and determines a data center region to which the call belongs;
step 1.3: and forwarding the call request to an automation engine of the execution layer data center according to the region.
Step 2: the automatic engine module is responsible for receiving the call request and executing the workflow, and performing software automatic deployment on the IT resources of the region to which the automatic engine module belongs;
step 2.1: the automatic engine module is responsible for registering and activating the plug-in object and recording initial time after being started;
step 2.2: if the SSH protocol is used, establishing session connection with a number 22 port of a TCP protocol of a target host;
step 2.3: judging whether the SSH session connection is successful, if so, entering the step 2.4, otherwise, closing the SSH session connection;
step 2.4: judging whether the passwords of the SSH session are matched, if so, establishing Shell channel connection, otherwise, closing the SSH session connection;
step 2.5: recording the current time, judging whether the time difference with the initial time is overtime, and if the time difference is overtime, closing the SSH session connection;
step 2.6: sending a first Shell command to be executed on a remote host, judging whether input stream data is readable, and if the input stream data is not readable, executing the following substeps: judging whether the command lines are matched with all the echoing displays, if so, closing the SSH channel and the session connection and then exiting, and if not, sleeping for one second and then starting to read input stream data next time;
step 2.7: reading the echoed data of the input stream, judging whether the echoed data is matched with the termination prompt, and if the echoed data is matched with the termination prompt, closing the SSH channel and the session connection;
step 2.8: judging whether the input stream data is matched with the successful termination prompt, if not, sleeping for one second, and then starting to read the input stream data next time;
step 2.9: judging whether the prompt is matched with the login success prompt, if so, recording login success, and if not, analyzing the execution result of the command line and displaying back;
step 2.10: and judging whether a next command needs to be executed or not, if so, executing, then starting to read input stream data next time, and if not, closing the SSH channel and the session connection and exiting.
The system and the method for software automatic deployment have achieved some success in enterprise cloud computing engineering application, and mainly have the following two aspects:
firstly, the software component for remote login access and automation operation based on SSH and various protocols is realized, and the application range of the automation workflow engine software is improved. A user can perform remote automatic maintenance and management on IT resources of each data center through the cloud service unified platform, and the effects of distributed execution, unified management and no perception of the user are achieved.
Secondly, the software automation deployment system and the related plug-in component module are successfully engineered after being designed, coded and comprehensively tested. Through the overall test of the system, all test indexes reach the industrial standard, and the design target is completely realized. The system is successful and is favored by users.
Those skilled in the art will appreciate that, in addition to implementing the system and its various devices, modules, units provided by the present invention as pure computer readable program code, the system and its various devices, modules, units provided by the present invention can be fully implemented by logically programming method steps in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers and the like. Therefore, the system and various devices, modules and units thereof provided by the invention can be regarded as a hardware component, and the devices, modules and units included in the system for realizing various functions can also be regarded as structures in the hardware component; means, modules, units for performing the various functions may also be regarded as structures within both software modules and hardware components for performing the method.
The foregoing description has described specific embodiments of the present invention. It is to be understood that the present invention is not limited to the specific embodiments described above, and that various changes or modifications may be made by one skilled in the art within the scope of the appended claims without departing from the spirit of the invention. The embodiments and features of the embodiments of the present application may be combined with each other arbitrarily without conflict.
Claims (10)
1. A system for realizing automatic deployment of data center software based on a cloud environment is characterized by comprising: the software automation deployment system comprises a management layer and an execution layer, wherein the execution layer comprises a software automation deployment system;
the management layer is deployed in the main data center, uniformly manages various templates, strategies or processes and issues the templates, the strategies or the processes to the execution layer;
the execution layer is deployed in each data center and is responsible for specifically executing the template, the strategy or the flow task issued by the management layer;
the unified and centralized management layer and the independent and decentralized execution layer work cooperatively, and the integrated management of the cloud data center is realized through the software automation deployment system of the execution layer.
2. The system for realizing automatic deployment of data center software based on cloud environment according to claim 1, wherein the management layer comprises:
the monitoring center: collecting information and acquiring various data indexes of the monitored node;
the automatic operation and maintenance center: monitoring the whole cluster dynamic state in real time by taking monitoring alarm and automatic inspection as core functions;
security situation awareness center: the safety state and the information of the cloud environment are detected and found in real time, and safety events and alarms in the operation process are rapidly mastered and captured;
the business situation perception center: providing distributed application fault analysis positioning and intelligent monitoring early warning in a cloud environment;
intelligent customer service center: providing a plurality of functional modules including voice and quality inspection;
the dispatching center: and performing automatic task scheduling by using an algorithm, and distributing the task subset to the IT resource with the optimal performance for execution.
3. The system for implementing automated deployment of data center software based on cloud environment as claimed in claim 1, wherein said execution layer further comprises:
a monitoring area server: the system is responsible for collecting various data indexes of monitored nodes in the region to which the system belongs;
situation awareness area server: and the system is responsible for collecting the safety state and information of the nodes in the area and applying fault analysis data.
4. The system for realizing the automated deployment of the software in the data center based on the cloud environment according to claim 1, wherein the system for automatically deploying the software comprises:
a work scheduler module: receiving and determining a data center region to which an automatic deployment request belongs, organizing data according to an HTTP-POST protocol, initiating client-side calling to an REST interface of an automation engine of a remote data center, and receiving response data;
an automation engine module: and receiving a calling request of a client, executing a working process, and performing software automated deployment on the IT resources of the data center area.
5. The system for realizing automation deployment of data center software based on cloud environment according to any one of claim 4, wherein the automation engine module comprises:
WEB console/WEB designer: the system is connected with a database and a core process engine and is used for visual data configuration and analysis management;
a core flow engine: the external application service directly calls a core flow engine through an REST interface;
a log module: the core process engine is connected with the core process engine and is responsible for storing all information executed by the process;
a component module: the system is connected with a core process engine, provides various component supports for an automation process, realizes various business functions, can remotely log in various IT resource devices to implement related automation command operation, and supports the development of the process.
6. The system for realizing automatic deployment of data center software based on cloud environment according to claim 1, further comprising a plug-in component: and the plug-in component is registered and installed on a software automation deployment system platform, and when integration of a business service access protocol needs to be processed, a call point of the plug-in can be generated through the platform.
7. The system for implementing automated deployment of data center software based on cloud environment of claim 1, further comprising an implement remote command line execution component: and adopting Java language and open source JSCH communication framework, connecting to a remote SSH server through a client-server mode, executing the shell command and reading the execution result of the echo display.
8. A method for realizing automatic deployment of data center software based on a cloud environment is characterized in that the system for realizing automatic deployment of data center software based on the cloud environment, which is disclosed by claim 1, is executed and comprises the following steps:
step 1: the workflow scheduler module is responsible for determining a data center region to which the automatic deployment request belongs, organizing data according to an HTTP-POST protocol, initiating client-side calling to an REST interface of a remote data center automation engine, and receiving response data;
step 2: and the automation engine module is responsible for receiving the call request and executing the workflow and carrying out software automation deployment on the IT resources of the region to which the automation engine module belongs.
9. The method for realizing the automated deployment of the data center software based on the cloud environment according to claim 8, wherein the step 1 further comprises:
step 1.1: a cloud service unified management platform of a management layer initiates HTTP-POST client calling to a workflow scheduler;
step 1.2: the workflow dispatcher concurrently receives and processes the call request, analyzes the incoming data and determines the data center area to which the call belongs;
step 1.3: and forwarding the call request to an automation engine of the execution layer data center according to the region to which the call request belongs.
10. The method for realizing the automated deployment of the data center software based on the cloud environment according to claim 8, wherein the step 2 further comprises:
step 2.1: the automatic engine module is responsible for registering and activating the plug-in object and recording initial time after being started;
step 2.2: if the SSH protocol is used, establishing session connection with a number 22 port of a TCP protocol of a target host;
step 2.3: judging whether the SSH session connection is successful, if so, entering the step 2.4, otherwise, closing the SSH session connection;
step 2.4: judging whether the passwords of the SSH session are matched, if so, establishing Shell channel connection, otherwise, closing the SSH session connection;
step 2.5: recording the current time, judging whether the time difference with the initial time is overtime, and if the time difference is overtime, closing the SSH session connection;
step 2.6: sending a first Shell command to be executed on a remote host, judging whether input stream data is readable, and if the input stream data is not readable, executing the following substeps: judging whether the command lines are matched with all the echoing displays, if so, closing the SSH channel and the session connection and then exiting, and if not, sleeping for one second and then starting to read input stream data next time;
step 2.7: reading the echoed data of the input stream, judging whether the echoed data is matched with the termination prompt, and if the echoed data is matched with the termination prompt, closing the SSH channel and the session connection;
step 2.8: judging whether the input stream data is matched with the successful termination prompt, if not, sleeping for one second, and then starting to read the input stream data next time;
step 2.9: judging whether the prompt is matched with the login success prompt, if so, recording login success, and if not, analyzing the execution result of the command line and displaying back;
step 2.10: and judging whether a next command needs to be executed or not, if so, executing, then starting to read input stream data next time, and if not, closing the SSH channel and the session connection and exiting.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011218179.XA CN114461233B (en) | 2020-11-04 | 2020-11-04 | System and method for realizing automatic deployment of data center software based on cloud environment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011218179.XA CN114461233B (en) | 2020-11-04 | 2020-11-04 | System and method for realizing automatic deployment of data center software based on cloud environment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114461233A true CN114461233A (en) | 2022-05-10 |
CN114461233B CN114461233B (en) | 2024-07-23 |
Family
ID=81403963
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011218179.XA Active CN114461233B (en) | 2020-11-04 | 2020-11-04 | System and method for realizing automatic deployment of data center software based on cloud environment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114461233B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118158120A (en) * | 2024-01-08 | 2024-06-07 | 广州市玄武无线科技股份有限公司 | A centralized cloud service orchestration method, system and electronic device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102404381A (en) * | 2011-09-02 | 2012-04-04 | 西安交通大学 | Software deployment system and deployment method based on workflow in cloud computing environment |
CN106713379A (en) * | 2015-08-10 | 2017-05-24 | 广州西麦信息科技有限公司 | Automatic cloud computing deployment system and method thereof |
CN107454140A (en) * | 2017-06-27 | 2017-12-08 | 北京溢思得瑞智能科技研究院有限公司 | A kind of Ceph cluster automatically dispose method and system based on big data platform |
-
2020
- 2020-11-04 CN CN202011218179.XA patent/CN114461233B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102404381A (en) * | 2011-09-02 | 2012-04-04 | 西安交通大学 | Software deployment system and deployment method based on workflow in cloud computing environment |
CN106713379A (en) * | 2015-08-10 | 2017-05-24 | 广州西麦信息科技有限公司 | Automatic cloud computing deployment system and method thereof |
CN107454140A (en) * | 2017-06-27 | 2017-12-08 | 北京溢思得瑞智能科技研究院有限公司 | A kind of Ceph cluster automatically dispose method and system based on big data platform |
Non-Patent Citations (2)
Title |
---|
WANGRUOZE: "在云计算资源池上自动部署业务应用的大数据平台组件开发实战_中间件资源池可以自动部署吗", pages 1 - 7, Retrieved from the Internet <URL:《https://blog.csdn.net/wangruoze/article/details/42125579》> * |
汪源等: "云计算环境下业务自动化部署的设计与实现", 《软件》, vol. 35, no. 09, 30 September 2014 (2014-09-30), pages 66 - 72 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118158120A (en) * | 2024-01-08 | 2024-06-07 | 广州市玄武无线科技股份有限公司 | A centralized cloud service orchestration method, system and electronic device |
CN118158120B (en) * | 2024-01-08 | 2025-01-14 | 广州市玄武无线科技股份有限公司 | A centralized cloud service orchestration method, system and electronic device |
Also Published As
Publication number | Publication date |
---|---|
CN114461233B (en) | 2024-07-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112380093B (en) | Operation and maintenance processing method, device and computer equipment | |
CN108256118B (en) | Data processing method, device, system, computing equipment and storage medium | |
CN109760041A (en) | Cloud management system and its operating method based on chat robots | |
CN111090864B (en) | Penetration testing framework system, penetration testing platform and penetration testing method | |
CN113672502B (en) | Program multi-system testing method and its corresponding devices, equipment and media | |
CN105653401B (en) | Application system calamity is standby, O&M, monitoring and emergency start and stop dispatching method and device | |
CN109560996B (en) | Automatic testing system and method for terminal of Internet of things | |
CN109684038B (en) | Docker service container log processing method and device and electronic equipment | |
CN111935177B (en) | Service control method and device | |
CN114741060A (en) | Method and device for developing business system based on middle platform | |
CN109376015A (en) | Log blocking solution method and system for task scheduling system | |
CN113220480B (en) | Distributed data task cross-cloud scheduling system and method | |
CN110347374A (en) | A kind of encapsulation of rich client business service and calling system, method and apparatus | |
CN115509842A (en) | Fault injection method, device, equipment and storage medium | |
CN115237541A (en) | A method for generating audit log and related components | |
CN114461233A (en) | System and method for realizing automatic deployment of data center software based on cloud environment | |
CN113434404B (en) | Automatic service verification method and device for verifying reliability of disaster recovery system | |
CN110569238B (en) | Data management method, system, storage medium and server based on big data | |
CN118552101A (en) | Task processing method and system | |
CN103414717A (en) | Simulation monitoring method and system in regard to C / S structure service system | |
CN117873683A (en) | Task processing method and device | |
CN105630634B (en) | Application system calamity is for switching method and apparatus | |
CN111866137B (en) | Data acquisition dynamic control method and device, electronic equipment and medium | |
CN111176782B (en) | Online experiment method and device | |
CN112364079A (en) | Multi-service interaction exception handling method and system and electronic equipment |
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 |