CN112866388A - Server cluster control method and device, storage medium and electronic equipment - Google Patents

Server cluster control method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN112866388A
CN112866388A CN202110077838.0A CN202110077838A CN112866388A CN 112866388 A CN112866388 A CN 112866388A CN 202110077838 A CN202110077838 A CN 202110077838A CN 112866388 A CN112866388 A CN 112866388A
Authority
CN
China
Prior art keywords
virtual terminal
server
control
instruction
virtual
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110077838.0A
Other languages
Chinese (zh)
Other versions
CN112866388B (en
Inventor
余泽希
刘一薇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network 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 Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN202110077838.0A priority Critical patent/CN112866388B/en
Publication of CN112866388A publication Critical patent/CN112866388A/en
Application granted granted Critical
Publication of CN112866388B publication Critical patent/CN112866388B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • 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/22Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks comprising specially adapted graphical user interfaces [GUI]
    • 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/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles

Abstract

The disclosure relates to the field of data processing, and in particular to a server cluster control method, a server cluster control device, a storage medium and an electronic device. The server cluster control method comprises the following steps: receiving a control instruction of a virtual terminal in the front end; the front end comprises a plurality of virtual terminals, and each virtual terminal corresponds to a server; when the virtual terminals are master control virtual terminals, broadcasting the control instruction to the server corresponding to each virtual terminal; and when the virtual terminal is a slave control virtual terminal, sending the control instruction to the server corresponding to the virtual terminal. The server cluster control method can simplify control of the server cluster, provide a lightweight, convenient and stable-performance server cluster control solution, improve control efficiency and reduce labor cost.

Description

Server cluster control method and device, storage medium and electronic equipment
Technical Field
The disclosure relates to the field of data processing, and in particular to a server cluster control method, a server cluster control device, a storage medium and an electronic device.
Background
In the system under the distributed architecture, each service is respectively deployed on a plurality of Linux servers, and the service deployed on the plurality of servers is called cluster service. The cluster service needs a plurality of servers, and if the service is deployed independently for server operation and maintenance, the workload is huge; in addition, when the server has a problem, the problem server is difficult to locate quickly, and the operation and maintenance efficiency is low.
In the prior art, Ploysh can be adopted to realize one-machine multi-control of the Linux terminal. Ploysh is an interactive instruction, and can process a batch of servers in batch on one server and operate the interactive instruction, so that the effect of controlling multiple devices through one device is achieved. However, this method has many drawbacks, such as: the third-party library Ploysh is required to be relied on; server ip lists need to be configured and ssh authorization files need to be configured on each server, and the steps are complex; when the interactive instruction data is large, the data format output by Ploysh is very disordered, and the like.
It is to be noted that the information disclosed in the above background section is only for enhancement of understanding of the background of the present disclosure, and thus may include information that does not constitute prior art known to those of ordinary skill in the art.
Disclosure of Invention
The present disclosure is directed to a server cluster control method, apparatus, storage medium, and electronic device, and aims to simplify control of a server cluster, provide a lightweight, convenient, and stable-performance server cluster control solution, improve control efficiency, and reduce labor cost.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows, or in part will be obvious from the description, or may be learned by practice of the disclosure.
According to an aspect of the embodiments of the present disclosure, there is provided a server cluster control method, including: receiving a control instruction sent by a virtual terminal in the front end; the front end comprises a plurality of virtual terminals, and each virtual terminal corresponds to a server; when the virtual terminals are master control virtual terminals, broadcasting the control instruction to the server corresponding to each virtual terminal; and when the virtual terminal is a slave control virtual terminal, sending the control instruction to the server corresponding to the slave control virtual terminal.
According to some embodiments of the present disclosure, based on the foregoing solution, the method further comprises: receiving execution data returned by the server corresponding to each virtual terminal or the server corresponding to the slave control virtual terminal executing the control instruction; and returning the execution data to each virtual terminal or the slave control virtual terminal.
According to some embodiments of the present disclosure, based on the foregoing scheme, the control instruction includes one or more of an edit instruction, an upload instruction, and a download instruction.
According to some embodiments of the present disclosure, based on the foregoing scheme, the control instruction is an upload instruction, and the virtual terminal is a master control virtual terminal; the method further comprises the following steps: and receiving a file to be uploaded sent by the main control virtual terminal, and broadcasting the uploading instruction to the server corresponding to each virtual terminal so that the server corresponding to each virtual terminal executes the uploading instruction.
According to some embodiments of the present disclosure, based on the foregoing scheme, the control instruction is a download instruction, and the virtual terminal is a master control virtual terminal; the method further comprises the following steps: and broadcasting the downloading instruction to the server corresponding to each virtual terminal so that at least one of the servers corresponding to each virtual terminal executes the downloading instruction.
According to some embodiments of the present disclosure, based on the foregoing solution, before the receiving a control instruction of a virtual terminal in the front end, the method further includes: the front end is configured with a plurality of virtual terminals and sends a connection request to a server so as to establish the connection between the server and each virtual terminal and a server corresponding to each virtual terminal; and after the connection is successful, the front end generates a server cluster control interactive interface and configures the master control virtual terminal and the slave control virtual terminal.
According to some embodiments of the present disclosure, based on the foregoing scheme, the configuring, by the front end, a plurality of the virtual terminals includes: the front end configuring the server in response to a configuration instruction; wherein the configuration instruction comprises one or more of a name, an IP address, a port, an operating system and a login credential; and configuring a plurality of virtual terminals by the front end according to the number of the servers.
According to some embodiments of the present disclosure, based on the foregoing solution, the server receiving the connection request, and establishing a connection with the virtual terminal and the server includes: the sending of the connection request to the server to establish the connection between the server and each of the virtual terminals and the server corresponding to each of the virtual terminals includes: and the server establishes connection with each virtual terminal according to the first connection mode and establishes connection with each server according to the second connection mode.
According to some embodiments of the present disclosure, based on the foregoing scheme, the configuring the master virtual terminal and the slave virtual terminal includes: the front end configures any virtual terminal as the master control virtual terminal, and configures virtual terminals except the master control virtual terminal as the slave control virtual terminal; or the front end responds to a master control virtual terminal switching instruction, configures a virtual terminal to be switched in the master control virtual terminal switching instruction as the master control virtual terminal, and configures an original master control virtual terminal as the slave control virtual terminal; and sending the configuration result to the server.
According to some embodiments of the present disclosure, based on the foregoing solution, the server cluster control interactive interface includes one or more of a virtual terminal list module, a control instruction editing module, a master control virtual terminal switching module, and a virtual terminal execution preview module.
According to some embodiments of the present disclosure, based on the foregoing solution, after generating the server cluster control interactive interface, the method further includes: the front end responds to a server adding instruction, configures a corresponding newly-added virtual terminal for a newly-added server, and sends a connection adding request to the server, so that the server establishes connection with the newly-added virtual terminal according to the first connection mode and establishes connection with the newly-added server according to the second connection mode; or the front end responds to a server deletion instruction and sends a connection deletion request to the server so that the server deletes the connection relation between the virtual terminal to be deleted and the server to be deleted in the connection deletion request.
According to a second aspect of the embodiments of the present disclosure, there is provided a server cluster control apparatus, including: the receiving module is used for receiving a control instruction sent by a virtual terminal in the front end; the front end comprises a plurality of virtual terminals, and each virtual terminal corresponds to a server; the first forwarding module is used for broadcasting the control instruction to the server corresponding to each virtual terminal when the virtual terminal is a master control virtual terminal; and the second forwarding module is used for sending the control instruction to the server corresponding to the slave control virtual terminal when the virtual terminal is the slave control virtual terminal.
According to a third aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium, on which a computer program is stored, which when executed by a processor, implements the server cluster control method as in any one of the above embodiments.
According to a third aspect of the embodiments of the present disclosure, there is provided an electronic apparatus, including: one or more processors; storage means for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement the server cluster control method as in any one of the above embodiments.
Exemplary embodiments of the present disclosure may have some or all of the following benefits:
in the technical solutions provided in some embodiments of the present disclosure, on one hand, the front end includes a plurality of virtual terminals, each virtual terminal corresponds to a server, so that the virtual terminals corresponding to the plurality of servers can be integrated into one front end for control, a configuration file is prevented from being separately deployed in each server by using a third party library, a configuration process before control is simplified, and the control is lighter and more convenient without depending on the third party library; on the other hand, the control instruction sent by the master control virtual terminal is received and then broadcasted to all the servers of the server cluster, and the control instruction sent by the slave control virtual terminal is received and then only sent to the server corresponding to the virtual terminal, so that accurate server cluster control is realized.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure. It is to be understood that the drawings in the following description are merely exemplary of the disclosure, and that other drawings may be derived from those drawings by one of ordinary skill in the art without the exercise of inventive faculty. In the drawings:
fig. 1 schematically illustrates a flow chart of a server cluster control method in an exemplary embodiment of the present disclosure;
fig. 2 schematically illustrates a system structure diagram of a server cluster control in an exemplary embodiment of the disclosure;
FIG. 3 schematically illustrates a flow diagram of a method of constructing a server cluster control system in an exemplary embodiment of the disclosure;
FIG. 4 is a schematic diagram illustrating an interactive interface of a configuration server in an exemplary embodiment of the present disclosure;
fig. 5 schematically illustrates a composition diagram of a server cluster control apparatus in an exemplary embodiment of the disclosure;
FIG. 6 schematically illustrates a schematic diagram of a computer-readable storage medium in an exemplary embodiment of the disclosure;
fig. 7 schematically shows a structural diagram of a computer system of an electronic device in an exemplary embodiment of the disclosure.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art.
Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the disclosure. One skilled in the relevant art will recognize, however, that the subject matter of the present disclosure can be practiced without one or more of the specific details, or with other methods, components, devices, steps, and so forth. In other instances, well-known methods, devices, implementations, or operations have not been shown or described in detail to avoid obscuring aspects of the disclosure.
The block diagrams shown in the figures are functional entities only and do not necessarily correspond to physically separate entities. I.e. these functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor means and/or microcontroller means.
The flow charts shown in the drawings are merely illustrative and do not necessarily include all of the contents and operations/steps, nor do they necessarily have to be performed in the order described. For example, some operations/steps may be decomposed, and some operations/steps may be combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.
In a system under a distributed architecture, each service is respectively deployed on a plurality of servers, and some services even need to be deployed in a manner of multiple machine rooms, and such services deployed on the multiple servers are called cluster services. These cluster services require few servers, many require hundreds or even thousands of servers, and if the operation and maintenance personnel deploy services individually on each server, the workload is obviously enormous, and if there is a problem with the services, it is impractical for the operation and maintenance personnel to check the problem on each server.
In the existing one-machine multi-control scheme based on the Linux terminal, Ploysh is mainly used. The Polysh is an interactive command, and can process a batch of servers in batch on one server and operate the interactive command, so that the effect of controlling multiple devices through one device is realized. The specific use flow is as follows:
1. installing python on a server, and then installing the hash;
2. creating a configuration file of an ip list on the server, configuring the ip lists of all servers to be logged in, and then writing a login script login.sh, wherein the login script is, for example, a hash-files-host-list-ssh-exec ssh-p 22-i-ssh/id-rsa', wherein the host.list is the ip list of the servers to be logged in;
3. generating a key and a public key of the cost machine on the server through ssh-keygen-t rsa, and then configuring the generated public key into other server authorization files needing to be logged in, wherein password-free access is needed among the servers;
4. sh, the server can log in to all servers at the same time by running the login script logic.
The use of Ploysh for one-machine multi-control of Linux terminals has a number of drawbacks, such as: a third-party library is required to be relied on, and a server is required to be installed with python in advance; the configuration is complicated, ssh authorization files need to be configured on each server, server ip lists need to be configured, and login scripts need to be compiled; when a certain interactive command outputs more data, the data format output by Ploysh is very disordered, and when a plurality of servers exist, the data is very inconvenient to view; when one interactive command affects the performance of the server, all the servers are affected; the main control computer cannot be freely switched, and when the main control computer needs to be switched, the main control computer needs to be redeployed once according to the step 2; dynamic addition or deletion of servers is not supported because login.sh needs to be rerun after host.list configuration files are modified; file downloading from the terminal is not supported; the editing function of the file is supported badly, such as vim instruction, and all formats are disordered; the method does not support mixed use of multiple authentication modes (such as SSH authentication and account password authentication); polysh has own special instruction, and needs to use the special instruction when performing some special operations (such as uploading files, renaming, reconnecting and the like), so that native instructions of Linux cannot be used, and the learning cost of a user is additionally increased.
In view of the problems in the prior art, the present disclosure provides a server cluster control method, which aims to simplify the control of a server cluster, provide a lightweight, convenient, and stable-performance server cluster control solution, improve the control efficiency, and reduce the labor cost.
Implementation details of the technical solution of the embodiments of the present disclosure are set forth in detail below.
Fig. 1 schematically illustrates a flow chart of a server cluster control method in an exemplary embodiment of the present disclosure. As shown in fig. 1, the server cluster control method includes steps S11 to S13:
step S11, receiving a control command sent by a virtual terminal in the front end; the front end comprises a plurality of virtual terminals, and each virtual terminal corresponds to a server;
step S12, when the virtual terminal is a master control virtual terminal, broadcasting the control instruction to the server corresponding to each virtual terminal;
and step S13, when the virtual terminal is a slave control virtual terminal, sending the control instruction to the server corresponding to the slave control virtual terminal.
Hereinafter, each step of the information recall method in the present exemplary embodiment will be described in more detail with reference to the drawings and examples.
Fig. 2 schematically illustrates a system structure diagram of server cluster control in an exemplary embodiment of the present disclosure. As shown in fig. 2, the server cluster control method is applied to a server cluster control system, which may include a front end 21, a server 22, a plurality of connectors 23, and a plurality of servers 24.
The front end 21 may be configured to interact with a user, generate a server cluster control interaction interface, configure a master control virtual terminal and a slave control virtual terminal, receive a control instruction, switch the master control virtual terminal, perform data presentation, and the like, and the front end includes a plurality of virtual terminals 211.
The server 22 may be configured to establish a connection with each virtual terminal of the front end and a server through a connector, forward a control instruction of the front end to a broadcast or send to a corresponding server, and also obtain execution data returned by the server from the connector and forward the execution data to the front end.
The plurality of connectors 23 may be used to maintain a long connection with the server while also forwarding data of the server to the server and forwarding execution data returned by the server to the server.
Multiple servers 24 may be used to execute control instructions and return execution data.
Before step S11, the method further includes: and a server cluster control system is constructed in advance. Fig. 3 schematically shows a flowchart of a method for constructing a server cluster control system in an exemplary embodiment of the present disclosure, and as shown in fig. 3, constructing a server cluster control system mainly includes the following steps:
step S31, the front end configures a plurality of virtual terminals and sends a connection request to a server to establish a connection between the server and each of the virtual terminals and a server corresponding to each of the virtual terminals;
and step S32, after the connection is successful, the front end generates a server cluster control interactive interface and configures the master control virtual terminal and the slave control virtual terminals.
Next, the flow chart shown in fig. 3 will be explained in detail:
in step S31, the front end configures a plurality of virtual terminals and sends a connection request to a server to establish a connection between the server and each of the virtual terminals and a server corresponding to each of the virtual terminals.
In an embodiment of the present disclosure, a specific process of configuring a plurality of virtual terminals by a front end is as follows:
s311, the front end responds to a configuration instruction to configure the server; wherein the configuration instruction comprises one or more of a name, an IP address, a port, an operating system, and a login credential.
In one embodiment of the disclosure, a user may perform configuration operation in a server configuration interface popped up by a front end, and the front end generates a corresponding configuration instruction according to the configuration operation for configuring a server.
The configuration instruction may include one or more of a name of the configuration server, an IP address, a port, an operating system, a login credential, and the like. Specifically, the operating system may be Linux or windows. In addition, before establishing communication with the server, the server generally needs to be operated through a login credential in consideration of the operation security of the server, and the login credential may be account password authentication, SSH authentication, or key or public key authentication. The servers can also be grouped in advance, for example, according to functions, according to memories, and the like, and the servers can also be grouped in the configuration server, so as to facilitate the management of the servers.
Fig. 4 schematically illustrates an interaction interface diagram of a configuration server in an exemplary embodiment of the present disclosure, and as shown in fig. 4, a user may configure the server in a server configuration interface, including configuration name, IP address, port, operating system, packet, and login credentials.
Based on the method, the servers are uniformly configured through the front end to generate the virtual terminals, so that operations of installing a third-party library, newly building a configuration file, creating an authorization text, writing a login script and the like in each server can be avoided, steps and contents of configuring the servers are simplified, and the server cluster control method is lighter and more convenient. In addition, after the configuration is successful, the servers of different login credentials can be mixed, cluster control on the servers of the same login credential is avoided, and the control efficiency is higher.
S312, according to the number of the servers, the front end configures a plurality of virtual terminals.
In an embodiment of the present disclosure, a user may select a batch of configured servers as an object for server cluster control, and the front end uses xterm.
In an embodiment of the present disclosure, after configuring a virtual terminal, a front end sends a connection request to a server to establish a connection between the server and each of the virtual terminals and a server corresponding to each of the virtual terminals, including: and the server establishes connection with each virtual terminal according to the first connection mode and establishes connection with each server according to the second connection mode.
The first connection mode may be to establish a websocket connection, and the second connection mode may be to establish an ssh (secure shell) long connection through a connector.
Specifically, the server receives a connection request of the front end, establishes a websocket connection with each virtual terminal in the front end, and establishes an SSH long connection with each server in the server cluster through a connector, where the connector may be implemented based on a paramiko library of python.
After the connection is established, the server can establish a virtual set, which can also be regarded as a room, and the server adds all virtual terminals in the front end into the same room. In the room, if the server receives the control instruction sent by the master control virtual terminal, the server broadcasts the control instruction to all the virtual terminals in the room; and if the server receives the control instruction sent by the slave control virtual terminal, the server does not broadcast. The master control virtual terminal and the slave control virtual terminal can be automatically distinguished in the room, and if the user switches the master control virtual terminal at the front end, the room can be automatically sensed.
In addition, the server side can also establish a plurality of virtual sets according to requirements, and each virtual set corresponds to one server cluster and is used for controlling different server clusters.
In step S32, after the connection is successful, the front end generates a server cluster control interaction interface, and configures the master virtual terminal and the slave virtual terminal.
In one embodiment of the disclosure, the server cluster control interactive interface is used for interacting with a user and includes one or more of a virtual terminal list module, a control instruction editing module, a main control virtual terminal switching module, and a virtual terminal execution preview module. The server cluster control interactive interface generated by the front end can be displayed on one front end or a plurality of front ends.
Specifically, the virtual terminals in the virtual terminal list module correspond to servers, so that a server list can be checked, the servers can be added or deleted, and the servers can be started from the list and the configuration information of the servers can be edited; the control instruction editing module can be used for inputting a control instruction by a user to perform server cluster control; the master control virtual terminal switching module is used for displaying the current master control virtual terminal and the current slave control virtual terminal and can realize switching the slave control virtual terminal to the master control virtual terminal; the virtual terminal execution preview module is used for displaying the process of executing the control instruction by the server corresponding to the virtual terminal.
In an embodiment of the present disclosure, there may be two configuration modes when configuring the master virtual terminal and the slave virtual terminal, the first is system default, and the second is user switching.
For the default condition of the system, the front end configures any virtual terminal as a master virtual terminal, and configures the virtual terminals except the master virtual terminal as slave virtual terminals.
For example, in step S312, the user selects a batch of servers, and the virtual terminal corresponding to the first server selected by the user may be configured as a master virtual terminal, and the other virtual terminals may be configured as slave virtual terminals. As shown in fig. 2, the first "virtual terminal 1" is set as a master virtual terminal, and the other terminals are set as slave virtual terminals.
For the user switching situation, the front end responds to the main control virtual terminal switching instruction, configures the virtual terminal to be switched in the main control virtual terminal switching instruction as a main control virtual terminal, and configures the original main control virtual terminal as a slave control virtual terminal.
Specifically, the generated server cluster control interactive interface comprises a master control virtual terminal switching module, wherein a switching button set as a master control machine is arranged, a user can select a slave control virtual terminal to be switched, click the switching button, the front end can generate a corresponding switching instruction, the virtual terminal to be switched in the switching instruction is set as the master control virtual terminal, the original master control virtual terminal is switched to the slave control virtual terminal, and the configuration of the master control virtual terminal and the slave control virtual terminal is completed.
Based on the method, according to the server cluster control method provided by the disclosure, the user can freely switch the master control virtual terminal by clicking the switching button, and the operation is more convenient.
In one embodiment of the present disclosure, after generating the server cluster control interactive interface, the method further comprises: add servers or delete servers.
Specifically, when a server is added, the specific steps are as follows: the front end responds to the server adding instruction, configures a corresponding newly-added virtual terminal for the newly-added server, and sends a connection adding request to the server, so that the server establishes connection with the newly-added virtual terminal according to the first connection mode and establishes connection with the newly-added server according to the second connection mode.
Similar to step S32, when adding a server, the front end first needs to generate a corresponding virtual terminal according to the server, and then sends an add connection request to the server; and the server adds and connects with the newly added virtual terminal websocket according to the connection request, and adds and establishes SSH long connection with the newly added server through the connector, thereby completing server addition.
When the server is deleted, the specific steps are as follows: the front end responds to the server deletion instruction and sends a connection deletion request to the server so that the server deletes the connection relation between the server and the virtual terminal to be deleted and the server to be deleted in the connection deletion request.
When the server is deleted, only the virtual terminal to be deleted and the server to be deleted corresponding to the deletion instruction need to be determined, and then the server is connected with the websocket of the virtual terminal to be deleted and is long-connected and deleted with the SSH of the server to be deleted, so that the server is deleted.
Based on the method, the server cluster control method provided by the disclosure supports dynamic addition or deletion of servers without reconstructing the connection of the servers, avoids the process of re-running logic.sh after modifying the host.list configuration file, and has good expandability.
In step S11, a control command sent by a virtual terminal in the front end is received; the front end comprises a plurality of virtual terminals, and each virtual terminal corresponds to one server.
In an embodiment of the present disclosure, the front end includes a plurality of front ends, and each front end is configured with a virtual terminal and the server. That is, each server corresponds to a virtual terminal, and a plurality of virtual terminals are controlled in a front end, which may be the front end of any server. Therefore, the server cluster control interactive interface generated by the front end can be displayed in the front end of one server, and can also be displayed in the front ends of all the servers.
In one embodiment of the present disclosure, the control instruction may be input by a user at the server cluster control interactive interface. The control instructions may be one or more of editing instructions, uploading instructions, or downloading instructions.
Specifically, the editing instructions may be vim instructions, such as rename, reconnect, and the like; the upload instruction may be a rz instruction, such as uploading a file from local; the download instruction may be a sz instruction, such as downloading a file locally from a server.
Based on the method, in the server cluster control method provided by the disclosure, no matter the instruction is vim, rz or sz, the control instruction is the native instruction of the Linux system, and is not the special instruction developed by the server cluster control system, so that the extra learning cost of a user is avoided.
In an embodiment of the disclosure, the front end sends a control instruction corresponding to the virtual terminal to a "room" of the server through the websocket connection between the virtual terminal and the server, and the server identifies whether the type of the virtual terminal is a master control virtual terminal or a slave control virtual terminal through an identifier in the websocket connection.
If the virtual terminal is the master virtual terminal, step S12 is executed to broadcast the control command to the server corresponding to each virtual terminal.
Specifically, the server broadcasts the control instruction to all virtual terminals in the "room" by using a message broadcasting mechanism, including the master control virtual terminal and the slave control virtual terminal, and then each virtual terminal in the "room" calls a respective connector and forwards the control instruction to the corresponding server through the SSH long connection.
Or after receiving the control instruction of the master control virtual terminal, calling the connector of the master control virtual terminal, sending the control instruction to the server corresponding to the master control virtual terminal through SSH long connection, and broadcasting the control instruction to other slave control virtual terminals except the master control virtual terminal in a room, so that the slave control virtual terminals call the respective connectors, and respectively forward the control instruction to the servers corresponding to the slave control virtual terminals through SSH long connection.
If the virtual terminal is a slave control virtual terminal, step S13 is executed to send the control command to the server corresponding to the slave control virtual terminal.
Specifically, the server calls the received control command to the connector corresponding to the slave virtual terminal, and sends the control command to the corresponding server through the SSH long connection.
In an embodiment of the present disclosure, after the server receives the control instruction, the method further includes: receiving execution data returned by the server corresponding to each virtual terminal or the server corresponding to the slave control virtual terminal executing the control instruction; and returning the execution data to each virtual terminal or the slave control virtual terminal.
Specifically, after the server executes the received control instruction, the server forwards the execution data generated by executing the control instruction to the room of the server through the connector of the server, and the room of the server returns the execution data to the virtual terminals of the front end through the websocket connection of the server.
Based on the method, the server cluster control method provided by the disclosure can forward the execution data to the virtual terminals for display through respective connection, the execution conditions of the virtual terminals are displayed without mutual interference, the problem that the terminal is in disorder display during file editing is solved, the data display is clear, and the user can conveniently check the data.
Meanwhile, the control system only forwards the control instruction to the corresponding server without processing the control instruction, and if the executed control instruction is a complex instruction with relatively high performance, the control system does not influence the whole server cluster control system.
In an embodiment of the present disclosure, the control instruction is an upload instruction, and the virtual terminal is a master control virtual terminal; the method further comprises the following steps: and receiving a file to be uploaded sent by the main control virtual terminal, and broadcasting the uploading instruction to the server corresponding to each virtual terminal so that the server corresponding to each virtual terminal executes the uploading instruction.
Specifically, after the front end receives an upload instruction of a user, the server cluster control interactive interface pops up a window for uploading a file, the user selects the file in the window to upload, and the front end configures the uploaded file as a file to be uploaded of the server cluster and is used for controlling the server cluster to upload the file to be uploaded to each server in the server cluster from the local.
Since the virtual terminal for uploading files by the user is the main control virtual terminal, the server side broadcasts the uploading instruction to all servers. And then, the server configures all servers to execute the uploading instruction, namely all servers execute the operation of uploading the file, and the file to be uploaded is uploaded to all servers from the local.
In an embodiment of the disclosure, if the control instruction is an upload instruction, when the virtual terminal is a slave control virtual terminal, the file to be uploaded sent by the front end is received, and the upload instruction is sent to a server corresponding to the virtual terminal.
Similarly, after receiving an upload instruction of a user, the front end pops up a window for uploading a file to receive the file to be uploaded, and since the virtual terminal for uploading the file by the user is the slave control virtual terminal, the server only sends the upload instruction to the server corresponding to the virtual terminal. Then, the server executes the operation of uploading the file, and the file to be uploaded is uploaded to the server from the local.
In an embodiment of the present disclosure, the control instruction is a download instruction, and the virtual terminal is a master control virtual terminal; the method further comprises the following steps: and broadcasting the downloading instruction to the server corresponding to each virtual terminal so that at least one of the servers corresponding to each virtual terminal executes the downloading instruction.
Specifically, since the virtual terminal that downloads the instruction is the master virtual terminal, the server may broadcast the download instruction to all servers, so that at least one of the servers executes the download instruction.
It should be noted that, in order to avoid repeated local downloading, the server may configure only one server to execute the downloading instruction, that is, only once download the file from each server of the server cluster and store the file in the local server.
In an embodiment of the present disclosure, if the control instruction is a download instruction, when the virtual terminal is a slave control virtual terminal, the download instruction is sent to a server corresponding to the slave control virtual terminal, so as to execute the download instruction.
Therefore, if an rz upload file instruction is input into the master control virtual terminal, the file is automatically uploaded to all servers; if an rz upload file command is inputted into the slave control virtual terminal, the file is uploaded only to the server of the slave control virtual terminal. And no matter the sz download file instruction is input in the master control virtual terminal or the slave control virtual terminal, the sz download file instruction can be downloaded only once, so that the problem that each server repeatedly downloads a plurality of local same files after the download file instruction of the master control virtual terminal is broadcasted is avoided.
Based on the method, the server cluster control method provided by the disclosure supports the simultaneous uploading and downloading of files to and from multiple servers, and can avoid the repeated downloading of the same file to the local.
Fig. 5 schematically illustrates a composition diagram of a server cluster control apparatus in an exemplary embodiment of the disclosure, and as shown in fig. 5, the server cluster control apparatus 500 may include a receiving module 501, a first forwarding module 502, and a second forwarding module 503. Wherein:
a receiving module 501, configured to receive a control instruction sent by a virtual terminal in the front end; the front end comprises a plurality of virtual terminals, and each virtual terminal corresponds to a server;
a first forwarding module 502, configured to broadcast the control instruction to the servers corresponding to the virtual terminals when the virtual terminals are master control virtual terminals;
a second forwarding module 503, configured to send the control instruction to the server corresponding to the slave control virtual terminal when the virtual terminal is the slave control virtual terminal.
According to an exemplary embodiment of the present disclosure, the server cluster control apparatus 500 further includes an execution module (not shown in the figure), configured to receive execution data returned by the server corresponding to each of the virtual terminals or the server corresponding to the slave virtual terminal executing the control instruction; and returning the execution data to each virtual terminal or the slave control virtual terminal.
According to an exemplary embodiment of the present disclosure, the control instruction includes one or more of an edit instruction, an upload instruction, and a download instruction.
According to an exemplary embodiment of the present disclosure, the control instruction is an upload instruction, and the virtual terminal is a master control virtual terminal; the method further comprises the following steps: and receiving a file to be uploaded sent by the main control virtual terminal, and broadcasting the uploading instruction to the server corresponding to each virtual terminal so that the server corresponding to each virtual terminal executes the uploading instruction.
According to an exemplary embodiment of the present disclosure, the control instruction is a download instruction, and the virtual terminal is a master control virtual terminal; the method further comprises the following steps: and broadcasting the downloading instruction to the server corresponding to each virtual terminal so that at least one of the servers corresponding to each virtual terminal executes the downloading instruction.
According to an exemplary embodiment of the present disclosure, the server cluster control apparatus 500 further includes a configuration virtual terminal module and a generation interface module (not shown in the figure), where the configuration virtual terminal module is used for the front end to configure a plurality of virtual terminals, and send a connection request to a server, so as to establish a connection between the server and each of the virtual terminals and a server corresponding to each of the virtual terminals; and the interface generating module is used for generating a server cluster control interactive interface and configuring the master control virtual terminal and the slave control virtual terminal after the connection is successful.
According to an exemplary embodiment of the present disclosure, the configuration virtual terminal module includes a configuration server unit and a configuration virtual terminal unit. The configuration server unit is used for responding to a configuration instruction by the front end to configure the server; wherein the configuration instruction comprises one or more of a name, an IP address, a port, an operating system and a login credential; and the configuration virtual terminal unit is used for configuring a plurality of virtual terminals at the front end according to the number of the servers.
According to an exemplary embodiment of the present disclosure, the connection establishing module includes a connection unit, configured to establish, by the server, a connection with each of the virtual terminals according to a first connection mode, and establish a connection with each of the servers according to a second connection mode.
According to an exemplary embodiment of the present disclosure, the interface generation module includes a configuration unit, configured to configure any one of the virtual terminals as the master virtual terminal and configure virtual terminals other than the master virtual terminal as the slave virtual terminal by the front end; or the front end responds to a master control virtual terminal switching instruction, configures a virtual terminal to be switched in the master control virtual terminal switching instruction as the master control virtual terminal, and configures an original master control virtual terminal as the slave control virtual terminal; and sending the configuration result to the server.
According to an exemplary embodiment of the disclosure, the server cluster control interactive interface includes one or more of a virtual terminal list module, a control instruction editing module, a main control virtual terminal switching module, and a virtual terminal execution preview module.
According to an exemplary embodiment of the disclosure, the server cluster control apparatus 500 further includes a server editing module (not shown in the figure), configured to, by the front end, respond to a server adding instruction, configure a corresponding new virtual terminal for a new server, and send an adding connection request to the server, so that the server establishes a connection with the new virtual terminal according to the first connection mode, and establishes a connection with the new server according to the second connection mode; or the front end responds to a server deletion instruction and sends a connection deletion request to the server so that the server deletes the connection relation between the virtual terminal to be deleted and the server to be deleted in the connection deletion request.
According to an exemplary embodiment of the present disclosure, the front end includes a plurality of front ends, and each front end is configured with one virtual terminal and one server; the method further comprises the following steps: and displaying the server cluster control interactive interface at each front end.
The details of each module in the server cluster control apparatus 500 are already described in detail in the corresponding information recall method, and therefore are not described herein again.
It should be noted that although in the above detailed description several modules or units of the device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
In an exemplary embodiment of the present disclosure, there is also provided a storage medium capable of implementing the above-described method. Fig. 6 schematically illustrates a schematic diagram of a computer-readable storage medium in an exemplary embodiment of the disclosure, and as shown in fig. 6, a program product 600 for implementing the above method according to an embodiment of the disclosure is described, which may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a mobile phone. However, the program product of the present disclosure is not limited thereto, and in this document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
In an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above method is also provided. Fig. 7 schematically shows a structural diagram of a computer system of an electronic device in an exemplary embodiment of the disclosure.
It should be noted that the computer system 700 of the electronic device shown in fig. 7 is only an example, and should not bring any limitation to the functions and the scope of the application of the embodiments of the present disclosure.
As shown in fig. 7, the computer system 700 includes a Central Processing Unit (CPU)701, which can perform various appropriate actions and processes according to a program stored in a Read-Only Memory (ROM) 702 or a program loaded from a storage section 708 into a Random Access Memory (RAM) 703. In the RAM 703, various programs and data necessary for system operation are also stored. The CPU 701, the ROM702, and the RAM 703 are connected to each other via a bus 704. An Input/Output (I/O) interface 705 is also connected to the bus 704.
The following components are connected to the I/O interface 705: an input portion 706 including a keyboard, a mouse, and the like; an output section 707 including a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and a speaker; a storage section 708 including a hard disk and the like; and a communication section 709 including a Network interface card such as a LAN (Local Area Network) card, a modem, or the like. The communication section 709 performs communication processing via a network such as the internet. A drive 710 is also connected to the I/O interface 705 as needed. A removable medium 711 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 710 as necessary, so that a computer program read out therefrom is mounted into the storage section 708 as necessary.
In particular, the processes described below with reference to the flowcharts may be implemented as computer software programs, according to embodiments of the present disclosure. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program can be downloaded and installed from a network through the communication section 709, and/or installed from the removable medium 711. The computer program, when executed by a Central Processing Unit (CPU)701, performs various functions defined in the system of the present disclosure.
It should be noted that the computer readable medium shown in the embodiments of the present disclosure may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a Read-Only Memory (ROM), an Erasable Programmable Read-Only Memory (EPROM), a flash Memory, an optical fiber, a portable Compact Disc Read-Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer-readable signal medium may include a propagated data signal with computer-readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software, or may be implemented by hardware, and the described units may also be disposed in a processor. Wherein the names of the elements do not in some way constitute a limitation on the elements themselves.
As another aspect, the present disclosure also provides a computer-readable medium, which may be contained in the electronic device described in the above embodiments; or may exist separately without being assembled into the electronic device. The computer readable medium carries one or more programs which, when executed by an electronic device, cause the electronic device to implement the method described in the above embodiments.
It should be noted that although in the above detailed description several modules or units of the device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, a touch terminal, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (14)

1. A server cluster control method, comprising:
receiving a control instruction sent by a virtual terminal in the front end; the front end comprises a plurality of virtual terminals, and each virtual terminal corresponds to a server;
when the virtual terminals are master control virtual terminals, broadcasting the control instruction to the server corresponding to each virtual terminal;
and when the virtual terminal is a slave control virtual terminal, sending the control instruction to the server corresponding to the slave control virtual terminal.
2. The server cluster control method of claim 1, further comprising:
receiving execution data returned by the server corresponding to each virtual terminal or the server corresponding to the slave control virtual terminal executing the control instruction;
and returning the execution data to each virtual terminal or the slave control virtual terminal.
3. The server cluster control method of claim 1, wherein the control instructions comprise one or more of editing instructions, uploading instructions, and downloading instructions.
4. The server cluster control method according to claim 3, wherein the control instruction is an upload instruction, and the virtual terminal is a master virtual terminal; the method further comprises the following steps:
and receiving a file to be uploaded sent by the main control virtual terminal, and broadcasting the uploading instruction to the server corresponding to each virtual terminal so that the server corresponding to each virtual terminal executes the uploading instruction.
5. The server cluster control method according to claim 3, wherein the control instruction is a download instruction, and the virtual terminal is a master virtual terminal; the method further comprises the following steps:
and broadcasting the downloading instruction to the server corresponding to each virtual terminal so that at least one of the servers corresponding to each virtual terminal executes the downloading instruction.
6. The server cluster control method of claim 1, wherein prior to receiving a control command for a virtual terminal in the front end, the method further comprises:
the front end is configured with a plurality of virtual terminals and sends a connection request to a server so as to establish the connection between the server and each virtual terminal and a server corresponding to each virtual terminal;
and after the connection is successful, the front end generates a server cluster control interactive interface and configures the master control virtual terminal and the slave control virtual terminal.
7. The server cluster control method of claim 6, wherein configuring a plurality of the virtual terminals by the front end comprises:
the front end configuring the server in response to a configuration instruction; wherein the configuration instruction comprises one or more of a name, an IP address, a port, an operating system and a login credential;
and configuring a plurality of virtual terminals by the front end according to the number of the servers.
8. The server cluster control method according to claim 6, wherein the sending a connection request to a server to establish a connection between the server and each of the virtual terminals and a server corresponding to each of the virtual terminals includes:
and the server establishes connection with each virtual terminal according to the first connection mode and establishes connection with each server according to the second connection mode.
9. The cluster control method according to claim 6, wherein the configuring the master virtual terminal and the slave virtual terminal comprises:
the front end configures any virtual terminal as the master control virtual terminal, and configures virtual terminals except the master control virtual terminal as the slave control virtual terminal; or
The front end responds to a master control virtual terminal switching instruction, configures a virtual terminal to be switched in the master control virtual terminal switching instruction as a master control virtual terminal, and configures an original master control virtual terminal as a slave control virtual terminal;
and sending the configuration result to the server.
10. The cluster control method according to claim 6, wherein the server cluster control interactive interface comprises one or more of a virtual terminal list module, a control instruction editing module, a main control virtual terminal switching module, and a virtual terminal execution preview module.
11. The cluster control method of claim 8, wherein after generating the server cluster control interaction interface, the method further comprises:
the front end responds to a server adding instruction, configures a corresponding newly-added virtual terminal for a newly-added server, and sends a connection adding request to the server, so that the server establishes connection with the newly-added virtual terminal according to the first connection mode and establishes connection with the newly-added server according to the second connection mode; or
The front end responds to a server deletion instruction and sends a connection deletion request to the server so that the server deletes the connection relation between the virtual terminal to be deleted and the server to be deleted in the connection deletion request.
12. A server cluster control apparatus, comprising:
the receiving module is used for receiving a control instruction sent by a virtual terminal in the front end; the front end comprises a plurality of virtual terminals, and each virtual terminal corresponds to a server;
the first forwarding module is used for broadcasting the control instruction to the server corresponding to each virtual terminal when the virtual terminal is a master control virtual terminal;
and the second forwarding module is used for sending the control instruction to the server corresponding to the slave control virtual terminal when the virtual terminal is the slave control virtual terminal.
13. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the server cluster control method according to any one of claims 1 to 11.
14. An electronic device, comprising:
one or more processors;
storage means for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement the server cluster control method of any one of claims 1 to 11.
CN202110077838.0A 2021-01-20 2021-01-20 Server cluster control method and device, storage medium and electronic equipment Active CN112866388B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110077838.0A CN112866388B (en) 2021-01-20 2021-01-20 Server cluster control method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110077838.0A CN112866388B (en) 2021-01-20 2021-01-20 Server cluster control method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN112866388A true CN112866388A (en) 2021-05-28
CN112866388B CN112866388B (en) 2022-11-04

Family

ID=76008268

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110077838.0A Active CN112866388B (en) 2021-01-20 2021-01-20 Server cluster control method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN112866388B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114510312A (en) * 2022-02-23 2022-05-17 光大科技有限公司 Visual implementation method and device for cluster master-slave node switching

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090216828A1 (en) * 2008-02-26 2009-08-27 Alexander Gebhart Transitioning from dynamic cluster management to virtualized cluster management
CN103414712A (en) * 2013-08-05 2013-11-27 深圳市杰云科技有限公司 Management system and method of distributed virtual desktop
US20140026231A1 (en) * 2012-07-20 2014-01-23 Ca, Inc. Self-generation of virtual machine security clusters
CN104509083A (en) * 2012-07-24 2015-04-08 日本电气株式会社 Communication system, method, and program
CN205721774U (en) * 2016-04-07 2016-11-23 深圳市特纳电子有限公司 A kind of multinuclear ARM cluster calculation server
CN109495306A (en) * 2018-11-27 2019-03-19 平安科技(深圳)有限公司 A kind of expansion method and equipment of business network
CN109936587A (en) * 2017-12-15 2019-06-25 北京京东尚科信息技术有限公司 Control method, control device, electronic equipment and storage medium
CN110231923A (en) * 2019-05-31 2019-09-13 浙江口碑网络技术有限公司 Data managing method and device
CN111045931A (en) * 2019-11-22 2020-04-21 腾讯科技(深圳)有限公司 Application program testing method, device, equipment and storage medium
CN111314114A (en) * 2020-01-19 2020-06-19 苏州浪潮智能科技有限公司 Deployment method and system for improving high availability of RabbitMQ

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090216828A1 (en) * 2008-02-26 2009-08-27 Alexander Gebhart Transitioning from dynamic cluster management to virtualized cluster management
US20140026231A1 (en) * 2012-07-20 2014-01-23 Ca, Inc. Self-generation of virtual machine security clusters
CN104509083A (en) * 2012-07-24 2015-04-08 日本电气株式会社 Communication system, method, and program
CN103414712A (en) * 2013-08-05 2013-11-27 深圳市杰云科技有限公司 Management system and method of distributed virtual desktop
CN205721774U (en) * 2016-04-07 2016-11-23 深圳市特纳电子有限公司 A kind of multinuclear ARM cluster calculation server
CN109936587A (en) * 2017-12-15 2019-06-25 北京京东尚科信息技术有限公司 Control method, control device, electronic equipment and storage medium
CN109495306A (en) * 2018-11-27 2019-03-19 平安科技(深圳)有限公司 A kind of expansion method and equipment of business network
CN110231923A (en) * 2019-05-31 2019-09-13 浙江口碑网络技术有限公司 Data managing method and device
CN111045931A (en) * 2019-11-22 2020-04-21 腾讯科技(深圳)有限公司 Application program testing method, device, equipment and storage medium
CN111314114A (en) * 2020-01-19 2020-06-19 苏州浪潮智能科技有限公司 Deployment method and system for improving high availability of RabbitMQ

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114510312A (en) * 2022-02-23 2022-05-17 光大科技有限公司 Visual implementation method and device for cluster master-slave node switching

Also Published As

Publication number Publication date
CN112866388B (en) 2022-11-04

Similar Documents

Publication Publication Date Title
US10560538B2 (en) Integrated user interface for consuming services across different distributed networks
US11290332B2 (en) System and method for modelling cloud networks for automation
CN109889381B (en) Automatic configuration management method and device based on fort machine
JP2022022077A (en) Method and device for deploying application, electronic apparatus, readable storage medium, and computer program
CN111614490B (en) Management system and method for managed container cluster based on top-level container cluster
US7937406B2 (en) Mechanism for automatically establishing a resource grid
CN111625810B (en) Equipment login method, equipment and system
CN113572862A (en) Cluster deployment method and device, electronic equipment and storage medium
CN112866388B (en) Server cluster control method and device, storage medium and electronic equipment
CN112527397A (en) Method and device for modifying basic input output system options and computer equipment
CN115220874A (en) Kubernetes cluster deployment method, device, equipment and storage medium
US9935830B1 (en) Cloud management system and method for disparate computing nodes in a cloud computing environment
CN111078348A (en) Interface management method, device, equipment and storage medium
CN113419813B (en) Method and device for deploying bare engine management service based on container platform
CN112218144B (en) Screen projection control method and device, electronic equipment and computer readable medium
CN111130820A (en) Cluster management method and device and computer system
CN113157270A (en) Page adaptation method and device
CN110795328A (en) Interface testing method and device
CN114745757B (en) Cluster switching method, device, equipment and medium
US20220038444A1 (en) Cloud device, application processing method, electronic device and storage medium
CN115268951A (en) Installation method, device, equipment and storage medium of operating system
CN115314376B (en) Method and device for deploying network plug-ins in cluster, electronic equipment and storage medium
CN114791855B (en) Task scheduling method, device, medium, equipment and program product under cloud platform
WO2024060133A1 (en) Dynamic sharing of web-content
CN117806517A (en) Multi-virtual machine key mouse control method and device, storage medium and electronic equipment

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