CN114461233B - 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 PDF

Info

Publication number
CN114461233B
CN114461233B CN202011218179.XA CN202011218179A CN114461233B CN 114461233 B CN114461233 B CN 114461233B CN 202011218179 A CN202011218179 A CN 202011218179A CN 114461233 B CN114461233 B CN 114461233B
Authority
CN
China
Prior art keywords
execution
data center
data
software
deployment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011218179.XA
Other languages
Chinese (zh)
Other versions
CN114461233A (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.)
Shanghai Baosight Software Co Ltd
Original Assignee
Shanghai Baosight Software 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 Shanghai Baosight Software Co Ltd filed Critical Shanghai Baosight Software Co Ltd
Priority to CN202011218179.XA priority Critical patent/CN114461233B/en
Publication of CN114461233A publication Critical patent/CN114461233A/en
Application granted granted Critical
Publication of CN114461233B publication Critical patent/CN114461233B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • G06F9/44526Plug-ins; Add-ons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/547Remote 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 cloud environment, which comprises a management layer and an execution layer, wherein the execution layer comprises a software automatic deployment system, the management layer is deployed in a main data center, and uniformly manages various templates, strategies or processes and issues the templates, strategies or processes to the execution layer; the execution layer is deployed in each data center and is responsible for specifically executing templates, strategies or flow tasks issued by the management layer; the unified and centralized management layer and the independent and decentralized execution layers work cooperatively, and the integrated management of the cloud data center is realized through the software automation deployment system in the execution layers. The invention also provides a method for realizing automatic deployment of the data center software based on the cloud environment, which realizes remote login access and automatic operation software components based on SSH and various protocols through the cooperation of the management layer, the execution layer and the software automatic deployment system in the execution layer, and improves the application range of the automatic workflow engine software.

Description

System and method for realizing automatic deployment of data center software based on cloud environment
Technical Field
The invention relates to the technical field of cloud services in enterprise cloud computing environments, in particular to a system and a method for realizing automatic deployment of data center software based on cloud environments.
Background
An enterprise cloud computing system is a large computer system built in a scenario of multiple data centers in different places. The traffic and information volume brought by the high-speed development of the system are urgent to provide platform support for large-scale data centers. Meanwhile, the data center also needs to dynamically deploy the highly virtualized IT resources, so that the cost is saved. Therefore, the cloud computing service needs to provide a faster, more efficient, more flexible and more fully functional deployment scheme, and the automatic and rapid deployment of software is one important implementation function.
In the actual application process, the software deployment of the virtual IT resources in the cloud environment is firstly to create an operating system virtual environment, then log in to finish system resource adjustment, configure network cards and IP addresses in a command mode, and finally deploy the system and the application software in a set-by-set manner, so that the time consumption for repeated initialization is huge.
Through retrieval, patent document CN103268457a discloses a multi-level relationship information management system and a design method based on cloud computing, comprising 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-longitudinal three-transverse' 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 warehouse, one platform and one network'; and meanwhile, very rich cloud computing capability and friendly user interfaces are provided, so that the system reaches the inside of an organization for taking mass information and is applied and analyzed in the inside of the organization. The disadvantage of this prior art is that IT resource information deployment is not automated to a high degree and IT cannot be run across a platform in a variety of different operating system environments.
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 operation and working efficiency, the invention provides a system and a method for dynamically completing software automation deployment for virtual IT resources by realizing a remote login and command line execution component based on an SSH protocol. For enterprise users, even if the cloud environment network, the system and the software are not specially known, the virtual machine IT resource environment can be independently, quickly and completely deployed for the remote data center only by grasping a simple configuration method.
According to the system for realizing automatic deployment of data center software based on cloud environment, which is provided by the invention, the 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 templates, strategies or flow tasks issued by the management layer; the unified and centralized management layer and the independent and decentralized execution layers work cooperatively, and the integrated management of the cloud data center is realized through the software automation deployment system in the execution layers.
Preferably, the management layer includes:
and (3) a monitoring center: collecting information and acquiring various data indexes of the monitored node;
automatic operation and maintenance center: the monitoring alarm and the automatic inspection are used as core functions, the dynamic state of the whole cluster is monitored in real time, and the problems are automatically found and solved;
Security situational awareness center: detecting and finding the safety state and information of the cloud environment in real time, and rapidly grasping and capturing safety events and alarms in the running process;
Service situation awareness center: providing distributed application fault analysis positioning and intelligent monitoring and early warning under cloud environment;
Intelligent customer service center: providing a plurality of functional modules including a conversation robot, intelligent quality inspection, intelligent outbound and intelligent training;
And a dispatching center: and (3) carrying out automatic task scheduling by utilizing an algorithm, and distributing the task subset to IT resources with optimal performance for execution.
Preferably, the execution layer further comprises:
monitoring area server: the method is responsible for collecting various data indexes of the monitored nodes in the area;
an automation engine module: an automation engine module in the software automation deployment system is responsible for executing various automatic operation flows;
Situation awareness zone server: and collecting the security state and information of the nodes in the area and applying fault analysis data.
Preferably, the software automated deployment system comprises:
A work scheduler module: receiving and determining a data center area to which an automatic deployment request belongs, organizing data according to an HTTP-POST protocol, initiating a client call to a REST interface of an automation engine of a remote data center, and receiving response data;
an automation engine module: and receiving a call request of the client and executing a workflow, and performing software automation deployment on IT resources of the affiliated data center area.
Preferably, the automation engine module includes:
WEB console/WEB designer: the system is connected with a database and a core flow engine and is used for visual data configuration, analysis management and support of automatic flow design arrangement based on WEB, and then the core flow engine is directly called through a REST interface to start execution;
The core flow engine: the external application service directly calls the core flow engine through the REST interface;
And a log module: the system is connected with the core flow engine and is responsible for storing all information of flow execution;
And (3) a component module: the system is connected with a core flow engine, provides various component supports for an automatic flow, realizes various business functions, can remotely log in various IT resource devices to implement related automatic command operations, and supports the development of the flow.
Preferably, the core flow engine comprises:
Message processing module: providing a standard REST API interface to realize synchronous/asynchronous communication with external resources;
the flow execution module: and the method is responsible for optimizing and directly executing the arranged flow, performing corresponding analysis and processing on the execution result, and then delivering the data to a log module for storage.
Preferably, the plug-in assembly is further comprised of: the plug-in component is registered and installed on a software automation deployment system platform, and when the integration of business service access protocols 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: the remote SSH server is connected through a client-server mode by adopting a Java language and an open-source JSCH communication framework, executes shell commands and reads out the execution results.
According to the method for realizing automatic deployment of the data center software based on the cloud environment, which is provided by the invention, the system for realizing 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 dispatcher module is responsible for determining a data center area to which an automatic deployment request belongs, organizing data according to an HTTP-POST protocol, initiating a client call to a REST interface of a remote data center automation engine, and receiving response data;
step 2: the automation engine module is responsible for receiving the call request and executing the workflow, and performing software automation deployment on the IT resources of the affiliated area.
Preferably, step 1 further comprises:
Step 1.1: the cloud service unified management platform of the management layer initiates HTTP-POST client call to the workflow dispatcher;
Step 1.2: the workflow dispatcher receives and processes the call request concurrently, analyzes the incoming data and determines the data center area to which the call belongs;
step 1.3: forwarding the call request to an automation engine of the execution layer data center according to the area.
Preferably, step 2 further comprises:
step 2.1: the automatic engine module is responsible for registering and activating plug-in objects and recording initial time after being started;
step 2.2: if SSH protocol is used, establishing session connection with the No. 22 port of the target host TCP protocol;
Step 2.3: judging whether the SSH session connection is successful, if so, entering a 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 SSH session connection;
Step 2.5: recording the current time, judging whether the time difference from the initial time is overtime, and closing SSH session connection if the time difference is overtime;
Step 2.6: the method comprises the steps that a first Shell command is sent to be executed on a remote host, whether input stream data are readable or not is judged, and if the input stream data are not readable, the following sub-steps are executed: judging whether the command line feedback display is matched with all command line feedback displays, if so, closing the SSH channel and the session connection, and then exiting, if not, starting to read the input stream data next time after dormancy for one second;
Step 2.7: reading the feedback data of the input stream, judging whether the feedback data is matched with the termination prompt, and closing the SSH channel and the session connection if the feedback data is matched with the termination prompt;
step 2.8: judging whether the input stream data is matched with the successful termination prompt, if not, starting to read the input stream data next time after dormancy for one second;
step 2.9: judging whether the login success prompt is matched with the login success prompt, if so, recording the login success, and if not, analyzing the execution result of the command line and displaying back;
Step 2.10: judging whether the next command needs to be executed, if so, executing, then starting to read the 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. According to the invention, the software components of remote login access and automation operation based on SSH and various protocols are realized through the cooperation of the management layer, the execution layer and the software automation deployment system, so that the application range of the automatic workflow engine software is increased.
2. According to the invention, the user can carry out 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 modules successfully implement engineering after design, coding and comprehensive testing. Through the overall test of the system, all test indexes reach the industry standard, the design target is completely realized, the system is successful, and the user's appreciation is obtained.
Drawings
Other features, objects and advantages of the present invention will become more apparent upon reading of the detailed description of non-limiting embodiments, given with reference to the accompanying drawings in which:
FIG. 1 is a diagram of an IT resource automated deployment function architecture of an enterprise cloud computing system in accordance with the present invention;
FIG. 2 is a functional block diagram of an IT resource software automated deployment system for an enterprise cloud computing system;
FIG. 3 is a diagram of an automated engine module architecture in accordance with the present invention;
FIG. 4 is a flow chart of the operation of the command line execution component of the present invention based on the SSH protocol.
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 present invention, but are not intended to limit the invention in any way. It should be noted that variations and modifications could be made by those skilled in the art without departing from the inventive concept. These are all within the scope of the present invention.
As shown in fig. 1, a system for implementing automatic deployment of data center software based on cloud environment according to the present invention includes:
Management layer: the management layer is deployed in the main data center and comprises a monitoring center, an automatic operation and maintenance center, a security situation sensing center, a business situation sensing center, an intelligent customer service center, a dispatching center and the like, and various templates, strategies or flows are uniformly managed and issued to the execution layer;
the execution layer: the execution layer is deployed in each data center and is composed of a monitoring area server, an automation engine, a situation awareness area server and the like, and is responsible for executing tasks such as monitoring, automation operation, situation awareness and the like of templates and strategy flows issued by the specific execution management layer, so that the pressure of the management layer can be shared, and the overall usability of the platform can be improved.
Further, the management layer comprises a monitoring center, the monitoring center collects information and acquires various data indexes of the monitored node; the system comprises an automatic operation and maintenance center, a monitoring alarm and automatic inspection function, a real-time monitoring function and an automatic discovery function, wherein the monitoring alarm and the automatic inspection function are used as core functions; the cloud environment safety state detection system comprises a safety situation awareness center, a cloud environment safety state detection system and a cloud environment safety state detection system, wherein the safety situation awareness center detects and discovers the safety state and information of the cloud environment in real time, and rapidly grasps and captures safety events and alarms in the running process; the system comprises a service situation awareness center, a distributed application fault analysis and positioning system and an intelligent monitoring and early warning system under a cloud environment; the intelligent customer service center provides a plurality of functional modules including a conversation robot, intelligent quality inspection, intelligent outbound call, intelligent training and the like, and the power-assisted enterprise customer service center realizes comprehensive intelligent service; the method also comprises a dispatching center: and (3) carrying out automatic task scheduling by utilizing an algorithm, and distributing the task subset to IT resources with optimal performance for execution.
The execution layer comprises a monitoring area server which is responsible for collecting various data indexes of monitored nodes in the area; the system comprises an automation engine and an automation engine module in a software automation deployment system, wherein the automation engine module is responsible for executing various automation operation flows; the situation awareness area server is responsible for collecting data such as security states and information of the area nodes, application fault analysis and the like. 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 enterprise cloud computing system data center IT resource 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 a REST interface of an automation engine of a remote data center, and receiving response data. The automation engine module is responsible for receiving the call request and executing the workflow, and performing software automation deployment on the IT resources of the affiliated area. The automatic deployment is carried out through the following calling mechanism, firstly, a cloud service unified management platform of a management layer initiates HTTP-POST client calling to a workflow dispatcher; secondly, the streaming dispatcher receives and processes the call request concurrently, analyzes the incoming data and determines the data center area to which the call belongs; thirdly, forwarding the calling request to an automation engine of the execution layer data center according to the area; fourth, the automation engine is responsible for executing the related workflow, storing the execution history record in the database, and then returning a response.
The software automation deployment system comprises a work scheduler module, a data center area to which an automation deployment request belongs is received and determined, data is organized according to an HTTP-POST protocol, a client call is initiated to a REST interface of an automation engine of a remote data center, and response data is received; and the automation engine module is used for receiving the call request and executing the workflow, and carrying out software automation deployment on 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, and is a foundation for implementing rapid delivery of various services and automatic deployment of IT resources, and can be applied to cloud environments or applied to other systems as an independent module. The automatic engine module comprises a WEB control console/WEB designer, is connected with the database and the core flow engine, is used for visual data configuration, analysis management and support of automatic flow design arrangement based on WEB, and then directly calls the core flow engine through a REST interface to start execution; the system also comprises a core flow engine, wherein an external application service and a WEB designer directly call the core flow engine through a REST interface; the log module is connected with the core flow engine and is used for storing all information of flow execution, storing all current and historical states of active and complete flow examples and inquiring any information related to the flow example execution; the system also comprises a component module which is connected with the core flow engine, provides various component supports for the automatic flow, realizes various service functions, can remotely log in to various IT resource devices to implement related automatic command operations, supports the development of the flow, provides various component supports for the automatic flow, realizes various service functions, comprises a remote command line execution component based on SSH and TELNET protocols, a REST interface access component based on HTTP protocols, a mail processing component based on SMTP protocols and the like, and can remotely log in to various IT resource devices to implement related automatic command operations to support the development of the flow.
Furthermore, the core flow engine comprises a message processing module which provides a standard REST API interface to realize synchronous/asynchronous communication with external resources; the method also comprises a flow execution module: and the method is responsible for optimizing and directly executing the arranged flow, performing corresponding analysis and processing on the execution result, and then delivering the data to a log module for storage.
The preferred embodiment of the present invention will be further described.
Based on the basic embodiment, the invention can also adopt a plug-in component, the plug-in component is registered and installed on a software automation deployment system platform, and when the integration of business service access protocol needs to be processed, a call point of a plug-in can be generated through the platform.
The components refer to independent building blocks with the same service functions in the application system, while the essence of the plug-in software component is to extend and strengthen the software functions without modifying the main program. When the software system platform needs to process the integration of access protocols of certain business services, the platform can search the component plugin in the system only by registering the plugin component to the system platform and generate a call point of the plugin on the 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 active, it takes over and takes care of all data transceiving processing on the session, protocol parsing, and decides at the same time 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 shell commands and read and retrieve the execution results.
The data communication of the remote command line execution component employs SSH (Secure Shell) protocol, which is a security protocol established by the internet engineering organization (IETF) and established on an application layer basis. The component uses Java language and open source JSCH communication framework to connect to a remote SSH server through a client-server model, execute shell commands and read the retrieved execution results. The execution result of each shell command is output in the input stream of the shell channel in a back display mode. The component reads a character string output Block (echo Block) of the echo result once every second, firstly, the character string output Block is divided according to line-feed symbols, then the required output result is matched line by line through a regular expression according to a preset success or error prompt value, and if the result is not matched, the subsequent echo Block is read again for matching after one second interval.
The method for realizing automatic deployment of the data center software based on the cloud environment provided by the invention comprises the following steps:
Step 1: the workflow dispatcher module is responsible for determining a data center area to which an automatic deployment request belongs, organizing data according to an HTTP-POST protocol, initiating a client call to a REST interface of a remote data center automation engine, and receiving response data;
Step 1.1: the cloud service unified management platform of the management layer initiates HTTP-POST client call to the workflow dispatcher;
Step 1.2: the workflow dispatcher receives and processes the call request concurrently, analyzes the incoming data and determines the data center area to which the call belongs;
step 1.3: forwarding the call request to an automation engine of the execution layer data center according to the area.
Step 2: the automation engine module is responsible for receiving the call request and executing the workflow, and performing software automation deployment on IT resources of the affiliated area;
step 2.1: the automatic engine module is responsible for registering and activating plug-in objects and recording initial time after being started;
step 2.2: if SSH protocol is used, establishing session connection with the No. 22 port of the target host TCP protocol;
Step 2.3: judging whether the SSH session connection is successful, if so, entering a 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 SSH session connection;
Step 2.5: recording the current time, judging whether the time difference from the initial time is overtime, and closing SSH session connection if the time difference is overtime;
Step 2.6: the method comprises the steps that a first Shell command is sent to be executed on a remote host, whether input stream data are readable or not is judged, and if the input stream data are not readable, the following sub-steps are executed: judging whether the command line feedback display is matched with all command line feedback displays, if so, closing the SSH channel and the session connection, and then exiting, if not, starting to read the input stream data next time after dormancy for one second;
Step 2.7: reading the feedback data of the input stream, judging whether the feedback data is matched with the termination prompt, and closing the SSH channel and the session connection if the feedback data is matched with the termination prompt;
step 2.8: judging whether the input stream data is matched with the successful termination prompt, if not, starting to read the input stream data next time after dormancy for one second;
step 2.9: judging whether the login success prompt is matched with the login success prompt, if so, recording the login success, and if not, analyzing the execution result of the command line and displaying back;
Step 2.10: judging whether the next command needs to be executed, if so, executing, then starting to read the input stream data next time, and if not, closing the SSH channel and the session connection and exiting.
The system and the method for automatically deploying the software have some success in the enterprise cloud computing engineering application, and mainly comprise the following two aspects:
First, the software components of remote login access and automation operation based on SSH and various protocols are realized, and the application range of the automatic workflow engine software is improved. A user can remotely and automatically maintain and manage 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.
Second, the software automated deployment system and associated plug-in component modules, after design, coding and comprehensive testing, have been successfully engineered. Through the overall test of the system, all test indexes reach the industry standard, and the design target is completely realized. The system is successful and gives the user a good score.
Those skilled in the art will appreciate that the invention provides a system and its individual devices, modules, units, etc. that can be implemented entirely by logic programming of method steps, in addition to being implemented as pure computer readable program code, in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers, etc. 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 for realizing various functions included in the system can also be regarded as structures in the hardware component; means, modules, and units for implementing the various functions may also be considered as either software modules for implementing the methods or structures within hardware components.
The foregoing describes specific embodiments of the present application. It is to be understood that the application is not limited to the particular embodiments described above, and that various changes or modifications may be made by those skilled in the art within the scope of the appended claims without affecting the spirit of the application. The embodiments of the application and the features of the embodiments may be combined with each other arbitrarily without conflict.

Claims (8)

1. A system for implementing automatic deployment of data center software based on cloud environment, comprising: the 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 templates, strategies or flow tasks issued by the management layer;
The unified and centralized management layer and the independent and decentralized execution layers work cooperatively, and the integrated management of the cloud data center is realized through the software automation deployment system of the execution layers;
The software automated deployment system comprises:
A work scheduler module: receiving and determining a data center area to which an automatic deployment request belongs, organizing data according to an HTTP-POST protocol, initiating a client call to a REST interface of an automation engine of a remote data center, and receiving response data;
An automation engine module: receiving a call request of a client and executing a workflow, and performing software automation deployment on IT resources of a data center area to which the client belongs;
the automation engine module includes:
WEB console/WEB designer: the system is connected with a database and a core flow engine and is used for visual data configuration, analysis and management; the automatic flow design layout based on WEB is directly called a core flow engine through a REST interface to start execution;
the core flow engine: the external application service and/or the WEB designer directly call the core flow engine through the REST interface;
And a log module: the system is connected with the core flow engine and is responsible for storing all information of flow execution;
And (3) a component module: the system is connected with a core flow engine, provides various component supports for an automatic flow, realizes various business functions, can remotely log in various IT resource devices to implement related automatic command operations, and supports the development of the flow; the components comprise a remote command line execution component based on SSH and TELNET protocols, a REST interface access component based on HTTP protocols and a mail processing component based on SMTP protocols;
the core flow engine comprises a message processing module, a standard REST API interface is provided, and synchronous/asynchronous communication with external resources is realized; the method also comprises a flow execution module: and the method is responsible for optimizing and directly executing the arranged flow, performing corresponding analysis and processing on the execution result, and then delivering the data to a log module for storage.
2. The cloud environment-based system for implementing data center software automation deployment of claim 1, wherein the management layer comprises:
and (3) a monitoring center: collecting information and acquiring various data indexes of the monitored node;
automatic operation and maintenance center: the monitoring alarm and the automatic inspection are used as core functions, and the dynamic state of the whole cluster is monitored in real time;
Security situational awareness center: detecting and finding the safety state and information of the cloud environment in real time, and rapidly grasping and capturing safety events and alarms in the running process;
Service situation awareness center: providing distributed application fault analysis positioning and intelligent monitoring and early warning under cloud environment;
Intelligent customer service center: providing a plurality of functional modules including voice and quality inspection;
And a dispatching center: and (3) carrying out automatic task scheduling by utilizing an algorithm, and distributing the task subset to IT resources with optimal performance for execution.
3. The cloud environment-based system for implementing data center software automation deployment of claim 1, wherein the execution layer further comprises:
monitoring area server: the method is responsible for collecting various data indexes of the monitored nodes in the area;
Situation awareness zone server: and collecting the security state and information of the nodes in the area and applying fault analysis data.
4. The cloud environment-based system for implementing data center software automation deployment of claim 1, further comprising a plug-in component: the plug-in component is registered and installed on a software automation deployment system platform, and when the integration of business service access protocols needs to be processed, a call point of the plug-in can be generated through the platform.
5. The cloud-environment-based system for implementing data center software automation deployment of claim 1, further comprising implementing a remote command line execution component: the remote SSH server is connected through a client-server mode by adopting a Java language and an open-source JSCH communication framework, executes shell commands and reads out the execution results.
6. A method for realizing automatic deployment of data center software based on cloud environment, which is characterized in that the system for realizing automatic deployment of data center software based on cloud environment as claimed in claim 1 is adopted, and the implementation comprises the following steps:
Step 1: the workflow dispatcher module is responsible for determining a data center area to which an automatic deployment request belongs, organizing data according to an HTTP-POST protocol, initiating a client call to a REST interface of a remote data center automation engine, and receiving response data;
step 2: the automation engine module is responsible for receiving the call request and executing the workflow, and performing software automation deployment on the IT resources of the affiliated area.
7. The method for implementing automatic deployment of data center software based on cloud environment as recited in claim 6, wherein said step 1 further comprises:
Step 1.1: the cloud service unified management platform of the management layer initiates HTTP-POST client call to the workflow dispatcher;
Step 1.2: the workflow dispatcher receives and processes the call request concurrently, analyzes the incoming data and determines the data center area to which the call belongs;
step 1.3: forwarding the call request to an automation engine of the execution layer data center according to the area.
8. The method for implementing automatic deployment of data center software based on cloud environment as recited in claim 6, wherein said step 2 further comprises:
step 2.1: the automatic engine module is responsible for registering and activating plug-in objects and recording initial time after being started;
step 2.2: if SSH protocol is used, establishing session connection with the No. 22 port of the target host TCP protocol;
Step 2.3: judging whether the SSH session connection is successful, if so, entering a 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 SSH session connection;
Step 2.5: recording the current time, judging whether the time difference from the initial time is overtime, and closing SSH session connection if the time difference is overtime;
Step 2.6: the method comprises the steps that a first Shell command is sent to be executed on a remote host, whether input stream data are readable or not is judged, and if the input stream data are not readable, the following sub-steps are executed: judging whether the command line feedback display is matched with all command line feedback displays, if so, closing the SSH channel and the session connection, and then exiting, if not, starting to read the input stream data next time after dormancy for one second;
Step 2.7: reading the feedback data of the input stream, judging whether the feedback data is matched with the termination prompt, and closing the SSH channel and the session connection if the feedback data is matched with the termination prompt;
step 2.8: judging whether the input stream data is matched with the successful termination prompt, if not, starting to read the input stream data next time after dormancy for one second;
step 2.9: judging whether the login success prompt is matched with the login success prompt, if so, recording the login success, and if not, analyzing the execution result of the command line and displaying back;
Step 2.10: judging whether the next command needs to be executed, if so, executing, then starting to read the input stream data next time, and if not, closing the SSH channel and the session connection and exiting.
CN202011218179.XA 2020-11-04 2020-11-04 System and method for realizing automatic deployment of data center software based on cloud environment Active CN114461233B (en)

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 CN114461233A (en) 2022-05-10
CN114461233B true 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)

Citations (2)

* Cited by examiner, † Cited by third party
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107454140A (en) * 2017-06-27 2017-12-08 北京溢思得瑞智能科技研究院有限公司 A kind of Ceph cluster automatically dispose method and system based on big data platform

Patent Citations (2)

* Cited by examiner, † Cited by third party
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

Also Published As

Publication number Publication date
CN114461233A (en) 2022-05-10

Similar Documents

Publication Publication Date Title
CN108540538B (en) Cloud and mist combination networking application construction system based on SDN
KR101854576B1 (en) Cloud management system based on chatbot and operating method thereof
US8751420B2 (en) Generic reasoner distribution of resources using a plurality of shallow reasoners, and a predictor server
WO2021203979A1 (en) Operation and maintenance processing method and apparatus, and computer device
CN107193669A (en) The system and design method of maintenance interface based on mixed cloud or large-scale cluster
US10536348B2 (en) Operational micro-services design, development, deployment
US11689641B2 (en) Resiliency control engine for network service mesh systems
CN113176948B (en) Edge gateway, edge computing system and configuration method thereof
CN105653401B (en) Application system calamity is standby, O&M, monitoring and emergency start and stop dispatching method and device
KR102623476B1 (en) Systems and methods for virtual agents in a cloud computing environment
CN111935177B (en) Service control method and device
CN113037616B (en) Interactive method and device for cooperatively controlling multiple robots
CN111324460B (en) Power monitoring control system and method based on cloud computing platform
CN107463490B (en) Cluster log centralized collection method applied to platform development
CN111984505A (en) Operation and maintenance data acquisition engine and acquisition method
CN109787788A (en) A method of network of the building based on artificial intelligence
CN114461233B (en) System and method for realizing automatic deployment of data center software based on cloud environment
CN116737560B (en) Intelligent training system based on intelligent guide control
CN103414717A (en) Simulation monitoring method and system in regard to C / S structure service system
CN117061147A (en) Industrial control honey pot and application method thereof
CN111274018A (en) Distributed training method based on DL framework
WO2022110974A1 (en) Method and apparatus for training data analysis model, and storage medium
CN105743675A (en) Method and device for acquiring information
CN112367297B (en) Service control method and device
CN112367296B (en) Service control method and device

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