Deployment method and system for heterogeneous server clusters for hyperledger blockchain
By generating standardized cluster deployment task orchestration files and building executable scripts, the automated deployment of Hyperledger Fabric blockchain clusters is realized, solving the problem of low deployment efficiency in existing technologies, reducing labor costs and improving deployment efficiency.
Patent Information
- Application Number
- CN202210523303.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-13
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2042-05-13
AI Technical Summary
The existing technology lacks an automated cluster construction method that covers all types of nodes in Hyperledger Fabric. As a result, Hyperledger Fabric cluster deployment relies on developers to manually write and execute deployment scripts, which is inefficient and error-prone.
By creating a cluster deployment task based on attribute parameters, generating a standardized cluster deployment task orchestration file, building an executable deployment script, and starting the script to synchronously monitor and collect deployment results, the automated deployment of the Hyperledger Fabric blockchain cluster is realized.
It lowers the threshold for Hyperledger Fabric blockchain cluster deployment, improves deployment efficiency, reduces labor costs, and standardizes deployment scripts.
Smart Images

Figure CN114968270B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of information technology, and in particular to a method and system for deploying a heterogeneous server group for a hyperledger blockchain. Background Art
[0002] Nodes are the main body of communication in the Hyperledger Fabric blockchain network. There are many types of nodes related to the blockchain network: client (application), peer node (endorsement), sorting service node (Orderer), CA service node. For different hardware and software environments, each type of node has an independent set of deployment procedures, and each set of deployment procedures involves system installation, system basic dependency library installation, business node operating environment installation, business program deployment, system operation status monitoring program deployment, system correctness verification, and system integrity verification.
[0003] There is currently no automated cluster construction method or system that can cover all types of nodes in Hyperledger Fabric. Currently, Hyperledger Fabric cluster deployment is done by developers manually writing and executing deployment scripts according to business needs. The cluster deployment scripts and deployment processes corresponding to different businesses are completely different. It is time-consuming, labor-intensive, and error-prone for developers to manually write, test, and execute deployment scripts. Summary of the invention
[0004] The present invention proposes a deployment method and system for a heterogeneous server group for a Hyperledger blockchain, which is used to solve or at least partially solve the technical problem of low construction efficiency existing in the prior art.
[0005] In order to solve the above technical problems, the first aspect of the present invention provides a deployment method for a heterogeneous server group for a Hyperledger blockchain, comprising:
[0006] Create a cluster deployment task based on attribute parameters, set cluster configuration parameters, and generate a parsable standardized cluster deployment task orchestration file based on attribute parameters and configuration parameters;
[0007] Parse the generated standardized cluster deployment task orchestration file and build an executable cluster deployment task script;
[0008] Start the executable cluster deployment task script, and synchronously monitor the deployment script execution process until the executable cluster deployment task script is executed and completes, and collects the deployment results.
[0009] In one implementation, a cluster deployment task is created, and relevant parameters of the cluster are set. A parsable standardized cluster deployment task orchestration file is generated based on the relevant parameters, including:
[0010] Create a cluster deployment task based on attribute parameters, where the attribute parameters include cluster name, cluster type, and node type;
[0011] Get the cluster configuration parameters according to the cluster type, where the configuration parameters include the number of nodes of each type and the node configuration information. The node configuration information includes the number of CPUs and memory size.
[0012] Adjust and determine the number of nodes of each type and the configuration information of each node;
[0013] Generate a parsable standardized cluster deployment task orchestration file based on attribute parameters and configuration parameters.
[0014] In one embodiment, after generating a parsable standardized cluster deployment task orchestration file according to the attribute parameters and the configuration parameters, the method further includes:
[0015] Set the status of the cluster deployment task to pending.
[0016] In one implementation, the generated standardized cluster deployment task orchestration file is parsed to construct an executable cluster deployment task script, including:
[0017] Read the standardized orchestration file of the cluster deployment task, parse the cluster attribute parameters and configuration parameters of the cluster deployment task, and select the corresponding server as the deployment node for each node based on the best fit principle;
[0018] Lock the computing resources and storage resources of all nodes and create a separate directory for cluster deployment tasks. All nodes include client application nodes, peer nodes, sorting service nodes, and CA nodes. The computing resources are the number of CPUs and memory size, and the storage resources are storage resource hard disks.
[0019] Send the relevant files required for each node deployment to the corresponding node and decompress them to the specified directory;
[0020] Initialize the runtime environment on all nodes.
[0021] In one embodiment, before reading the standardized orchestration file of the cluster deployment task, the method further includes:
[0022] Get the cluster deployment task.
[0023] Determine whether there are any cluster deployment tasks in the pending state. If so, change the state to initializing.
[0024] In one embodiment, after initializing the operating environment on all nodes, the method further includes:
[0025] Change the cluster deployment task status to Ready.
[0026] In one implementation, an executable cluster deployment task script is started, and the deployment script execution process is synchronously monitored until the executable cluster deployment task script is executed and the deployment result is collected, including:
[0027] Remotely log in to the CA service node, download the CA image and dependent images, start the CA service, and generate encryption files for all nodes in the cluster one by one;
[0028] Remotely log in to client nodes one by one and perform client node deployment tasks;
[0029] Remotely log in to the peer nodes one by one and execute the peer node deployment tasks;
[0030] Remotely log in to the sorting service node and execute the sorting service node deployment task;
[0031] Synchronously monitor the log information above the INFO level output during the cluster deployment task processing in real time, parse the log information according to the log template, and obtain the structured data of the task status;
[0032] Update task execution status or progress based on structured data;
[0033] The steps of synchronously monitoring the log information above the INFO level output during the cluster deployment task processing in real time and updating the task execution status or progress according to the structured data are executed cyclically until the task execution succeeds or fails, the deployment results are collected, and the task status is updated to success or failure.
[0034] In one implementation, remotely logging into client nodes one by one and performing client node deployment tasks include:
[0035] Download the client image and the corresponding dependent images, use the images to instantiate and start the container, and install and initialize the chaincodes one by one.
[0036] In one implementation, remotely log in to the peer nodes one by one and execute the peer node deployment task, including:
[0037] Download the peer image and its corresponding dependent images, and use the images to instantiate and start the container.
[0038] Based on the same inventive concept, the second aspect of the present invention provides a deployment system for a heterogeneous server group for a Hyperledger blockchain, comprising:
[0039] A standardized cluster deployment task orchestration file generation module is used to create a cluster deployment task according to attribute parameters, set cluster configuration parameters, and generate a parsable standardized cluster deployment task orchestration file according to attribute parameters and configuration parameters;
[0040] An executable cluster deployment task script construction module is used to parse the generated standardized cluster deployment task orchestration file and construct an executable cluster deployment task script;
[0041] The execution module is used to start the executable cluster deployment task script, and synchronously monitor the deployment script execution process until the executable cluster deployment task script is executed and collect the deployment results.
[0042] The above one or more technical solutions in the embodiments of the present application have at least one or more of the following technical effects:
[0043] The present invention provides a deployment method for a heterogeneous server group for a hyperledger blockchain. First, a cluster deployment task is created according to attribute parameters, and configuration parameters of the cluster are set. A parsable standardized cluster deployment task orchestration file is generated according to the attribute parameters and the configuration parameters. Then, the generated standardized cluster deployment task orchestration file is parsed to construct an executable cluster deployment task script. Then, the executable cluster deployment task script is started, and the execution process of the deployment script is synchronously monitored until the execution of the executable cluster deployment task script is completed, and the deployment result is collected.
[0044] The above method is used to generate a standardized orchestration file for a heterogeneous server diversified cluster for the Hyperledger Fabric blockchain, and an executable cluster deployment task script is constructed by parsing the standardized orchestration file. Finally, the deployment script is executed, the deployment results are collected, and the Hyperledger Fabric deployment script is standardized, which lowers the threshold for Hyperledger Fabric blockchain cluster deployment, reduces labor costs, and greatly improves cluster deployment efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] 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, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0046] Figure 1 Create a cluster deployment task in the embodiment of the present invention and generate a standardized orchestration file flow chart;
[0047] Figure 2 To parse the standardized cluster deployment task arrangement file in the implementation of the present invention and construct an executable cluster deployment task flow chart;
[0048] Figure 3 The present invention is a flowchart of starting a deployment script to obtain deployment execution results in the implementation of the present invention. DETAILED DESCRIPTION
[0049] The present invention mainly constructs an automated orchestration and construction system for heterogeneous server diversified clusters for Hyperledger Fabric blockchain, standardizes Hyperledger Fabric deployment scripts, lowers the threshold for Hyperledger Fabric blockchain cluster deployment, reduces labor costs, and improves cluster deployment efficiency.
[0050] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0051] Embodiment 1
[0052] An embodiment of the present invention provides a method for deploying a heterogeneous server group for a Hyperledger blockchain, comprising:
[0053] Create a cluster deployment task based on attribute parameters, set cluster configuration parameters, and generate a parsable standardized cluster deployment task orchestration file based on attribute parameters and configuration parameters;
[0054] Parse the generated standardized cluster deployment task orchestration file and build an executable cluster deployment task script;
[0055] Start the executable cluster deployment task script, and synchronously monitor the deployment script execution process until the executable cluster deployment task script is executed and completes, and collects the deployment results.
[0056] In one implementation, a cluster deployment task is created, and relevant parameters of the cluster are set. A parsable standardized cluster deployment task orchestration file is generated based on the relevant parameters, including:
[0057] Create a cluster deployment task based on attribute parameters, where the attribute parameters include cluster name, cluster type, and node type;
[0058] Get the cluster configuration parameters according to the cluster type, where the configuration parameters include the number of nodes of each type and the node configuration information. The node configuration information includes the number of CPUs and memory size.
[0059] Adjust and determine the number of nodes of each type and the configuration information of each node;
[0060] Generate a parsable standardized cluster deployment task orchestration file based on attribute parameters and configuration parameters.
[0061] Specifically, you can create a deployment task through the system management background and enter the attribute parameters. The system will provide the recommended number of nodes of each type and the specific configuration information of each node according to the cluster type. Adjust and determine the number of nodes of each type and the configuration information of each node according to the system's recommendations, and then check whether the configuration information is reasonable.
[0062] See also Figure 1 , to create a cluster deployment task in an embodiment of the present invention and generate a standardized orchestration file flow chart.
[0063] In one embodiment, after generating a parsable standardized cluster deployment task orchestration file according to the attribute parameters and the configuration parameters, the method further includes:
[0064] Set the status of the cluster deployment task to pending.
[0065] In one implementation, the generated standardized cluster deployment task orchestration file is parsed to construct an executable cluster deployment task script, including:
[0066] Read the standardized orchestration file of the cluster deployment task, parse the cluster attribute parameters and configuration parameters of the cluster deployment task, and select the corresponding server as the deployment node for each node based on the best fit principle;
[0067] Lock the computing resources and storage resources of all nodes and create a separate directory for cluster deployment tasks. All nodes include client application nodes, peer nodes, sorting service nodes, and CA service nodes. The computing resources are the number of CPUs and memory size, and the storage resources are storage resource hard disks.
[0068] Send the relevant files required for each node deployment to the corresponding node and decompress them to the specified directory;
[0069] Initialize the runtime environment on all nodes.
[0070] Specifically, peer nodes refer to endorsement nodes, and CA service nodes refer to electronic certification service nodes. The best fit principle means that the selected allocated server cannot exceed 50% of the number of CPUs and memory configured in the node. The storage resource hard disk size of each node is the same.
[0071] Figure 2 To parse the standardized cluster deployment task arrangement file in the implementation of the present invention and construct an executable cluster deployment task flow chart;
[0072] In one embodiment, before reading the standardized orchestration file of the cluster deployment task, the method further includes:
[0073] Get the cluster deployment task.
[0074] Determine whether there are any cluster deployment tasks in the pending state. If so, change the state to initializing.
[0075] In one embodiment, after initializing the operating environment on all nodes, the method further includes:
[0076] Change the cluster deployment task status to Ready.
[0077] In one implementation, an executable cluster deployment task script is started, and the deployment script execution process is synchronously monitored until the executable cluster deployment task script is executed and the deployment result is collected, including:
[0078] Remotely log in to the CA service node, download the CA image and dependent images, start the CA service, and generate encryption files for all nodes in the cluster one by one;
[0079] Remotely log in to client nodes one by one and perform client node deployment tasks;
[0080] Remotely log in to the peer nodes one by one and execute the peer node deployment tasks;
[0081] Remotely log in to the sorting service node and execute the sorting service node deployment task;
[0082] Synchronously monitor the log information above the INFO level output during the cluster deployment task processing in real time, parse the log information according to the log template, and obtain the structured data of the task status;
[0083] Update task execution status or progress based on structured data;
[0084] The steps of synchronously monitoring the log information above the INFO level output during the cluster deployment task processing in real time and updating the task execution status or progress according to the structured data are executed cyclically until the task execution succeeds or fails, the deployment results are collected, and the task status is updated to success or failure.
[0085] The INFO level refers to the output level during the cluster deployment task processing, which is used to feedback the current status of the system to the end user.
[0086] See also Figure 3 , which is a flow chart of starting a deployment script to obtain deployment execution results in the implementation of the present invention.
[0087] In one implementation, remotely logging into client nodes one by one and performing client node deployment tasks include:
[0088] Download the client image and the corresponding dependent images, use the images to instantiate and start the container, and install and initialize the chaincodes one by one.
[0089] In one implementation, remotely logging into the peer nodes one by one and executing the peer node deployment task includes:
[0090] Download the peer image and its corresponding dependent images, and use the images to instantiate and start the container.
[0091] Specifically, after all the peer nodes are started and run, the method further includes: checking whether the network connectivity between all the peer nodes is normal.
[0092] The specific implementation method of remotely logging in to the sorting service node and executing the sorting service node deployment task is as follows: Download the sorting service image and dependent images, use the image to instantiate and start the container. Check whether the network connectivity from the sorting service node to all peer nodes is normal.
[0093] The method provided by the present invention is described in detail below through specific examples:
[0094] Step 1: Create a cluster deployment task and generate a standardized cluster deployment task orchestration file.
[0095] (1) Enter the management system and open the cluster deployment task orchestration interface; enter the cluster deployment task name deployTaskName, select the cluster type taskType, and select the node type peerType = {caType, clientType, peerType, orderType};
[0096] (2) The system provides the recommended number of nodes of each type according to the cluster type: peerNo = {caNum, clientNum, peerNum, orderNum}, as well as the specific configuration information of each node: caInfo = {cpuNum, memNum}, clientInfo = {cpuNum, memNum}, peerInfo = {cpuNum, memNum}, orderInfo = {cpuNum, memNum};
[0097] (3) Adjust and confirm the parameters peerNo, caInfo, clientInfo, peerInfo, and orderInfo;
[0098] (4) Check whether the configuration information in step (3) is reasonable. If not, go to step (3) for readjustment.
[0099] (5) Generate a standardized cluster deployment task orchestration file layout based on all parameters (attribute parameters, configuration parameters);
[0100] (6) Set the task status to pending taskStatus = waiting;
[0101] The names involved are explained as follows:
[0102] caType: CA service type, clientType: client type, peerType: peer type, orderType: ordering service type, caNum: number of CA service type nodes, clientNum: number of client type nodes, peerNum: number of peer type nodes, orderNum: number of ordering service nodes, cpuNum: number of CPUs, memNum: memory size.
[0103] Step 2: Parse the standardized cluster deployment task orchestration file and build an executable cluster deployment task.
[0104] (1) Read the task task whose task status is taskStatus=waiting, and change its task status to initializing taskStatus=initializing;
[0105] (2) Read the task standardized layout file layout;
[0106] (3) Parse the layout file layout and obtain the task configuration parameters params = {deployTaskName, taskType, peerNo, caInfo, clientInfo, peerInfo, orderInfo}; select the appropriate server server[i] as its deployment node according to the configuration information {cpuNum, memNum} of each node i;
[0107] (4) Lock the computing resources and storage resources of all nodes serverList = {server[0], server[1]…server[n]}, and create a separate directory taskDir[i] for each node;
[0108] (5) Use the remote file copy command rsync to send the relevant files fileList = {file[0], file[2]…file[n]} required for the deployment of each node server[i] in serverList to the node directory taskDir[i] and decompress them;
[0109] (6) Initialize the operating environment on all nodes of serverList;
[0110] (7) Change the cluster deployment task status to ready taskStatus = ready;
[0111] The names involved are explained as follows:
[0112] deployTaskName: deployment task name, taskType: task type, peerNo: number of nodes, caInfo: ca service node configuration information, clientInfo: client node configuration information, peerInfo: peer node configuration information, orderInfo: ordering service node configuration information, cpuNum: number of cpus, memNum: memory size, serverList: list of all nodes, taskDir: working directory of a node, fileList: all files required for a node to work.
[0113] Step 3: Start the deployment script, deploy nodes one by one, wait for the running process, and obtain the deployment execution results.
[0114] (1) Change the cluster deployment task status to taskStatus = running;
[0115] (2) Log in to the CA service node caPeer, download the CA image caImage, and start the CA service. At the same time, generate digital certificates DigCert and keys Keys for all nodes serverList in the cluster one by one;
[0116] (3) Remotely log in to client nodes clientPeer one by one, download the client image clientImage, start the service, and install all chain codes chaincodeList = {cc[0], cc[1]…cc[n]};
[0117] (4) Remotely log in to each peer node one by one, download the peer image peerImage, and start the service. Check the connectivity between all peer nodes;
[0118] (5) Log in to the sorting service node orderPeer, download the sorting service image orderImage, and start the service. Check the connectivity between the sorting service node and all Peer nodes;
[0119] (6) Monitor the log information logs = {log1, log2, log3 ... logn} above the INFO level output in real time during the task processing, parse the log log according to the log template, and obtain the structured data data = {status, startTime, executionTime} and other data of the task status;
[0120] (7) Get the current status of the cluster deployment task.
[0121] (8) If the task status is success or failure status in {success,fail}, collect the execution results and update the task status to success or failure; otherwise, continue to loop (6)-(7).
[0122] The names involved are explained as follows:
[0123] serverList: list of all nodes, chaincodeList: list of all chaincodes, logs: list of all log information above INFO level, log: a log, data: structured data of task status, where status represents status, startTime represents start time, executionTime represents how long it has been executed, and status: task status.
[0124] Embodiment 2
[0125] Based on the same inventive concept as that of the first embodiment, this embodiment provides a deployment system for a heterogeneous server group for a Hyperledger blockchain, including:
[0126] A standardized cluster deployment task orchestration file generation module is used to create a cluster deployment task according to attribute parameters, set cluster configuration parameters, and generate a parsable standardized cluster deployment task orchestration file according to attribute parameters and configuration parameters;
[0127] An executable cluster deployment task script construction module is used to parse the generated standardized cluster deployment task orchestration file and construct an executable cluster deployment task script;
[0128] The execution module is used to start the executable cluster deployment task script, and synchronously monitor the deployment script execution process until the executable cluster deployment task script is executed and collect the deployment results.
[0129] Since the system introduced in the second embodiment of the present invention is a system used to implement the deployment method of the heterogeneous server group for the Hyperledger blockchain in the first embodiment of the present invention, based on the method introduced in the first embodiment of the present invention, the person skilled in the art can understand the specific structure and deformation of the system, so it is not repeated here. All systems used in the method of the first embodiment of the present invention belong to the scope of protection of the present invention.
[0130] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. Deployment method of heterogeneous server cluster for Hyperledger blockchain, It is characterized in that include: Create a cluster deployment task based on attribute parameters, set cluster configuration parameters, and generate a parsable standardized cluster deployment task orchestration file based on attribute parameters and configuration parameters; Parse the generated standardized cluster deployment task orchestration file and build an executable cluster deployment task script; Start the executable cluster deployment task script, and synchronously monitor the deployment script execution process until the executable cluster deployment task script is executed and completes, and collects the deployment results; The generated standardized cluster deployment task orchestration file is parsed to build an executable cluster deployment task script, including: Read the standardized orchestration file of the cluster deployment task, parse the cluster attribute parameters and configuration parameters of the cluster deployment task, and select the corresponding server as the deployment node for each node based on the best fit principle; Lock the computing resources and storage resources of all nodes and create a separate directory for cluster deployment tasks. All nodes include client application nodes, peer nodes, sorting service nodes, and CA nodes. The computing resources are the number of CPUs and memory size, and the storage resources are storage resource hard disks. Send the relevant files required for each node deployment to the corresponding node and decompress them to the specified directory; Initialize the operating environment on all nodes; Start the executable cluster deployment task script and monitor the deployment script execution process synchronously until the executable cluster deployment task script is executed and completes. Collect the deployment results, including: Remotely log in to the CA service node, download the CA image and dependent images, start the CA service, and generate encryption files for all nodes in the cluster one by one; Remotely log in to client nodes one by one and perform client node deployment tasks; Remotely log in to the peer nodes one by one and execute the peer node deployment tasks; Remotely log in to the sorting service node and execute the sorting service node deployment task; Synchronously monitor the log information above the INFO level output during the cluster deployment task processing in real time, parse the log information according to the log template, and obtain the structured data of the task status; Update task execution status or progress based on structured data; The steps of synchronously monitoring the log information above the INFO level output during the cluster deployment task processing in real time and updating the task execution status or progress according to the structured data are executed cyclically until the task execution succeeds or fails, the deployment results are collected, and the task status is updated to success or failure.
2. The method for deploying a heterogeneous server cluster for a Hyperledger blockchain as claimed in claim 1, It is characterized in that Create a cluster deployment task and set the relevant parameters of the cluster. Generate a parsable standardized cluster deployment task orchestration file based on the relevant parameters, including: Create a cluster deployment task based on attribute parameters, where the attribute parameters include cluster name, cluster type, and node type; Get the cluster configuration parameters according to the cluster type, where the configuration parameters include the number of nodes of each type and the node configuration information. The node configuration information includes the number of CPUs and memory size. Adjust and determine the number of nodes of each type and the configuration information of each node; Generate a parsable standardized cluster deployment task orchestration file based on attribute parameters and configuration parameters.
3. The method for deploying a heterogeneous server cluster for a Hyperledger blockchain as claimed in claim 2, It is characterized in that After generating a parsable standardized cluster deployment task orchestration file according to the attribute parameters and the configuration parameters, the method further includes: Set the status of the cluster deployment task to pending.
4. The method for deploying a heterogeneous server cluster for a Hyperledger blockchain as claimed in claim 1, It is characterized in that Before reading the standardized orchestration file of the cluster deployment task, the method further includes: Get the cluster deployment task. Determine whether there are any cluster deployment tasks in the pending state. If so, change the state to initializing.
5. The method for deploying a heterogeneous server cluster for a Hyperledger blockchain as claimed in claim 1, It is characterized in that After initializing the operating environment on all nodes, the method further includes: Change the cluster deployment task status to Ready.
6. The method for deploying a heterogeneous server cluster for a Hyperledger blockchain as claimed in claim 1, It is characterized in that Remotely log in to the client nodes one by one and perform the client node deployment tasks, including: Download the client image and the corresponding dependent images, use the images to instantiate and start the container, and install and initialize the chaincodes one by one.
7. The method for deploying a heterogeneous server cluster for a Hyperledger blockchain as claimed in claim 1, It is characterized in that Remotely log in to the peer nodes one by one and perform peer node deployment tasks, including: Download the peer image and its corresponding dependent images, and use the images to instantiate and start the container.
8. A deployment system for heterogeneous server clusters for Hyperledger blockchains. It is characterized in that include: A standardized cluster deployment task orchestration file generation module is used to create a cluster deployment task according to attribute parameters, set cluster configuration parameters, and generate a parsable standardized cluster deployment task orchestration file according to attribute parameters and configuration parameters; An executable cluster deployment task script construction module is used to parse the generated standardized cluster deployment task orchestration file and construct an executable cluster deployment task script; The execution module is used to start the executable cluster deployment task script, and synchronously monitor the deployment script execution process until the executable cluster deployment task script is executed and collect the deployment results; The executable cluster deployment task script construction module is specifically used for: Read the standardized orchestration file of the cluster deployment task, parse the cluster attribute parameters and configuration parameters of the cluster deployment task, and select the corresponding server as the deployment node for each node based on the best fit principle; Lock the computing resources and storage resources of all nodes and create a separate directory for cluster deployment tasks. All nodes include client application nodes, peer nodes, sorting service nodes, and CA nodes. The computing resources are the number of CPUs and memory size, and the storage resources are storage resource hard disks. Send the relevant files required for each node deployment to the corresponding node and decompress them to the specified directory; Initialize the operating environment on all nodes; The execution module is specifically used for: Remotely log in to the CA service node, download the CA image and dependent images, start the CA service, and generate encryption files for all nodes in the cluster one by one; Remotely log in to client nodes one by one and perform client node deployment tasks; Remotely log in to the peer nodes one by one and execute the peer node deployment tasks; Remotely log in to the sorting service node and execute the sorting service node deployment task; Synchronously monitor the log information above the INFO level output during the cluster deployment task processing in real time, parse the log information according to the log template, and obtain the structured data of the task status; Update task execution status or progress based on structured data; The steps of synchronously monitoring the log information above the INFO level output during the cluster deployment task processing in real time and updating the task execution status or progress according to the structured data are executed cyclically until the task execution succeeds or fails, the deployment results are collected, and the task status is updated to success or failure.
