Cluster deployment method, system, device and medium based on task scheduling engine

Through the task scheduling engine, the deployment objects and tools are decoupled, and the scheduling strategies of the task collection are set, which achieves high concurrent deployment, solves the environmental dependence and low efficiency of existing deployment tools, and improves deployment efficiency and reusability of tools sex.

CN114610456BActive Publication Date: 2024-11-01BEIJING UNISOUND INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210225940.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-07
Publication Date
2024-11-01
Estimated Expiration
2042-03-07

AI Technical Summary

Technical Problem

The existing automated deployment tools are highly dependent on the environment, have single functions, and are inefficient in the deployment process. The deployment tools are installed serially. They need to start from scratch after failure. There is a lack of control strategy and algorithm support, and poor reusability and transformation.

Method used

Through the task scheduling engine, bind deployment objects and processes, decouple processing, set scheduling policies for task collections, including parallel operation and retry strategies, realize high concurrent execution of tasks, support pluggable architecture, and improve the reproducibility of deployment tools. Usability and efficiency.

Benefits of technology

It realizes high concurrent execution of deployment tools, improves deployment efficiency, enhances tool reusability and scalability, and solves the problems of environment dependence and serial efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114610456B_ABST
    Figure CN114610456B_ABST
Patent Text Reader

Abstract

The present application discloses a cluster deployment method, system, device and medium based on a task scheduling engine. The method obtains task configuration information by binding a deployment object and a deployment process; decouples the deployment object and the task scheduling engine according to the task configuration information; sets a task scheduling strategy for each task set through the task scheduling engine, each task set includes several subtasks; according to the task scheduling strategy, sends each task set to a corresponding remote node through the task scheduling engine, so that each remote node executes several subtasks in the corresponding task set according to the task scheduling strategy. The present application implements the deployment of heterogeneous deep learning distributed systems based on the task scheduling engine mechanism, realizes the reusability of deployment tools by decoupling deployment objects and task scheduling engines, realizes high concurrent execution of deployment tasks with the help of high concurrent mechanisms, and effectively improves deployment efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a cluster deployment method, system, device and medium based on a task scheduling engine. Background Art

[0002] At present, mainstream automated operation and maintenance tools such as Ansible and Linux shell automation scripts all use a sequential execution method to execute each installation task in turn. If a task fails, the installation task is interrupted. Therefore, in order to improve deployment efficiency, related technologies usually execute installation tasks in parallel on multiple nodes as much as possible according to the type of deployment task, and connect the deployment steps in a streamlined manner through shell scripts or ansible python tools, which strongly couples the deployment script with the specific deployment task. The same set of scripts cannot be reused for other deployment tasks.

[0003] In the process of implementing the embodiments of the present disclosure, it is found that there are at least the following problems in the related art:

[0004] Existing deployment tools have a certain dependence on the environment. Some open source automated deployment tools are only for specific tasks, with a small application scope and single functions. In addition, the deployment process is relatively simple, and it is impossible to add too many control strategies or algorithms to the deployment process. The installation of mainstream deployment tools is serial, and must be executed one by one in sequence. Once the deployment fails, you can only start over, and the deployment process is serial and inefficient. The deployment is not highly reusable or modifiable, and if the scheduling strategy needs to be modified, the program needs to be significantly modified.

[0005] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention

[0006] In order to solve the above technical problems, the present application provides a cluster deployment method, system, device and medium based on a task scheduling engine.

[0007] The present application provides a cluster deployment method based on a task scheduling engine, the method comprising the following steps:

[0008] Bind the deployment object and deployment process to obtain task configuration information;

[0009] Decoupling the deployment object and the task scheduling engine according to the task configuration information;

[0010] Setting a task scheduling strategy for each task set through the task scheduling engine, wherein each task set includes a plurality of subtasks, and the subtasks are used to execute the deployment operation of the deployment object according to the deployment process;

[0011] According to the task scheduling strategy, each of the task sets is sent to a corresponding remote node through a task scheduling engine, so that each of the remote nodes executes a number of subtasks in the corresponding task set according to the task scheduling strategy.

[0012] In some embodiments, setting a task scheduling strategy for each task set by the task scheduling engine includes:

[0013] The task scheduling engine pre-sets the node role information, operation mode and retry strategy of each task set; wherein the operation mode includes parallel operation and serial operation, and the retry strategy includes the set number of retries and timeout threshold.

[0014] In some embodiments, according to the task scheduling strategy, each of the task sets is sent to a corresponding remote node through a task scheduling engine, so that several subtasks in each of the task sets are executed at the remote node according to the task scheduling strategy, including:

[0015] According to the node role information corresponding to each of the task sets, each of the task sets is sent to a corresponding remote node through the task scheduling engine;

[0016] Performing a pre-check operation on the remote node, and when the remote node meets the operating conditions, executing several subtasks in each of the task sets according to a preset operating mode;

[0017] When the subtask fails to run, the subtask is run according to the number of retries preset in the retry strategy, and the running status of the subtask is fed back.

[0018] In some embodiments, each of the task sets is a pluggable architecture, and the connection relationship between each of the task sets includes a coupling relationship and a non-coupling relationship.

[0019] In some embodiments, the deployment object and the deployment process are bound to obtain task configuration information, including:

[0020] Defining the deployment object and deployment process through command line parameters or configuration files;

[0021] Initializing the deployment object to obtain task configuration information;

[0022] The task configuration information is sent to the task scheduling engine through a parser.

[0023] In some embodiments, initializing the deployment object includes:

[0024] Determine the deployment object based on the obtained kind field;

[0025] Set the version of the deployment object, the installation package of the deployment object, the remote node corresponding to the deployment object, and the role of each remote node in the deployment cluster.

[0026] The present application also provides a cluster deployment system based on a task scheduling engine, the system comprising:

[0027] The task configuration module is used to bind the deployment object and the deployment process to obtain the task configuration information;

[0028] A decoupling module, used for decoupling the deployment object and the task scheduling engine according to the task configuration information;

[0029] A setting module, used to set the task scheduling strategy of each task set through the task scheduling engine, wherein each task set includes a plurality of subtasks, and the subtasks are used to execute the deployment operation of the deployment object according to the deployment process;

[0030] The task distribution and execution module is used to send each of the task sets to the corresponding remote nodes through the task scheduling engine according to the task scheduling strategy, so that each of the remote nodes executes several subtasks in the corresponding task set according to the task scheduling strategy.

[0031] In some embodiments, the setting module includes:

[0032] A task scheduling strategy setting unit is used to pre-set the node role information, operation mode and retry strategy of each task set through the task scheduling engine; wherein the operation mode includes parallel operation and serial operation, and the retry strategy includes the set number of retries and timeout threshold.

[0033] The present application also provides an electronic device, the electronic device comprising: at least one processor, a memory, at least one network interface and a user interface;

[0034] The at least one processor, memory, at least one network interface and user interface are coupled together via a bus system;

[0035] The processor is used to execute the steps of the above-mentioned cluster deployment method based on the task scheduling engine by calling the program or instruction stored in the memory.

[0036] The present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned cluster deployment method based on the task scheduling engine are implemented.

[0037] The above technical solution provided by the embodiment of the present application has the following advantages compared with the prior art:

[0038] The embodiment of the present application provides a cluster deployment method, system, device and medium based on a task scheduling engine. The method binds the deployment object and the deployment process to obtain task configuration information, and decouples the deployment object and the task scheduling engine according to the task configuration information; sets the task scheduling strategy of each task set through the task scheduling engine, wherein each task set contains a number of subtasks, and the subtasks are used to execute the deployment operation of the deployment object according to the deployment process; according to the task scheduling strategy, each task set is sent to the corresponding remote node through the task scheduling engine, so that each remote node executes a number of subtasks in the corresponding task set according to the task scheduling strategy. The present application realizes the deployment of heterogeneous deep learning distributed systems based on the task scheduling engine mechanism, realizes the reusability of the deployment tool by decoupling the deployment object and the task scheduling engine, realizes the high concurrent execution of the deployment task with the help of the high concurrency mechanism, and effectively improves the deployment efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0040] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0041] Figure 1 A schematic diagram of a cluster deployment method based on a task scheduling engine provided in an embodiment of the present application;

[0042] Figure 2 A schematic diagram of initializing a deployment object provided in an embodiment of the present application;

[0043] Figure 3 A schematic diagram of the structure of a task scheduling engine provided in an embodiment of the present application;

[0044] Figure 4 A schematic diagram of distributing tasks through a task scheduling engine provided in an embodiment of the present application;

[0045] Figure 5 A schematic diagram of the structure of a cluster deployment system based on a task scheduling engine provided in an embodiment of the present application;

[0046] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0047] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0048] Figure 1 A flow chart of a cluster deployment method based on a task scheduling engine provided in an embodiment of the present application, the method specifically comprises the following steps:

[0049] S101. Bind the deployment object and the deployment process to obtain task configuration information.

[0050] Optionally, bind the deployment object and the deployment process to obtain task configuration information, including:

[0051] Define deployment objects and deployment processes through command line parameters or configuration files;

[0052] Initialize the deployment object and obtain the task configuration information;

[0053] The task configuration information is sent to the task scheduling engine through the parser.

[0054] like Figure 2 As shown, it is a schematic diagram of initializing a deployment object provided in an embodiment of the present application.

[0055] Optionally, the process of initializing the deployment object includes:

[0056] Determine the deployment object based on the obtained kind field;

[0057] Set the version of the deployment object, the installation package of the deployment object, the remote node corresponding to the deployment object, and the role of each remote node in the deployment cluster.

[0058] S102: Decoupling the deployment object and the task scheduling engine according to the task configuration information.

[0059] Optionally, the task scheduling engine of the present application distributes tasks based on the Pipeline pipeline. The entire Pipeline pipeline is composed according to the user's task configuration information. The user can customize it or directly select the default Pipeline pipeline. The Pipeline pipeline consists of several task sets.

[0060] S103: Setting a task scheduling strategy for each task set through a task scheduling engine, wherein each task set includes a number of subtasks, and the subtasks are used to execute deployment operations of the deployment object according to the deployment process.

[0061] like Figure 3 , which is a schematic diagram of the structure of the task scheduling engine provided in an embodiment of the present application.

[0062] Optionally, the task scheduling strategy for each task set is set through the task scheduling engine, including:

[0063] The node role information, operation mode and retry strategy of each task set are pre-set through the task scheduling engine; wherein the operation mode includes parallel operation and serial operation, and the retry strategy includes the set number of retries and timeout threshold.

[0064] The task set includes several subtasks, which can be set to run in parallel or serially through task scheduling.

[0065] S104. According to the task scheduling strategy, each task set is sent to the corresponding remote node through the task scheduling engine, so that each remote node executes several subtasks in the corresponding task set according to the task scheduling strategy.

[0066] In some embodiments, the above step S104 may include the following steps:

[0067] According to the node role information corresponding to each task set, each task set is sent to the corresponding remote node through the task scheduling engine;

[0068] Perform pre-check operations on remote nodes. When the remote nodes meet the operating conditions, several subtasks in each task set are executed according to the pre-set operating mode. For example, the subtasks may include downloading installation packages on the remote host, creating working directories and authentication certificates, etc.

[0069] When a subtask fails to run, it will run the subtask according to the number of retries pre-set in the retry strategy, and feedback the running status of the subtask.

[0070] like Figure 4 , which is a schematic diagram of task distribution through a task scheduling engine provided in an embodiment of the present application.

[0071] In some embodiments, each task set is a pluggable architecture, and the connection relationship between each task set includes a coupling relationship and a non-coupling relationship. That is, the direct relationship between each task set can be a non-coupling relationship, where there is no direct connection between each other; or a coupling relationship, for example, the state of task set A needs to be passed to task set B, and task set A can be a set that performs initialization installation tasks, and the installed version information needs to be passed to task set B.

[0072] This application implements the deployment of heterogeneous deep learning distributed systems based on the task scheduling engine mechanism. By decoupling the deployment object and the task scheduling engine, and building a pluggable task set at the same time, it is convenient to expand and transform the deployment tool. At the same time, the deployment tool is highly reusable, and users can apply the deployment tool to the deployment of clusters with other functions. This application also uses a high-concurrency mechanism to achieve high-concurrency execution of deployment tasks, effectively improving the user's deployment efficiency.

[0073] See also Figure 5 The present application also provides a cluster deployment system based on a task scheduling engine, the system comprising:

[0074] The task configuration module 51 is used to bind the deployment object and the deployment process to obtain the task configuration information;

[0075] A decoupling module 52, used for decoupling the deployment object and the task scheduling engine according to the task configuration information;

[0076] A setting module 53, used to set the task scheduling strategy of each task set through the task scheduling engine, wherein each task set includes a number of subtasks, and the subtasks are used to perform the deployment operation of the deployment object according to the deployment process;

[0077] The task distribution and execution module 54 is used to send each task set to the corresponding remote node through the task scheduling engine according to the task scheduling strategy, so that each remote node executes several subtasks in the corresponding task set according to the task scheduling strategy.

[0078] In some embodiments, the setting module 53 includes:

[0079] The task scheduling strategy setting unit is used to pre-set the node role information, operation mode and retry strategy of each task set through the task scheduling engine; wherein the operation mode includes parallel operation and serial operation, and the retry strategy includes the set number of retries and timeout threshold.

[0080] In some embodiments, the task distribution and execution module 54 includes:

[0081] A task set sending unit, used to send each task set to a corresponding remote node through a task scheduling engine according to the node role information corresponding to each task set;

[0082] The pre-check unit is used to perform pre-check operations on the remote node. When the remote node meets the operating conditions, several subtasks in each task set are executed according to the pre-set operating mode;

[0083] The retry unit is used to run the subtask according to the number of retries pre-set in the retry strategy when the subtask fails to run, and to feedback the running status of the subtask.

[0084] In some embodiments, the task configuration module 51 includes:

[0085] Definition unit, used to define deployment objects and deployment processes through command line parameters or configuration files;

[0086] An initialization unit is used to initialize the deployment object and obtain task configuration information;

[0087] The configuration information sending unit is used to send the task configuration information to the task scheduling engine through the parser.

[0088] In some embodiments, the initialization unit includes:

[0089] A deployment object determination subunit is used to determine the deployment object according to the obtained kind field;

[0090] The deployment object setting subunit is used to set the version of the deployment object, the installation package of the deployment object, the remote node corresponding to the deployment object, and the role of each remote node in the deployment cluster.

[0091] The embodiment of the present application provides a cluster deployment method and system based on a task scheduling engine. By compiling binary deployment files, the problem of traditional automated deployment dependence on the environment is avoided. By decoupling the task scheduling engine from specific deployment tasks, a modular and pluggable deployment architecture of task sets is constructed at the same time, which facilitates the expansion and transformation of deployment tools. At the same time, the deployment tool has strong reusability, and users can apply the tool to the deployment of clusters with other functions. The high concurrency characteristics of the golang language are fully utilized to concurrently execute the efficiency of deployment tasks, effectively improving the user's deployment efficiency.

[0092] The present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of each method embodiment are implemented, for example, including:

[0093] Bind the deployment object and deployment process to obtain task configuration information;

[0094] Decouple the deployment object and the task scheduling engine based on the task configuration information;

[0095] The task scheduling engine is used to set the task scheduling strategy for each task set, wherein each task set contains a number of subtasks, and the subtasks are used to perform deployment operations of the deployment object according to the deployment process;

[0096] According to the task scheduling strategy, each task set is sent to the corresponding remote node through the task scheduling engine, so that each remote node executes several subtasks in the corresponding task set according to the task scheduling strategy.

[0097] Figure 6 It is a schematic diagram of the structure of an electronic device provided by another embodiment of the present invention. Figure 6 The electronic device 600 shown includes: at least one processor 601, a memory 602, at least one network interface 604 and other user interfaces 603. The various components in the electronic device 600 are coupled together via a bus system 605. It is understood that the bus system 605 is used to achieve connection and communication between these components. In addition to the data bus, the bus system 605 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, the bus system 605 is not shown in FIG. Figure 6 Various buses are labeled as bus system 605 .

[0098] The user interface 603 may include a display, a keyboard, or a pointing device (eg, a mouse, a trackball, a touch pad, or a touch screen).

[0099] It can be understood that the memory 602 in the embodiment of the present invention can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM) and direct memory bus random access memory (DRRAM). The memory 602 described herein is intended to include, but is not limited to, these and any other suitable types of memory.

[0100] In some implementations, the memory 602 stores the following elements, executable units or data structures, or a subset thereof, or an extended set thereof: an operating system 6021 and an application 6022 .

[0101] The operating system 6021 includes various system programs, such as a framework layer, a core library layer, a driver layer, etc., which are used to implement various basic services and process hardware-based tasks. The application 6022 includes various application programs, such as a media player (MediaPlayer), a browser (Browser), etc., which are used to implement various application services. The program for implementing the method of the embodiment of the present invention can be included in the application 6022.

[0102] In the embodiment of the present invention, by calling the program or instruction stored in the memory 602, specifically, the program or instruction stored in the application 6022, the processor 601 is used to execute the method steps provided by each method embodiment, for example, including: binding the deployment object and the deployment process to obtain task configuration information;

[0103] Decouple the deployment object and the task scheduling engine based on the task configuration information;

[0104] The task scheduling engine is used to set the task scheduling strategy for each task set, wherein each task set contains a number of subtasks, and the subtasks are used to perform deployment operations of the deployment object according to the deployment process;

[0105] According to the task scheduling strategy, each task set is sent to the corresponding remote node through the task scheduling engine, so that each remote node executes several subtasks in the corresponding task set according to the task scheduling strategy.

[0106] The method disclosed in the above embodiment of the present invention can be applied to the processor 601, or implemented by the processor 601. The processor 601 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit in the processor 601 or the instruction in the form of software. The above processor 601 can be a general processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present invention can be implemented or executed. The general processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiment of the present invention can be directly embodied as a hardware decoding processor to execute, or the hardware and software units in the decoding processor can be executed. The software unit can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 602, and the processor 601 reads the information in the memory 602 and completes the steps of the above method in combination with its hardware.

[0107] It is understood that the embodiments described herein can be implemented by hardware, software, firmware, middleware, microcode or a combination thereof. For hardware implementation, the processing unit can be implemented in one or more application specific integrated circuits (ASIC), digital signal processors (DSP), digital signal processing devices (DSPDevice, DSPD), programmable logic devices (PLD), field programmable gate arrays (FPGA), general-purpose processors, controllers, microcontrollers, microprocessors, other electronic units for performing the functions described in the present application or a combination thereof.

[0108] For software implementation, the technology described herein can be implemented by a unit that performs the functions described herein. The software code can be stored in a memory and executed by a processor. The memory can be implemented in the processor or outside the processor.

[0109] For the convenience of description, the above device is described as being divided into various units according to their functions. Of course, when implementing the present invention, the functions of each unit can be implemented in the same or multiple software and / or hardware.

[0110] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device or system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment. The device and system embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0111] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0112] The foregoing is merely a specific embodiment of the present invention, which enables those skilled in the art to understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features claimed herein.

Claims

1. Cluster deployment method based on task scheduling engine, It is characterized in that The method comprises the following steps: Bind the deployment object and deployment process to obtain task configuration information; Decoupling the deployment object and the task scheduling engine according to the task configuration information; Setting a task scheduling strategy for each task set through the task scheduling engine, wherein each task set includes a plurality of subtasks, and the subtasks are used to execute the deployment operation of the deployment object according to the deployment process; According to the task scheduling strategy, each of the task sets is sent to a corresponding remote node through a task scheduling engine, so that each of the remote nodes executes a number of subtasks in the corresponding task set according to the task scheduling strategy; The task scheduling strategy for each task set is set by the task scheduling engine, including: Presetting the node role information, operation mode and retry strategy of each task set by the task scheduling engine; wherein the operation mode includes parallel operation and serial operation, and the retry strategy includes the set number of retries and timeout threshold; According to the task scheduling strategy, each of the task sets is sent to a corresponding remote node through a task scheduling engine, so that a plurality of subtasks in each of the task sets are executed at the remote node according to the task scheduling strategy, including: According to the node role information corresponding to each of the task sets, each of the task sets is sent to a corresponding remote node through the task scheduling engine; Performing a pre-check operation on the remote node, and when the remote node meets the operating conditions, executing several subtasks in each of the task sets according to a preset operating mode; When the subtask fails to run, the subtask is run according to the number of retries preset in the retry strategy, and the running status of the subtask is fed back.

2. The cluster deployment method based on the task scheduling engine according to claim 1, It is characterized in that Each of the task sets is a pluggable architecture, and the connection relationship between each of the task sets includes a coupling relationship and a non-coupling relationship.

3. The cluster deployment method based on the task scheduling engine according to claim 1, It is characterized in that Bind the deployment object and deployment process to obtain task configuration information, including: Defining the deployment object and deployment process through command line parameters or configuration files; Initializing the deployment object to obtain task configuration information; The task configuration information is sent to the task scheduling engine through a parser.

4. The cluster deployment method based on the task scheduling engine according to claim 3, It is characterized in that Initializing the deployment object includes: Determine the deployment object based on the obtained kind field; Set the version of the deployment object, the installation package of the deployment object, the remote node corresponding to the deployment object, and the role of each remote node in the deployment cluster.

5. Cluster deployment system based on task scheduling engine, It is characterized in that The system comprises: The task configuration module is used to bind the deployment object and the deployment process to obtain the task configuration information; A decoupling module, used for decoupling the deployment object and the task scheduling engine according to the task configuration information; A setting module, used to set the task scheduling strategy of each task set through the task scheduling engine, wherein each task set includes a plurality of subtasks, and the subtasks are used to execute the deployment operation of the deployment object according to the deployment process; A task distribution and execution module, used to send each of the task sets to the corresponding remote nodes through the task scheduling engine according to the task scheduling strategy, so that each of the remote nodes executes several subtasks in the corresponding task set according to the task scheduling strategy; The setting module includes: A task scheduling strategy setting unit, used to pre-set the node role information, operation mode and retry strategy of each task set through the task scheduling engine; wherein the operation mode includes parallel operation and serial operation, and the retry strategy includes the set number of retries and timeout threshold; According to the task scheduling strategy, each of the task sets is sent to a corresponding remote node through a task scheduling engine, so that a plurality of subtasks in each of the task sets are executed at the remote node according to the task scheduling strategy, including: According to the node role information corresponding to each of the task sets, each of the task sets is sent to a corresponding remote node through the task scheduling engine; Performing a pre-check operation on the remote node, and when the remote node meets the operating conditions, executing several subtasks in each of the task sets according to a preset operating mode; When the subtask fails to run, the subtask is run according to the number of retries preset in the retry strategy, and the running status of the subtask is fed back.

6. An electronic device, It is characterized in that The electronic device comprises: at least one processor, a memory, at least one network interface and a user interface; The at least one processor, memory, at least one network interface and user interface are coupled together via a bus system; The processor is used to execute the steps of the cluster deployment method based on the task scheduling engine as described in any one of claims 1 to 4 by calling the program or instruction stored in the memory.

7. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the cluster deployment method based on the task scheduling engine as described in any one of claims 1 to 4 are implemented.