CN112152843A - Cluster node deployment method, device and system and electronic equipment - Google Patents
Cluster node deployment method, device and system and electronic equipment Download PDFInfo
- Publication number
- CN112152843A CN112152843A CN202010954613.4A CN202010954613A CN112152843A CN 112152843 A CN112152843 A CN 112152843A CN 202010954613 A CN202010954613 A CN 202010954613A CN 112152843 A CN112152843 A CN 112152843A
- Authority
- CN
- China
- Prior art keywords
- cluster
- node
- service
- nodes
- plan
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/084—Configuration by using pre-existing information, e.g. using templates or copying from other elements
- H04L41/0843—Configuration by using pre-existing information, e.g. using templates or copying from other elements based on generic templates
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/084—Configuration by using pre-existing information, e.g. using templates or copying from other elements
- H04L41/0846—Configuration by using pre-existing information, e.g. using templates or copying from other elements based on copy from other elements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0889—Techniques to speed-up the configuration process
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
Abstract
The application provides a cluster node deployment method, which comprises the following steps: deploying various services on the standard nodes, and obtaining a cluster configuration template according to a deployment process; acquiring service configuration plans of all nodes; and sending the service configuration plan and the cluster configuration template to the execution directory of other nodes of the cluster in a concurrent manner, so that the other nodes configure the cluster configuration template according to the corresponding plan in the service configuration plan. According to the method and the system, a plurality of services are deployed on the standard node, the deployment process is modeled to obtain the cluster configuration template, then the cluster configuration template of the standard node and the service configuration plans of all the nodes are synchronized to other nodes of the cluster, multi-node automatic rapid deployment implementation is achieved, and input resources are saved. The application also provides a cluster node deployment device, an electronic device and a cluster node deployment system, which have the beneficial effects.
Description
Technical Field
The present application relates to the field of cluster deployment technologies, and in particular, to a method, an apparatus, a system, and an electronic device for deploying cluster nodes.
Background
The default deployment mode of the distributed storage nodes is that a management node is firstly designated, deployment service is installed on the management node, and then all cluster service is issued to all nodes through the management node cluster deployment service. The other is that the service deployment issuing process is serial, and if one service or node is abnormal, the whole deployment process is stopped.
Therefore, how to provide a solution to the above technical problem is a problem that needs to be solved by those skilled in the art.
Disclosure of Invention
The application aims to provide a method, a device and a system for deploying cluster nodes and electronic equipment, and multi-node automatic rapid deployment implementation is achieved. The specific scheme is as follows:
the application provides a cluster node deployment method, which comprises the following steps:
deploying various services on the standard nodes, and obtaining a cluster configuration template according to a deployment process;
acquiring service configuration plans of all nodes;
and sending the service configuration plan and the cluster configuration template to the execution directories of other nodes of the cluster in a concurrent manner, so that the other nodes configure the cluster configuration template according to the corresponding plan in the service configuration plan.
Preferably, the deploying a plurality of services on the standard node includes:
and deploying mon service, mds service and osd service on the standard node.
Preferably, after the sending the service configuration plan and the cluster configuration template to the execution directory of other nodes of the cluster concurrently so that the other nodes configure the cluster configuration template according to the corresponding plan in the service configuration plan, the method further includes:
verifying whether the cluster deployment is completed;
and if the cluster deployment is completed, determining that the cluster node deployment is successful.
Preferably, all nodes in the cluster have no password access to each other.
The application provides a cluster node deploys device, includes:
the acquisition module is used for deploying various services on the standard nodes and obtaining a cluster configuration template according to the deployment process;
the plan acquisition module is used for acquiring service configuration plans of all nodes;
and the synchronization module is used for sending the service configuration plan and the cluster configuration template to the execution directories of other nodes of the cluster in a concurrent manner, so that the other nodes configure the cluster configuration template according to the corresponding plan in the service configuration plan.
The application provides a cluster node deployment method, which comprises the following steps:
acquiring a service configuration plan and a cluster configuration template sent by a standard node; the cluster configuration template is obtained by configuring a deployment process of a plurality of services according to the standard node;
acquiring a corresponding plan from the service configuration plan;
and configuring the cluster configuration template according to the plan.
Preferably, the plan includes at least one target service, and the configuring the cluster configuration template according to the plan includes:
sequentially judging whether the cluster is matched with the target service;
and if so, deploying the corresponding target service on the current node in a php mode.
The application provides a cluster node deploys device, includes:
the first acquisition module is used for acquiring a service configuration plan and a cluster configuration template sent by a standard node; the cluster configuration template is obtained by configuring a deployment process of a plurality of services according to the standard node;
the second acquisition module is used for acquiring a corresponding plan from the service configuration plan;
and the configuration module is used for configuring the cluster configuration template according to the plan.
The application provides an electronic device, including:
a memory for storing a computer program;
a processor for implementing the steps of the cluster node deployment method as described above when executing the computer program.
The application provides a cluster node deployment system, including:
the standard node is used for deploying various services on the standard node and obtaining a cluster configuration template according to a deployment process; acquiring service configuration plans of all nodes, and sending the service configuration plans and the cluster configuration template to execution directories of other nodes of a cluster concurrently;
and the other nodes are used for configuring the cluster configuration template according to the corresponding plan in the service configuration plan.
The application provides a cluster node deployment method, which comprises the following steps: deploying various services on the standard nodes, and obtaining a cluster configuration template according to a deployment process; acquiring service configuration plans of all nodes; and sending the service configuration plan and the cluster configuration template to the execution directory of other nodes of the cluster in a concurrent manner, so that the other nodes configure the cluster configuration template according to the corresponding plan in the service configuration plan.
Therefore, the method includes deploying various services on standard nodes, modeling the deployment process to obtain a cluster configuration template, synchronizing the cluster configuration template of the standard nodes and service configuration plans of all the nodes to other nodes of a cluster, and completing configuration of all the nodes synchronously, wherein due to the general consistency of node configuration, all the nodes can be shared by determining one node deployment type, and the required configuration time is short; in addition, the general node deployment and installation cluster service is concurrent, all nodes are related but independent, all nodes cannot fail due to failure of deployment of one node, multi-node automatic rapid deployment implementation is achieved, and input resources are saved.
The application also provides a cluster node deployment device, an electronic device and a cluster node deployment system, which have the beneficial effects and are not repeated herein.
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 description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a cluster node deployment method provided in an embodiment of the present application;
fig. 2 is a schematic structural diagram of a cluster node deployment apparatus according to an embodiment of the present application;
fig. 3 is a flowchart of another cluster node deployment method provided in the embodiment of the present application;
fig. 4 is a schematic structural diagram of another cluster node deployment apparatus provided in the embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In the related art, the default deployment mode of the distributed storage nodes is to designate a management node, install the deployment service on the management node, and then issue all the cluster services to all the nodes through the management node cluster deployment service, which is a complicated configuration process, and needs to configure and process the services in each node once in the management node, which takes a long time. The other is that the service deployment issuing process is serial, and if one service or node is abnormal, the whole deployment process is stopped.
Based on the foregoing technical problem, this embodiment provides a cluster node deployment method, which can implement multi-node automated rapid deployment, specifically referring to fig. 1, where fig. 1 is a flowchart of a cluster node deployment method provided in this embodiment of the present application, and specifically includes:
s101, deploying various services on a standard node, and obtaining a cluster configuration template according to a deployment process;
in this embodiment, the plurality of services include a plurality of mon services, mds services, osd services, and CEPH-mgr services, and a user may customize the settings, and certainly, the plurality of services may also include other services.
The mon service is responsible for monitoring health information of the mon service and other components in the cluster, and is responsible for verification of the cluster, namely, a user needs to perform identity verification on the mon service; the osd service is an SD object storage process, each hard disk has an osd process, the copy, recovery, load balance and the like of data are managed, and the mon service is provided with bottom monitoring information, namely the osd service comprises a hard disk data osd service and a metadata osd service; the CEPH-mgr service is used for collecting CEPH cluster states and operation indexes, such as storage utilization rate, current performance index 1 and system load; the mds service stores metadata of data at the time of storage for file system storage, and the mds service is not required for object storage and block storage.
Specifically, in a cluster, only a specific node can be provided with a mon service (mon management monitoring service), the number of nodes provided with the mon service in a large-scale cluster is not higher than 7, and each node is provided with a metadata osd service; the mon service assigns certain nodes by specifying some of the enclosure fixed nodes or on demand. It can be understood that, when the configuration information of each node of the large-scale cluster is deployed is consistent, the data hdd disk and the cache metadata ssd disk of each node are fixed, so that the number of data partitions and the number of metadata partitions of each node are set according to the configuration information of the hard disk, and each node is kept consistent; after the hard disk partition is set, configuring mon service, so that other nodes can determine whether mon service and non-mon service are set or not according to a service configuration plan, synchronizing the mon service and the non-mon service into each node, and creating and initializing the service of each node after synchronization is finished; and initializing the cluster after the service of each node is completed, and completing the deployment.
When 30 nodes are counted in the cluster, each node is allocated with 30 osd services, one mds service and other storage services, then part of the nodes are allocated with one mon service, a service implementation method (cluster configuration template) of a cluster service acquisition node can be configured through a single node, and the single node is reset after the acquisition method is deployed. For example, a standard node is determined, and then mon service, mds service, hard disk data osd service and metadata osd service of the standard node are set; deploying a standard single-node cluster according to the settings; and obtaining a cluster configuration template in the standard single-node cluster deployment cluster process. Generally, node cluster deployment is mainly performed through a wave distributed storage interface icfs-deployment command, services such as nodes mon, mds, metadata osd and the like need to be manually set, in order to simplify operations, integrated configuration deployment is performed by writing a php mode according to multiple services, and deployment efficiency is greatly improved.
Further, a variety of services are deployed on the standard node, including: mon service, mds service and osd service are deployed on the standard node.
S102, acquiring service configuration plans of all nodes;
the plans of each node are different, and in this embodiment, a service configuration plan including all the node plans is obtained.
S103, sending the service configuration plan and the cluster configuration template to the execution directory of other nodes of the cluster in a concurrent manner, so that the other nodes configure the cluster configuration template according to the corresponding plan in the service configuration plan.
In the step, the service configuration plan and the cluster configuration template are sent to the execution directories of other nodes of the cluster in a concurrent manner. In the concurrent synchronization mode adopted in this embodiment, each node is related but independent, so that the occurrence of the situation that the deployment process of the whole cluster stops if only one node is abnormal due to a serial mode is avoided. After receiving the service configuration plan, the other nodes can obtain their own plans, and then configure the cluster configuration template according to the plans. For example, after receiving the service configuration plan, the current node determines that the current node is a mon node, may configure mon service, and may execute mon service after configuring the cluster configuration template; for another example, after the current node receives the service configuration plan, it is determined that the current node is a non-mon node and cannot configure mon service, and finally, after the current node configures the cluster configuration template, the mon service cannot be executed. And when all other nodes start corresponding services and initialize the cluster, completing the automatic deployment of the cluster.
Further, all nodes in the cluster can access each other without a password.
And since all nodes have enabled password-free access, synchronizing all node configuration implementation methods to all execution directories, executing and calling the service initialization method of all nodes under any node, and completing initialization of the cluster according to the service creation of each node. The deployment and the update of the large-scale cluster can be completed only by acquiring the service of one node, and the method mainly comprises the step of starting and initializing the storage service of the node.
Further, after the service configuration plan and the cluster configuration template are concurrently sent to the execution directory of other nodes of the cluster, so that the other nodes configure the cluster configuration template according to the corresponding plan in the service configuration plan, the method further includes: verifying whether the cluster deployment is completed; and if the cluster deployment is completed, determining that the cluster node deployment is successful. The system is internally stored with a status command to inquire whether the service of each node is deployed or not.
Further, deployment completion information may be sent to the display device, so that the user can know the deployment progress in time, and certainly, the deployment condition of each node may also be sent to the display device, so that the user can adjust the node that fails to be deployed.
Based on the technical scheme, in the embodiment, a cluster configuration template is obtained by deploying various services on a standard node and modeling the deployment process, then the cluster configuration template of the standard node and the service configuration plans of all nodes are synchronized to other nodes of a cluster, the configuration of all nodes is completed synchronously, and due to the universal consistency of the node configuration, all nodes can be shared by determining one node deployment type, so that the required configuration time is short; in addition, the general node deployment and installation cluster service is concurrent, all nodes are related but independent, all nodes cannot fail due to failure of deployment of one node, multi-node automatic rapid deployment implementation is achieved, and input resources are saved.
Referring to fig. 2, fig. 2 is a schematic structural diagram of a cluster node deployment device provided in an embodiment of the present application, and includes:
an obtaining module 201, configured to deploy multiple services on a standard node, and obtain a cluster configuration template according to a deployment process;
a plan obtaining module 202, configured to obtain service configuration plans of all nodes;
and the synchronization module 203 is configured to send the service configuration plan and the cluster configuration template to the execution directory of other nodes of the cluster concurrently, so that the other nodes configure the cluster configuration template according to the corresponding plan in the service configuration plan.
Preferably, the obtaining module 201 includes:
and the service deployment unit is used for deploying mon service, mds service and osd service on the standard node.
Preferably, the method further comprises the following steps:
the verification module is used for verifying whether the cluster is deployed or not;
and the determining module is used for determining that the cluster node is successfully deployed if the cluster deployment is completed.
Preferably, all nodes in the cluster have no cryptographic access to each other.
Since the embodiments of the apparatus portion and the method portion correspond to each other, please refer to the description of the embodiments of the method portion for the embodiments of the apparatus portion, which is not repeated here.
Referring to fig. 3, fig. 3 is a schematic flow chart of another cluster node deployment method provided in this embodiment of the present application, including:
s301, acquiring a service configuration plan and a cluster configuration template sent by a standard node; the cluster configuration template is obtained by configuring the deployment process of a plurality of services according to standard nodes;
s302, acquiring a corresponding plan from the service configuration plan;
and S303, configuring a cluster configuration template according to the plan.
Further, the plan includes at least one target service, and the cluster configuration template is configured according to the plan, including: sequentially judging whether the cluster is matched with the target service; and if so, deploying the corresponding target service on the current node in a php mode. Wherein the target service is any one of a plurality of services. Generally, node cluster deployment is mainly performed through a wave distributed storage interface icfs-deployment command, services such as nodes mon, mds, metadata osd and the like need to be manually set, in order to simplify operations, integrated configuration deployment is performed by writing a php mode according to multiple services, and deployment efficiency is greatly improved.
Based on the technical scheme, in the embodiment, a cluster configuration template is obtained by deploying various services on a standard node and modeling the deployment process, then the cluster configuration template of the standard node and the service configuration plans of all nodes are synchronized to other nodes of a cluster, the configuration of all nodes is completed synchronously, and due to the universal consistency of the node configuration, all nodes can be shared by determining one node deployment type, so that the required configuration time is short; in addition, the general node deployment and installation cluster service is concurrent, all nodes are related but independent, all nodes cannot fail due to failure of deployment of one node, multi-node automatic rapid deployment implementation is achieved, and input resources are saved.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a cluster node deployment device provided in an embodiment of the present application, where the cluster node deployment device described below and the cluster node deployment method described above may be referred to in a mutually corresponding manner, and the structure diagram of the cluster node deployment device provided in the embodiment of the present application includes:
a first obtaining module 401, configured to obtain a service configuration plan and a cluster configuration template sent by a standard node; the cluster configuration template is obtained by configuring the deployment process of a plurality of services according to standard nodes;
a second obtaining module 402, configured to obtain a corresponding plan from the service configuration plan;
a configuration module 403, configured to configure the cluster configuration template according to the plan.
Preferably, the plan includes at least one target service, the configuration module 403 includes:
the judging unit is used for sequentially judging whether the cluster is matched with the target service;
and the deployment unit is used for deploying the corresponding target service on the current node in a php mode if the current node is matched with the target service.
Since the embodiments of the apparatus portion and the method portion correspond to each other, please refer to the description of the embodiments of the method portion for the embodiments of the apparatus portion, which is not repeated here.
Based on the foregoing embodiments, this embodiment provides a specific method for deploying cluster nodes, which starts each node service, synchronizes configuration information of each node of a cluster, and completes deployment.
Password-free access exists in configuration among nodes (generally, factory setting installation storage systems are configured with password-free access).
Firstly, determining the service conditions of storage deployment nodes, for example, 30 nodes in total, each node is allocated with 30 osd data services, one mds service and other storage services, and a service implementation method (cluster configuration template) for acquiring nodes by configuring cluster services through a single node can be used.
Because all nodes have started password-free access, the cluster configuration template is synchronized to the execution directories of all other nodes, the cluster configuration template suitable for the service initialization method of all nodes is executed and called under any node, and the cluster is created according to the service plan of each node to complete initialization.
Therefore, in the embodiment, deployment and updating of the nodes of the large-scale cluster can be completed only by acquiring the service of one standard node, the universal node mds, osd metadata service and parameter configuration are performed through the php integrated deployment interface, the single-node template deployment process is established, and the service is performed according to the specified part of the nodes mon. And executing the corresponding service in the cluster configuration template according to the plan of each node, namely updating and modifying the cluster configuration template, so that all the nodes start the service, and the deployment of the cluster nodes is realized.
In the following, an electronic device provided in an embodiment of the present application is introduced, and the electronic device described below and the cluster node deployment method described above may be referred to correspondingly.
The present embodiment provides an electronic device, including:
a memory for storing a computer program;
and the processor is used for realizing the steps of the cluster node deployment method when executing the computer program.
In an implementation, the electronic device is a standard node, and the processor is configured to perform the following steps: deploying various services, and obtaining a cluster configuration template according to a deployment process; acquiring service configuration plans of all nodes; and sending the service configuration plan and the cluster configuration template to the execution directory of other nodes of the cluster in a concurrent manner, so that the other nodes configure the cluster configuration template according to the corresponding plan in the service configuration plan.
In another implementable embodiment, the electronic device is corresponding to the other node, and the processor is configured to perform the following steps: acquiring a service configuration plan and a cluster configuration template sent by a standard node; the cluster configuration template is obtained by configuring the deployment process of a plurality of services according to standard nodes; acquiring a corresponding plan from the service configuration plan; and configuring the cluster configuration template according to the plan.
Since the embodiment of the electronic device portion corresponds to the embodiment of the cluster node deployment method portion, please refer to the description of the embodiment of the cluster node deployment method portion for the embodiment of the electronic device portion, which is not repeated here.
In the following, a cluster node deployment system provided in an embodiment of the present application is introduced, and the cluster node deployment system described below and the method described above may be referred to correspondingly.
The embodiment provides a cluster node deployment system, wherein a standard node deploys a plurality of services on the standard node and obtains a cluster configuration template according to a deployment process; acquiring service configuration plans of all nodes, and sending the service configuration plans and the cluster configuration template to execution directories of other nodes of the cluster concurrently;
and the plurality of other nodes are used for configuring the cluster configuration template according to the corresponding plan in the service configuration plan.
Since the embodiment of the cluster node deployment system portion corresponds to the embodiment of the method portion, please refer to the description of the embodiment of the method portion for the embodiment of the cluster node deployment system portion, which is not repeated here.
The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The cluster node deployment method, the cluster node deployment device, the electronic device and the cluster node deployment system provided by the application are described in detail above. The principles and embodiments of the present application are explained herein using specific examples, which are provided only to help understand the method and the core idea of the present application. It should be noted that, for those skilled in the art, it is possible to make several improvements and modifications to the present application without departing from the principle of the present application, and such improvements and modifications also fall within the scope of the claims of the present application.
Claims (10)
1. A cluster node deployment method is characterized by comprising the following steps:
deploying various services on the standard nodes, and obtaining a cluster configuration template according to a deployment process;
acquiring service configuration plans of all nodes;
and sending the service configuration plan and the cluster configuration template to the execution directories of other nodes of the cluster in a concurrent manner, so that the other nodes configure the cluster configuration template according to the corresponding plan in the service configuration plan.
2. The cluster node deployment method of claim 1, wherein the deploying a plurality of services on the standard node comprises:
and deploying mon service, mds service and osd service on the standard node.
3. The method according to claim 1, wherein after the sending the service configuration plan and the cluster configuration template to the execution directory of other nodes of the cluster concurrently so that the other nodes configure the cluster configuration template according to a corresponding plan in the service configuration plan, the method further includes:
verifying whether the cluster deployment is completed;
and if the cluster deployment is completed, determining that the cluster node deployment is successful.
4. The method of claim 1, wherein all nodes in the cluster have no cryptographic access to each other.
5. A cluster node deployment apparatus, comprising:
the acquisition module is used for deploying various services on the standard nodes and obtaining a cluster configuration template according to the deployment process;
the plan acquisition module is used for acquiring service configuration plans of all nodes;
and the synchronization module is used for sending the service configuration plan and the cluster configuration template to the execution directories of other nodes of the cluster in a concurrent manner, so that the other nodes configure the cluster configuration template according to the corresponding plan in the service configuration plan.
6. A cluster node deployment method is characterized by comprising the following steps:
acquiring a service configuration plan and a cluster configuration template sent by a standard node; the cluster configuration template is obtained by configuring a deployment process of a plurality of services according to the standard node;
acquiring a corresponding plan from the service configuration plan;
and configuring the cluster configuration template according to the plan.
7. The method according to claim 6, wherein the plan includes at least one target service, and wherein configuring the cluster configuration template according to the plan comprises:
sequentially judging whether the cluster is matched with the target service;
and if so, deploying the corresponding target service on the current node in a php mode.
8. A cluster node deployment apparatus, comprising:
the first acquisition module is used for acquiring a service configuration plan and a cluster configuration template sent by a standard node; the cluster configuration template is obtained by configuring a deployment process of a plurality of services according to the standard node;
the second acquisition module is used for acquiring a corresponding plan from the service configuration plan;
and the configuration module is used for configuring the cluster configuration template according to the plan.
9. An electronic device, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the cluster node deployment method according to any one of claims 1 to 4 or 6 to 7 when executing the computer program.
10. A cluster node deployment system, comprising:
the standard node is used for deploying various services on the standard node and obtaining a cluster configuration template according to a deployment process; acquiring service configuration plans of all nodes, and sending the service configuration plans and the cluster configuration template to execution directories of other nodes of a cluster concurrently;
and the other nodes are used for configuring the cluster configuration template according to the corresponding plan in the service configuration plan.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010954613.4A CN112152843B (en) | 2020-09-11 | 2020-09-11 | Cluster node deployment method, device and system and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010954613.4A CN112152843B (en) | 2020-09-11 | 2020-09-11 | Cluster node deployment method, device and system and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112152843A true CN112152843A (en) | 2020-12-29 |
CN112152843B CN112152843B (en) | 2022-12-23 |
Family
ID=73890830
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010954613.4A Active CN112152843B (en) | 2020-09-11 | 2020-09-11 | Cluster node deployment method, device and system and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112152843B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114189436A (en) * | 2021-12-08 | 2022-03-15 | 深圳Tcl新技术有限公司 | Multi-cluster configuration deployment method and device, electronic equipment and storage medium |
CN114500257A (en) * | 2021-12-09 | 2022-05-13 | 深信服科技股份有限公司 | Network configuration distribution method, device, control node and storage medium |
CN117348975A (en) * | 2023-12-05 | 2024-01-05 | 中电云计算技术有限公司 | Cluster deployment method, device, equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104219099A (en) * | 2014-09-25 | 2014-12-17 | 浪潮(北京)电子信息产业有限公司 | Automatic server cluster deploying method and device |
US9003406B1 (en) * | 2012-06-29 | 2015-04-07 | Emc Corporation | Environment-driven application deployment in a virtual infrastructure |
CN107153571A (en) * | 2017-06-13 | 2017-09-12 | 郑州云海信息技术有限公司 | A kind of dispositions method and device of virtual management node |
CN109639489A (en) * | 2018-12-18 | 2019-04-16 | 郑州云海信息技术有限公司 | A kind of RabbitMQ clustered deploy(ment) method, system, equipment and medium |
CN109814876A (en) * | 2017-11-22 | 2019-05-28 | 航天信息股份有限公司 | The method, apparatus and storage medium of disposing application program |
CN110377232A (en) * | 2019-07-19 | 2019-10-25 | 苏州浪潮智能科技有限公司 | A kind of method, apparatus and system for disposing distributed storage cluster |
-
2020
- 2020-09-11 CN CN202010954613.4A patent/CN112152843B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9003406B1 (en) * | 2012-06-29 | 2015-04-07 | Emc Corporation | Environment-driven application deployment in a virtual infrastructure |
CN104219099A (en) * | 2014-09-25 | 2014-12-17 | 浪潮(北京)电子信息产业有限公司 | Automatic server cluster deploying method and device |
CN107153571A (en) * | 2017-06-13 | 2017-09-12 | 郑州云海信息技术有限公司 | A kind of dispositions method and device of virtual management node |
CN109814876A (en) * | 2017-11-22 | 2019-05-28 | 航天信息股份有限公司 | The method, apparatus and storage medium of disposing application program |
CN109639489A (en) * | 2018-12-18 | 2019-04-16 | 郑州云海信息技术有限公司 | A kind of RabbitMQ clustered deploy(ment) method, system, equipment and medium |
CN110377232A (en) * | 2019-07-19 | 2019-10-25 | 苏州浪潮智能科技有限公司 | A kind of method, apparatus and system for disposing distributed storage cluster |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114189436A (en) * | 2021-12-08 | 2022-03-15 | 深圳Tcl新技术有限公司 | Multi-cluster configuration deployment method and device, electronic equipment and storage medium |
CN114189436B (en) * | 2021-12-08 | 2024-04-30 | 深圳Tcl新技术有限公司 | Multi-cluster configuration deployment method and device, electronic equipment and storage medium |
CN114500257A (en) * | 2021-12-09 | 2022-05-13 | 深信服科技股份有限公司 | Network configuration distribution method, device, control node and storage medium |
CN117348975A (en) * | 2023-12-05 | 2024-01-05 | 中电云计算技术有限公司 | Cluster deployment method, device, equipment and storage medium |
CN117348975B (en) * | 2023-12-05 | 2024-03-15 | 中电云计算技术有限公司 | Cluster deployment method, device, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN112152843B (en) | 2022-12-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112152843B (en) | Cluster node deployment method, device and system and electronic equipment | |
CN107566165B (en) | Method and system for discovering and deploying available resources of power cloud data center | |
CN110879712B (en) | Cloud data center physical host installation method and related device | |
WO2017161984A1 (en) | Method, device and system for deploying data clusters, and computer storage medium | |
CN104144073B (en) | Master-slave device environment deployment method and master-slave device environment deployment system | |
US8010504B2 (en) | Increasing application availability during automated enterprise deployments | |
US20150358392A1 (en) | Method and system of virtual desktop infrastructure deployment studio | |
CN110719209B (en) | Cluster network configuration method, system, equipment and readable storage medium | |
CN111104201A (en) | System migration method and device, electronic equipment and storage medium | |
CN111198696B (en) | OpenStack large-scale deployment method and system based on bare computer server | |
CN103200036A (en) | Automated configuration method of electrical power system cloud computing platform | |
CN109067599A (en) | A kind of method and device for disposing cluster | |
CN105119732A (en) | Device and method for distributing hosts in cluster environment | |
CN111641521A (en) | Ambari-based method for deploying big data clusters on cloud | |
CN109062820A (en) | A kind of software performance testing method and device | |
EP3306858B1 (en) | Network management system deployment method and device, and network management system | |
CN114443073A (en) | Device and method for rapidly deploying bare metal server | |
CN109783026A (en) | A kind of method and device of automatic configuration server RAID | |
CN109379223A (en) | A kind of method and apparatus for realizing network interface card automated setting | |
CN109032765A (en) | A kind of virtual machine two-node cluster hot backup dispositions method, device and equipment | |
CN110688130A (en) | Physical machine deployment method, physical machine deployment device, readable storage medium and electronic equipment | |
CN115221092A (en) | Method, device and equipment for determining distributable bus of PCI-E card and storage medium | |
CN114610545A (en) | Method, system, device and medium for reducing single point of failure of private cloud computing | |
CN113032107B (en) | Resource management method, device and system of cloud database | |
CN117193800A (en) | Software installation 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |