CN110784546A - Distributed cluster deployment method, server and storage device - Google Patents

Distributed cluster deployment method, server and storage device Download PDF

Info

Publication number
CN110784546A
CN110784546A CN201911054041.8A CN201911054041A CN110784546A CN 110784546 A CN110784546 A CN 110784546A CN 201911054041 A CN201911054041 A CN 201911054041A CN 110784546 A CN110784546 A CN 110784546A
Authority
CN
China
Prior art keywords
deployment
node
nodes
configuration
installation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911054041.8A
Other languages
Chinese (zh)
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.)
Zhejiang Dahua Technology Co Ltd
Original Assignee
Zhejiang Dahua Technology 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 Zhejiang Dahua Technology Co Ltd filed Critical Zhejiang Dahua Technology Co Ltd
Priority to CN201911054041.8A priority Critical patent/CN110784546A/en
Publication of CN110784546A publication Critical patent/CN110784546A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • G06F8/63Image based installation; Cloning; Build to order
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • 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/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

The application discloses a distributed cluster deployment method, a server and a storage device. The deployment method of the distributed cluster comprises the following steps: acquiring hardware configuration information of nodes from nodes of a distributed cluster through a network link; carrying out self-adaptive deployment configuration on the nodes according to the hardware configuration information of the nodes; and deploying the nodes according to the self-adaptive deployment configuration result. By the scheme, the deployment efficiency of the distributed cluster can be improved.

Description

Distributed cluster deployment method, server and storage device
Technical Field
The present application relates to the field of computer technologies, and in particular, to a deployment method of a distributed cluster, a server, and a storage device.
Background
In the background of the fierce big data intelligent system, the installation and deployment of operating systems and software on the nodes of distributed clusters are very important.
At present, the common installation and deployment modes in the industry are mainly realized by customized programs, for example: a U-disk installation and deployment manner, and a PXE (Pre-boot Execution Environment) installation and deployment manner, which, although a certain convenience is obtained, cannot be compatible with various hardware environments, resulting in a higher requirement on hardware, for example, the installation and deployment can be performed on a server produced by a first manufacturer, but cannot be successfully performed on a server produced by a second manufacturer or a third manufacturer; furthermore, there may be situations where the hardware configuration or the os version is incompatible with each software installation configuration, for example, if a particular version of os is used, the installation and deployment are successful, but if another version of os is used, the installation and deployment may fail. Therefore, the success rate and the time of installation and deployment are affected, and the efficiency of installation and deployment is affected. In view of this, how to improve the deployment efficiency of the distributed cluster becomes an urgent problem to be solved.
Disclosure of Invention
The technical problem mainly solved by the application is to provide a deployment method of a distributed cluster, a server and a storage device, which can improve the deployment efficiency of the distributed cluster.
In order to solve the above problem, a first aspect of the present application provides a deployment method of a distributed cluster, including: acquiring hardware configuration information of nodes from nodes of a distributed cluster through a network link; carrying out self-adaptive deployment configuration on the nodes according to the hardware configuration information of the nodes; and deploying the nodes according to the self-adaptive deployment configuration result.
In order to solve the above problem, a second aspect of the present application provides a deployment server of a distributed cluster, comprising a memory, a processor and a communication circuit, the memory and the communication circuit being coupled to the processor, the processor being configured to execute program instructions stored in the memory to implement the method of the first aspect.
In order to solve the above problem, a third aspect of the present application provides a storage device storing program instructions executable by a processor, the program instructions being for implementing the method of the first aspect.
According to the scheme, the hardware configuration information of the nodes is obtained from the nodes of the distributed cluster through the network link, so that the nodes are subjected to self-adaptive deployment configuration according to the hardware configuration information of the nodes, and the nodes are deployed according to the self-adaptive deployment configuration result, so that the dependence of the implementation of the deployment on the hardware environment can be reduced as much as possible, the deployment configuration can be flexibly adjusted, the hardware and the software are fully decoupled, the deployment complexity and time are reduced, the deployment failure rate is reduced, and the deployment efficiency is improved.
Drawings
Fig. 1 is a schematic flowchart of an embodiment of a deployment method of a distributed cluster according to the present application;
FIG. 2 is a framework schematic diagram of an embodiment of a deployment system for a distributed cluster;
FIG. 3 is a schematic flowchart of another embodiment of a distributed cluster deployment method of the present application;
FIG. 4 is a block diagram of an embodiment of a deployment apparatus for a distributed cluster according to the present application;
FIG. 5 is a block diagram of an embodiment of a deployment server for a distributed cluster according to the present application;
FIG. 6 is a block diagram of an embodiment of a memory device according to the present application.
Detailed Description
The following describes in detail the embodiments of the present application with reference to the drawings attached hereto.
In the following description, for purposes of explanation and not limitation, specific details are set forth such as particular system structures, interfaces, techniques, etc. in order to provide a thorough understanding of the present application.
The terms "system" and "network" are often used interchangeably herein. The term "and/or" herein is merely an association describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship. Further, the term "plurality" herein means two or more than two.
Referring to fig. 1, fig. 1 is a schematic flowchart illustrating an embodiment of a deployment method of a distributed cluster according to the present application. Specifically, the method may include the steps of:
step S11: and acquiring hardware configuration information of the nodes from the nodes of the distributed cluster through the network link.
In one implementation scenario, the nodes of the distributed cluster may be servers that are independent of each other, such as: and a blade server. In another implementation scenario, the nodes of the distributed cluster may also be nodes of a high-density server, the high-density server and a common rack server are designed differently using independent power supplies and fans, and the high-density server shares the power supplies and fans by multiple nodes in the same chassis. The high-density server may have 4 nodes, 8 nodes, and the like, and when the high-density server is specifically deployed, the number of the high-density server configurations may be configured according to actual needs, for example: 1, 2 and 3, and the embodiment is not limited in particular.
In one implementation scenario, a deployment server may be used to establish a network connection with each node in a client/server (c/s) network mode, so as to obtain hardware configuration information of the node. Referring to fig. 2 in conjunction, fig. 2 is a schematic diagram of a framework of an embodiment of a deployment system of a distributed cluster. As shown in fig. 2, the nodes 1 to 4 are nodes of a distributed cluster, and the deployment server implements communication connection with the nodes of the respective distributed clusters through a switch. The deployment server at least stores the image file, the application software and the deployment configuration file of the operating system uploaded by a user in advance. In order to improve the success rate of deployment as much as possible, the image files and application software of the operating system can contain a plurality of versions. The deployment configuration file includes configuration parameters, and before deployment, the configuration parameters in the deployment configuration file may be default parameters, and the configuration parameters may include, but are not limited to: virtual memory allocation, environment variables.
In addition, in order to improve the degree of automation of deployment, a deployment program or a script file and the like uploaded by a user in advance are stored in the deployment server, for example, hardware configuration information of nodes can be automatically acquired from nodes of the distributed cluster through a hardware detection analysis program; or, the node can be automatically configured by the software configuration file automatic adaptation program according to the hardware configuration information of the node; alternatively, the image file and/or the application software of the operating system may be automatically distributed to each node by the automatic software installation and deployment program, which is not limited in this embodiment. In an implementation scenario, in order to further improve the automation degree of deployment and save operations such as manual clicking and the like as much as possible, the deployment programs or script files can be packaged into an organically combined whole, so that one-key batch deployment is realized.
In this embodiment, the hardware configuration information of the node may include, but is not limited to: memory capacity, number of disks, disk capacity, disk properties (solid state or mechanical), network card information, and processor information.
Step S12: and carrying out self-adaptive deployment configuration on the nodes according to the hardware configuration information of the nodes.
In an implementation scenario, in order to avoid performing adaptive deployment configuration when the hardware configuration of a node does not meet the deployment requirement, before that, it may be determined whether the hardware configuration information of the node meets the minimum installation deployment requirement, if not, the node is no longer subjected to adaptive deployment configuration according to the hardware configuration information of the node, and if so, the node is subjected to adaptive deployment configuration according to the hardware configuration information of the node, so that additional operations when the hardware configuration of the node does not meet the minimum installation deployment requirement may be saved.
In a specific implementation scenario, the minimum installation deployment requirement may be uniformly set by the user, for example: 4GB memory, 1TB disk capacity, etc. In addition, in a specific implementation scenario, in order to meet the installation and deployment requirements of a customer on nodes, it may be set that, only when the hardware configuration information of all nodes meets the minimum installation and deployment requirements, the nodes are subjected to adaptive deployment and configuration according to the hardware configuration information of the nodes; it may also be configured to perform adaptive deployment configuration on a node meeting the lowest installation and deployment requirement according to the hardware configuration information of the node as long as the hardware configuration information of the node meets the lowest installation and deployment requirement, which is not limited in this embodiment.
In another specific implementation scenario, the minimum installation and deployment requirement may also correspond to a version of an image file of the operating system, for example, a version of application software to be installed by each node (e.g., a version of a database) is preset in a deployment configuration file, the version of the image file of the operating system to be installed by each node is determined by obtaining the version of the application software to be installed by each node in the deployment configuration file (e.g., a version of v1 database software may be installed on versions of v7 and v8, a version of v2 database software may only be installed on versions of v8 operating systems), and the minimum installation and deployment requirement of each node is determined according to the determined version of the image file of the operating system to be installed by each node.
In this embodiment, the adaptive deployment and configuration of the node may specifically be adjusting configuration parameters in a deployment configuration file according to hardware configuration information of the node. In one implementation scenario, to implement operating system deployment and software deployment for a node, the deployment configuration file may include a system deployment configuration file and a software deployment configuration file, to implement installation deployment for an operating system, the configuration parameters may include system configuration parameters, and to implement installation deployment for application software, the configuration parameters may include application configuration parameters. In addition, the deployment configuration files can be multiple and correspond to the nodes one by one. For example: configuring the installation paths of the operating system and the software of the node according to the disk capacity, the disk property and the disk number contained in the hardware configuration information of the node, and modifying the storage path parameters, the installation path parameters and the decompression path parameters in the deployment configuration file; or, according to network card information (such as a Media Access Control (MAC) Address) contained in the hardware configuration information of the node, distinguishing each node, configuring network information such as an Internet Protocol (IP) Address, a gateway, a subnet mask and the like of each node, and modifying network information parameters in the deployment configuration file; or, the application configuration parameters are adjusted according to the operating system and/or the system configuration parameters, which is not illustrated here.
The nodes are subjected to self-adaptive deployment configuration according to the hardware configuration information of the nodes, so that manual intervention parameter adjustment can be eliminated, the labor input is reduced, and the intelligent degree of deployment is improved.
Step S13: and deploying the nodes according to the self-adaptive deployment configuration result.
In an implementation scenario, before the nodes are deployed according to the result of the adaptive deployment configuration, a network mutual trust connection relationship between the nodes, that is, SSH (Secure Shell protocol) may also be constructed.
In an implementation scenario, in order to implement installation and deployment of an operating system for a node, a deployment configuration file and an image file of the operating system may be sent to the node, so that the node performs corresponding operating system installation according to system configuration parameters. Specifically, the image file of the operating system may be determined according to the version of the application software required to be installed; the storage path sent to the node may be determined according to the disk capacity, disk properties, and the number of disks included in the hardware configuration information of the node.
In another implementation scenario, in order to implement installation and deployment of application software for a node, a deployment configuration file and an installation package of the application software may be sent to the node, so that the node performs corresponding software installation according to application configuration parameters. Specifically, the installation package of the application software may be customer-specified; the storage path sent to the node may be determined according to the disk capacity, disk properties, and the number of disks included in the hardware configuration information of the node.
In another implementation scenario, in order to implement installation and deployment of the operating system and the application software for the node, the system deployment configuration file, the image file of the operating system, and the installation package of the software deployment configuration file and the application software may be sent to the node, so that the node performs corresponding operating system installation according to the system configuration parameters, and performs corresponding software installation according to the application configuration parameters.
The installation package of the application software in this embodiment may include, but is not limited to: database software (such as GreenPulm distributed database), and operation and maintenance software.
In a specific implementation scenario, in order to facilitate a user to visually view the deployment status of each node, a status display interface may be further provided to display the deployment status of the nodes in real time, for example: whether the hardware configuration information meets the verification, the file sending progress, the system installation progress, the software installation progress and the like of the lowest deployment and installation requirement or not is achieved, so that the whole installation and deployment is controlled, problems occurring in the installation and deployment process are fed back in time, the interaction mode can avoid the boring of blind waiting of operators during the installation and deployment and can timely investigate the reasons of the problems occurring during the installation and deployment, and the deployment efficiency is improved.
According to the scheme, the hardware configuration information of the nodes is obtained from the nodes of the distributed cluster through the network link, so that the nodes are subjected to self-adaptive deployment configuration according to the hardware configuration information of the nodes, and the nodes are deployed according to the self-adaptive deployment configuration result, so that the dependence of the implementation of the deployment on the hardware environment can be reduced as much as possible, the deployment configuration can be flexibly adjusted, the hardware and the software are fully decoupled, the deployment complexity and time are reduced, the deployment failure rate is reduced, and the deployment efficiency is improved.
Referring to fig. 3, fig. 3 is a schematic flowchart of another embodiment of a deployment method of a distributed cluster according to the present application. Specifically, the method may include the steps of:
step S31: a Web platform is provided that logs onto the node.
In this embodiment, the Web platform is in communication connection with nodes of each distributed cluster. In one implementation scenario, the Web platform may serve as a visualization cluster monitoring management tool.
Step S32: and displaying a software installation interface on the Web platform.
After a user logs in a Web platform, the user can manage the nodes of each distributed cluster and deploy application software (components and services) on each node, wherein the components are distributed database storage components, and the services are upper-layer applications serving the distributed database, so that the monitoring and management of the whole distributed database cluster are realized.
Step S33: and forwarding an installation instruction for inputting on the software installation interface to the node to instruct the node to perform corresponding operation.
Specifically, a software installation interface may be displayed on the Web platform, so that an installation instruction for inputting on the software installation interface is forwarded to the node to instruct the node to perform a corresponding operation, where the installation instruction may include, but is not limited to: mouse click instructions, command line instructions.
In addition, the Web platform may also display an operation and maintenance software interface, so as to display the operation state of the node to the user through the operation and maintenance software interface, for example: CPU processing load, CPU temperature, memory usage, real-time network speed, disk usage, number of processes, etc.
Different from the foregoing embodiment, in the foregoing scheme, a Web platform that logs in to a node is provided, a software installation interface is displayed on the Web platform, and an installation instruction input on the software installation interface is forwarded to the node to instruct the node to perform a corresponding operation, so that visualization of node admission is achieved.
Referring to fig. 4, fig. 4 is a schematic diagram of a framework of an embodiment of a deployment apparatus 40 for distributed cluster according to the present application. In this embodiment, the deployment apparatus 40 of the distributed cluster includes an obtaining module 41, a configuration module 42, and a deployment module 43, where the obtaining module 41 is configured to obtain hardware configuration information of a node from a node of the distributed cluster through a network link; the configuration module 42 is configured to perform adaptive deployment configuration on the node according to the hardware configuration information of the node; the deployment module 43 is configured to deploy the node according to the result of the adaptive deployment configuration. In one implementation scenario, network connections are established with nodes in a client/server network mode.
According to the scheme, the hardware configuration information of the nodes is obtained from the nodes of the distributed cluster through the network link, so that the nodes are subjected to self-adaptive deployment configuration according to the hardware configuration information of the nodes, and the nodes are deployed according to the self-adaptive deployment configuration result, so that the dependence of the implementation of the deployment on the hardware environment can be reduced as much as possible, the deployment configuration can be flexibly adjusted, the hardware and the software are fully decoupled, the deployment complexity and time are reduced, the deployment failure rate is reduced, and the deployment efficiency is improved.
In some embodiments, the deployment apparatus 40 of the distributed cluster further includes a determining module, configured to determine whether the hardware configuration information of the node meets the minimum installation deployment requirement, and the configuration module 42 is further configured to not perform the step of performing adaptive deployment configuration on the node according to the hardware configuration information of the node when the determination result of the determining module is negative.
In some embodiments, the configuration module 42 is specifically configured to adjust the configuration parameters in the deployment configuration file according to the hardware configuration information of the node. In one implementation scenario, configuration module 42 is also configured to adjust application configuration parameters according to operating system and/or system configuration parameters. In an implementation scenario, the deployment apparatus 40 of the distributed cluster is further connected to a Web platform that logs in to the node, and a software installation interface is displayed on the Web platform, and an installation instruction input on the software installation interface is forwarded to the node to instruct the node to perform a corresponding operation.
In some embodiments, the configuration parameters include system configuration parameters, and the deployment module 43 is specifically configured to send the deployment configuration file and the image file of the operating system to the node, so that the node performs corresponding operating system installation according to the system configuration parameters.
In some embodiments, the configuration parameters include application configuration parameters, and the deployment module 43 is specifically configured to send the deployment configuration file and the installation package of the application software to the node, so that the node performs corresponding software installation according to the application configuration parameters.
In some embodiments, the deployment apparatus 40 of the distributed cluster further includes a display module, configured to provide a status display interface to display the deployment status of the nodes in real time.
Referring to fig. 5, fig. 5 is a schematic diagram of a framework of an embodiment of a deployment server 50 of a distributed cluster according to the present application. In this embodiment, the deployment server 50 of the distributed cluster includes a memory 51, a processor 52 and a communication circuit 53, where the memory 51 and the communication circuit 53 are coupled to the processor 52, and the processor 52 is configured to execute program instructions stored in the memory 51 to implement steps in any one of the above-described deployment method embodiments of the distributed cluster.
In particular, the processor 52 is configured to control itself and the memory 51 to implement the steps in any of the above described embodiments of the distributed cluster deployment method. Processor 52 may also be referred to as a CPU (Central Processing Unit). Processor 52 may be an integrated circuit chip having signal processing capabilities. The Processor 52 may also be a general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete gate or transistor logic, discrete hardware components. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. In addition, processor 52 may be commonly implemented by a plurality of integrated circuit chips.
In this embodiment, the processor 52 is configured to control the communication circuit 53 to obtain hardware configuration information of the node from the nodes of the distributed cluster through the network link, the processor 52 is further configured to perform adaptive deployment configuration on the node according to the hardware configuration information of the node, and the processor 52 is further configured to deploy the node according to a result of the adaptive deployment configuration by combining the communication circuit 53.
According to the scheme, the hardware configuration information of the nodes is obtained from the nodes of the distributed cluster through the network link, so that the nodes are subjected to self-adaptive deployment configuration according to the hardware configuration information of the nodes, and the nodes are deployed according to the self-adaptive deployment configuration result, so that the dependence of the implementation of the deployment on the hardware environment can be reduced as much as possible, the deployment configuration can be flexibly adjusted, the hardware and the software are fully decoupled, the deployment complexity and time are reduced, the deployment failure rate is reduced, and the deployment efficiency is improved.
In some embodiments, processor 52 is also operative to establish network connections with nodes in a client/server network mode in conjunction with communications circuitry 53.
In some embodiments, the processor 52 is further configured to determine whether the hardware configuration information of the node meets the minimum installation and deployment requirement, and the processor 52 is further configured to not perform the step of performing adaptive deployment and configuration on the node according to the hardware configuration information of the node when the determination result is negative.
In some embodiments, the configuration parameters include system configuration parameters, and the processor 52 is further configured to control the communication circuit 53 to send the deployment configuration file and the image file of the operating system to the node, so that the node performs corresponding operating system installation according to the system configuration parameters.
In some embodiments, the configuration parameters include application configuration parameters, and the processor 52 is further configured to control the communication circuit 53 to send the deployment configuration file and the installation package of the application software to the node, so that the node performs corresponding software installation according to the application configuration parameters. In one implementation scenario, processor 52 is also configured to adjust application configuration parameters according to operating system and/or system configuration parameters. In an implementation scenario, the deployment apparatus 50 of the distributed cluster is further connected to a Web platform that logs in to the node, and a software installation interface is displayed on the Web platform, and an installation instruction input on the software installation interface is forwarded to the node to instruct the node to perform a corresponding operation.
In some embodiments, the deployment server 50 of the distributed cluster further includes a human-computer interaction circuit for providing a status display interface to display the deployment status of the nodes in real time.
Referring to fig. 6, fig. 6 is a schematic diagram of a memory device 60 according to an embodiment of the present application. The storage means 60 stores program instructions 61 that can be executed by the processor, the program instructions 61 being adapted to implement the steps in any of the above described embodiments of the method of deployment of a distributed cluster.
According to the scheme, the dependence of implementation of deployment on a hardware environment can be reduced as much as possible, deployment configuration can be flexibly adjusted, hardware and software are fully decoupled, the deployment complexity and time are reduced, the deployment failure rate is reduced, and the deployment efficiency is improved.
In the several embodiments provided in the present application, it should be understood that the disclosed method and apparatus may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of a module or a unit is merely a logical division, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some interfaces, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) or a processor (processor) 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.

Claims (11)

1. A method for deploying a distributed cluster, the method comprising:
acquiring hardware configuration information of nodes from the nodes of the distributed cluster through network links;
carrying out self-adaptive deployment configuration on the nodes according to the hardware configuration information of the nodes;
and deploying the nodes according to the result of the self-adaptive deployment configuration.
2. The method of claim 1, wherein the step of obtaining hardware configuration information of each node from each node of the distributed cluster via the network link is preceded by the step of:
a network connection is established with each of the nodes in a client/server network mode.
3. The method according to claim 1, wherein before the step of adaptively deploying and configuring the node according to the hardware configuration information of the node, the method further comprises:
judging whether the hardware configuration information of the node meets the lowest installation and deployment requirement;
and if the lowest installation and deployment requirement is not met, the step of carrying out self-adaptive deployment and configuration on the node according to the hardware configuration information of the node is not executed.
4. The method of claim 1, wherein the step of adaptively deploying and configuring the node according to the hardware configuration information of the node comprises:
and adjusting the configuration parameters in the deployment configuration file according to the hardware configuration information of the node.
5. The method of claim 4, wherein the configuration parameters comprise system configuration parameters;
the step of deploying the nodes according to the result of the adaptive deployment configuration comprises:
and sending the deployment configuration file and the image file of the operating system to the node so that the node carries out corresponding operating system installation according to the system configuration parameters.
6. The method of claim 5, wherein the configuration parameters comprise application configuration parameters;
the step of deploying the nodes according to the result of the adaptive deployment configuration comprises:
and sending the deployment configuration file and the installation package of the application software to the node so that the node performs corresponding software installation according to the application configuration parameters.
7. The method of claim 6, wherein the step of adjusting configuration parameters in a deployment configuration file according to the hardware configuration information of the node further comprises:
and adjusting the application configuration parameters according to the operating system and/or the system configuration parameters.
8. The method of claim 6, further comprising:
providing a Web platform logged in the node;
displaying a software installation interface on the Web platform;
and forwarding an installation instruction input on the software installation interface to the node to instruct the node to perform corresponding operation.
9. The method of claim 1, further comprising:
and providing a state display interface to display the deployment state of the nodes in real time.
10. A deployment server of a distributed cluster comprising a memory, a processor, and communication circuitry, the memory and the communication circuitry coupled to the processor, the processor configured to execute program instructions stored by the memory to implement the method of any of claims 1-9.
11. A storage device storing program instructions executable by a processor to perform the method of any one of claims 1 to 9.
CN201911054041.8A 2019-10-31 2019-10-31 Distributed cluster deployment method, server and storage device Pending CN110784546A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911054041.8A CN110784546A (en) 2019-10-31 2019-10-31 Distributed cluster deployment method, server and storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911054041.8A CN110784546A (en) 2019-10-31 2019-10-31 Distributed cluster deployment method, server and storage device

Publications (1)

Publication Number Publication Date
CN110784546A true CN110784546A (en) 2020-02-11

Family

ID=69388242

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911054041.8A Pending CN110784546A (en) 2019-10-31 2019-10-31 Distributed cluster deployment method, server and storage device

Country Status (1)

Country Link
CN (1) CN110784546A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111338580A (en) * 2020-02-29 2020-06-26 苏州浪潮智能科技有限公司 Method and equipment for optimizing disk performance
CN111679837A (en) * 2020-05-07 2020-09-18 海南车智易通信息技术有限公司 System installation control method, control system and computing equipment
CN111782232A (en) * 2020-07-31 2020-10-16 平安银行股份有限公司 Cluster deployment method and device, terminal equipment and storage medium
CN113448947A (en) * 2021-07-09 2021-09-28 烽火通信科技股份有限公司 Method and device for distributed deployment, operation and maintenance of mongo database
CN114584413A (en) * 2020-12-01 2022-06-03 深圳绿米联创科技有限公司 Network adjusting method, device, gateway and computer readable storage medium
CN115396437A (en) * 2022-08-24 2022-11-25 中电金信软件有限公司 Cluster building 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 (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101741905A (en) * 2009-11-30 2010-06-16 曙光信息产业(北京)有限公司 Rapid deployment method for cluster
CN103577235A (en) * 2013-11-14 2014-02-12 中安消技术有限公司 Software deploying method, deploying server, computer to be deployed and system
CN105490849A (en) * 2015-12-08 2016-04-13 中电科华云信息技术有限公司 Automatic deployment method and system of application system
CN105959363A (en) * 2016-04-26 2016-09-21 中国电子科技网络信息安全有限公司 Big data cluster deployment method capable of adapting to hardware configuration
CN106775658A (en) * 2016-11-28 2017-05-31 努比亚技术有限公司 Acquiescence wallpaper adaptive approach and terminal
CN108259555A (en) * 2017-11-30 2018-07-06 新华三大数据技术有限公司 The configuration method and device of parameter

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101741905A (en) * 2009-11-30 2010-06-16 曙光信息产业(北京)有限公司 Rapid deployment method for cluster
CN103577235A (en) * 2013-11-14 2014-02-12 中安消技术有限公司 Software deploying method, deploying server, computer to be deployed and system
CN105490849A (en) * 2015-12-08 2016-04-13 中电科华云信息技术有限公司 Automatic deployment method and system of application system
CN105959363A (en) * 2016-04-26 2016-09-21 中国电子科技网络信息安全有限公司 Big data cluster deployment method capable of adapting to hardware configuration
CN106775658A (en) * 2016-11-28 2017-05-31 努比亚技术有限公司 Acquiescence wallpaper adaptive approach and terminal
CN108259555A (en) * 2017-11-30 2018-07-06 新华三大数据技术有限公司 The configuration method and device of parameter

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张育军: "《上海证券交易所联合研究报告 2011 证券信息前沿技术专集》", 30 November 2012 *

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111338580A (en) * 2020-02-29 2020-06-26 苏州浪潮智能科技有限公司 Method and equipment for optimizing disk performance
CN111338580B (en) * 2020-02-29 2021-12-21 苏州浪潮智能科技有限公司 Method and equipment for optimizing disk performance
CN111679837A (en) * 2020-05-07 2020-09-18 海南车智易通信息技术有限公司 System installation control method, control system and computing equipment
CN111679837B (en) * 2020-05-07 2024-05-31 海南车智易通信息技术有限公司 System installation control method, system and computing device
CN111782232A (en) * 2020-07-31 2020-10-16 平安银行股份有限公司 Cluster deployment method and device, terminal equipment and storage medium
CN114584413A (en) * 2020-12-01 2022-06-03 深圳绿米联创科技有限公司 Network adjusting method, device, gateway and computer readable storage medium
CN114584413B (en) * 2020-12-01 2024-05-28 深圳绿米联创科技有限公司 Network adjustment method, device, gateway and computer readable storage medium
CN113448947A (en) * 2021-07-09 2021-09-28 烽火通信科技股份有限公司 Method and device for distributed deployment, operation and maintenance of mongo database
CN113448947B (en) * 2021-07-09 2023-10-27 烽火通信科技股份有限公司 Method and device for distributed deployment operation and maintenance of mongo database
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
CN115396437A (en) * 2022-08-24 2022-11-25 中电金信软件有限公司 Cluster building method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN110784546A (en) Distributed cluster deployment method, server and storage device
US10700932B2 (en) Automated standalone bootstrapping of hardware inventory
EP2810175B1 (en) Automated build-out of a cloud-computing stamp
EP2904739B1 (en) Discovering, validating, and configuring hardware-inventory components
NL1027723C2 (en) Method, device, computer program and computer program product for managing a digital information technology IT infrastructure.
TWI523452B (en) In service upgrades for a hypervisor or hardware manager hosting virtual traffic managers
US8086739B2 (en) Method and system for monitoring virtual wires
TWI240184B (en) System, method, computer readable storage medium and state engine to automate the management of computer services and programmable devices
EP3382942B1 (en) Network service configuration method and network management device
EP3373518B1 (en) Service configuration method and device for network service
WO2010027659A2 (en) Method and apparatus for dynamically instantiating services using a service insertion architecture
JP2005276177A (en) Method, system, and program for checking and repairing network configuration
US20060168322A1 (en) Network management apparatus and method for the configuration of network devices
CN106716926B (en) Automated stand-alone boot circuit for hardware inventory
JP2022515994A (en) Orchestration of the activity of an entity running in the network cloud
US11500690B2 (en) Dynamic load balancing in network centric process control systems
CN105827496A (en) Method and apparatus for managing PE device
US10218560B2 (en) Centralized troubleshooting tool in distributed virtual network
KR20150088462A (en) Method for linking network device in cloud environment and apparatus therefor
US8233171B2 (en) Device managing apparatus, method of controlling the same, and control program
CN112003726B (en) High-availability configuration method for rapidly deploying Beegfs management service nodes
CN116466957A (en) Automatic deployment of control nodes at remote locations
JP6515597B2 (en) Management program, management method, management device
JP7395961B2 (en) Network management device, network management method, and network management program
CN115145603B (en) Method and system for automatically installing OS (operating system) based on Redfish

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200211

RJ01 Rejection of invention patent application after publication