CN115333944B - Virtual machine cluster IP resource configuration method, system, equipment and storage medium - Google Patents

Virtual machine cluster IP resource configuration method, system, equipment and storage medium Download PDF

Info

Publication number
CN115333944B
CN115333944B CN202210863972.8A CN202210863972A CN115333944B CN 115333944 B CN115333944 B CN 115333944B CN 202210863972 A CN202210863972 A CN 202210863972A CN 115333944 B CN115333944 B CN 115333944B
Authority
CN
China
Prior art keywords
virtual machine
node
nodes
virtual
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.)
Active
Application number
CN202210863972.8A
Other languages
Chinese (zh)
Other versions
CN115333944A (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.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent 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 Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202210863972.8A priority Critical patent/CN115333944B/en
Publication of CN115333944A publication Critical patent/CN115333944A/en
Application granted granted Critical
Publication of CN115333944B publication Critical patent/CN115333944B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management

Abstract

The invention relates to a virtual machine cluster IP resource configuration method, a system, a computer device and a storage medium, wherein the method comprises the following steps: the method comprises the steps that a plurality of virtual machine nodes establish a virtual machine cluster through a cluster manager, and the configuration of a user on one of the virtual machine nodes is received; the virtual machine nodes configured by the user are used as the main nodes of the virtual machine cluster, and the rest virtual machine nodes are used as redundant nodes; the master node automatically triggers a detection instruction of the virtual machine node through a heartbeat link so that the virtual machine node which does not create the virtual network device automatically creates the virtual network device; after the virtual network devices of all the virtual machine nodes in the virtual machine cluster are successfully created, if the master node fails, IP resource switching is executed among the virtual machine nodes through the cluster manager. By adopting the method, the virtual network equipment can be created on a plurality of nodes only by configuring the main node information once by a user, and the efficiency of virtual machine cluster IP resource configuration is improved.

Description

Virtual machine cluster IP resource configuration method, system, equipment and storage medium
Technical Field
The present invention relates to the field of virtual machine clusters, and in particular, to a method, a system, an apparatus, and a storage medium for configuring IP resources of a virtual machine cluster.
Background
To implement highly available clusters of virtual machines, a pacemaker (cluster manager) is currently used as a solution. The pacemaker is deployed into a plurality of operating systems provided with virtual machines, and then a virtual machine high-availability cluster is established, so that other high-availability functions can be independently realized on the basis of not affecting the original functions of the host machine. The IP resource is created and maintained by the pacemaker as a cluster resource, the IP resource is used as an upper layer application, the hardware support of a physical network card is needed, and for a virtual machine, the macvtap equipment (virtual network equipment) mapped into the virtual machine is corresponding hardware support, and a virtual machine operating system can configure the IP to the macvtap equipment and provide services.
If the IP resources of the multiple nodes are to be realized to be high in availability, the IP resources can continue to provide services at other normal nodes when a single node fails, users are required to configure service IP at all nodes in sequence respectively, so that macvtap equipment is created on hosts of all nodes to realize redundancy, namely, the users are required to repeatedly configure IP at the same ports of all nodes, the configuration mode is high in repeatability, and the configuration is complex and low in efficiency for users.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a virtual machine cluster IP resource allocation method, system, device, and storage medium that can improve the efficiency of virtual machine cluster IP resource allocation.
In one aspect, a virtual machine cluster IP resource allocation method is provided, where the virtual machine cluster IP resource allocation method includes:
the method comprises the steps that a plurality of virtual machine nodes establish a virtual machine cluster through a cluster manager, and IP configuration of a user to one of the virtual machine nodes is received;
the virtual machine nodes configured by the user are used as the main nodes of the virtual machine cluster, and the rest virtual machine nodes are used as redundant nodes;
the master node automatically triggers a detection instruction of the virtual machine node through a heartbeat link to detect the virtual machine node which does not create the virtual network device, and enables the virtual machine node which does not create the virtual network device to automatically create the virtual network device;
after the virtual network devices of all the virtual machine nodes in the virtual machine cluster are successfully created, if the master node fails, IP resource switching is executed among the virtual machine nodes through the cluster manager.
In one embodiment, before the plurality of virtual machine nodes establish a virtual machine cluster through the cluster manager, the method further includes:
Installing virtual machines on each server to form host machines, wherein each host machine forms one virtual machine node;
deploying a cluster component on each virtual machine node, and creating heartbeat links between the virtual machine nodes;
the virtual machine node creates the virtual machine cluster through the cluster component and a heartbeat link.
In one embodiment, the master node automatically triggers a detection instruction of the virtual machine node through a heartbeat link, so that the virtual machine node which does not create the virtual network device automatically creates the virtual network device, and the method includes:
the master node simultaneously sends a query request to the virtual machine nodes through the heartbeat link so as to query whether a port corresponding to each virtual machine node has created virtual network equipment;
and returning a message of whether the port corresponding to each virtual machine node has created virtual network equipment to the master node.
In one embodiment, the master node automatically triggers a detection instruction of the virtual machine node through a heartbeat link, so that the virtual machine node which does not create the virtual network device automatically creates the virtual network device, and the method further includes:
the master node analyzes and gathers whether the message of the virtual network device is created at the port corresponding to each virtual machine node;
If the virtual machine node does not create the virtual network equipment, the master node simultaneously sends a request for creating the virtual network equipment to the virtual machine node which does not create the virtual network equipment through a heartbeat link;
and after receiving the request for creating the virtual network equipment, the virtual machine node which does not create the virtual network equipment executes the creation operation of the virtual network equipment.
In one embodiment, before the virtual network device of all virtual machine nodes in the virtual machine cluster is successfully created, the method further includes:
the master node sends a detection request to the virtual machine node to detect whether the virtual machine node fails to create virtual network equipment;
if the virtual machine node fails to create the virtual network device, the master node sends a cleaning request to all the virtual machine nodes so as to clean the virtual network devices of all the virtual machine nodes;
after the virtual network devices of all the virtual machine nodes are cleaned, the master node sends a request for creating the virtual network devices to the virtual machine nodes again so as to recreate the virtual network devices;
and if the virtual machine node successfully creates the virtual network equipment, the IP service is operated through the main node of the virtual machine cluster.
In one embodiment, if the master node fails, performing, by the cluster manager, IP resource switching between the virtual machine nodes, including:
monitoring the running state of the master node in real time, and selecting one of the redundant nodes as a new master node according to a cluster selection strategy when the master node fails;
switching IP resources from a failed master node to a new master node through the cluster manager;
the cluster selection strategy comprises selecting according to the serial numbers of redundant nodes.
In one embodiment, the virtual machine cluster IP resource allocation method further includes:
when the main node fails, setting the running state of the main node as a failure state so as to inform operation and maintenance personnel to maintain;
and after the running state of the fault main node is recovered to the normal state, taking the fault main node as a redundant node.
In another aspect, a virtual machine cluster IP resource allocation system is provided, where the virtual machine cluster IP resource allocation system includes:
the cluster management module is used for establishing a virtual machine cluster for a plurality of virtual machine nodes through a cluster manager and receiving configuration of one virtual machine node by a user;
The node dividing module is used for taking the virtual machine nodes configured by the user as the main nodes of the virtual machine cluster, and the rest virtual machine nodes as redundant nodes;
the virtual network device processing module is used for automatically triggering a detection instruction of the virtual machine node by the master node through a heartbeat link so as to detect the virtual machine node without creating the virtual network device and enable the virtual machine node without creating the virtual network device to automatically create the virtual network device;
and the node switching module is used for executing IP resource switching among the virtual machine nodes through the cluster manager.
In yet another aspect, there is provided an apparatus comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of:
the method comprises the steps that a plurality of virtual machine nodes establish a virtual machine cluster through a cluster manager, and IP configuration of a user to one of the virtual machine nodes is received;
the virtual machine nodes configured by the user are used as the main nodes of the virtual machine cluster, and the rest virtual machine nodes are used as redundant nodes;
the master node automatically triggers a detection instruction of the virtual machine node through a heartbeat link to detect the virtual machine node which does not create the virtual network device, and enables the virtual machine node which does not create the virtual network device to automatically create the virtual network device;
After the virtual network devices of all the virtual machine nodes in the virtual machine cluster are successfully created, if the master node fails, IP resource switching is executed among the virtual machine nodes through the cluster manager.
In yet another aspect, there is provided a computer-readable storage medium storing a program which, when executed by a processor, causes the processor to perform the steps of:
the method comprises the steps that a plurality of virtual machine nodes establish a virtual machine cluster through a cluster manager, and IP configuration of a user to one of the virtual machine nodes is received;
the virtual machine nodes configured by the user are used as the main nodes of the virtual machine cluster, and the rest virtual machine nodes are used as redundant nodes;
the master node automatically triggers a detection instruction of the virtual machine node through a heartbeat link to detect the virtual machine node which does not create the virtual network device, and enables the virtual machine node which does not create the virtual network device to automatically create the virtual network device;
after the virtual network devices of all the virtual machine nodes in the virtual machine cluster are successfully created, if the master node fails, IP resource switching is executed among the virtual machine nodes through the cluster manager.
Compared with the prior art, the technical scheme of the invention has the following advantages:
according to the virtual machine cluster IP resource configuration method, system, equipment and storage medium, the virtual network equipment can be created on all virtual machine nodes only by configuring the primary node information once by a user, so that the configuration flow is simplified; meanwhile, the parallel flow of message inquiry and message issuing command is carried out between the main node and the redundant node through the heartbeat link, so that the inquiry and configuration time is greatly shortened in the virtual machine node cluster scene, and the virtual machine cluster IP resource configuration efficiency is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a first method flow diagram of a virtual machine cluster IP resource allocation method of the present invention;
FIG. 2 is a second method flow diagram of a virtual machine cluster IP resource allocation method of the present invention;
FIG. 3 is a system block diagram of a virtual machine cluster IP resource allocation system of the present application;
fig. 4 is a device configuration diagram of the computer device of the present application.
Detailed Description
The present application 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 application 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 application.
If the IP resources of the multiple nodes are to be realized to be high in availability, the IP resources can continue to provide services at other normal nodes when a single node fails, users are required to configure service IP at all nodes in sequence respectively, so that macvtap equipment is created on hosts of all nodes to realize redundancy, namely, the users are required to repeatedly configure IP at the same ports of all nodes, the configuration mode is high in repeatability, and the configuration is complex and low in efficiency for users. Therefore, the application provides a virtual machine cluster IP resource configuration method, a system, equipment and a storage medium, wherein the virtual network equipment can be created at a plurality of nodes only by configuring primary node information once by a user, so that the configuration flow is simplified; meanwhile, the parallel flow of message inquiry and message issuing command is carried out between the main node and the redundant node through the heartbeat link, so that the inquiry and configuration time is greatly shortened in the virtual machine node cluster scene, and the virtual machine cluster IP resource configuration efficiency is improved.
Embodiment one:
referring to fig. 1 to 2, fig. 1 is a flowchart of a first method of the virtual machine cluster IP resource allocation method according to the present invention; fig. 2 is a second method flowchart of the virtual machine cluster IP resource allocation method of the present invention.
The virtual machine cluster IP resource allocation method comprises the following steps:
the method comprises the steps that a plurality of virtual machine nodes establish a virtual machine cluster through a cluster manager, and IP configuration of a user to one of the virtual machine nodes is received;
to achieve high availability of IP resources, a virtual machine high availability cluster, i.e., a virtual machine cluster, needs to be established. The virtual machine cluster can independently realize the high-availability function of the IP resources on the basis of not affecting the original function of the host machine. All the virtual machine nodes form a virtual machine cluster, a user can carry out IP configuration on one of the virtual machine nodes, and the virtual machine node which is subjected to IP configuration by the user is used as a master node of the virtual machine cluster. The information of IP configuration by the user comprises parameter information such as a main node number, a physical port number of the main node, a service IP address of the main node, a gateway IP of the main node, a subnet mask of the main node and the like. The information of the virtual machine cluster includes information such as the number of nodes in the cluster, the node hostname, and the node communication address.
The virtual machine nodes configured by the user are used as the main nodes of the virtual machine cluster, and the rest virtual machine nodes are used as redundant nodes;
after IP configuration is carried out on one of the virtual machine nodes by a user, the virtual machine node receives the IP configuration of the user, defaults the virtual machine node configured by the user to serve as a main node of the virtual machine cluster, the rest virtual machine nodes serve as redundant nodes, the redundant nodes provide redundant services for the main node, and one of the redundant nodes is selected to be switched to the main node when the main node fails.
The master node automatically triggers a detection instruction of the virtual machine node through a heartbeat link to detect the virtual machine node which does not create the virtual network device, and enables the virtual machine node which does not create the virtual network device to automatically create the virtual network device;
after receiving a virtual machine node configured by a user, taking the virtual machine node as a main node of the virtual machine cluster, automatically triggering a detection instruction of the virtual machine node by the main node through a heartbeat link to detect whether a virtual machine node which does not create virtual network equipment exists, and if the virtual machine node which does not create the virtual network equipment exists, automatically creating the virtual network equipment by the virtual machine node which does not create the virtual network equipment without manual execution of the user, and automatically creating the virtual network equipment. The heartbeat link can be created through a backboard or an Ethernet, namely, a physical path for periodic information interaction between virtual machine nodes.
After the virtual network devices of all the virtual machine nodes in the virtual machine cluster are successfully created, if the master node fails, IP resource switching is executed among the virtual machine nodes through the cluster manager.
Each virtual machine node needs to create virtual network equipment, after the virtual network equipment of all virtual machine nodes in the virtual machine cluster is created successfully, if a main node fails, the switching of IP resources is executed among the virtual machine nodes through the cluster manager, namely the IP resources on the failed main node are switched to normal redundant nodes, the switched normal redundant nodes are used as new main nodes, and then the IP service is operated through the new main nodes, so that the high availability of the IP resources is realized.
In one embodiment, before the plurality of virtual machine nodes establish a virtual machine cluster through the cluster manager, the method further includes:
installing virtual machines on each server to form host machines, wherein each host machine forms one virtual machine node;
and installing virtual machines on an operating system of the server, wherein the server for installing the virtual machines is called a host machine, each host machine forms a virtual machine node, and all virtual machine node users construct a virtual machine cluster so as to realize high availability of IP resources.
Deploying a cluster component on each virtual machine node, and creating heartbeat links between the virtual machine nodes;
the cluster components are deployed on each virtual machine node, and heartbeat links are established between the virtual machine nodes, so that the virtual machine nodes can conveniently establish virtual machine clusters through the cluster components and the heartbeat links, and the high availability of IP resources is realized.
The virtual machine node creates the virtual machine cluster through the cluster component and a heartbeat link.
After the heartbeat links are established among the virtual machine nodes, a virtual machine cluster can be established among all the virtual machine nodes, and information interaction can be carried out among the virtual machine nodes through the heartbeat links so as to realize high availability of IP resources.
In one embodiment, the master node automatically triggers a detection instruction of the virtual machine node through a heartbeat link, so that the virtual machine node which does not create the virtual network device automatically creates the virtual network device, and the method includes:
the master node simultaneously sends a query request to the virtual machine nodes through the heartbeat link so as to query whether a port corresponding to each virtual machine node has created virtual network equipment;
To realize the automatic creation of the virtual network device of the virtual machine node, the information interaction between the master node and the virtual machine node is realized, and when the virtual machine node information configured by the user is received and the configuration is completed, the master node sends a query request to the virtual machine node through a heartbeat link, wherein the query request comprises the master node and the redundant node so as to query whether the port corresponding to each virtual machine node has created the virtual network device or not, so that the creation operation of the virtual network device is conveniently executed for the virtual machine node which does not create the virtual network device. The main node can execute the query request in parallel through the heartbeat link when sending the query request to the virtual machine node, so that the efficiency of creating the virtual network equipment is improved, and unnecessary delay is avoided.
And returning a message of whether the port corresponding to each virtual machine node has created virtual network equipment to the master node.
And receiving a query request sent by the master node to the virtual machine node, and returning a message about whether the port of the virtual machine node has created the virtual network device to the master node by the virtual machine node so that the master node can execute the creation operation of the virtual network device on the virtual machine node which does not create the virtual network device according to the returned message.
In one embodiment, the master node automatically triggers a detection instruction of the virtual machine node through a heartbeat link, so that the virtual machine node which does not create the virtual network device automatically creates the virtual network device, and the method further includes:
the master node analyzes and gathers whether the message of the virtual network device is created at the port corresponding to each virtual machine node;
after the virtual machine node returns the message about whether the port of the virtual machine node has created the virtual network device to the master node, the master node analyzes and gathers the message about whether the port corresponding to the virtual machine node has created the virtual network device, and identifies the virtual machine node which does not create the virtual network device, so that the master node sends a request for creating the virtual network device to the virtual machine node which does not create the virtual network device, and automatic creation of the virtual network device on the virtual machine node is realized.
If the virtual machine node does not create the virtual network equipment exists, the master node sends a request for creating the virtual network equipment to the virtual machine node which does not create the virtual network equipment through a heartbeat link;
and after receiving the request for creating the virtual network equipment, the virtual machine node which does not create the virtual network equipment executes the creation operation of the virtual network equipment.
After analyzing and summarizing the message that whether the virtual network device is created at the port corresponding to the virtual machine node, if the virtual machine node does not create the virtual network device, the master node sends a request for creating the virtual network device to the virtual machine node which does not create the virtual network device through a heartbeat link after identifying, and after the virtual machine node which does not create the virtual network device receives the request for creating the virtual network device, the creation operation of the virtual network device is automatically executed without manual configuration of a user, thereby simplifying the flow and improving the configuration efficiency. The master node sends a request for creating the virtual network equipment to the virtual machine nodes which do not create the virtual network equipment through the heartbeat link to be executed in parallel, so that the efficiency of creating the virtual network equipment is improved, and unnecessary delay is avoided.
In one embodiment, before the virtual network device of all virtual machine nodes in the virtual machine cluster is successfully created, the method further includes:
the master node sends a detection request to the virtual machine node to detect whether the virtual machine node fails to create virtual network equipment;
after executing the operation of creating the virtual network device, the virtual machine node which does not create the virtual network device needs to detect whether a virtual machine node which is not created successfully by the virtual network device exists, and the master node needs to send a detection request to the virtual machine node so as to detect whether the virtual machine node fails to create the virtual network device, so that the virtual network device can be conveniently re-created for the virtual machine node which fails to create the virtual network device.
If the virtual machine node fails to create the virtual network device, the master node sends a cleaning request to all the virtual machine nodes so as to clean the virtual network devices of all the virtual machine nodes;
after the virtual network devices of all the virtual machine nodes are cleaned, the master node sends a request for creating the virtual network devices to the virtual machine nodes again so as to recreate the virtual network devices;
through detection, if the virtual machine node fails to create the virtual network device, the virtual network device needs to be re-created for the virtual machine node, and at the moment, the master node needs to send a cleaning request to all the virtual machine nodes so as to clean the virtual network devices of all the virtual machine nodes, and then the virtual network device is re-created for all the virtual machine nodes at the same time. The step of cleaning the created virtual network devices simultaneously is to ensure consistency of the virtual network device creation states of the virtual machine nodes before and after command execution. And after the virtual network devices of all the virtual machine nodes are cleaned, the master node sends a request for creating the virtual network devices to the virtual machine nodes again so that all the virtual machine nodes recreate the virtual network devices. If the number of times of failure in creating the virtual network device reaches the number of times threshold, ending the process, returning an error, restarting the process after maintenance is performed by a maintainer, and completing the configuration of the master node to automatically trigger the process.
And if the virtual machine node successfully creates the virtual network equipment, the IP service is operated through the main node of the virtual machine cluster.
If the virtual machine node successfully creates the virtual network device, the whole virtual machine cluster can be normally used, and the IP service can be operated through the master node of the virtual machine cluster.
In one embodiment, if the master node fails, performing, by the cluster manager, IP resource switching between the virtual machine nodes, including:
monitoring the running state of the master node in real time, and selecting one of the redundant nodes as a new master node according to a cluster selection strategy when the master node fails;
switching IP resources from a failed master node to a new master node through the cluster manager;
the cluster selection strategy comprises selecting according to the serial numbers of redundant nodes.
The main node has the possibility of fault in the operation process, so that the operation state of the main node is monitored in real time, when the main node is in fault, one of the redundant nodes is required to be selected as a new main node, then the IP resource is switched from the faulty main node to the new main node through the cluster manager, and the IP service is continuously operated through the new main node. When one of the redundant nodes is selected as a new master node, the selection of the new master node may be performed according to a cluster selection policy, for example, the selection of the new master node is performed according to the serial number sequence of the redundant nodes.
In one embodiment, the virtual machine cluster IP resource allocation method further includes:
when the main node fails, setting the running state of the main node as a failure state so as to inform operation and maintenance personnel to maintain;
when the main node fails, setting the running state of the failed main node as a failure state, and then notifying operation and maintenance personnel to maintain so as to maintain the failed main node normally; in addition, if the redundant node has a problem, the state of the redundant node is set to a fault state, and then an operation and maintenance person is notified to perform maintenance so as to maintain the faulty main node normally.
And after the running state of the fault main node is recovered to the normal state, taking the fault main node as a redundant node.
If the failure main node is maintained by operation and maintenance personnel, the failure main node is restored to a normal state, and the operation state of the main node is set to be the normal state, the main node can still operate the IP service, so that the main node which is restored to the normal state can be used as a redundant node and is continuously used in the virtual machine cluster; similarly, if the failed redundant node is maintained and then returns to the normal state, the failed redundant node can still be used as the redundant node in the virtual machine cluster, so that the redundancy capability of the virtual machine cluster is improved.
Embodiment two:
referring to fig. 2, fig. 2 is a flowchart of a second method of the virtual machine cluster IP resource allocation method of the present invention.
Installing virtual machines on each server to form host machines, wherein each host machine forms one virtual machine node;
and installing virtual machines on an operating system of the server, wherein the server for installing the virtual machines is called a host machine, each host machine forms a virtual machine node, and all virtual machine node users construct a virtual machine cluster so as to realize high availability of IP resources.
Deploying a cluster component on each virtual machine node, and creating heartbeat links between the virtual machine nodes;
the cluster components are deployed on each virtual machine node, and heartbeat links are established between the virtual machine nodes, so that the virtual machine nodes can conveniently establish virtual machine clusters through the cluster components and the heartbeat links, and the high availability of IP resources is realized.
The virtual machine node creates the virtual machine cluster through the cluster component and a heartbeat link;
after the heartbeat links are established among the virtual machine nodes, a virtual machine cluster can be established among all the virtual machine nodes, and information interaction can be carried out among the virtual machine nodes through the heartbeat links so as to realize high availability of IP resources.
The virtual machine nodes configured by the user are used as the main nodes of the virtual machine cluster, and the rest virtual machine nodes are used as redundant nodes;
after IP configuration is carried out on one of the virtual machine nodes by a user, the virtual machine node receives the IP configuration of the user, defaults the virtual machine node subjected to the IP configuration by the user to serve as a main node of the virtual machine cluster, the rest virtual machine nodes serve as redundant nodes, the redundant nodes provide redundant services for the main node, and one of the redundant nodes is selected to be switched to the main node when the main node fails.
The master node simultaneously sends a query request to the virtual machine nodes through the heartbeat link so as to query whether a port corresponding to each virtual machine node has created virtual network equipment;
to realize the automatic creation of the virtual network device of the virtual machine node, the information interaction between the master node and the virtual machine node is realized, and when the virtual machine node information configured by the user is received and the configuration is completed, the master node sends a query request to the virtual machine node through a heartbeat link, wherein the query request comprises the master node and the redundant node so as to query whether the port corresponding to each virtual machine node has created the virtual network device or not, so that the creation operation of the virtual network device is conveniently executed for the virtual machine node which does not create the virtual network device.
Returning a message whether a port corresponding to each virtual machine node has created virtual network equipment to the master node;
and receiving a query request sent by the master node to the virtual machine node, and returning a message about whether the port of the virtual machine node has created the virtual network device to the master node by the virtual machine node so that the master node can execute the creation operation of the virtual network device on the virtual machine node which does not create the virtual network device according to the returned message.
The master node analyzes and gathers whether the message of the virtual network device is created at the port corresponding to each virtual machine node;
after the virtual machine node returns the message about whether the port of the virtual machine node has created the virtual network device to the master node, the master node analyzes and gathers the message about whether the port corresponding to the virtual machine node has created the virtual network device, and identifies the virtual machine node which does not create the virtual network device, so that the master node sends a request for creating the virtual network device to the virtual machine node which does not create the virtual network device, and automatic creation of the virtual network device on the virtual machine node is realized.
If the virtual machine node does not create the virtual network equipment, the master node simultaneously sends a request for creating the virtual network equipment to the virtual machine node which does not create the virtual network equipment through a heartbeat link;
After analyzing and summarizing the message that whether the port corresponding to the virtual machine node has created the virtual network device, the master node recognizes that if the virtual machine node does not create the virtual network device, the master node sends a request for creating the virtual network device to the virtual machine node which does not create the virtual network device through a heartbeat link.
After receiving the request for creating the virtual network device, the virtual machine node which does not create the virtual network device executes the creation operation of the virtual network device;
after the virtual machine node which does not create the virtual network equipment receives the request for creating the virtual network equipment, the virtual network equipment creation operation is automatically executed, manual configuration of a user is not needed, the flow is simplified, and the configuration efficiency is improved.
If the virtual network equipment is not created by the virtual machine node, the master node sends a detection request to the virtual machine node to detect whether the virtual network equipment creation failure of the virtual machine node exists or not;
if the virtual machine node does not create the virtual network device, that is, all the virtual machine nodes have created the virtual network device, it is necessary to detect whether there is a virtual machine node that the virtual network device has not created successfully, and the master node is required to send a detection request to the virtual machine node to detect whether there is a failure in creating the virtual network device by the virtual machine node, so as to facilitate the re-creation of the virtual network device for the virtual machine node that fails in creating the virtual network device.
If the virtual machine node fails to create the virtual network device, the master node sends a cleaning request to all the virtual machine nodes so as to clean the virtual network devices of all the virtual machine nodes;
through detection, if the virtual machine node fails to create the virtual network device, the virtual network device needs to be re-created for the virtual machine node, and at the moment, the master node needs to send a cleaning request to all the virtual machine nodes so as to clean the virtual network devices of all the virtual machine nodes, and then the virtual network device is re-created for all the virtual machine nodes at the same time.
After the virtual network devices of all the virtual machine nodes are cleaned, the master node sends a request for creating the virtual network devices to the virtual machine nodes again so as to recreate the virtual network devices;
and after the virtual network devices of all the virtual machine nodes are cleaned, the master node sends a request for creating the virtual network devices to the virtual machine nodes again so that all the virtual machine nodes recreate the virtual network devices.
And if the virtual machine node successfully creates the virtual network equipment, the IP service is operated through the main node of the virtual machine cluster.
If the virtual machine node successfully creates the virtual network device, the whole virtual machine cluster can be normally used, and the IP service can be operated through the master node of the virtual machine cluster.
Monitoring the running state of the master node in real time, and selecting one of the redundant nodes as a new master node according to a cluster selection strategy when the master node fails;
and switching the IP resources from the failed master node to a new master node through the cluster manager, and running the IP service through the new master node.
When the main node fails, one of the redundant nodes needs to be selected as a new main node, and then the IP resource is switched from the failed main node to the new main node through the cluster manager to continue to operate the IP service through the new main node.
It should be understood that, although the steps in the flowcharts of fig. 1-2 are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in fig. 1-2 may include multiple sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, nor does the order in which the sub-steps or stages are performed necessarily occur sequentially, but may be performed alternately or alternately with at least a portion of the sub-steps or stages of other steps or other steps.
Embodiment III:
referring to fig. 3, fig. 3 is a system configuration diagram of a virtual machine cluster IP resource allocation system according to the present invention.
The virtual machine cluster IP resource allocation system of this embodiment includes:
the cluster management module is used for establishing a virtual machine cluster for a plurality of virtual machine nodes through a cluster manager and receiving IP configuration of a user to one of the virtual machine nodes;
in order to realize high availability of the IP resources, a virtual machine high availability cluster, i.e., a virtual machine cluster, needs to be established through a cluster management module. The virtual machine cluster can independently realize the high-availability function of the IP resources on the basis of not affecting the original function of the host machine. All the virtual machine nodes form a virtual machine cluster, a user can carry out IP configuration on one of the virtual machine nodes, and the virtual machine node which is subjected to IP configuration by the user is used as a master node of the virtual machine cluster.
The node dividing module is used for taking the virtual machine nodes subjected to IP configuration by a user as main nodes of the virtual machine cluster, and the rest virtual machine nodes as redundant nodes;
after IP configuration is carried out on one of the virtual machine nodes by a user, the virtual machine node receives the IP configuration of the user, the virtual machine node subjected to the IP configuration by the user is defaulted to be used as a main node of the virtual machine cluster, the rest virtual machine nodes are used as redundant nodes, the redundant nodes provide redundant services for the main node, one of the redundant nodes is selected to be switched to the main node when the main node fails, and the main node and the redundant nodes are divided by the node dividing module.
The device processing module is used for automatically triggering a detection instruction of the virtual machine node by the master node through a heartbeat link so as to detect the virtual machine node without creating the virtual network device and enable the virtual machine node without creating the virtual network device to automatically create the virtual network device;
after receiving a virtual machine node configured by a user, the virtual machine node is used as a master node of the virtual machine cluster, and the master node automatically triggers a detection instruction of the virtual machine node through a heartbeat link so as to detect whether a virtual machine node which does not create virtual network equipment exists through a virtual network equipment processing module, if the virtual machine node which does not create the virtual network equipment exists, the virtual machine node which does not create the virtual network equipment automatically creates the virtual network equipment without manual execution of the user, and the virtual machine node is automatically created.
And the node switching module is used for executing IP resource switching among the virtual machine nodes through the cluster manager.
Each virtual machine node needs to create virtual network equipment, after the virtual network equipment of all virtual machine nodes in the virtual machine cluster is created successfully, if a main node fails, the node switching module executes switching of IP resources among the virtual machine nodes, namely the node switching module switches the IP resources on the failed main node to normal redundant nodes, the switched normal redundant nodes are used as new main nodes, and then IP services are operated through the new main nodes, so that high availability of the IP resources is realized.
In one embodiment, the virtual machine cluster IP resource allocation system further includes:
the component deployment module is used for deploying cluster components on each virtual machine node;
and deploying cluster components on each virtual machine node, and deploying the components through a component deployment module.
A link creation module for creating a heartbeat link between the virtual machine nodes;
and a heartbeat link is established between the virtual machine nodes, and is established by a link establishment module.
The information processing module is used for returning a message whether the port corresponding to the virtual machine node has created the virtual network equipment or not, analyzing and summarizing the message whether the port corresponding to each virtual machine node has created the virtual network equipment or not;
receiving a query request sent by a host node to a virtual machine node, wherein the virtual machine node returns a message whether a virtual network device is created at a port of the virtual machine node to the host node through an information processing module; after the virtual machine node returns the message that whether the port of the virtual machine node has created the virtual network device to the master node, the master node analyzes and gathers the message that whether the port corresponding to the virtual machine node has created the virtual network device through the information processing module, and identifies the virtual machine node which does not create the virtual network device, so that the master node can conveniently send a request for creating the virtual network device to the virtual machine node which does not create the virtual network device, and automatic creation of the virtual network device on the virtual machine node is realized.
And the request processing module is used for sending a query request, a request for creating virtual network equipment, a detection request and a cleaning request.
When the virtual machine node information configured by the user is received and the configuration is finished, the request processing module sends a query request to the virtual machine node through a heartbeat link; if the virtual machine node does not create the virtual network equipment, the master node sends a request for creating the virtual network equipment to the virtual machine node which does not create the virtual network equipment through a heartbeat link through a request processing module; after executing the operation of creating the virtual network device, the virtual machine node which does not create the virtual network device needs to detect whether a virtual machine node which is not created successfully exists, and the master node needs to send a detection request to the virtual machine node through the request processing module so as to detect whether the virtual machine node fails to create the virtual network device, so that the virtual network device can be re-created for the virtual machine node which fails to create the virtual network device; if the virtual machine node fails to create the virtual network device, the virtual network device needs to be re-created for the virtual machine node, and at the moment, the master node needs to send a cleaning request to all the virtual machine nodes through the request processing module.
In one embodiment, the virtual machine cluster IP resource allocation system further includes:
the device cleaning module is used for cleaning the virtual network devices of all the virtual machine nodes;
through detection, if the virtual machine node fails to create the virtual network device, the virtual network device needs to be re-created for the virtual machine node, and at the moment, the master node needs to send a cleaning request to all the virtual machine nodes so as to clean the virtual network devices of all the virtual machine nodes through the device cleaning module, and then the virtual network device is re-created for all the virtual machine nodes at the same time.
And the state configuration module is used for configuring the state of the master node.
When the main node is in fault, the state of the main node in fault is set to be in fault state through a state configuration module, and then operation and maintenance personnel are informed to maintain the main node in fault normally; if the fault main node is maintained by operation staff, the fault main node is restored to a normal state, and the state of the main node is set to be the normal state through a state configuration module, so that the main node can still operate the IP service.
Specific limitations regarding the virtual machine cluster IP resource allocation system may be found in the above limitations for the method, and will not be described here. The modules in the virtual machine cluster IP resource allocation system may be implemented in whole or in part by software, hardware, and combinations thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
Embodiment four:
the embodiment provides an apparatus, including a memory, a processor, and a computer program stored on the memory and capable of running on the processor, where the processor implements steps of a virtual machine cluster IP resource allocation method when executing the computer program.
The device may be a terminal and its internal structure may be as shown in fig. 4. The apparatus includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the device is configured to provide computing and control capabilities. The memory of the device includes a non-volatile storage medium, an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program, when executed by a processor, implements a virtual machine cluster IP resource allocation method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, can also be keys, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by persons skilled in the art that the structure shown in fig. 4 is merely a block diagram of a portion of the structure associated with the present inventive arrangements and does not constitute a limitation of the apparatus to which the present inventive arrangements are applied, and that a particular apparatus may include more or less components than those shown in the drawings, or may combine certain components, or have a different arrangement of components.
In one embodiment, an apparatus is provided that includes a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program:
the method comprises the steps that a plurality of virtual machine nodes establish a virtual machine cluster through a cluster manager, and IP configuration of a user to one of the virtual machine nodes is received;
the virtual machine nodes configured by the user are used as the main nodes of the virtual machine cluster, and the rest virtual machine nodes are used as redundant nodes;
the master node automatically triggers a detection instruction of the virtual machine node through a heartbeat link to detect the virtual machine node which does not create the virtual network device, and enables the virtual machine node which does not create the virtual network device to automatically create the virtual network device;
after the virtual network devices of all the virtual machine nodes in the virtual machine cluster are successfully created, if the master node fails, IP resource switching is executed among the virtual machine nodes through the cluster manager.
In one embodiment, the processor when executing the computer program further performs the steps of:
installing virtual machines on each server to form host machines, wherein each host machine forms one virtual machine node;
deploying a cluster component on each virtual machine node, and creating heartbeat links between the virtual machine nodes;
the virtual machine node creates the virtual machine cluster through the cluster component and a heartbeat link.
In one embodiment, the processor when executing the computer program further performs the steps of:
the master node simultaneously sends a query request to the virtual machine nodes through the heartbeat link so as to query whether a port corresponding to each virtual machine node has created virtual network equipment;
and returning a message of whether the port corresponding to each virtual machine node has created virtual network equipment to the master node.
In one embodiment, the processor when executing the computer program further performs the steps of:
the master node analyzes and gathers whether the message of the virtual network device is created at the port corresponding to each virtual machine node;
if the virtual machine node does not create the virtual network equipment, the master node simultaneously sends a request for creating the virtual network equipment to the virtual machine node which does not create the virtual network equipment through a heartbeat link;
And after receiving the request for creating the virtual network equipment, the virtual machine node which does not create the virtual network equipment executes the creation operation of the virtual network equipment.
In one embodiment, the processor when executing the computer program further performs the steps of:
the master node sends a detection request to the virtual machine node to detect whether the virtual machine node fails to create virtual network equipment;
if the virtual machine node fails to create the virtual network device, the master node sends a cleaning request to all the virtual machine nodes so as to clean the virtual network devices of all the virtual machine nodes;
after the virtual network devices of all the virtual machine nodes are cleaned, the master node sends a request for creating the virtual network devices to the virtual machine nodes again so as to recreate the virtual network devices;
and if the virtual machine node successfully creates the virtual network equipment, the IP service is operated through the main node of the virtual machine cluster.
In one embodiment, the processor when executing the computer program further performs the steps of:
monitoring the running state of the master node in real time, and selecting one of the redundant nodes as a new master node according to a cluster selection strategy when the master node fails;
And switching the IP resource from the failed master node to the new master node through the cluster manager.
In one embodiment, the processor when executing the computer program further performs the steps of:
when the main node fails, setting the running state of the main node as a failure state so as to inform operation and maintenance personnel to maintain;
and after the running state of the fault main node is recovered to the normal state, taking the fault main node as a redundant node.
Fifth embodiment:
the present embodiment provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of:
the method comprises the steps that a plurality of virtual machine nodes establish a virtual machine cluster through a cluster manager, and IP configuration of a user to one of the virtual machine nodes is received;
the virtual machine nodes configured by the user are used as the main nodes of the virtual machine cluster, and the rest virtual machine nodes are used as redundant nodes;
the master node automatically triggers a detection instruction of the virtual machine node through a heartbeat link to detect the virtual machine node which does not create the virtual network device, and enables the virtual machine node which does not create the virtual network device to automatically create the virtual network device;
After the virtual network devices of all the virtual machine nodes in the virtual machine cluster are successfully created, if the master node fails, IP resource switching is executed among the virtual machine nodes through the cluster manager.
In one embodiment, the processor when executing the computer program further performs the steps of:
installing virtual machines on each server to form host machines, wherein each host machine forms one virtual machine node;
deploying a cluster component on each virtual machine node, and creating heartbeat links between the virtual machine nodes;
the virtual machine node creates the virtual machine cluster through the cluster component and a heartbeat link.
In one embodiment, the processor when executing the computer program further performs the steps of:
the master node simultaneously sends a query request to the virtual machine nodes through the heartbeat link so as to query whether a port corresponding to each virtual machine node has created virtual network equipment;
and returning a message of whether the port corresponding to each virtual machine node has created virtual network equipment to the master node.
In one embodiment, the processor when executing the computer program further performs the steps of:
The master node analyzes and gathers whether the message of the virtual network device is created at the port corresponding to each virtual machine node;
if the virtual machine node does not create the virtual network equipment, the master node simultaneously sends a request for creating the virtual network equipment to the virtual machine node which does not create the virtual network equipment through a heartbeat link;
and after receiving the request for creating the virtual network equipment, the virtual machine node which does not create the virtual network equipment executes the creation operation of the virtual network equipment.
In one embodiment, the processor when executing the computer program further performs the steps of:
the master node sends a detection request to the virtual machine node to detect whether the virtual machine node fails to create virtual network equipment;
if the virtual machine node fails to create the virtual network device, the master node sends a cleaning request to all the virtual machine nodes so as to clean the virtual network devices of all the virtual machine nodes;
after the virtual network devices of all the virtual machine nodes are cleaned, the master node sends a request for creating the virtual network devices to the virtual machine nodes again so as to recreate the virtual network devices;
And if the virtual machine node successfully creates the virtual network equipment, the IP service is operated through the main node of the virtual machine cluster.
In one embodiment, the processor when executing the computer program further performs the steps of:
monitoring the running state of the master node in real time, and selecting one of the redundant nodes as a new master node according to a cluster selection strategy when the master node fails;
and switching the IP resource from the failed master node to the new master node through the cluster manager.
In one embodiment, the processor when executing the computer program further performs the steps of:
when the main node fails, setting the running state of the main node as a failure state so as to inform operation and maintenance personnel to maintain;
and after the running state of the fault main node is recovered to the normal state, taking the fault main node as a redundant node.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), memory bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples illustrate only a few embodiments of the application, which are described in detail and are not to be construed as limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of protection of the present application is to be determined by the appended claims.

Claims (9)

1. The virtual machine cluster IP resource allocation method is characterized by comprising the following steps:
the method comprises the steps that a plurality of virtual machine nodes establish a virtual machine cluster through a cluster manager, and IP configuration of a user to one of the virtual machine nodes is received;
the virtual machine nodes configured by the user are used as the main nodes of the virtual machine cluster, and the rest virtual machine nodes are used as redundant nodes;
The master node automatically triggers a detection instruction of the virtual machine node through a heartbeat link to detect the virtual machine node which does not create the virtual network device, and enables the virtual machine node which does not create the virtual network device to automatically create the virtual network device; it comprises the following steps: the master node simultaneously sends a query request to the virtual machine nodes through the heartbeat link so as to query whether a port corresponding to each virtual machine node has created virtual network equipment; returning a message whether a port corresponding to each virtual machine node has created virtual network equipment to the master node;
after the virtual network devices of all the virtual machine nodes in the virtual machine cluster are successfully created, if the master node fails, IP resource switching is executed among the virtual machine nodes through the cluster manager.
2. The virtual machine cluster IP resource allocation method of claim 1, wherein before the plurality of virtual machine nodes establish a virtual machine cluster through a cluster manager, further comprising:
installing virtual machines on each server to form host machines, wherein each host machine forms one virtual machine node;
deploying a cluster component on each virtual machine node, and creating heartbeat links between the virtual machine nodes;
The virtual machine node creates the virtual machine cluster through the cluster component and a heartbeat link.
3. The method according to claim 1, wherein the master node automatically triggers the detection instruction of the virtual machine node through the heartbeat link, so that the virtual machine node that does not create the virtual network device automatically creates the virtual network device, further comprising:
the master node analyzes and gathers whether the message of the virtual network device is created at the port corresponding to each virtual machine node;
if the virtual machine node does not create the virtual network equipment, the master node simultaneously sends a request for creating the virtual network equipment to the virtual machine node which does not create the virtual network equipment through a heartbeat link;
and after receiving the request for creating the virtual network equipment, the virtual machine node which does not create the virtual network equipment executes the creation operation of the virtual network equipment.
4. The method for configuring IP resources of a virtual machine cluster according to claim 1, wherein before the virtual network device of all virtual machine nodes in the virtual machine cluster is successfully created, further comprises:
the master node sends a detection request to the virtual machine node to detect whether the virtual machine node fails to create virtual network equipment;
If the virtual machine node fails to create the virtual network device, the master node sends a cleaning request to all the virtual machine nodes so as to clean the virtual network devices of all the virtual machine nodes;
after the virtual network devices of all the virtual machine nodes are cleaned, the master node sends a request for creating the virtual network devices to the virtual machine nodes again so as to recreate the virtual network devices;
and if the virtual machine node successfully creates the virtual network equipment, the IP service is operated through the main node of the virtual machine cluster.
5. The virtual machine cluster IP resource allocation method according to claim 1, wherein said performing, by the cluster manager, IP resource switching between the virtual machine nodes if the master node fails, comprises:
monitoring the running state of the master node in real time, and selecting one of the redundant nodes as a new master node according to a cluster selection strategy when the master node fails;
switching IP resources from a failed master node to a new master node through the cluster manager;
the cluster selection strategy comprises selecting according to the serial numbers of redundant nodes.
6. The virtual machine cluster IP resource allocation method of claim 5, further comprising:
When the main node fails, setting the running state of the main node as a failure state so as to inform operation and maintenance personnel to maintain;
and after the running state of the fault main node is recovered to the normal state, taking the fault main node as a redundant node.
7. A virtual machine cluster IP resource allocation system, the virtual machine cluster IP resource allocation system comprising:
the cluster management module is used for establishing a virtual machine cluster for a plurality of virtual machine nodes through a cluster manager and receiving IP configuration of a user to one of the virtual machine nodes;
the node dividing module is used for taking the virtual machine nodes subjected to IP configuration by a user as main nodes of the virtual machine cluster, and the rest virtual machine nodes as redundant nodes;
the virtual network device processing module is used for automatically triggering a detection instruction of the virtual machine node by the master node through a heartbeat link so as to detect the virtual machine node without creating the virtual network device and enable the virtual machine node without creating the virtual network device to automatically create the virtual network device; it comprises the following steps: the master node simultaneously sends a query request to the virtual machine nodes through the heartbeat link so as to query whether a port corresponding to each virtual machine node has created virtual network equipment; returning a message whether a port corresponding to each virtual machine node has created virtual network equipment to the master node;
And the node switching module is used for executing IP resource switching among the virtual machine nodes through the cluster manager.
8. A virtual machine cluster IP resource allocation apparatus comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any one of claims 1-6 when executing the computer program.
9. A computer-readable storage medium, characterized by: the computer readable storage medium stores a program which, when executed by a processor, causes the processor to perform the steps of the method according to any one of claims 1 to 6.
CN202210863972.8A 2022-07-20 2022-07-20 Virtual machine cluster IP resource configuration method, system, equipment and storage medium Active CN115333944B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210863972.8A CN115333944B (en) 2022-07-20 2022-07-20 Virtual machine cluster IP resource configuration method, system, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210863972.8A CN115333944B (en) 2022-07-20 2022-07-20 Virtual machine cluster IP resource configuration method, system, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN115333944A CN115333944A (en) 2022-11-11
CN115333944B true CN115333944B (en) 2023-08-11

Family

ID=83919934

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210863972.8A Active CN115333944B (en) 2022-07-20 2022-07-20 Virtual machine cluster IP resource configuration method, system, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115333944B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106911728A (en) * 2015-12-22 2017-06-30 华为技术服务有限公司 The choosing method and device of host node in distributed system
CN107404522A (en) * 2017-07-20 2017-11-28 郑州云海信息技术有限公司 The cluster virtual machine high availability implementation method and device of a kind of cross-node
CN109104318A (en) * 2018-08-23 2018-12-28 广东轩辕网络科技股份有限公司 The dispositions method and system of method for realizing cluster self-adaption deployment, the self-adaption deployment big data cluster based on cloud platform
CN114024841A (en) * 2021-08-04 2022-02-08 统信软件技术有限公司 Server cluster deployment method and device, computing equipment and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105357038B (en) * 2015-10-26 2019-05-07 北京百度网讯科技有限公司 Monitor the method and system of cluster virtual machine

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106911728A (en) * 2015-12-22 2017-06-30 华为技术服务有限公司 The choosing method and device of host node in distributed system
CN107404522A (en) * 2017-07-20 2017-11-28 郑州云海信息技术有限公司 The cluster virtual machine high availability implementation method and device of a kind of cross-node
CN109104318A (en) * 2018-08-23 2018-12-28 广东轩辕网络科技股份有限公司 The dispositions method and system of method for realizing cluster self-adaption deployment, the self-adaption deployment big data cluster based on cloud platform
CN114024841A (en) * 2021-08-04 2022-02-08 统信软件技术有限公司 Server cluster deployment method and device, computing equipment and storage medium

Also Published As

Publication number Publication date
CN115333944A (en) 2022-11-11

Similar Documents

Publication Publication Date Title
JP6835444B2 (en) Software-defined data center and service cluster scheduling method and traffic monitoring method for that purpose
WO2020253596A1 (en) High availability method and apparatus for redis cluster
WO2016058307A1 (en) Fault handling method and apparatus for resource
CN108897658B (en) Method and device for monitoring master database, computer equipment and storage medium
US9634886B2 (en) Method and apparatus for providing tenant redundancy
US20080307254A1 (en) Information-processing equipment and system therefor
CN106452836B (en) main node setting method and device
CN111935244B (en) Service request processing system and super-integration all-in-one machine
CN106559267A (en) The master-slave switching method of Redis, device and redis systems
CN108170507B (en) Virtual application management method/system, computer readable storage medium and server
CN111147274A (en) System and method for creating a highly available arbitration set for a cluster solution
CN112511326B (en) Switching method, device, equipment and storage medium
CN109842526B (en) Disaster recovery method and device
CN111813605A (en) Disaster recovery method, platform, electronic device, and medium
CN113872997B (en) Container group POD reconstruction method based on container cluster service and related equipment
CN115333944B (en) Virtual machine cluster IP resource configuration method, system, equipment and storage medium
CN116095145B (en) Data control method and system of VPC cluster
JP2012014674A (en) Failure recovery method, server, and program in virtual environment
CN114124803B (en) Device management method and device, electronic device and storage medium
CN105871524B (en) A kind of method and system based on TIPC protocol realization two-node cluster hot backup
CN114697191A (en) Resource migration method, device, equipment and storage medium
JP2015114952A (en) Network system, monitoring control unit, and software verification method
CN114328036A (en) Hardware fault detection method, system and related equipment
CN107104837B (en) Method and control device for path detection
CN115550287B (en) Method for establishing remote copy relationship and related device

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