CN116192622A - Cluster deployment method, system, equipment and storage medium - Google Patents

Cluster deployment method, system, equipment and storage medium Download PDF

Info

Publication number
CN116192622A
CN116192622A CN202211728386.9A CN202211728386A CN116192622A CN 116192622 A CN116192622 A CN 116192622A CN 202211728386 A CN202211728386 A CN 202211728386A CN 116192622 A CN116192622 A CN 116192622A
Authority
CN
China
Prior art keywords
servers
target
server
identification information
cluster
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
CN202211728386.9A
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.)
Shenzhen Haizhichuang Technology Co ltd
Original Assignee
Shenzhen Haizhichuang 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 Shenzhen Haizhichuang Technology Co ltd filed Critical Shenzhen Haizhichuang Technology Co ltd
Priority to CN202211728386.9A priority Critical patent/CN116192622A/en
Publication of CN116192622A publication Critical patent/CN116192622A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0889Techniques to speed-up the configuration process
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0893Assignment of logical groups to network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

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

Abstract

The invention provides a cluster deployment method, a system, equipment and a storage medium, wherein the method comprises the following steps: according to M identification information corresponding to the M servers, N target servers are determined; the servers are in one-to-one correspondence with the identification information, N target servers are at least part of the M servers, M is a positive integer greater than 1, and N is a positive integer less than or equal to M; reading a statement file stored by each target server; executing the declaration file stored by each target server, and controlling N target servers to communicate with each other so as to establish a server cluster; the server cluster comprises N target servers. In the invention, a user can deploy a server cluster in the operating system only by setting the identification information and the statement file without compiling complex codes in the operating system, and the server cluster is composed of N target servers which are mutually communicated, so that the deployment efficiency of the server cluster is improved.

Description

Cluster deployment method, system, equipment and storage medium
Technical Field
The present disclosure relates to the field of data processing technologies, and in particular, to a cluster deployment method, system, device, and storage medium.
Background
In the related art, the manner in which a database or a database cluster is deployed in an operating system is typically a manual operation, that is, a user deploys the database or establishes the database cluster in the operating system by writing related code.
However, in the above process, the user needs to write a large amount of codes, and the database can be deployed and the deployment of the database cluster can be completed through complicated operations, which reduces the efficiency of cluster deployment.
Disclosure of Invention
The invention mainly aims to provide a cluster deployment method, a system, equipment and a storage medium, which aim to solve the technical problem of lower efficiency of cluster deployment.
In order to achieve the above object, the present invention provides a cluster deployment method, which includes:
according to M identification information corresponding to M servers in an operating system, N target servers are determined; the servers are in one-to-one correspondence with the identification information, the N target servers are at least part of the M servers, M is a positive integer greater than 1, and N is a positive integer less than or equal to M;
reading a statement file stored by each target server;
executing the declaration file stored by each target server, and controlling the N target servers to communicate with each other so as to establish a server cluster;
wherein the server cluster includes the N target servers.
Optionally, before determining the N target servers according to the M identification information corresponding to the M servers, the method further includes:
acquiring stain data input by a user;
modifying the identification information of the server associated with the taint data into a target identification;
the determining N target servers according to the M identification information corresponding to the M servers includes:
m identification information corresponding to the M servers is read;
and determining the server of the identification information characterization target identification of the M servers as the target server.
Optionally, executing the declaration file stored by each target server, and controlling the N target servers to communicate with each other includes:
reading a communication interface, an IP protocol and a data routing path in the declaration file stored by each target server;
and controlling the N target servers to establish communication connection through the communication interface, the IP protocol and a data routing path.
Optionally, after executing the declaration file stored by each target server and controlling the N target servers to communicate with each other, the method further includes:
monitoring the number of application services for which each target server establishes communication connection;
and sending prompt information under the condition that the number of the application services is larger than or equal to a preset threshold value.
In addition, in order to achieve the above object, the present invention further provides a cluster deployment system, including:
the determining module is used for determining N target servers according to M identification information corresponding to M servers in the operating system; the servers are in one-to-one correspondence with the identification information, the N target servers are at least part of the M servers, M is a positive integer greater than 1, and N is a positive integer less than or equal to M;
the reading module is used for reading the statement files stored by each target server;
the control module is used for executing the declaration file stored by each target server and controlling the N target servers to communicate with each other so as to establish a server cluster;
wherein the server cluster includes the N target servers.
Optionally, the system further comprises:
the acquisition module is used for acquiring stain data input by a user;
the modification module is used for modifying the identification information of the server associated with the stain data into a target identification;
the determining module is further configured to:
m identification information corresponding to the M servers is read;
and determining the server of which the identification information represents the target identification in the M servers as the target 5 server.
Optionally, it is further used for:
reading a communication interface, an IP protocol and a data routing path in the declaration file stored by each target server;
and controlling the N target servers to establish communication connection through the communication interface, the IP protocol and a data route 0 route.
Optionally, the system further comprises:
the monitoring module is used for monitoring the number of application services for establishing communication connection of each target server;
and the sending module is used for sending prompt information under the condition that the number of the application services is greater than or equal to a preset threshold value.
In addition, to achieve the above object, the present invention further provides an electronic device, where the electronic device includes a memory, a processor, and a program or instructions stored on the memory and executable on the processor, and the processor implements the steps of the cluster deployment method as described above when executing the program or instructions.
In addition, to achieve the above object, the present invention also provides a computer-readable storage medium having stored thereon a data processing program that implements the steps of the cluster deployment method described above when executed by a processor 0.
The invention provides a cluster deployment method, a system, equipment and a storage medium, wherein the method comprises the following steps:
according to M identification information corresponding to the M servers, N target servers are determined; the servers are in one-to-one correspondence with the identification information, N target servers are at least part of M servers, and M is
A positive integer greater than 1, N being a positive integer less than or equal to M; reading a 5 declaration file stored by each target server; executing the declaration file stored by each target server, and controlling N target servers to communicate with each other so as to establish a server cluster; the server cluster comprises N target servers. In the invention, a user can deploy a server cluster in the operating system only by setting the identification information and the statement file without compiling complex codes in the operating system, and the server cluster is composed of N target servers which are mutually communicated, so that the deployment efficiency of the server cluster is improved.
Drawings
FIG. 1 is a schematic diagram of a device architecture of a hardware operating environment according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a cluster deployment method according to an embodiment of the present invention;
fig. 3 is an application scenario diagram of a cluster deployment method provided by an embodiment of the present invention;
FIG. 4 is a schematic diagram of a cluster deployment system according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
The present invention will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present invention more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
As shown in fig. 1, fig. 1 is a schematic diagram of a terminal structure of a hardware running environment according to an embodiment of the present invention.
The terminal is a movable device, and the terminal can also be other terminal devices with a storage function.
As shown in fig. 1, the terminal may include: a processor 1001, such as a CPU, a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein the communication bus 1002 is used to enable connected communication between these components. The user interface 1003 may include a Display, an input unit such as a Keyboard (Keyboard), and optionally the user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also optionally be a storage device separate from the aforementioned processor 1001.
Optionally, the terminal may further include a camera, wi-Fi module, etc., which are not described herein.
It will be appreciated by those skilled in the art that the terminal structure shown in fig. 1 is not limiting of the terminal and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
In the terminal shown in fig. 1, the network interface 1004 is mainly used for connecting to a background server and performing data communication with the background server; the user interface 1003 mainly includes an input unit such as a keyboard including a wireless keyboard and a wired keyboard for connecting to a client for data communication with the client; and the processor 1001 may be configured to call a cluster deployment program stored in the memory 1005, and perform the following operations:
according to M identification information corresponding to M servers in an operating system, N target servers are determined;
reading a statement file stored by each target server;
executing the declaration file stored by each target server, and controlling the N target servers to communicate with each other so as to establish a server cluster.
Further, the processor 1001 may call the cluster deployment program stored in the memory 1005, and further perform the following operations:
acquiring stain data input by a user;
modifying the identification information of the server associated with the taint data into a target identification;
m identification information corresponding to the M servers is read;
and determining the server of the identification information characterization target identification of the M servers as the target server.
Further, the processor 1001 may call the cluster deployment program stored in the memory 1005, and further perform the following operations:
reading a communication interface, an IP protocol and a data routing path in the declaration file stored by each target server;
and controlling the N target servers to establish communication connection through the communication interface, the IP protocol and a data routing path.
Further, the processor 1001 may call the cluster deployment program stored in the memory 1005, and further perform the following operations:
monitoring the number of application services for which each target server establishes communication connection;
and sending prompt information under the condition that the number of the application services is larger than or equal to a preset threshold value.
The specific embodiment of the terminal is basically the same as each embodiment of the cluster deployment method described below, and will not be described herein.
The invention provides a cluster deployment method. Referring to fig. 2, fig. 2 is a flowchart of a cluster deployment method according to an embodiment of the present invention. The cluster deployment method provided by the embodiment of the invention comprises the following steps:
s110, determining N target servers according to M identification information corresponding to M servers in the operating system.
The servers are in one-to-one correspondence with the identification information, N target servers are at least part of the M servers, M is a positive integer greater than 1, and N is a positive integer less than or equal to M.
The operating system comprises M servers, each server corresponds to one piece of identification information, namely the operating system comprises M pieces of identification information, wherein the servers can be Kubernetes servers. It should be noted that the above identification information is used to characterize the state of the server, for example, whether the server is stained with stain data, and whether the server is in a working state.
In this step, the identification information corresponding to each server in the operating system may be obtained, and further, the target server is determined according to the identification information corresponding to each server, and how to determine the technical scheme of the target server is described in the following embodiments.
S120, reading the statement files stored in each target server.
In this step, after determining the target servers, the declaration file stored in each target server is read, and optionally, the declaration file may be a cluster deployment file yaml. Alternatively, the declaration file may be stored in a local database of the target server.
S130, executing the statement files stored by each target server, and controlling the N target servers to communicate with each other so as to establish a server cluster.
In this step, after reading the declaration file stored in each target server, the declaration file stored in the target server is executed for each target server. In this way, after the declaration files stored by the N target servers are executed, databases of the N target servers may communicate with each other, and the external service may not access the databases of the N target servers, thereby establishing a server cluster, where the server cluster includes the N target servers.
For ease of understanding, referring to fig. 3, in the application scenario shown in fig. 3, the servers 1, 2, and 3 are communicatively connected to each other, so as to form a server cluster.
The invention provides a cluster deployment method, a system, equipment and a storage medium, wherein the method comprises the following steps: according to M identification information corresponding to the M servers, N target servers are determined; the servers are in one-to-one correspondence with the identification information, N target servers are at least part of the M servers, M is a positive integer greater than 1, and N is a positive integer less than or equal to M; reading a statement file stored by each target server; executing the declaration file stored by each target server, and controlling N target servers to communicate with each other so as to establish a server cluster; the server cluster comprises N target servers. In the invention, a user can deploy a server cluster in the operating system only by setting the identification information and the statement file without compiling complex codes in the operating system, and the server cluster is composed of N target servers which are mutually communicated, so that the deployment efficiency of the server cluster is improved.
Optionally, before determining the N target servers according to the M identification information corresponding to the M servers, the method further includes:
acquiring stain data input by a user;
modifying the identification information of the server associated with the taint data into a target identification;
the determining N target servers according to the M identification information corresponding to the M servers includes:
m identification information corresponding to the M servers is read;
and determining the server of the identification information characterization target identification of the M servers as the target server.
In this embodiment, the user may input the taint data to the operating system by writing a code, and it should be understood that the taint data may be in the form of mysql-cluster, and each taint data is associated with one server, and it may be understood that each taint data includes an IP address of one server.
After the taint data is acquired, a server associated with the taint data, namely a target server, is determined by analyzing the taint data. And modifying the identification information of the server associated with the taint data into a target identification.
Further, M identification information corresponding to the M servers is read, and the servers of which the identification information represents the target identification are determined as target servers.
It should be noted that, after the identification information of the server is modified to the target identification, it can be understood that after the server is stained, other services are prohibited from being scheduled to the server.
Optionally, executing the declaration file stored by each target server, and controlling the N target servers to communicate with each other includes:
reading a communication interface, an IP protocol and a data routing path in the declaration file stored by each target server;
and controlling the N target servers to establish communication connection through the communication interface, the IP protocol and a data routing path.
It should be noted that, the above-mentioned declaration file may be used to declare a communication interface for communication between servers in a cluster, an IP protocol for communication interaction between servers, and a data routing path for data interaction between servers. In other embodiments, the declaration file may be used to declare information such as virtual IP, master-slave switching protocol, and data storage path in a cluster.
In this embodiment, after the declaration file stored in each target server is read, the declaration file is parsed to obtain a communication interface for each server to communicate, an IP protocol for communication interaction between servers, and a data routing path for data interaction between servers. Further, communication connection is established among the N target servers through the communication interface, the IP protocol and the data routing path so as to establish a server cluster.
Optionally, after executing the declaration file stored by each target server and controlling the N target servers to communicate with each other, the method further includes:
monitoring the number of application services for which each target server establishes communication connection;
and sending prompt information under the condition that the number of the application services is larger than or equal to a preset threshold value.
In this embodiment, after the server cluster is established, handles of each target server in the monitoring server cluster may be configured, so as to monitor the target servers, and prevent the excessive services connected to the target servers.
Specifically, a monitoring file may be written in the server cluster, and each target server is controlled to execute the monitoring file, where the monitoring file is used to monitor the number of application services that each target server establishes a communication connection.
An alternative embodiment is: and under the condition that the number of the application services is greater than or equal to a preset threshold value, sending prompt information to remind a developer of reducing the number of the services connected with the target server if the number of the application services is greater than or equal to the preset threshold value.
Another alternative embodiment is: in the case that the number of application services is greater than or equal to the preset threshold, the target server may be directly deactivated if the number of application services indicates that the target server is connected with too many services.
In this embodiment, by monitoring each target server, the excessive services connected to the target server are prevented, so that overload work of the server is avoided.
In addition, the embodiment of the invention further provides a cluster deployment system, referring to fig. 4, and fig. 4 is a schematic structural diagram of the cluster deployment system provided by the embodiment of the invention.
As shown in fig. 4, the cluster deployment system 200 includes:
a determining module 210, configured to determine N target servers according to M identification information corresponding to M servers in the operating system; the servers are in one-to-one correspondence with the identification information, the N target servers are at least part of the M servers, M is a positive integer greater than 1, and N is a positive integer less than or equal to M;
a reading module 220, configured to read the declaration file stored in each target server;
a control module 230, configured to execute the declaration file stored by each target server, and control the N target servers to communicate with each other, so as to establish a server cluster;
wherein the server cluster includes the N target servers.
Optionally, the cluster deployment system 200 further includes:
the acquisition module is used for acquiring stain data input by a user;
the modification module is used for modifying the identification information of the server associated with the stain data into a target identification;
the determining module is further configured to:
m identification information corresponding to the M servers is read;
and determining the server of the identification information characterization target identification of the M servers as the target server.
Optionally, the control module 230 is further configured to:
reading a communication interface, an IP protocol and a data routing path in the declaration file stored by each target server;
and controlling the N target servers to establish communication connection through the communication interface, the IP protocol and a data routing path.
Optionally, the cluster deployment system 200 further includes:
the monitoring module is used for monitoring the number of application services for establishing communication connection of each target server;
and the sending module is used for sending prompt information under the condition that the number of the application services is greater than or equal to a preset threshold value.
The cluster deployment system 200 is capable of implementing the processes of the method embodiment of fig. 2 in the embodiment of the present invention, and of achieving the same technical effects, and will not be repeated here.
In addition, the embodiment of the present invention further provides a computer readable storage medium, where a cluster deployment program is stored, where each step in the above-mentioned cluster deployment method is implemented when the cluster deployment program is executed by a processor, and is not repeated herein.
The specific embodiments of the computer readable storage medium of the present invention are substantially the same as the embodiments of the cluster deployment method described above, and will not be described herein.
The embodiment of the present invention further provides an electronic device, as shown in fig. 5, including a processor 310, a communication interface 320, a memory 330, and a communication bus 340, where the processor 310, the communication interface 320, and the memory 330 complete communication with each other through the communication bus 340.
Wherein the memory 330 is used for storing a computer program;
a processor 310, configured to determine N target servers according to M identification information corresponding to M servers in an operating system when the computer program is executed by the processor 310 when the computer program is executed by the program stored in the memory 330;
reading a statement file stored by each target server;
executing the declaration file stored by each target server, and controlling the N target servers to communicate with each other so as to establish a server cluster.
Wherein the computer program, when executed by the processor 310, is further configured to:
acquiring stain data input by a user;
modifying the identification information of the server associated with the taint data into a target identification;
m identification information corresponding to the M servers is read;
and determining the server of the identification information characterization target identification of the M servers as the target server.
Wherein the computer program, when executed by the processor 310, is further configured to:
reading a communication interface, an IP protocol and a data routing path in the declaration file stored by each target server;
and controlling the N target servers to establish communication connection through the communication interface, the IP protocol and a data routing path.
Wherein the computer program, when executed by the processor 310, is further configured to:
monitoring the number of application services for which each target server establishes communication connection;
and sending prompt information under the condition that the number of the application services is larger than or equal to a preset threshold value.
The communication bus mentioned by the above electronic device may be a peripheral component interconnect standard (Peripheral ComponentInterconnect, abbreviated as PCI) bus or an extended industry standard architecture (ExtendedIndustry StandardArchitecture, abbreviated as EISA) bus, or the like. The communication bus may be classified as an address bus, a data bus, a control bus, or the like. For ease of illustration, the figures are shown with only one bold line, but not with only one bus or one type of bus.
The communication interface is used for communication between the terminal and other devices.
The memory may include random access memory (RandomAccessMemory, RAM) or non-volatile memory (non-volatile memory), such as at least one disk memory. Optionally, the memory may also be at least one memory device located remotely from the aforementioned processor.
The processor may be a general-purpose processor, including a central processing unit (CentralProcessing Unit, CPU for short), a network processor (NetworkProcessor, NP), etc.; but also digital signal processors (DigitalSignalProcessing, DSP), application specific integrated circuits (application specific IntegratedCircuit, ASIC), field programmable gate arrays (Field-ProgrammableGateArray, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.

Claims (10)

1. A cluster deployment method, comprising:
according to M identification information corresponding to M servers in an operating system, N target servers are determined; the servers are in one-to-one correspondence with the identification information, the N target servers are at least part of the M servers, M is a positive integer greater than 1, and N is a positive integer less than or equal to M;
reading a statement file stored by each target server;
executing the declaration file stored by each target server, and controlling the N target servers to communicate with each other so as to establish a server cluster;
wherein the server cluster includes the N target servers.
2. The method according to claim 1, wherein before determining N target servers according to M identification information corresponding to M servers, the method further comprises:
acquiring stain data input by a user;
modifying the identification information of the server associated with the taint data into a target identification;
the determining N target servers according to the M identification information corresponding to the M servers includes:
m identification information corresponding to the M servers is read;
and determining the server of the identification information characterization target identification of the M servers as the target server.
3. The method of claim 1, wherein said executing said declaration file stored by each target server, controlling said N target servers to communicate with each other comprises:
reading a communication interface, an IP protocol and a data routing path in the declaration file stored by each target server;
and controlling the N target servers to establish communication connection through the communication interface, the IP protocol and a data routing path.
4. The method of claim 1, wherein after executing the declaration file stored by each of the target servers and controlling the N target servers to communicate with each other, the method further comprises:
monitoring the number of application services for which each target server establishes communication connection;
and sending prompt information under the condition that the number of the application services is larger than or equal to a preset threshold value.
5. A cluster deployment system, comprising:
the determining module is used for determining N target servers according to M identification information corresponding to M servers in the operating system; the servers are in one-to-one correspondence with the identification information, the N target servers are at least part of the M servers, M is a positive integer greater than 1, and N is a positive integer less than or equal to M;
the reading module is used for reading the statement files stored by each target server;
the control module is used for executing the declaration file stored by each target server and controlling the N target servers to communicate with each other so as to establish a server cluster;
wherein the server cluster includes the N target servers.
6. The system of claim 5, wherein the system further comprises:
the acquisition module is used for acquiring stain data input by a user;
the modification module is used for modifying the identification information of the server associated with the stain data into a target identification;
the determining module is further configured to:
m identification information corresponding to the M servers is read;
and determining the server of the identification information characterization target identification of the M servers as the target server.
7. The system of claim 5, wherein the control module is further configured to:
reading a communication interface, an IP protocol and a data routing path in the declaration file stored by each target server;
and controlling the N target servers to establish communication connection through the communication interface, the IP protocol and a data routing path.
8. The system of claim 5, wherein the system further comprises:
the monitoring module is used for monitoring the number of application services for establishing communication connection of each target server;
and the sending module is used for sending prompt information under the condition that the number of the application services is greater than or equal to a preset threshold value.
9. An electronic device comprising a memory, a processor and a program or instructions stored on the memory and executable on the processor, wherein the processor performs the steps of the cluster deployment method of any one of claims 1 to 4 when the program or instructions are executed.
10. A readable storage medium having stored thereon a program or instructions which when executed by a processor realizes the steps of the cluster deployment method according to any of claims 1 to 4.
CN202211728386.9A 2022-12-30 2022-12-30 Cluster deployment method, system, equipment and storage medium Pending CN116192622A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211728386.9A CN116192622A (en) 2022-12-30 2022-12-30 Cluster deployment method, system, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211728386.9A CN116192622A (en) 2022-12-30 2022-12-30 Cluster deployment method, system, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116192622A true CN116192622A (en) 2023-05-30

Family

ID=86443591

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211728386.9A Pending CN116192622A (en) 2022-12-30 2022-12-30 Cluster deployment method, system, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116192622A (en)

Similar Documents

Publication Publication Date Title
CN105302722B (en) CTS automatic testing method and device
CN110308880B (en) Log printing method, system, computer device and computer readable storage medium
CN112035344A (en) Multi-scenario test method, device, equipment and computer readable storage medium
CN113704117A (en) Algorithm testing system, method and device
CN111061448A (en) Log information display method and device, electronic equipment and storage medium
CN111722857A (en) Updating method and device of software development kit, electronic equipment and storage medium
CN116192622A (en) Cluster deployment method, system, equipment and storage medium
CN112965760A (en) Method and device for modifying root directory, electronic equipment and readable storage medium
CN116938739A (en) Data processing method, device, equipment and storage medium
CN109951549B (en) Network page access method and device and computer readable storage medium
CN116450165A (en) Method, system, terminal and storage medium for quickly building environment and deploying program
CN107704279B (en) Data loading method and device
CN116340092A (en) Security monitoring method, device, equipment and medium for software development kit
CN113126982B (en) Application program generation and operation method and device
CN111078571B (en) Test method for analog response, terminal equipment and computer readable storage medium
JP7230951B2 (en) Mobile terminal, information processing system, control method, and program
CN109993406B (en) Information processing method and device
CN109462423B (en) Method, device, equipment and medium for checking data transmission unit
CN112035127B (en) Method and device for installing application, vehicle, storage medium and electronic equipment
CN111428234A (en) Application program process interception method, terminal and storage medium
CN113515299A (en) Software development kit SDK hot upgrading method, device, equipment and storage medium
CN113342553A (en) Data acquisition method and device, electronic equipment and storage medium
CN111708562B (en) Fan control board, upgrading method, device and equipment thereof and computer storage medium
CN111984341B (en) Project monitoring method and device, electronic equipment and storage medium
CN112859753B (en) Secondary development method, device and equipment for numerical control system and readable 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