CN113220451A - Method, system, device and storage medium for deploying distributed cluster system - Google Patents
Method, system, device and storage medium for deploying distributed cluster system Download PDFInfo
- Publication number
- CN113220451A CN113220451A CN202110485404.4A CN202110485404A CN113220451A CN 113220451 A CN113220451 A CN 113220451A CN 202110485404 A CN202110485404 A CN 202110485404A CN 113220451 A CN113220451 A CN 113220451A
- Authority
- CN
- China
- Prior art keywords
- deployment
- file
- distributed cluster
- cluster system
- task set
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 86
- 230000008569 process Effects 0.000 claims description 10
- 238000005538 encapsulation Methods 0.000 claims description 9
- 230000003044 adaptive effect Effects 0.000 claims description 8
- 230000004044 response Effects 0.000 claims description 4
- 230000006870 function Effects 0.000 description 48
- 238000004590 computer program Methods 0.000 description 6
- 230000002452 interceptive effect Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000006467 substitution reaction Methods 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5027—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
- G06F9/5038—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering the execution order of a plurality of tasks, e.g. taking priority or time dependency constraints into consideration
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44521—Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
- G06F9/44526—Plug-ins; Add-ons
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4843—Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5061—Partitioning or combining of resources
- G06F9/5066—Algorithms for mapping a plurality of inter-dependent sub-tasks onto a plurality of physical CPUs
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The invention relates to the technical field of software deployment, in particular provides a deployment method, a deployment system, a deployment device and a storage medium of a distributed cluster system, and aims to solve the technical problem of how to efficiently and reliably deploy multi-region software. For this purpose, the deployment method according to the embodiment of the present invention may load configuration information corresponding to the deployment region, where the configuration information includes an environment variable and a hosts file, obtain a deployment task set according to a system version to be deployed, and control each deployment task in the deployment task set to be executed on a node device specified in the hosts file in sequence by using the environment variable according to respective execution order, so as to complete system deployment. Based on the above embodiment, deployment personnel can conveniently and accurately complete the deployment of the distributed cluster system only by ensuring the correctness of the input information, thereby greatly reducing the workload of the deployment personnel and the error rate of system configuration, and improving the efficiency of system deployment.
Description
Technical Field
The invention relates to the technical field of software deployment, in particular to a deployment method, a deployment system, a deployment device and a storage medium of a distributed cluster system.
Background
Distributed cluster systems typically include a plurality of node devices (e.g., computer devices), each of which needs to be configured on a per-node basis when the distributed cluster system is deployed. With the continuous development of the application requirements of the distributed cluster system, the same distributed cluster system is often required to be deployed in different areas. The deployment method for the multi-region distributed cluster system at present mainly comprises the steps that deployment personnel deploy the distributed cluster system in one region firstly, then the deployed configuration information of the system is copied, relevant parameters in the configuration information are modified according to the deployment environments of other regions, and the system deployment is carried out by utilizing the modified configuration information.
Disclosure of Invention
In order to overcome the above-mentioned drawbacks, the present invention is proposed to provide a deployment method, system, apparatus and storage medium for a distributed cluster system that solve, or at least partially solve, the technical problem of how to efficiently and reliably perform multi-region software deployment.
In a first aspect, a deployment method of a distributed cluster system is provided, where the method includes:
analyzing the received deployment instruction to obtain a system version and a deployment area of the distributed cluster system to be deployed;
loading configuration information corresponding to the deployment area, wherein the configuration information comprises hosts files and environment variables of node equipment in the distributed cluster system to be deployed;
acquiring a deployment task set corresponding to the system version;
and controlling each deployment task in the deployment task set to be executed on the node equipment specified in the hosts file by using the environment variables in sequence according to respective execution sequence, so as to complete the deployment of the distributed cluster system to be deployed.
In one technical solution of the deployment method of the distributed cluster system, the deployment task set includes a master deployment task set, and the master deployment task set is a Playbook file generated based on an interactive Playbook engine and according to one or more master deployment tasks determined by a system application corresponding to the system version;
the step of "controlling each deployment task in the deployment task set to be executed on the node device specified in the hosts file by sequentially using the environment variable according to the respective execution order" specifically includes:
and calling the roles file associated with the Playbook file by using the infrastructure Playbook engine, and executing each main deployment task on the node equipment specified in the hosts file by sequentially using the environment variables according to respective execution sequence through executing the roles file.
In one technical solution of the deployment method of the distributed cluster system, the deployment task set includes an auxiliary deployment task set, and the auxiliary deployment task set is a manifiests file generated by one or more auxiliary deployment tasks determined according to an auxiliary service function corresponding to the system version;
the step of "controlling each deployment task in the deployment task set to be executed on the node device specified in the hosts file by sequentially using the environment variable according to the respective execution order" specifically includes:
analyzing the Manifests files to directly call role files or call role files through API service corresponding to the auxiliary service function;
and executing the roles file to enable each auxiliary deployment task to be executed on the node equipment appointed in the hosts file by sequentially using the environment variables according to respective execution sequence.
In one technical solution of the deployment method of the distributed cluster system, the method further includes: acquiring and storing the operation duration of each deployment step in the process of deploying the distributed cluster system to be deployed and the total operation duration of completing deployment;
and/or the method further comprises: responding to a received information input instruction, and acquiring and storing configuration information of a specified deployment area in the information input instruction;
and/or the method further comprises: responding to the received plug-in setting instruction, and setting a plug-in program of the distributed cluster system to be deployed;
and/or the deployment instruction is an instruction received via a data interface formed by Makefile encapsulation;
and/or the environment variables comprise global variables, global group variables, private variables and default variables; the global variable is a variable available in an Angle Playbook engine that can be assigned to each node device in the hosts file; the global group variable is a variable available in an adaptive Playbook engine and can be given to each node device in each preset node device group in the hosts file; the group variables are variables available in an adaptive Playbook engine that can be assigned to each node device in the specified one or more preset node device groups; the private variable is an available variable that can be assigned to a specified role file in a specified roles file; the default variable is a default available variable in the roles file that specifies the role file.
In a second aspect, a deployment system of a distributed cluster system is provided, the system comprising:
the command receiving/analyzing module is configured to analyze the received deployment command to acquire a system version and a deployment area of the distributed cluster system to be deployed;
a configuration information loading module configured to load configuration information corresponding to the deployment area, wherein the configuration information includes hosts files and environment variables of node devices in the distributed cluster system to be deployed;
the deployment task set acquisition module is configured to acquire a deployment task set corresponding to the system version;
and the system deployment module is configured to control each deployment task in the deployment task set to be executed on the node equipment specified in the hosts file by using the environment variables in sequence according to respective execution sequence, so as to complete the deployment of the distributed cluster system to be deployed.
In one technical solution of the deployment system of the distributed cluster system, the deployment task set includes a master deployment task set, and the master deployment task set is a Playbook file generated based on an interactive Playbook engine and according to one or more master deployment tasks determined by a system application corresponding to the system version;
the system deployment module is further configured to perform the following operations:
and calling the roles file associated with the Playbook file by using the infrastructure Playbook engine, and executing each main deployment task on the node equipment specified in the hosts file by sequentially using the environment variables according to respective execution sequence through executing the roles file.
In one technical solution of the deployment system of the distributed cluster system, the deployment task set includes an auxiliary deployment task set, and the auxiliary deployment task set is a maniffts file generated by one or more auxiliary deployment tasks determined according to an auxiliary service function corresponding to the system version;
the system deployment module is further configured to perform the following operations:
analyzing the Manifests files to directly call role files or call role files through API service corresponding to the auxiliary service function;
and executing the roles file to enable each auxiliary deployment task to be executed on the node equipment appointed in the hosts file by sequentially using the environment variables according to respective execution sequence.
In one technical solution of the deployment system of the distributed cluster system, the system further includes a running time length recording module and/or a regional environment configuration module and/or a plug-in setting module;
the running time recording module is configured to acquire and store the running time of each deployment step in the process of deploying the distributed cluster system to be deployed and the total running time for completing deployment;
the regional environment configuration module is configured to respond to the received information input instruction, and acquire and store configuration information of a specified deployment region in the information input instruction;
the plug-in setting module is configured to set a plug-in program of the distributed cluster system to be deployed in response to the received plug-in setting instruction;
and/or the instruction receiving/parsing module comprises a data interface formed by Makefile encapsulation;
and/or the environment variables comprise global variables, global group variables, private variables and default variables; the global variable is a variable available in an Angle Playbook engine that can be assigned to each node device in the hosts file; the global group variable is a variable available in an adaptive Playbook engine and can be given to each node device in each preset node device group in the hosts file; the group variables are variables available in an adaptive Playbook engine that can be assigned to each node device in the specified one or more preset node device groups; the private variable is an available variable that can be assigned to a specified role file in a specified roles file; the default variable is a default available variable in the roles file that specifies the role file.
In a third aspect, a control device is provided, where the control device includes a processor and a storage device, where the storage device is adapted to store a plurality of program codes, and the program codes are adapted to be loaded and run by the processor to execute the deployment method of the distributed cluster system according to any one of the above-mentioned deployment methods of the distributed cluster system.
In a fourth aspect, a computer-readable storage medium is provided, where a plurality of program codes are stored, where the program codes are adapted to be loaded and executed by a processor to execute the deployment method of the distributed cluster system according to any one of the above-mentioned deployment methods of the distributed cluster system.
One or more technical schemes of the invention at least have one or more of the following beneficial effects:
in the implementation of the technical solution of the present invention, the steps of the deployment method of the distributed cluster system may include: analyzing the received deployment instruction to obtain a system version and a deployment area of the distributed cluster system to be deployed; loading configuration information corresponding to a deployment area, wherein the configuration information comprises hosts files and environment variables of node equipment in a distributed cluster system to be deployed; acquiring a deployment task set corresponding to a system version; and controlling each deployment task in the deployment task set to be executed on the node equipment appointed in the hosts file by sequentially using the environment variables according to respective execution sequence so as to complete the deployment of the distributed cluster system to be deployed.
Based on the above embodiment, only the deployment personnel need to input the system version of the distributed cluster system to be deployed and the configuration information of the deployment area, and the distributed cluster system of the corresponding system version can be deployed on the deployment area according to the configuration information. In addition, the deployment method of the distributed cluster system according to the embodiment of the invention can be completely and automatically executed by computer equipment such as a processor, so that deployment personnel can conveniently and accurately complete deployment of the distributed cluster system only by ensuring the correctness of the input information in practical application, the workload of the deployment personnel and the error rate of system configuration are greatly reduced, and the efficiency of system deployment is improved.
Furthermore, deployment personnel can enter configuration information of a plurality of deployment areas simultaneously, and the deployment method of the distributed cluster system according to the embodiment of the invention can deploy the distributed cluster system in each deployment area in a parallel or serial mode according to the configuration information of each deployment area, thereby further improving the efficiency of system deployment.
Furthermore, when the distributed cluster system needs to be upgraded, deployment personnel also only need to determine the system version to be upgraded, the deployment method according to the embodiment of the present invention can obtain the deployment task set of the system version, and then perform deployment work of the distributed cluster system again by executing the deployment task in the deployment task set according to the configuration information of the deployment area of the distributed cluster system to be deployed, so that the upgrade of the distributed cluster system can be completed, and the deployment personnel do not need to perform upgrade configuration on the distributed cluster system of each deployment area one by one, thereby further reducing the workload of the deployment personnel.
Drawings
The disclosure of the present invention will become more readily understood with reference to the accompanying drawings. As is readily understood by those skilled in the art: these drawings are for illustrative purposes only and are not intended to constitute a limitation on the scope of the present invention. Wherein:
FIG. 1 is a flow chart illustrating the main steps of a deployment method of a distributed cluster system according to an embodiment of the present invention;
FIG. 2 is a flow chart illustrating the main steps of a method for deploying a distributed cluster system according to another embodiment of the present invention;
FIG. 3 is a flow chart illustrating the main steps of a method for deploying a distributed cluster system according to yet another embodiment of the present invention;
FIG. 4 is a block diagram of the main structure of a system portion of a distributed cluster system according to one embodiment of the present invention;
fig. 5 is a main configuration block diagram of a sub-system of a distributed cluster system according to another embodiment of the present invention.
List of reference numerals:
11: an instruction receiving/parsing module; 12: a configuration information loading module; 13: a deployment task set acquisition module; 14: and a system deployment module.
Detailed Description
Some embodiments of the invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are only for explaining the technical principle of the present invention, and are not intended to limit the scope of the present invention.
In the description of the present invention, a "module" or "processor" may include hardware, software, or a combination of both. A module may comprise hardware circuitry, various suitable sensors, communication ports, memory, may comprise software components such as program code, or may be a combination of software and hardware. The processor may be a central processing unit, microprocessor, image processor, digital signal processor, or any other suitable processor. The processor has data and/or signal processing functionality. The processor may be implemented in software, hardware, or a combination thereof. Non-transitory computer readable storage media include any suitable medium that can store program code, such as magnetic disks, hard disks, optical disks, flash memory, read-only memory, random-access memory, and the like. The term "a and/or B" denotes all possible combinations of a and B, such as a alone, B alone or a and B. The term "at least one A or B" or "at least one of A and B" means similar to "A and/or B" and may include only A, only B, or both A and B. The singular forms "a", "an" and "the" may include the plural forms as well.
Some terms to which the present invention relates are explained first.
The Engine (Engine) refers to a computer program or a supporting part of a system, and the interactive Playbook Engine is an Engine capable of providing a set of internal components for the interactive Playbook to support services. The interactive system comprises a system management system, a system management system and a system management system, wherein the system management system comprises an enterprise, a system management system and a system management system, wherein the enterprise is a conventional automatic operation and maintenance tool developed based on Python language in the technical field of computers, and the Playbook is an operation mode of a control host to a controlled node in the enterprise, namely a script mode. The Playbook can perform a kind of functions such as installation and deployment of Web services through a plurality of task sets, and the Playbook is a configuration file that operates by combining a plurality of ad-hoc (peer-to-peer modes), and thus can be described as a Playbook file.
The roles file refers to a Role file configured using a Role configuration function in the interactive Playbook engine, wherein the roles file may include one or more roles (roles). It should be noted that in the embodiment of the present invention, the playlist file and the roles file may be set by using a conventional method in the infrastructure, and for brevity of description, detailed description of a specific method principle for setting the playlist file and the roles file is not described herein again.
Manifest refers to an XML file (Manifests files) suffixed to Manifest, which can organize and describe isolated applications and parallel components. It should be noted that, in the embodiment of the present invention, the mandemands files may be set by using a conventional setting method in the computer technical field, and for brevity of description, detailed description of a specific method principle for setting the mandemands files is not described herein.
The hosts file is a computer file used for storing node information of each node in a computer network in the technical field of computers, the hosts file refers to equipment information used for storing node equipment in a distributed cluster system to be deployed in the embodiment of the invention, and the node equipment contained in the distributed cluster system to be deployed can be accurately determined from the information stored in the hosts file.
Environment variables (environment variables) refer to parameters used in an operating system to specify an operating system operating environment in the field of computer technology, and in the embodiment of the present invention, the environment variables refer to parameters of a system operating environment in which a distributed cluster system is to be deployed.
Makefile refers to a file in the technical field of computers, which can describe the interrelation between source programs and automatically maintain compilation work to realize the function of a Make tool.
The API Service refers to a Service (Service) that is implemented by using an API (Application Programming Interface) technology and can support a function of the distributed cluster system to be deployed.
The System application refers to an application that is necessary for the distributed cluster System to be deployed to normally operate, such as an Operating System (OS) of the distributed cluster System to be deployed.
The auxiliary service function refers to a service function which can be additionally deployed on the premise of ensuring the normal operation of the distributed cluster system to be deployed so as to enrich the function of the distributed cluster system to be deployed.
At present, in a traditional deployment method for a multi-region distributed cluster system, deployment personnel often need to deploy the distributed cluster system in one region, then copy configuration information of the deployed system, modify relevant parameters in the configuration information according to deployment environments of other regions, and deploy the system by using the modified configuration information, so that the deployment method is time-consuming and labor-consuming, and configuration errors are easy to occur. In addition, if system upgrade is performed after the system is deployed (for example, system defects are repaired and/or system functions are increased or decreased), deployment personnel still need to perform upgrade configuration on the distributed cluster system of each deployment area one by one, and the workload of the deployment personnel and the error rate of the system configuration are further increased. According to the deployment method of the distributed cluster system, the distributed cluster systems deployed in different areas can be deployed at the same time, the multi-area deployment efficiency of the distributed cluster system is obviously improved, and the workload of deployment personnel is reduced. Meanwhile, the deployment method according to the embodiment of the invention can be completely and automatically executed by computer equipment such as a processor, therefore, in practical application, only deployment personnel need to input correct configuration information of the deployment area, the deployment method according to the embodiment of the invention can automatically execute corresponding deployment operation according to the configuration information, the deployment work of the distributed cluster system is finished, the workload of the deployment personnel is further reduced, and meanwhile, the error rate of system configuration in the deployment process is also reduced. In addition, when the distributed cluster system needs to be upgraded, deployment personnel also only need to determine the system version to be upgraded, the deployment method of the embodiment of the invention can obtain the deployment task set of the system version, and then according to the configuration information of the deployment area of the distributed cluster system to be deployed, the deployment task in the deployment task set is executed to perform the deployment work of the distributed cluster system again, so that the upgrading of the distributed cluster system can be completed.
In an example of an application scenario of the present invention, when a customer credit analysis system based on a distributed cluster system needs to be deployed at a branch of a certain bank in beijing, tianjin and shanghai, a deployment person may use the deployment apparatus according to an embodiment of the present invention to deploy the customer credit analysis system to the branches of beijing, tianjin and shanghai at the same time. Specifically, the deployment personnel firstly determines the configuration information of the three deployment areas of Beijing, Tianjin and Shanghai and the version of the system to be deployed, then sequentially inputs the three pieces of configuration information into the deployment device, and the deployment device can automatically execute deployment operation on the computer equipment specified in each piece of configuration information according to the three pieces of configuration information, thereby completing the deployment work of the customer credit analysis system of the branches of Beijing, Tianjin and Shanghai.
Referring to fig. 1, fig. 1 is a schematic flow chart of main steps of a deployment method of a distributed cluster system according to an embodiment of the present invention. As shown in fig. 1, the deployment method of the distributed cluster system in the embodiment of the present invention mainly includes the following steps S101 to S104.
Step S101: and analyzing the received deployment instruction to obtain a system version and a deployment area of the distributed cluster system to be deployed.
The system Version refers to an identification Number (Version Number) of a Version of the distributed cluster system to be deployed. The system functions of the distributed cluster systems to be deployed in different versions may be the same or different. Therefore, deployment personnel can flexibly select the system version with the corresponding function according to the requirements of the user for deploying the system.
In an embodiment of this embodiment, the deploying instruction may be an instruction received through a data interface formed by Makefile encapsulation, where specific meaning of Makefile may refer to the foregoing term explanation and is not described herein again.
Step S102: and loading configuration information corresponding to the deployment area, wherein the configuration information may include hosts files and environment variables of node devices in the distributed cluster system to be deployed.
The node device refers to a computer device, such as a server, for deploying and installing the distributed cluster system to be deployed. In this embodiment, the number of node devices in the distributed cluster system to be deployed is multiple, and the hosts file may store device information of each node device. Wherein, the specific meanings of hosts file and environment variable can be explained by the terms, which are not repeated herein.
In one implementation of this embodiment, the environment variables may include global variables, global group variables, private variables, and default variables. In particular, global variables refer to variables available in the anstile Playbook engine that can be assigned to each node device in the hosts file. The global group variable refers to a variable available in the Ansbile Playbook engine that can be assigned to each node device in each preset node device group in the hosts file. The group variable refers to a variable available in the Ansbile Playbook engine that can be assigned to each node device in a specified one or more preset node device groups. Private variables refer to available variables that can be assigned to a specified role file in a specified roles file. The default variable refers to a default available variable in the roles file that specifies the role file.
In an implementation manner of this embodiment, the deployment method may further include a step of receiving configuration information, where the step may include: and responding to the received information entry instruction, and acquiring and storing configuration information of a specified deployment area in the information entry instruction. The configuration information may be information entered by a user through a human-computer interaction device, and the information entry instruction may be an instruction generated according to the information after receiving the information. Further, in this embodiment, the human-computer interaction device may include a data interface formed by Makefile encapsulation, that is, a user may input configuration information through the data interface, where specific meanings of Makefile may refer to the foregoing term explanations, and are not described herein again.
Step S103: and acquiring a deployment task set corresponding to the system version.
The deployment task set may include one or more deployment tasks, and the deployment task set may perform the deployment task to complete the deployment of the distributed cluster system to be deployed.
In this embodiment, different deployment task sets may be obtained according to the deployment requirement of the distributed cluster system to be deployed. For example, if the deployment requirement is only to make the distributed cluster system to be deployed operate normally, and no additional auxiliary service function needs to be deployed, the main deployment task set may be obtained, and the work of the distributed cluster system to be deployed is completed by executing the main deployment task in the main deployment task set. Further, if not only the distributed cluster system to be deployed needs to operate normally, but also some additional auxiliary service functions need to be deployed, then in addition to obtaining the main deployment task set, an auxiliary deployment task set can also be obtained, and the deployment of the auxiliary service functions is completed by executing the auxiliary deployment tasks in the auxiliary deployment task set.
Step S104: and controlling each deployment task in the deployment task set to be executed on the node equipment appointed in the hosts file by sequentially using the environment variables according to respective execution sequence so as to complete the deployment of the distributed cluster system to be deployed.
As can be seen from the foregoing step S103, the deployment task set may include a main deployment task set, and may also include an auxiliary deployment task set. In the following, the deployment embodiments of the main deployment task set and the auxiliary deployment task set are specifically described in this embodiment.
1. Main deployment task set
In this embodiment, the master deployment task set may be a Playbook file generated based on one or more master deployment tasks determined by the system application corresponding to the system version and based on the Ansbile Playbook engine. The specific meanings of the anstile Playbook engine and the Playbook file can be referred to the aforementioned term explanations, and are not described herein again.
After the main deployment task set corresponding to the system version is acquired, the system deployment can be performed through the following steps: and calling the roles file associated with the Playbook file by using an Ansbile Playbook engine, and executing each main deployment task on the node equipment specified in the hosts file by using the environment variables in sequence according to the respective execution order through executing the roles file.
It should be noted that the deployment method according to the embodiment of the present invention does not change the working principle of the Ansbile Playbook engine, and therefore, in the embodiment, a regular Playbook file calling manner in the Ansbile Playbook engine may be adopted to call the roles files associated with the Playbook file. Since the playbook file is generated by one or more master-deployment tasks determined by the system application, each role in the roles file associated with the playbook file is configured with a master-deployment task to be executed, and therefore, after the roles file associated with the playbook file is called, the roles files can automatically cause the master-deployment tasks to be executed on the node devices specified in the hosts file respectively in the respective execution order by using the environment variables in sequence.
2. Assisted deployment task set
In this embodiment, the auxiliary deployment task set may be a manifiests file generated by one or more auxiliary deployment tasks determined according to an auxiliary service function corresponding to the system version. The specific meaning of the Manifests file can be explained by the terms mentioned above, and is not described herein again.
After the auxiliary deployment task set corresponding to the system version is acquired, the system deployment can be performed through the following steps:
step 11: and analyzing the Manifests files to directly call role files or call role files through API service corresponding to the auxiliary service function. The specific meaning of the API service can be explained by the aforementioned terms, and is not described herein again. Step 12: and executing the roles file to enable each auxiliary deployment task to be executed on the node equipment specified in the hosts file by using the environment variables in sequence according to the respective execution sequence.
As can be known from the foregoing explanation of terms, the Role file refers to a Role file configured by using a Role configuration function in the anchor Playbook engine, and therefore, when executing a deployment task in the auxiliary deployment task set, the Role file set in the anchor Playbook engine is multiplexed, that is, the present embodiment not only completes the deployment work of the main deployment task set but also completes the deployment work of the auxiliary deployment task set by using the Role file, thereby significantly improving the utilization rate of the anchor Playbook engine.
According to the deployment method embodiments of the distributed cluster system described in the above steps S101 to S104, the deployment method according to the embodiments of the present invention only needs the deployment personnel to input the system version of the distributed cluster system to be deployed and the configuration information of the deployment area, and can automatically deploy the distributed cluster system of the corresponding system version on the deployment area according to the received configuration information, in other words, the deployment personnel only needs to ensure the correctness of the input information, and can accurately complete the deployment of the distributed cluster system, thereby greatly reducing the workload of the deployment personnel and improving the efficiency of system deployment. In addition, deployment personnel can simultaneously input configuration information of a plurality of deployment areas, and the deployment method provided by the embodiment of the invention can deploy the distributed cluster system for each deployment area in a parallel or serial mode according to the configuration information of each deployment area, thereby further reducing the workload of the deployment personnel and improving the efficiency of system deployment.
Further, in the deployment method of the distributed cluster system according to another embodiment of the present invention, in addition to steps S101 to S104 in the deployment method embodiment shown in fig. 1, the following step S105 may be included.
Step S105: the method comprises the steps of obtaining and storing the operation duration of each deployment step in the deployment process of the distributed cluster system to be deployed and the total operation duration of the completion of the deployment.
By recording the running time of each deployment step and the total running time for completing the deployment, deployment personnel can accurately monitor whether each deployment step is abnormal or not, so that effective measures can be taken timely, and the deployment work can be completed normally.
Referring to fig. 2 and 3, fig. 2 and 3 respectively show the main step flows of the deployment method of the distributed cluster system when the deployment targets are the main deployment task set and the auxiliary deployment task set in the embodiment of the present invention.
1. Main deployment task set
As shown in fig. 2, the deployment method of the distributed cluster system when the deployment target is the master deployment task set may include the following steps S201 to S205.
Step S201: and analyzing the received deployment instruction to obtain a system version and a deployment area of the distributed cluster system to be deployed.
Step S202: and loading configuration information corresponding to the deployment area, wherein the configuration information comprises hosts files and environment variables of node equipment in the distributed cluster system to be deployed.
Step S203: and acquiring a main deployment task set corresponding to the system version, wherein the main deployment task set is a Playbook file generated by one or more main deployment tasks determined according to the system application function corresponding to the system version based on an Ansbile Playbook engine.
Step S204: and calling the roles file associated with the Playbook file by using an Ansbile Playbook engine, and executing each main deployment task on the node equipment specified in the hosts file by using the environment variables in sequence according to the respective execution order through executing the roles file.
Step S205: the method comprises the steps of obtaining and storing the operation duration of each deployment step in the deployment process of the distributed cluster system to be deployed and the total operation duration of the completion of the deployment.
It should be noted that the specific implementation of the above steps S201 to S204 is similar to the related implementation of the steps S101 to S104 in the deployment method embodiment shown in fig. 1. For brevity of description, no further description is provided herein.
2. Assisted deployment task set
As shown in fig. 3, the deployment method of the distributed cluster system when the deployment target is the auxiliary deployment task set may include the following steps S301 to S306.
Step S301: and analyzing the received deployment instruction to obtain a system version and a deployment area of the distributed cluster system to be deployed.
Step S302: and loading configuration information corresponding to the deployment area, wherein the configuration information comprises hosts files and environment variables of node equipment in the distributed cluster system to be deployed.
Step S303: and acquiring an auxiliary deployment task set corresponding to the system version, wherein the auxiliary deployment task set is a Manifests file generated by one or more auxiliary deployment tasks determined according to the auxiliary service function corresponding to the system version.
Step S304: and analyzing the Manifests files to directly call role files or call role files through API service corresponding to the auxiliary service function.
Step S305: and executing the roles file to enable each auxiliary deployment task to be executed on the node equipment specified in the hosts file by using the environment variables in sequence according to the respective execution sequence.
Step S306: the method comprises the steps of obtaining and storing the operation duration of each deployment step in the deployment process of the distributed cluster system to be deployed and the total operation duration of the completion of the deployment.
It should be noted that the specific implementation of the above steps S301 to S305 are similar to the related implementation of the steps S101 to S104 in the deployment method embodiment shown in fig. 1. For brevity of description, no further description is provided herein.
Further, in the deployment method of the distributed cluster system according to still another embodiment of the present invention, in addition to steps S101 to S105 in the foregoing deployment method embodiment, a plug-in setting step may be further included, where the step may include: and responding to the received plug-in setting instruction, and setting a plug-in program of the distributed cluster system to be deployed.
In practical application, plug-in programs to be set can be flexibly set according to the deployment requirement of the distributed cluster system to be deployed so as to further enrich the system functions of the distributed cluster system.
It should be noted that, although the foregoing embodiments describe each step in a specific sequence, those skilled in the art will understand that, in order to achieve the effect of the present invention, different steps do not necessarily need to be executed in such a sequence, and they may be executed simultaneously (in parallel) or in other sequences, and these changes are all within the protection scope of the present invention.
It will be understood by those skilled in the art that all or part of the flow of the method according to the above-described embodiment may be implemented by a computer program, which may be stored in a computer-readable storage medium and used to implement the steps of the above-described embodiments of the method when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying said computer program code, media, usb disk, removable hard disk, magnetic diskette, optical disk, computer memory, read-only memory, random access memory, electrical carrier wave signals, telecommunication signals, software distribution media, etc. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
Further, the invention also provides a deployment system of the distributed cluster system.
Referring to fig. 4, fig. 4 is a main structural block diagram of a deployment system of a distributed cluster system according to an embodiment of the present invention. As shown in fig. 4, the deployment system of the distributed cluster system in the embodiment of the present invention mainly includes an instruction receiving/parsing module 11, a configuration information loading module 12, a deployment task set obtaining module 13, and a system deployment module 14. In some embodiments, one or more of the instruction receiving/parsing module 11, the configuration information loading module 12, the deployment task set obtaining module 13, and the system deployment module 14 may be combined together into one module. In some embodiments, the instruction receiving/parsing module 11 may be configured to parse the received deployment instruction to obtain a system version of the distributed cluster system to be deployed and a deployment area. The configuration information loading module 12 may be configured to load configuration information corresponding to the deployment area, where the configuration information may include hosts files and environment variables of node devices in the distributed cluster system to be deployed. The deployment task set obtaining module 13 may be configured to obtain a deployment task set corresponding to the system version. The system deployment module 14 may be configured to control each deployment task in the deployment task set to be executed on the node device specified in the hosts file sequentially using the environment variables according to the respective execution order, so as to complete the deployment of the distributed cluster system to be deployed. In one embodiment, the description of the specific implementation function may refer to the description of step S101 to step S104.
In one embodiment, the deployment task set may include a master deployment task set, which may be a Playbook file generated based on an audible Playbook engine and according to one or more master deployment tasks determined by system applications corresponding to the system version. Furthermore, in this embodiment, the system deployment module 14 may be further configured to perform the following operations: and calling the roles file associated with the Playbook file by using the Ansible Playbook engine, and executing each main deployment task on the node equipment specified in the hosts file by using the environment variables in sequence according to the respective execution order through executing the roles file. In one embodiment, the description of the specific implementation function may refer to the description of step S201 to step S205.
In one embodiment, the deployment task set may include an auxiliary deployment task set, and the auxiliary deployment task set may be a Manifests file generated by one or more auxiliary deployment tasks determined according to an auxiliary service function corresponding to a system version. Furthermore, in this embodiment, the system deployment module 14 may be further configured to perform the following operations: analyzing Manifests files to directly call role files or call role files through API service corresponding to the auxiliary service function; and executing the roles file to enable each auxiliary deployment task to be executed on the node equipment specified in the hosts file by using the environment variables in sequence according to the respective execution sequence. In one embodiment, the description of the specific implementation function may refer to the descriptions of step S301 to step S306.
In one embodiment, the deployment system shown in fig. 4 may further include a runtime recording module and/or a regional environment configuration module and/or a plug-in setting module. In this embodiment, the running time recording module may be configured to acquire and store the running time of each deployment step in the deployment process of the distributed cluster system to be deployed and the total running time for completing the deployment. The regional environment configuration module can be configured to respond to the received information entry instruction and acquire and store configuration information of a specified deployment region in the information entry instruction. The plug-in setting module may be configured to set a plug-in of the distributed cluster system to be deployed in response to the received plug-in setting instruction.
In one embodiment, the instruction receiving/parsing module 11 may include a data interface formed by Makefile encapsulation. In one embodiment, the description of the specific implementation function may be referred to in step S101.
The deployment system of the distributed cluster system is used for executing the deployment method embodiment of the distributed cluster system shown in any one of fig. 1 to 3, and the technical principles, the solved technical problems, and the generated technical effects of the two embodiments are similar, and it can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process and the related description of the deployment system of the distributed cluster system may refer to the content described in the deployment method embodiment of the distributed cluster system, and are not described herein again.
Further, the invention also provides another deployment system of the distributed cluster system. Referring to fig. 5, fig. 5 is a main structural block diagram of a deployment system of a distributed cluster system according to another embodiment of the present invention. As shown in fig. 5, the deployment system of the distributed cluster system in the embodiment of the present invention mainly includes a Playbooks module, a gifts module, an Environments module, a Makefile module, a loops module, a Tools module, and a plugs module.
The module functions of the Playbooks module are similar to some functions of the deployment task set obtaining module 13 and the system deployment module 14 in the deployment system embodiment of the distributed cluster system shown in fig. 4, and the Playbooks module can obtain a main deployment task set corresponding to the system version, and control each main deployment task in the main deployment task set to be executed on the node device specified in the hosts file in sequence by using the environment variables according to the respective execution order, so as to complete the deployment of the distributed cluster system to be deployed. The main deployment task set can be a Playbook file generated based on one or more main deployment tasks determined by the system application corresponding to the system version and based on the audible Playbook engine.
The module function of the Manifests module is similar to a part of functions of the deployment task set obtaining module 13 and the system deployment module 14 in the deployment system embodiment of the distributed cluster system shown in fig. 4, and the Manifests module can obtain an auxiliary deployment task set corresponding to the system version (the auxiliary deployment task set may be a Manifests file generated by one or more auxiliary deployment tasks determined according to an auxiliary service function corresponding to the system version), parse the Manifests file to directly call the roles file or call the roles file through an API service corresponding to the auxiliary service function, and execute the roles file to enable each auxiliary deployment task to be executed on the node device specified in the hosts file sequentially using the environment variable according to the respective execution order.
The module function of the Environments module is similar to a part of the function of the regional environment configuration module in the deployment system embodiment of the distributed cluster system shown in fig. 4, and the regional environment configuration module can respond to the received information entry instruction and acquire and store configuration information of a deployment region specified in the information entry instruction.
The Makefile module has a module function similar to a part of the function of the instruction receiving/parsing module 11 in the foregoing embodiment of the deployment system of the distributed cluster system shown in fig. 4, and the Makefile module can provide a data interface formed by Makefile encapsulation, so as to receive instructions such as deployment instructions or information entry instructions via the data interface formed by Makefile encapsulation.
The module function of the Roles module is similar to a part of the function of the system deployment module 14 in the foregoing deployment system embodiment of the distributed cluster system shown in fig. 4, and the Roles module can configure the Roles file, so that the Playbooks module and/or the manifiests module can call the Roles file, and by executing the Roles file, each deployment task (the main deployment task and/or the auxiliary deployment task) is executed on the node device specified in the hosts file sequentially using the environment variable according to the respective execution order, so as to complete the deployment of the distributed cluster system to be deployed.
The functions of the Tools module are similar to a part of the functions of the instruction receiving/parsing module 11 in the foregoing embodiment of the deployment system of the distributed cluster system shown in fig. 4, and the Tools module may be configured to set and store a CLI (Command-Line Interface) tool for managing and controlling the distributed cluster system. After the distributed cluster system is deployed, a user may enter a function call instruction and/or a cluster management and control instruction through a CLI tool, where the function call instruction may be an instruction for calling a certain auxiliary service function in the distributed cluster system, and the cluster management and control instruction may be various instructions capable of managing and controlling the distributed cluster system, such as an instruction for adjusting node devices in the distributed cluster system, for example, an instruction for adding new node devices or setting permissions of different users to use the distributed cluster system.
The functions of the modules of the Plugins module are similar to those of a part of the plug-in setting module in the foregoing embodiment of the deployment system of the distributed cluster system shown in fig. 4, and the Plugins module can set the plug-in program of the distributed cluster system to be deployed in response to the received plug-in setting instruction.
Furthermore, the invention also provides a control device. In an embodiment of the control apparatus according to the present invention, the control apparatus includes a processor and a storage apparatus, the storage apparatus may be configured to store a program for executing the deployment method of the distributed cluster system of the above-described method embodiment, and the processor may be configured to execute the program in the storage apparatus, the program including but not limited to the program for executing the deployment method of the distributed cluster system of the above-described method embodiment. For convenience of explanation, only the parts related to the embodiments of the present invention are shown, and details of the specific techniques are not disclosed. The control device may be a control device apparatus formed including various electronic apparatuses.
Further, the invention also provides a computer readable storage medium. In one computer-readable storage medium embodiment according to the present invention, a computer-readable storage medium may be configured to store a program for executing the deployment method of the distributed cluster system of the above-described method embodiment, and the program may be loaded and executed by a processor to implement the deployment method of the distributed cluster system. For convenience of explanation, only the parts related to the embodiments of the present invention are shown, and details of the specific techniques are not disclosed. The computer readable storage medium may be a storage device formed by including various electronic devices, and optionally, the computer readable storage medium is a non-transitory computer readable storage medium in the embodiment of the present invention.
Further, it should be understood that, since the configuration of each module is only for explaining the functional units of the apparatus of the present invention, the corresponding physical devices of the modules may be the processor itself, or a part of software, a part of hardware, or a part of a combination of software and hardware in the processor. Thus, the number of individual modules in the figures is merely illustrative.
Those skilled in the art will appreciate that the various modules in the apparatus may be adaptively split or combined. Such splitting or combining of specific modules does not cause the technical solutions to deviate from the principle of the present invention, and therefore, the technical solutions after splitting or combining will fall within the protection scope of the present invention.
So far, the technical solution of the present invention has been described with reference to one embodiment shown in the drawings, but it is easily understood by those skilled in the art that the scope of the present invention is obviously not limited to these specific embodiments. Equivalent changes or substitutions of related technical features can be made by those skilled in the art without departing from the principle of the invention, and the technical scheme after the changes or substitutions can fall into the protection scope of the invention.
Claims (10)
1. A method for deploying a distributed cluster system, the method comprising:
analyzing the received deployment instruction to obtain a system version and a deployment area of the distributed cluster system to be deployed;
loading configuration information corresponding to the deployment area, wherein the configuration information comprises hosts files and environment variables of node equipment in the distributed cluster system to be deployed;
acquiring a deployment task set corresponding to the system version;
and controlling each deployment task in the deployment task set to be executed on the node equipment specified in the hosts file by using the environment variables in sequence according to respective execution sequence, so as to complete the deployment of the distributed cluster system to be deployed.
2. The deployment method of the distributed cluster system according to claim 1, wherein the deployment task set comprises a master deployment task set, and the master deployment task set is a Playbook file generated based on one or more master deployment tasks determined by a system application corresponding to the system version and based on an audible Playbook engine;
the step of "controlling each deployment task in the deployment task set to be executed on the node device specified in the hosts file by sequentially using the environment variable according to the respective execution order" specifically includes:
and calling the roles file associated with the Playbook file by using the infrastructure Playbook engine, and executing each main deployment task on the node equipment specified in the hosts file by sequentially using the environment variables according to respective execution sequence through executing the roles file.
3. The deployment method of the distributed cluster system according to claim 1, wherein the deployment task set includes an auxiliary deployment task set, and the auxiliary deployment task set is a Manifests file generated according to one or more auxiliary deployment tasks determined according to an auxiliary service function corresponding to the system version;
the step of "controlling each deployment task in the deployment task set to be executed on the node device specified in the hosts file by sequentially using the environment variable according to the respective execution order" specifically includes:
analyzing the Manifests files to directly call role files or call role files through API service corresponding to the auxiliary service function;
and executing the roles file to enable each auxiliary deployment task to be executed on the node equipment appointed in the hosts file by sequentially using the environment variables according to respective execution sequence.
4. The method for deploying a distributed cluster system according to any one of claims 1 to 3, further comprising:
acquiring and storing the operation duration of each deployment step in the process of deploying the distributed cluster system to be deployed and the total operation duration of completing deployment;
and/or the like and/or,
the method further comprises the following steps:
responding to a received information input instruction, and acquiring and storing configuration information of a specified deployment area in the information input instruction;
and/or the like and/or,
the method further comprises the following steps:
responding to the received plug-in setting instruction, and setting a plug-in program of the distributed cluster system to be deployed;
and/or the like and/or,
the deployment instruction is an instruction received via a data interface formed by Makefile encapsulation;
and/or the like and/or,
the environment variables comprise global variables, global group variables, private variables and default variables; the global variable is a variable available in an Angle Playbook engine that can be assigned to each node device in the hosts file; the global group variable is a variable available in an adaptive Playbook engine and can be given to each node device in each preset node device group in the hosts file; the group variables are variables available in an adaptive Playbook engine that can be assigned to each node device in the specified one or more preset node device groups; the private variable is an available variable that can be assigned to a specified role file in a specified roles file; the default variable is a default available variable in the roles file that specifies the role file.
5. A deployment system for a distributed cluster system, the system comprising:
the command receiving/analyzing module is configured to analyze the received deployment command to acquire a system version and a deployment area of the distributed cluster system to be deployed;
a configuration information loading module configured to load configuration information corresponding to the deployment area, wherein the configuration information includes hosts files and environment variables of node devices in the distributed cluster system to be deployed;
the deployment task set acquisition module is configured to acquire a deployment task set corresponding to the system version;
and the system deployment module is configured to control each deployment task in the deployment task set to be executed on the node equipment specified in the hosts file by using the environment variables in sequence according to respective execution sequence, so as to complete the deployment of the distributed cluster system to be deployed.
6. The deployment system of the distributed cluster system as claimed in claim 5, wherein the deployment task set includes a master deployment task set, and the master deployment task set is a Playbook file generated based on one or more master deployment tasks determined by the system application corresponding to the system version and based on an audible Playbook engine;
the system deployment module is further configured to perform the following operations:
and calling the roles file associated with the Playbook file by using the infrastructure Playbook engine, and executing each main deployment task on the node equipment specified in the hosts file by sequentially using the environment variables according to respective execution sequence through executing the roles file.
7. The deployment system of the distributed cluster system according to claim 5, wherein the deployment task set includes an auxiliary deployment task set, and the auxiliary deployment task set is a Manifests file generated according to one or more auxiliary deployment tasks determined according to the auxiliary service function corresponding to the system version;
the system deployment module is further configured to perform the following operations:
analyzing the Manifests files to directly call role files or call role files through API service corresponding to the auxiliary service function;
and executing the roles file to enable each auxiliary deployment task to be executed on the node equipment appointed in the hosts file by sequentially using the environment variables according to respective execution sequence.
8. The deployment system of the distributed cluster system according to any one of claims 5 to 7, wherein the system further comprises a run-time recording module and/or a regional environment configuration module and/or a plug-in setting module;
the running time recording module is configured to acquire and store the running time of each deployment step in the process of deploying the distributed cluster system to be deployed and the total running time for completing deployment;
the regional environment configuration module is configured to respond to the received information input instruction, and acquire and store configuration information of a specified deployment region in the information input instruction;
the plug-in setting module is configured to set a plug-in program of the distributed cluster system to be deployed in response to the received plug-in setting instruction;
and/or the like and/or,
the instruction receiving/analyzing module comprises a data interface formed by Makefile encapsulation;
and/or the like and/or,
the environment variables comprise global variables, global group variables, private variables and default variables; the global variable is a variable available in an Angle Playbook engine that can be assigned to each node device in the hosts file; the global group variable is a variable available in an adaptive Playbook engine and can be given to each node device in each preset node device group in the hosts file; the group variables are variables available in an adaptive Playbook engine that can be assigned to each node device in the specified one or more preset node device groups; the private variable is an available variable that can be assigned to a specified role file in a specified roles file; the default variable is a default available variable in the roles file that specifies the role file.
9. A control apparatus comprising a processor and a storage device adapted to store a plurality of program codes, wherein said program codes are adapted to be loaded and run by said processor to perform the method of deployment of a distributed cluster system of any of claims 1 to 4.
10. A computer readable storage medium having stored therein a plurality of program codes, characterized in that said program codes are adapted to be loaded and run by a processor to perform the method of deployment of a distributed cluster system according to any of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110485404.4A CN113220451A (en) | 2021-04-30 | 2021-04-30 | Method, system, device and storage medium for deploying distributed cluster system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110485404.4A CN113220451A (en) | 2021-04-30 | 2021-04-30 | Method, system, device and storage medium for deploying distributed cluster system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113220451A true CN113220451A (en) | 2021-08-06 |
Family
ID=77090613
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110485404.4A Pending CN113220451A (en) | 2021-04-30 | 2021-04-30 | Method, system, device and storage medium for deploying distributed cluster system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113220451A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114070889A (en) * | 2021-11-10 | 2022-02-18 | 北京百度网讯科技有限公司 | Configuration method, traffic forwarding method, device, storage medium, and program product |
CN114610456A (en) * | 2022-03-07 | 2022-06-10 | 云知声智能科技股份有限公司 | Cluster deployment method, system, device and medium based on task scheduling engine |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110138876A (en) * | 2019-05-30 | 2019-08-16 | 北京达佳互联信息技术有限公司 | Task deployment method, apparatus, equipment and platform |
CN111782232A (en) * | 2020-07-31 | 2020-10-16 | 平安银行股份有限公司 | Cluster deployment method and device, terminal equipment and storage medium |
CN112333229A (en) * | 2020-09-16 | 2021-02-05 | 山东中创软件商用中间件股份有限公司 | Method, device, equipment and storage medium for expanding kubernets nodes |
CN112346818A (en) * | 2020-11-02 | 2021-02-09 | 北京新媒传信科技有限公司 | Container application deployment method and device, electronic equipment and storage medium |
-
2021
- 2021-04-30 CN CN202110485404.4A patent/CN113220451A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110138876A (en) * | 2019-05-30 | 2019-08-16 | 北京达佳互联信息技术有限公司 | Task deployment method, apparatus, equipment and platform |
CN111782232A (en) * | 2020-07-31 | 2020-10-16 | 平安银行股份有限公司 | Cluster deployment method and device, terminal equipment and storage medium |
CN112333229A (en) * | 2020-09-16 | 2021-02-05 | 山东中创软件商用中间件股份有限公司 | Method, device, equipment and storage medium for expanding kubernets nodes |
CN112346818A (en) * | 2020-11-02 | 2021-02-09 | 北京新媒传信科技有限公司 | Container application deployment method and device, electronic equipment and storage medium |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114070889A (en) * | 2021-11-10 | 2022-02-18 | 北京百度网讯科技有限公司 | Configuration method, traffic forwarding method, device, storage medium, and program product |
CN114070889B (en) * | 2021-11-10 | 2023-11-14 | 北京百度网讯科技有限公司 | Configuration method, traffic forwarding device, storage medium, and program product |
CN114610456A (en) * | 2022-03-07 | 2022-06-10 | 云知声智能科技股份有限公司 | Cluster deployment method, system, device and medium based on task scheduling engine |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9600264B2 (en) | Generating a customized set of tasks for migration of a deployed software solution | |
CN110096424B (en) | Test processing method and device, electronic equipment and storage medium | |
CN110457045B (en) | Component combining and compiling method, device, equipment and storage medium | |
US20150020059A1 (en) | Migration services for systems | |
US8918783B2 (en) | Managing virtual computers simultaneously with static and dynamic dependencies | |
CN113220451A (en) | Method, system, device and storage medium for deploying distributed cluster system | |
CN110225078B (en) | Application service updating method, system and terminal equipment | |
EP4033349A1 (en) | Method and apparatus for generating mirror image file, and computer-readable storage medium | |
CN108255708B (en) | Method, device, storage medium and equipment for accessing production file in test environment | |
US20150100961A1 (en) | Operating Programs on a Computer Cluster | |
CN112068896A (en) | DTS modification method, device and computer readable storage medium | |
CN112434008A (en) | Distributed database upgrading method, device and medium | |
CN105430096A (en) | Automatic installation method and device for parallel file system | |
US20210263751A1 (en) | Automatically configuring computing clusters | |
CN105678118B (en) | A kind of software version generation method and device containing digital certificate | |
CN117290059B (en) | Cross-chip architecture linux virtual machine transfer method and system | |
CN111949311B (en) | Gray level release method and system | |
CN104111862A (en) | Method and system for obtaining IP (Internet Protocol) address of virtual machine in cloud computing platform | |
CN111897565A (en) | Data processing method, device and equipment based on Internet of things | |
CN104182344A (en) | Overwrite installation testing method and overwrite installation testing device | |
US9396239B2 (en) | Compiling method, storage medium and compiling apparatus | |
CN113821228B (en) | Method for constructing ROS or ROS-like project based on layered container mirror image | |
CN115237441A (en) | Upgrade test method, device and medium based on cloud platform | |
CN114756527A (en) | Method and device for expanding Redis cluster, electronic equipment and storage medium | |
CN111897794A (en) | Database maintenance method and device, electronic equipment and storage medium |
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 |