CN112822044A - Distributed cluster deployment method and device, electronic equipment and readable storage medium - Google Patents

Distributed cluster deployment method and device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN112822044A
CN112822044A CN202011643218.0A CN202011643218A CN112822044A CN 112822044 A CN112822044 A CN 112822044A CN 202011643218 A CN202011643218 A CN 202011643218A CN 112822044 A CN112822044 A CN 112822044A
Authority
CN
China
Prior art keywords
resource
configuration file
resource configuration
cluster
definition description
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011643218.0A
Other languages
Chinese (zh)
Other versions
CN112822044B (en
Inventor
徐飞飞
汪春全
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Topsec Technology Co Ltd
Beijing Topsec Network Security Technology Co Ltd
Beijing Topsec Software Co Ltd
Original Assignee
Beijing Topsec Technology Co Ltd
Beijing Topsec Network Security Technology Co Ltd
Beijing Topsec Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Topsec Technology Co Ltd, Beijing Topsec Network Security Technology Co Ltd, Beijing Topsec Software Co Ltd filed Critical Beijing Topsec Technology Co Ltd
Priority to CN202011643218.0A priority Critical patent/CN112822044B/en
Publication of CN112822044A publication Critical patent/CN112822044A/en
Application granted granted Critical
Publication of CN112822044B publication Critical patent/CN112822044B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0889Techniques to speed-up the configuration process
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/084Configuration by using pre-existing information, e.g. using templates or copying from other elements
    • H04L41/0843Configuration by using pre-existing information, e.g. using templates or copying from other elements based on generic templates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0876Aspects of the degree of configuration automation
    • H04L41/0886Fully automatic configuration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0893Assignment of logical groups to network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention relates to a deployment method, a deployment device, electronic equipment and a readable storage medium of a distributed cluster, when the distributed cluster needs to be deployed, a template resource configuration file can be determined from the current existing resource configuration file according to the resource configuration file corresponding to the distributed cluster, and a cluster architecture definition description file corresponding to the distributed cluster is generated according to the cluster architecture definition description file of the template resource configuration file, so that the subsequent deployment of the distributed cluster is guided according to the cluster architecture definition description file corresponding to the distributed cluster, and the generation of the cluster architecture definition description file is not dependent on human participation, so that more distributed clusters with different architectures can be deployed, namely, the distributed cluster can be expanded.

Description

Distributed cluster deployment method and device, electronic equipment and readable storage medium
Technical Field
The application belongs to the field of data processing, and particularly relates to a deployment method and device of a distributed cluster, electronic equipment and a readable storage medium.
Background
With the rapid development of mobile internet technology, more and more data service providers employ distributed clusters to store data, thereby providing data services to users.
The scale of the distributed cluster is complex, and hardware resources (which may include the number of servers, the number of memories, the number of CPU cores, and disk IO) of servers on different nodes may be different, so that when the distributed cluster is deployed, different configurations need to be deployed at different nodes. In addition, when the distributed cluster is deployed, factors such as the size of the configurable service resource, the configurable node type or service type, and the configurable number of nodes need to be considered.
In the prior art, in order to simplify the process of deploying distributed clusters as much as possible, a plurality of different resource configuration file templates of the distributed clusters are pre-established, and when the distributed clusters need to be deployed, if the content of resources needed to be used by the framework of the distributed clusters to be deployed is the same as the content of resources needed to be used by the framework of the distributed clusters corresponding to one of the resource configuration file templates, the distributed clusters to be deployed can be directly deployed according to the cluster architecture definition description file corresponding to the resource configuration file template; if the resource content required to be used by the framework of the distributed cluster to be deployed is different from the resource content required to be used by the framework of the distributed cluster corresponding to any resource configuration file template, the distributed cluster to be deployed cannot be deployed directly according to the pre-configured cluster framework definition description file, and the generation of the cluster framework definition description file needs to be manually participated.
That is to say, in the deployment scheme of the distributed cluster in the prior art, there is a great limitation on the deployment of the distributed cluster in which the resources required by the architecture are expanded compared with the resources required by the conventional distributed cluster architecture, which is not beneficial to expanding the distributed cluster and also not beneficial to improving the deployment efficiency.
Disclosure of Invention
In view of this, an object of the present application is to provide a method, an apparatus, an electronic device, and a readable storage medium for deploying a distributed cluster, which can improve efficiency of deploying the distributed cluster and do not have too much limitation on a framework form of the distributed cluster.
The embodiment of the application is realized as follows:
in a first aspect, an embodiment of the present application provides a deployment method of a distributed cluster, where the method includes: acquiring a resource configuration file corresponding to a distributed cluster to be deployed, wherein resource content represented by the corresponding resource configuration file is resource content required to be used by the distributed cluster; determining a template resource configuration file from the current resource configuration file in the database; generating a cluster architecture definition description file corresponding to the distributed cluster according to the corresponding resource configuration file, the template resource configuration file and a cluster architecture definition description file corresponding to the template resource configuration file, wherein the cluster architecture definition description file corresponding to each resource configuration file is stored in the database; and deploying the distributed cluster according to the cluster architecture definition description file corresponding to the distributed cluster.
In this embodiment, when the distributed cluster needs to be deployed, a template resource configuration file may be determined from the currently existing resource configuration files according to the resource configuration file corresponding to the distributed cluster, and generating a cluster architecture definition description file corresponding to the distributed cluster according to the cluster architecture definition description file of the template resource configuration file, such that subsequent deployment of the distributed cluster is directed according to the cluster architecture definition description corresponding to the distributed cluster, and does not depend on the cluster architecture definition description file corresponding to the former distributed cluster which has the same resource content required by the framework of the distributed cluster, or the generation of the artificial participation cluster architecture definition description file is not relied on, so that the deployment of more distributed clusters with different architectures is facilitated, namely the expansion of the distributed clusters is facilitated. In addition, because the process does not produce strong dependence on the generation of the cluster architecture definition description file for human participation, the efficiency of deploying the distributed cluster is favorably improved.
With reference to the embodiment of the first aspect, in a possible implementation manner, the determining a template resource profile from resource profiles currently existing in a database includes: judging whether a first resource configuration file exists in the current resource configuration file or not; when the first resource configuration file is determined to exist, determining the first resource configuration file as the template resource configuration file; the resource content represented by the first resource configuration file is partially the same as the resource content represented by the corresponding resource configuration file.
In this embodiment, the cluster architecture definition description file corresponding to the distributed cluster is generated according to the cluster architecture definition description file corresponding to the first resource configuration file having the same resource content portion as the resource configuration file corresponding to the distributed cluster, so that the degree of change of the cluster architecture definition description file corresponding to the first resource configuration file can be reduced, and the deployment efficiency is improved.
With reference to the embodiment of the first aspect, in a possible implementation manner, the determining the first resource profile as the template resource profile includes: determining a first target resource configuration file from the plurality of first resource configuration files, and determining the first target resource configuration file as the template resource configuration file; and in the plurality of first resource configuration files, the similarity between the resource content represented by the first target resource configuration file and the resource content represented by the corresponding resource configuration file is the highest.
With reference to the embodiment of the first aspect, in a possible implementation manner, the currently existing resource profile includes a minimum resource profile, and after the determining whether a first resource profile exists in the currently existing resource profile, the method further includes: when the first resource configuration file does not exist, determining the minimum resource configuration file as the template resource configuration file; and the content of the resource represented by the minimum resource configuration file is completely different from the content of the resource represented by the corresponding resource configuration file.
In this embodiment, the resource configuration file corresponding to the distributed cluster may also be generated according to a minimum resource configuration file whose resource content represented by the resource configuration file corresponding to the distributed cluster is completely different, so that a process of deploying the distributed cluster is no longer dependent on a cluster architecture definition description file corresponding to a previous distributed cluster which is completely the same as a resource used by a framework of the distributed cluster or a cluster architecture definition description file generated by human participation, which is beneficial to expanding the distributed cluster.
With reference to the embodiment of the first aspect, in a possible implementation manner, the corresponding resource configuration file includes multiple sub-resources and an attribute value corresponding to each sub-resource; generating a cluster architecture definition description file corresponding to the distributed cluster according to the corresponding resource configuration file, the template resource configuration file and a cluster architecture definition description file corresponding to the template resource configuration file, including: calculating the ratio R of the attribute value corresponding to each sub-resource included in the corresponding resource configuration file to the attribute value corresponding to the sub-resource in the template resource configuration file; and for each sub-resource included in the corresponding resource configuration file, according to the corresponding ratio R, the allocation condition corresponding to the sub-resource in the cluster architecture definition description file corresponding to the template resource configuration file, and the resource allocation condition corresponding to the sub-resource in the cluster architecture definition description file corresponding to the distributed cluster (distributed cluster to be deployed), thereby obtaining the cluster architecture definition description file corresponding to the distributed cluster. That is, after determining the resource allocation condition corresponding to each sub-resource in the cluster architecture definition description file corresponding to the distributed cluster, the cluster architecture definition description file corresponding to the distributed cluster can be obtained.
With reference to the embodiment of the first aspect, in a possible implementation manner, after the generating a cluster architecture definition description file corresponding to the distributed cluster, the method further includes: and storing the corresponding resource configuration file and the cluster architecture definition description file corresponding to the corresponding resource configuration file in the database, so as to be beneficial to the subsequent calculation of the resource configuration files of other distributed clusters.
With reference to the embodiment of the first aspect, in a possible implementation manner, before the determining a template resource profile from resource profiles currently existing in the database, the method further includes: determining that a second resource profile does not exist in the database; otherwise, determining the second resource configuration file as the corresponding resource configuration file; and the content of the resource represented by the second resource configuration file is completely the same as the content of the resource represented by the corresponding resource configuration file. In this embodiment, the distributed cluster is preferentially deployed by using the cluster architecture definition description file corresponding to the second resource configuration file that is identical to the resource configuration file corresponding to the distributed cluster, which is beneficial to improving the deployment efficiency.
In a second aspect, an embodiment of the present application provides a deployment apparatus for a distributed cluster, where the deployment apparatus includes: the device comprises an acquisition module, a determination module, a calculation module and a deployment module. The system comprises an acquisition module, a management module and a management module, wherein the acquisition module is used for acquiring a resource configuration file corresponding to a distributed cluster to be deployed, and the resource content represented by the corresponding resource configuration file is the resource content required to be used by the distributed cluster; the determining module is used for determining the template resource configuration file from the current resource configuration file in the database; a computing module, configured to generate a cluster architecture definition description file corresponding to the distributed cluster according to the corresponding resource configuration file, the template resource configuration file, and a cluster architecture definition description file corresponding to the template resource configuration file, where the cluster architecture definition description file corresponding to each resource configuration file is stored in the database; and the deployment module is used for deploying the distributed cluster according to the cluster architecture definition description file corresponding to the distributed cluster.
With reference to the embodiment of the second aspect, in a possible implementation manner, the determining module is configured to: judging whether a first resource configuration file exists in the current resource configuration file or not; when the first resource configuration file is determined to exist, determining the first resource configuration file as the template resource configuration file; the resource content represented by the first resource configuration file is partially the same as the resource content represented by the corresponding resource configuration file.
With reference to the second aspect, in a possible implementation manner, the number of the first resource profiles is multiple, and the determining module is configured to determine a first target resource profile from the multiple first resource profiles, and determine that the first target resource profile is the template resource profile; and in the plurality of first resource configuration files, the similarity between the resource content represented by the first target resource configuration file and the resource content represented by the corresponding resource configuration file is the highest.
With reference to the second aspect, in a possible implementation manner, the currently existing resource configuration file includes a minimum resource configuration file, and the determining module is further configured to determine, when it is determined that the first resource configuration file does not exist, that the minimum resource configuration file is the template resource configuration file; and the content of the resource represented by the minimum resource configuration file is completely different from the content of the resource represented by the corresponding resource configuration file.
With reference to the second aspect embodiment, in a possible implementation manner, the corresponding resource configuration file includes multiple sub-resources and an attribute value corresponding to each sub-resource; the computing module is configured to compute, for each sub-resource included in the corresponding resource configuration file, a ratio R of the attribute value corresponding to the sub-resource to the attribute value corresponding to the sub-resource in the template resource configuration file; and aiming at each sub-resource included in the corresponding resource configuration file, determining the resource allocation condition corresponding to the sub-resource in the cluster architecture definition description file corresponding to the distributed cluster according to the corresponding ratio R and the allocation condition corresponding to the sub-resource in the cluster architecture definition description file corresponding to the template resource configuration file, thereby obtaining the cluster architecture definition description file corresponding to the distributed cluster.
With reference to the second aspect, in a possible implementation manner, the apparatus further includes a saving module, configured to save the corresponding resource configuration file and the cluster architecture definition description file corresponding to the corresponding resource configuration file in the database.
With reference to the second aspect embodiment, in a possible implementation manner, the determining module is further configured to determine a template resource configuration file from resource configuration files currently existing in the database on the premise that the second resource configuration file does not exist in the database, and otherwise, when it is determined that the second resource configuration file exists in the database, determine the second resource configuration file as the corresponding resource configuration file; and the content of the resource represented by the second resource configuration file is completely the same as the content of the resource represented by the corresponding resource configuration file.
In a third aspect, an embodiment of the present application further provides an electronic device, including: a memory and a processor, the memory and the processor connected; the memory is used for storing programs; the processor calls a program stored in the memory to perform the method of the first aspect embodiment and/or any possible implementation manner of the first aspect embodiment.
In a fourth aspect, the present application further provides a non-transitory computer-readable storage medium (hereinafter, referred to as a readable storage medium), on which a computer program is stored, where the computer program is executed by a computer to perform the method in the foregoing first aspect and/or any possible implementation manner of the first aspect.
Additional features and advantages of the application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the embodiments of the application. The objectives and other advantages of the application may be realized and attained by the structure particularly pointed out in the written description and drawings.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts. The foregoing and other objects, features and advantages of the application will be apparent from the accompanying drawings. Like reference numerals refer to like parts throughout the drawings. The drawings are not intended to be to scale as practical, emphasis instead being placed upon illustrating the subject matter of the present application.
Fig. 1 shows a flowchart of a deployment method of a distributed cluster according to an embodiment of the present application.
Fig. 2 shows a block diagram of a deployment apparatus of a distributed cluster according to an embodiment of the present application.
Fig. 3 shows a schematic structural diagram of an electronic device provided in an embodiment of the present application.
Icon: 100-an electronic device; 110-a processor; 120-a memory; 400-deployment means of distributed clusters; 410-an obtaining module; 420-a determination module; 430-a calculation module; 440-deployment module.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, relational terms such as "first," "second," and the like may be used solely in the description herein to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
In addition, the defects (which are not beneficial to expanding the distributed clusters and improving the deployment efficiency) existing in the deployment scheme of the distributed clusters in the prior art are the results obtained after the applicant has practiced and studied carefully, and therefore, the discovery process of the above defects and the solution proposed by the embodiment of the present application to the above defects in the following text should be considered as contributions of the applicant to the present application.
In order to solve the foregoing problems, embodiments of the present application provide a deployment method and apparatus for a distributed cluster, an electronic device, and a readable storage medium, which can improve efficiency of deploying the distributed cluster, and do not excessively limit a framework form of the distributed cluster.
The technology can be realized by adopting corresponding software, hardware and a combination of software and hardware. The following describes embodiments of the present application in detail.
First, referring to fig. 1, an embodiment of the present application provides a deployment method of a distributed cluster.
The steps involved will be described below with reference to fig. 1.
Step S110: acquiring a resource configuration file corresponding to a distributed cluster to be deployed, wherein the resource content represented by the corresponding resource configuration file is the resource content required by the distributed cluster.
In this embodiment of the application, when a background worker needs to deploy a new distributed cluster, attribute information of a server to be included in the distributed cluster needs to be configured in advance.
The attribute information may include basic information such as an IP address of each server, a name of the server, and a login password of the server, so that the server can be accessed based on the attribute information of the server, and resource information of the server is obtained.
In addition, the resource information includes a plurality of sub-resources, such as the number of servers, the total memory of the cluster servers, the total disk capacity of the cluster servers, the total CPU count of the cluster servers, the memory size of each server, the disk capacity of each server, the CPU count of each server, and the CPU core count, and each sub-resource has a corresponding attribute value, for example, there are three sub-resources, which are the number of servers, the total memory size of the cluster servers, the total CPU count of the cluster servers, and the memory size of each server, the CPU count, and the core count corresponding to the CPU.
It is to be noted that, in the embodiment of the present application, the number of entries of the sub-resources included in the resource information corresponding to each server cluster is the same.
The attribute value corresponding to the number of the servers is 3, and the representation distributed cluster comprises 3 servers; the attribute value corresponding to the total memory size of the cluster server is 50G, and the total memory size available for representing the distributed cluster is 50G (theoretical value); the attribute value corresponding to the total CPU number of the cluster server is 5, and the 3 servers representing the distributed cluster have 5 CPUs in total; the attribute value corresponding to the memory size of the server A is 16G, and the available memory size of the characterization server A is 16G (theoretical value); the attribute value corresponding to the number of the CPUs of the server A is 2, and the server A is characterized by having two CPUs; the attribute value corresponding to the number of CPU cores of server a is [14,24], and CPU No. 0 representing server a has 14 cores, and CPU No. 1 of server a has 24 cores.
That is, the resource information is used to characterize the total resource required to be allocated by each server included in the distributed cluster and the sub-resource required to be allocated by each server.
Of course, in the embodiment of the present application, after the resource information of the server is obtained, the resource information may be converted into a resource configuration file corresponding to the distributed cluster to be deployed. Of course, the above sub-resources and the attribute values corresponding to each sub-resource are also included in the resource configuration file.
It should be noted that, in the embodiment of the present application, since the number of entries of the sub-resources included in the resource information corresponding to each server cluster is the same, correspondingly, the number of entries of the sub-resources included in each resource configuration file is also the same.
Step S120: and determining the template resource configuration file from the resource configuration files currently existing in the database.
It should be noted that, in the embodiment of the present application, a large number of resource configuration files are stored in the database in advance, and these resource configuration files correspond to the distributed clusters deployed in the past one to one. For each resource profile, a plurality of sub-resources and attribute values corresponding to each sub-resource are included. Certainly, a large number of cluster architecture definition description files are also stored in the database, and each cluster architecture definition description file corresponds to each resource configuration file one to one, and certainly, each cluster architecture definition description file also corresponds to a distributed cluster deployed in the past one to one.
The cluster architecture definition description file is used for defining services of a corresponding distributed cluster, nodes on which the services are distributed, servers on which the nodes are distributed, memory, CPU (Central processing Unit) capacity, disk capacity and the like distributed by the nodes. It is to be appreciated that distributed clusters can be deployed according to a cluster architecture definition description file.
After the resource configuration file corresponding to the distributed cluster to be deployed is obtained, the resource configuration file corresponding to the distributed cluster to be deployed and each resource configuration file currently existing in the database can be compared, so that the cluster architecture definition description file for guiding the deployment of the distributed cluster, namely the cluster architecture definition description file corresponding to the distributed cluster, is obtained through the comparison result and the pre-stored cluster architecture definition description file.
In this embodiment of the present application, for any resource configuration file, when the content of the resource represented by the resource configuration file is identical to the content of the resource represented by the resource configuration file corresponding to the distributed cluster (it is stated that the attribute values corresponding to each sub-resource of the two are identical), it is determined that the resource configuration file is the second resource configuration file.
In some embodiments, when it is determined that the second resource configuration file exists in the database after the comparison, the cluster architecture definition description file corresponding to the second resource configuration file may be directly determined as the cluster architecture definition description file corresponding to the distributed cluster. That is, in this embodiment, the cluster architecture definition description file corresponding to the second resource configuration file is preferentially determined as the cluster architecture definition description file corresponding to the distributed cluster, so that the deployment efficiency is improved.
In this embodiment, when it is determined that the second resource configuration file does not exist in the database after the comparison, at this time, the cluster architecture definition description file corresponding to the distributed cluster cannot be directly acquired, the self-learning mode may be started, so as to determine one template resource configuration file from a plurality of resource configuration files currently existing in the database, and learn the resource configuration file corresponding to the distributed cluster, the template resource configuration file, and the cluster architecture definition description file corresponding to the template resource configuration file, thereby calculating a new cluster architecture definition description file and determining the new cluster architecture definition description file as the cluster architecture definition description file corresponding to the distributed cluster.
Of course, in some embodiments, the self-learning mode may also be directly started to determine the cluster architecture definition description file corresponding to the distributed cluster without determining whether the second resource configuration file exists.
The following will describe a self-learning mode.
In this embodiment of the present application, for any resource configuration file, when the content of the resource represented by the resource configuration file is partially the same as the content of the resource represented by the resource configuration file corresponding to the distributed cluster (it is stated that the categories of the sub-resources included in the resource configuration file are the same, but only the attribute values of the sub-resources in partial categories are the same), the resource configuration file is determined to be the first resource configuration file.
As mentioned above, a template resource configuration file may be determined from a plurality of resource configuration files currently existing in the database, and the cluster architecture definition description file corresponding to the distributed cluster may be calculated according to the resource configuration file corresponding to the distributed cluster, the template resource configuration file, and the cluster architecture definition description file corresponding to the template resource configuration file.
On this premise, it may be determined whether the first resource configuration file exists in all the resource configuration files currently existing in the database.
Optionally, when the first resource configuration file exists, the first resource configuration file is determined as the template resource configuration file.
Of course, there may be a case where multiple first resource profiles exist at the same time, and at this time, it is necessary to determine one first target resource profile from the multiple first resource profiles and determine that the first target resource profile is the template resource profile.
In some embodiments, a first resource profile may be randomly determined from a plurality of first resource profiles and determined to be a first target resource profile.
In other embodiments, the similarity between the resource content represented by each first resource configuration file and the resource content represented by the resource configuration file corresponding to the distributed cluster may be calculated first, and then the first resource configuration file corresponding to the highest similarity may be selected as the first target resource configuration file.
In addition, in some embodiments, when determining whether the first resource profile exists in all resource profiles currently existing in the database, the determination result may be that the first resource profile does not exist currently, that is, the content of the resource represented by all resource profiles currently existing in the database is completely different from the content of the resource represented by the resource profile corresponding to the distributed cluster.
To address this situation, the background staff may configure a minimum resource configuration file in advance in the database, and the category and the number of items of the child resources included in the minimum resource configuration file are the same as those included in the other source configuration files. In addition, there are attribute values corresponding to each sub-resource within the minimum resource profile. That is, the minimum resource profile may be used to describe the minimum resources required by each service module (unit) of the distributed cluster.
Correspondingly, there is a cluster architecture definition description file corresponding to the minimum resource configuration file, for describing the distributed cluster that can be deployed by the resource configuration listed by the minimum resource configuration file.
In some embodiments of the present application, when it is determined that the first resource profile does not exist, the smallest resource profile is determined to be the template resource profile.
Step S130: and generating a cluster architecture definition description file corresponding to the distributed cluster according to the corresponding resource configuration file, the template resource configuration file and the cluster architecture definition description file corresponding to the template resource configuration file.
As mentioned above, the cluster architecture definition description file corresponding to each resource configuration file is stored in the database.
After the template resource configuration file is determined, for each sub-resource included in the resource configuration file corresponding to the distributed cluster, the resource configuration file corresponding to the distributed cluster and the attribute value corresponding to the sub-resource in the template resource configuration file can be respectively obtained, and then, a ratio R between the attribute value corresponding to the sub-resource in the resource configuration file corresponding to the distributed cluster and the attribute value corresponding to the sub-resource in the template resource configuration file is calculated.
When R has a decimal, a decimal of a preset number of digits (for example, two decimal places) may be reserved, thereby ensuring data uniformity.
After the ratio R of each sub-resource is calculated, according to the ratio R of each sub-resource and the distribution condition corresponding to the sub-resource in the cluster architecture definition description file corresponding to the template resource configuration file, the resource distribution condition corresponding to the sub-resource in the cluster architecture definition description file corresponding to the distributed cluster (distributed cluster to be deployed) is determined, and therefore the cluster architecture definition description file corresponding to the distributed cluster is obtained. That is, after determining the resource allocation condition corresponding to each sub-resource in the cluster architecture definition description file corresponding to the distributed cluster, the cluster architecture definition description file corresponding to the distributed cluster can be obtained.
Specifically, assuming that the attribute value of the sub-resource a in the resource profile corresponding to the distributed cluster is a1, and the attribute value in the template resource profile is a2, the ratio R corresponding to the sub-resource a is a1/a 2. Subsequently, the resource allocation condition a4 corresponding to the sub-resource a in the cluster architecture definition description file corresponding to the distributed cluster (distributed cluster to be deployed) is determined through R and the allocation condition corresponding to the sub-resource a in the cluster architecture definition description file corresponding to the template resource configuration file (of course, the allocation condition is also presented in a numerical form, and is represented by a3 here, for example).
The process of determining a4 may be as follows.
In the embodiment of the present application, a corresponding maximum module value max (a) and a unit module value min (a) are set in advance for the attribute value of each sub-resource. The maximum module value max (a) and the unit module value min (a) of each attribute value are set by background staff according to actual conditions.
Wherein, R is multiplied by a3 to obtain b 0.
For b0, compare the magnitude relationship between b0 and max (a), if b0> max (a), then a4 equals max (a).
If b0 ≦ max (a), then c, c ≦ max (1, b0/min (a)) is calculated. Wherein, the result obtained by b0/min (a) only takes the quotient. a4 ═ c × min (a).
After the resource allocation condition corresponding to each sub-resource is obtained, a cluster architecture definition description file corresponding to the distributed cluster can be generated, wherein the cluster architecture definition description file corresponding to the distributed cluster has the same content of the described sub-resources as compared with the cluster architecture definition description file corresponding to the template resource configuration file, and is different from the resource allocation condition of each sub-resource.
Of course, it should be noted that, when the resource allocation condition of the corresponding sub-resource in the cluster architecture definition description file changes, the architecture of the distributed cluster used by the cluster architecture definition description file for guiding deployment changes accordingly.
Of course, after the new resource configuration file and the new cluster architecture definition description file are acquired, the new resource configuration file and the new cluster architecture definition description file may also be stored in the database, so that the resource configuration file and the cluster architecture definition description file acquired this time may be used when the distributed cluster is deployed subsequently.
Step S140: and deploying the distributed cluster according to the cluster architecture definition description file corresponding to the distributed cluster.
Of course, after obtaining the cluster architecture definition description file corresponding to the distributed cluster, the background staff may also manually adjust the cluster architecture definition description file, so as to obtain a final cluster architecture definition description file corresponding to the distributed cluster, and deploy the distributed cluster according to the final cluster architecture definition description file corresponding to the distributed cluster.
The specific deployment process is the prior art, and generally includes:
the method comprises the steps of firstly analyzing a cluster architecture definition description file to obtain configuration information of each service node (for example, the configuration information comprises a server where the node is located, node firewall policy content, a node docker (application container engine) mirror image version, a service start docker-compound. After the configuration information is obtained, the configuration information of the nodes can be pushed to the server where the nodes are located through an automatic configuration tool, for example, an ansable tool, then commands are issued to all the node servers through the automatic configuration tool, so that all the nodes execute the node initialization script and execute the node initialization script to create a firewall policy, then a specified image file is called to create a container service, and after contents fed back by all the servers are received, the distributed cluster deployment is successful.
In the deployment method of the distributed cluster provided by the embodiment of the application, when the distributed cluster needs to be deployed, can determine a template resource configuration file from the current resource configuration files according to the resource configuration files corresponding to the distributed clusters, and generating a cluster architecture definition description file corresponding to the distributed cluster according to the cluster architecture definition description file corresponding to the template resource configuration file, and direct subsequent deployment of the distributed cluster according to the cluster architecture definition description file corresponding to the distributed cluster, and does not rely on the cluster architecture definition description file corresponding to the prior distributed cluster which has the same structure with the distributed cluster or the artificial participation to generate the cluster architecture definition description file, therefore, more distributed clusters with different frameworks are favorably deployed, namely the distributed clusters are favorably expanded. In addition, because the process does not produce strong dependence on the generation of the cluster architecture definition description file for human participation, the efficiency of deploying the distributed cluster is favorably improved.
As shown in fig. 2, an embodiment of the present application further provides a deployment apparatus 400 for a distributed cluster, where the deployment apparatus 400 for a distributed cluster may include: an acquisition module 410, a determination module 420, a calculation module 430, and a deployment module 440.
An obtaining module 410, configured to obtain a resource configuration file corresponding to a distributed cluster to be deployed, where resource content represented by the corresponding resource configuration file is resource content required to be used by the distributed cluster;
a determining module 420, configured to determine a template resource configuration file from the resource configuration files currently existing in the database;
a computing module 430, configured to generate a cluster architecture definition description file corresponding to the distributed cluster according to the corresponding resource configuration file, the template resource configuration file, and a cluster architecture definition description file corresponding to the template resource configuration file, where the cluster architecture definition description file corresponding to each resource configuration file is stored in the database;
a deployment module 440, configured to deploy the distributed cluster according to the cluster architecture definition description file corresponding to the distributed cluster.
In a possible implementation manner, the determining module 420 is configured to determine whether a first resource profile exists in the currently existing resource profiles; when the first resource configuration file is determined to exist, determining the first resource configuration file as the template resource configuration file; the resource content represented by the first resource configuration file is partially the same as the resource content represented by the corresponding resource configuration file.
In a possible implementation manner, the number of the first resource profiles is multiple, and the determining module 420 is configured to determine a first target resource profile from the multiple first resource profiles, and determine that the first target resource profile is the template resource profile; and in the plurality of first resource configuration files, the similarity between the resource content represented by the first target resource configuration file and the resource content represented by the corresponding resource configuration file is the highest.
In a possible implementation manner, the currently existing resource profile includes a minimum resource profile, and the determining module 420 is further configured to determine that the minimum resource profile is the template resource profile when it is determined that the first resource profile does not exist; and the content of the resource represented by the minimum resource configuration file is completely different from the content of the resource represented by the corresponding resource configuration file.
In one possible embodiment, the resource information includes a plurality of sub-resources and an attribute value corresponding to each sub-resource; the calculating module 430 is configured to calculate, for each sub-resource included in the corresponding resource configuration file, a ratio R of the attribute value corresponding to the sub-resource to the attribute value corresponding to the sub-resource in the template resource configuration file; and for each sub-resource included in the corresponding resource configuration file, determining the allocation situation corresponding to the sub-resource in the cluster architecture definition description file corresponding to the distributed cluster (to-be-deployed distributed cluster) according to the corresponding ratio R and the allocation situation corresponding to the sub-resource in the cluster architecture definition description file corresponding to the template resource configuration file.
In a possible implementation manner, the apparatus further includes a saving module, configured to save the corresponding resource configuration file and the cluster architecture definition description file corresponding to the corresponding resource configuration file in the database.
In a possible implementation manner, the determining module 420 is further configured to determine, on the premise that a second resource configuration file does not exist in the database, a template resource configuration file from the resource configuration files currently existing in the database, otherwise, when it is determined that a second resource configuration file exists in the database, determine the second resource configuration file as the corresponding resource configuration file; and the content of the resource represented by the second resource configuration file is completely the same as the content of the resource represented by the corresponding resource configuration file.
The implementation principle and the resulting technical effect of the deployment apparatus 400 of the distributed cluster provided in the embodiment of the present application are the same as those of the foregoing method embodiment, and for brief description, no mention is made in part of the embodiment of the apparatus, and reference may be made to the corresponding contents in the foregoing method embodiment.
In addition, an embodiment of the present application further provides a readable storage medium, where a computer program is stored on the readable storage medium, and when the computer program is executed by a computer, the steps included in the deployment method of the distributed cluster as described above are executed.
In addition, referring to fig. 3, an electronic device 100 for implementing the deployment method and apparatus of the distributed cluster is further provided in the embodiments of the present application.
Alternatively, the electronic Device 100 may be, but is not limited to, a Personal Computer (PC), a Mobile Internet Device (MID), a server, and the like. The server may be, but is not limited to, a web server, a database server, a cloud server, and the like.
Among them, the electronic device 100 may include: a processor 110, a memory 120.
It should be noted that the components and structure of electronic device 100 shown in FIG. 3 are exemplary only, and not limiting, and electronic device 100 may have other components and structures as desired.
The processor 110, memory 120, and other components that may be present in the electronic device 100 are electrically connected to each other, directly or indirectly, to enable the transfer or interaction of data. For example, the processor 110, the memory 120, and other components that may be present may be electrically coupled to each other via one or more communication buses or signal lines.
The memory 120 is used for storing a program, for example, a program corresponding to the foregoing deployment method of the distributed cluster or the foregoing deployment apparatus of the distributed cluster. Optionally, when the deployment apparatus of the distributed cluster is stored in the memory 120, the deployment apparatus of the distributed cluster includes at least one software functional module that can be stored in the memory 120 in the form of software or firmware (firmware).
Alternatively, the software functional modules included in the deployment apparatus of the distributed cluster may also be solidified in an Operating System (OS) of the electronic device 100.
The processor 110 is adapted to execute executable modules stored in the memory 120, such as software functional modules or computer programs comprised by the distributed clustered deployment apparatus. When the processor 110 receives the execution instruction, it may execute the computer program, for example, to perform: acquiring a resource configuration file corresponding to a distributed cluster to be deployed, wherein resource content represented by the corresponding resource configuration file is resource content required to be used by the distributed cluster; determining a template resource configuration file from the current resource configuration file in the database; generating a cluster architecture definition description file corresponding to the distributed cluster according to the corresponding resource configuration file, the template resource configuration file and a cluster architecture definition description file corresponding to the template resource configuration file, wherein the cluster architecture definition description file corresponding to each resource configuration file is stored in the database; and deploying the distributed cluster according to the cluster architecture definition description file corresponding to the distributed cluster.
Of course, the method disclosed in any of the embodiments of the present application can be applied to the processor 110, or implemented by the processor 110.
In summary, the distributed cluster deployment method, the distributed cluster deployment apparatus, the electronic device, and the readable storage medium according to embodiments of the present invention may determine a template resource configuration file from currently existing resource configuration files according to resource configuration files corresponding to distributed clusters when the distributed clusters need to be deployed, and generate a cluster architecture definition description file corresponding to the distributed clusters by adjusting the template resource configuration file, so as to generate a cluster architecture definition description file corresponding to the distributed clusters according to the cluster architecture definition description file corresponding to the distributed clusters, so as to guide subsequent deployment of the distributed clusters according to the cluster architecture definition description file corresponding to the distributed clusters without relying on a cluster architecture definition description file corresponding to an existing distributed cluster having exactly the same resource content as that required by a framework of the distributed clusters, or the generation of the artificial participation cluster architecture definition description file is not relied on, so that the deployment of more distributed clusters with different architectures is facilitated, namely the expansion of the distributed clusters is facilitated. In addition, because the process does not produce strong dependence on the generation of the cluster architecture definition description file for human participation, the efficiency of deploying the distributed cluster is favorably improved.
It should be noted that, in the present specification, the embodiments are all described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a notebook computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application.

Claims (10)

1. A method for deploying a distributed cluster, the method comprising:
acquiring a resource configuration file corresponding to a distributed cluster to be deployed, wherein resource content represented by the corresponding resource configuration file is resource content required to be used by the distributed cluster;
determining a template resource configuration file from the current resource configuration file in the database;
generating a cluster architecture definition description file corresponding to the distributed cluster according to the corresponding resource configuration file, the template resource configuration file and a cluster architecture definition description file corresponding to the template resource configuration file, wherein the cluster architecture definition description file corresponding to each resource configuration file is stored in the database;
and deploying the distributed cluster according to the cluster architecture definition description file corresponding to the distributed cluster.
2. The method of claim 1, wherein determining a template resource profile from the resource profiles currently in the database comprises:
judging whether a first resource configuration file exists in the current resource configuration file or not;
when the first resource configuration file is determined to exist, determining the first resource configuration file as the template resource configuration file;
the resource content represented by the first resource configuration file is partially the same as the resource content represented by the corresponding resource configuration file.
3. The method of claim 2, wherein the first resource profile is plural in number, and wherein the determining the first resource profile as the template resource profile comprises:
determining a first target resource configuration file from the plurality of first resource configuration files, and determining the first target resource configuration file as the template resource configuration file;
and in the plurality of first resource configuration files, the similarity between the resource content represented by the first target resource configuration file and the resource content represented by the corresponding resource configuration file is the highest.
4. The method of claim 2, wherein the currently existing resource profiles comprise a smallest resource profile, and wherein after the determining whether a first resource profile exists in the currently existing resource profiles, the method further comprises:
when the first resource configuration file does not exist, determining the minimum resource configuration file as the template resource configuration file;
and the content of the resource represented by the minimum resource configuration file is completely different from the content of the resource represented by the corresponding resource configuration file.
5. The method of any of claims 1-4, wherein the corresponding resource profile comprises a plurality of sub-resources and an attribute value corresponding to each sub-resource; generating a cluster architecture definition description file corresponding to the distributed cluster according to the corresponding resource configuration file, the template resource configuration file and a cluster architecture definition description file corresponding to the template resource configuration file, including:
calculating the ratio R of the attribute value corresponding to each sub-resource included in the corresponding resource configuration file to the attribute value corresponding to the sub-resource in the template resource configuration file;
and aiming at each sub-resource included in the corresponding resource configuration file, determining the resource allocation condition corresponding to the sub-resource in the cluster architecture definition description file corresponding to the distributed cluster according to the corresponding ratio R and the allocation condition corresponding to the sub-resource in the cluster architecture definition description file corresponding to the template resource configuration file, thereby obtaining the cluster architecture definition description file corresponding to the distributed cluster.
6. The method of claim 5, wherein after the generating the cluster architecture definition description corresponding to the distributed cluster, the method further comprises:
and storing the corresponding resource configuration file and the cluster architecture definition description file corresponding to the corresponding resource configuration file in the database.
7. The method of claim 5, wherein prior to said determining a template resource profile from among the resource profiles currently existing in the database, the method further comprises:
determining that a second resource profile does not exist in the database;
otherwise, determining the second resource configuration file as the corresponding resource configuration file;
and the content of the resource represented by the second resource configuration file is completely the same as the content of the resource represented by the corresponding resource configuration file.
8. An apparatus for deployment of a distributed cluster, the apparatus comprising:
the system comprises an acquisition module, a management module and a management module, wherein the acquisition module is used for acquiring a resource configuration file corresponding to a distributed cluster to be deployed, and the resource content represented by the corresponding resource configuration file is the resource content required to be used by the distributed cluster;
the determining module is used for determining the template resource configuration file from the current resource configuration file in the database;
a computing module, configured to generate a cluster architecture definition description file corresponding to the distributed cluster according to the corresponding resource configuration file, the template resource configuration file, and a cluster architecture definition description file corresponding to the template resource configuration file, where the cluster architecture definition description file corresponding to each resource configuration file is stored in the database;
and the deployment module is used for deploying the distributed cluster according to the cluster architecture definition description file corresponding to the distributed cluster.
9. An electronic device, comprising: a memory and a processor, the memory and the processor connected;
the memory is used for storing programs;
the processor calls a program stored in the memory to perform the method of any of claims 1-7.
10. A readable storage medium, having stored thereon a computer program which, when executed by a computer, performs the method of any one of claims 1-7.
CN202011643218.0A 2020-12-30 2020-12-30 Distributed cluster deployment method and device, electronic equipment and readable storage medium Active CN112822044B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011643218.0A CN112822044B (en) 2020-12-30 2020-12-30 Distributed cluster deployment method and device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011643218.0A CN112822044B (en) 2020-12-30 2020-12-30 Distributed cluster deployment method and device, electronic equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN112822044A true CN112822044A (en) 2021-05-18
CN112822044B CN112822044B (en) 2022-12-20

Family

ID=75858281

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011643218.0A Active CN112822044B (en) 2020-12-30 2020-12-30 Distributed cluster deployment method and device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN112822044B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113312153A (en) * 2021-06-25 2021-08-27 深信服科技股份有限公司 Cluster deployment method and device, electronic equipment and storage medium
CN115499304A (en) * 2022-07-29 2022-12-20 天翼云科技有限公司 Automatic deployment method, device, equipment and product of distributed storage

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9058423B1 (en) * 2011-11-18 2015-06-16 Google Inc. Dynamic environment deployment within system tests to clusters, local machines or production
CN106506233A (en) * 2016-12-01 2017-03-15 郑州云海信息技术有限公司 A kind of automatic deployment Hadoop clusters and the method for flexible working node
CN110460670A (en) * 2019-08-19 2019-11-15 浪潮云信息技术有限公司 A kind of application cluster framework Automation arranging method based on Terraform and Ansible
CN111782232A (en) * 2020-07-31 2020-10-16 平安银行股份有限公司 Cluster deployment method and device, terminal equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9058423B1 (en) * 2011-11-18 2015-06-16 Google Inc. Dynamic environment deployment within system tests to clusters, local machines or production
CN106506233A (en) * 2016-12-01 2017-03-15 郑州云海信息技术有限公司 A kind of automatic deployment Hadoop clusters and the method for flexible working node
CN110460670A (en) * 2019-08-19 2019-11-15 浪潮云信息技术有限公司 A kind of application cluster framework Automation arranging method based on Terraform and Ansible
CN111782232A (en) * 2020-07-31 2020-10-16 平安银行股份有限公司 Cluster deployment method and device, terminal equipment and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113312153A (en) * 2021-06-25 2021-08-27 深信服科技股份有限公司 Cluster deployment method and device, electronic equipment and storage medium
CN115499304A (en) * 2022-07-29 2022-12-20 天翼云科技有限公司 Automatic deployment method, device, equipment and product of distributed storage
CN115499304B (en) * 2022-07-29 2024-03-08 天翼云科技有限公司 Automatic deployment method, device, equipment and product for distributed storage

Also Published As

Publication number Publication date
CN112822044B (en) 2022-12-20

Similar Documents

Publication Publication Date Title
CN108632374B (en) Software gray level release method and device
EP3667500B1 (en) Using a container orchestration service for dynamic routing
CN112822044B (en) Distributed cluster deployment method and device, electronic equipment and readable storage medium
CN105760230B (en) A kind of method and device of adjust automatically cloud host operation
CN111340230A (en) Service providing method, device, server and computer readable storage medium
CN113918352B (en) Service resource allocation method, computing device and storage medium
CN116450355A (en) Multi-cluster model training method, device, equipment and medium
CN107329802B (en) Virtual machine creating method and electronic equipment
US20220245695A1 (en) Configuration generation method and apparatus, and storage medium
CN112000735A (en) Data processing method, device and system
CN113268232B (en) Page skin generation method and device and computer readable storage medium
CN115633093B (en) Resource acquisition method, resource acquisition device, computer equipment and computer readable storage medium
CN109922120B (en) Method and terminal for improving DNS availability
CN107045452B (en) Virtual machine scheduling method and device
CN112163734A (en) Cloud platform based dynamic scheduling method and device for setting computing resources
CN112231011B (en) Activiti-based flow chart adjustment method and device, electronic equipment and storage medium
CN106293929B (en) Data processing method and first electronic device
CN113687908A (en) PMEM virtual machine creation method, device, equipment and readable storage medium
CN113792875A (en) Performance test method, device, equipment and medium of distributed communication library
CN108156109B (en) Service response method and device
CN113971115A (en) Method and device for determining demand of container resource, server and storage medium
CN112989247B (en) Page updating method and device and computer readable storage medium
CN113687951A (en) Task processing method and device, electronic equipment and computer readable storage medium
CN115065671B (en) Method and system for realizing dynamically-extensible word-dislocation detection service
CN116245607B (en) Configuration method and device suitable for cloud product 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
GR01 Patent grant
GR01 Patent grant