Cloud management service switching method and device, storage medium and program product
By filtering healthy nodes in the cloud platform cluster, generating database connection write tables and synchronizing data, the inaccessibility problem caused by the cloud platform management service due to host failure is solved, and the high availability of cloud services and real-time data synchronization is achieved.
Patent Information
- Application Number
- CN202410979339.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-19
- Publication Date
- 2024-11-15
AI Technical Summary
After problems occur on any host on the virtualization platform, cloud platform management services become inaccessible, affecting the operation efficiency and continuous use of cloud services.
By obtaining physical host service deployment information in the cloud platform cluster, filtering out healthy target nodes, generating database connection write tables, synchronizing real-time data of cloud management services, and performing switching operations between hosts to ensure that there is a healthy node always Provide services, repair abnormal hosts in a timely manner and synchronize data.
It realizes high availability of cloud platform management services, ensures that cloud services have healthy nodes to provide services at any time, and data is synchronized in real time, avoiding inaccessible problems caused by host failure.
Smart Images

Figure CN118963937A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the computer field, and specifically, to a switching method and device for a cloud management service, a storage medium, and a program product. Background Art
[0002] In the era of cloud computing, cloud deployment of services has become the choice of most information departments, and building cloud data center cloud platforms has become a general trend. Services are deployed on virtualized cloud platforms, and all resource information display and management on the cloud platform, as well as the management and display of business virtual machines, are uniformly managed and displayed through cloud platform management services. In related technologies, when there is a problem with the cloud platform management service on any host of the virtualization platform, the cloud platform management service becomes inaccessible, affecting the overall operation of the cloud service, and then making it impossible to achieve efficient access to the cloud platform management services running on different hosts, thereby greatly reducing the continuous use efficiency of the cloud platform.
[0003] Regarding the related technologies, there is a problem that the cloud platform management service becomes inaccessible when a problem occurs on any host of the virtualization platform, and no effective solution has been proposed yet. Summary of the invention
[0004] The embodiments of the present application provide a cloud management service switching method and device, storage medium, and program product to at least solve the problem in the existing method that the cloud platform management service becomes inaccessible after a problem occurs on any host of the virtualization platform.
[0005] According to one embodiment of the present application, a switching method for a cloud management service is provided, comprising: obtaining service deployment information of N physical hosts included in a cloud platform cluster, wherein the deployment information is used to indicate the health status of each physical host providing cloud management services to the outside, and the situation that each physical host includes a switching management service; screening out at least one target node running the switching management service from the N physical hosts according to a preset logic algorithm and the service deployment information; summarizing the health status of other N-1 physical hosts through the target node to generate a database connection write table corresponding to the cloud platform cluster; synchronizing real-time data of the cloud management service between the N physical hosts according to the database connection write table, and using the real-time data to perform a switching operation on an abnormal physical host with a service abnormality among the N physical hosts, wherein N is a positive integer.
[0006] In an exemplary embodiment, real-time data of the cloud management service is synchronized between the N physical hosts according to the database connection write table, and the real-time data is used to perform a switching operation on an abnormal physical host with service abnormalities among the N physical hosts, including: determining N target health states corresponding to the N physical hosts according to the database connection write table; screening the N target health states to determine M physical hosts that have currently entered multicast communication, wherein M is a positive integer and M is less than or equal to N; when it is determined that the abnormal physical host is included in the M physical hosts, selecting a replacement physical host to replace the abnormal physical host from the NM physical hosts according to a preset election rule; and initiating a replacement process for the abnormal physical host based on the replacement physical host and the real-time data.
[0007] In an exemplary embodiment, at least one target node running the switching management service is screened out from the N physical hosts according to a preset logic algorithm and the service deployment information, including: obtaining a target message sent by each of the N physical hosts to other physical hosts; parsing the target message to determine the real-time Internet Protocol addresses corresponding to other physical hosts in the target message; aggregating the real-time Internet Protocol addresses of the N physical hosts to obtain an address set; comparing the size of the last segment of the digital sequence of all addresses in the address set, and determining the real-time Internet Protocol address with the smallest digital sequence as the target node running the switching management service.
[0008] In an exemplary embodiment, after determining the real-time Internet Protocol address with the smallest digital sequence as the target node for running the switching management service, the method further includes: instructing the target node to send the node address corresponding to the target node in the multicast group corresponding to the N physical hosts; receiving feedback information from other physical hosts in the multicast group, wherein the feedback information is the degree of match between the local addresses existing in the other physical hosts and the node address; and determining whether to use the target node as a node for N physical hosts among the N physical hosts based on the feedback information.
[0009] In an exemplary embodiment, after synchronizing the real-time data of the cloud management service between the N physical hosts according to the database connection write table, and using the real-time data to perform a switching operation on the abnormal physical host with service abnormality among the N physical hosts, the above method also includes: monitoring the repair information of the abnormal physical host; when the repair information indicates that the abnormal physical host has resumed normal operation, re-adding the abnormal physical host that has resumed normal operation to the cloud platform cluster, and sending a message of the new node going online in the cloud platform cluster by multicast communication; when it is determined that the cloud management service switching manager of M physical hosts running cloud management services among the N physical hosts currently receives the message, synchronizing the current real-time data to the abnormal physical host that has resumed normal operation; when it is determined that the abnormal physical host that has resumed normal operation has completed the real-time data synchronization, updating the database connection write table using the Internet Protocol address corresponding to the abnormal physical host that has resumed normal operation; when the update result indicates that the Internet Protocol address corresponding to the abnormal physical host that has resumed normal operation has been written into the database connection write table, allowing the abnormal physical host that has resumed normal operation to establish a database connection with other physical hosts corresponding to the database connection write table, and writing the cloud management data of the other physical hosts to the abnormal physical host that has resumed normal operation through the connection for storage.
[0010] In an exemplary embodiment, before obtaining the service deployment information of N physical hosts included in the cloud platform cluster, the above method also includes: receiving setting information sent by the management object corresponding to the cloud platform cluster; adding key addresses for the N physical hosts for interacting with other services outside the cloud platform cluster according to the setting information; and adjusting the key addresses to the target conditions for the node running the cloud management service to connect to the data storage space.
[0011] In an exemplary embodiment, after synchronizing the real-time data of the cloud management service between the N physical hosts according to the database connection write table, and using the real-time data to perform a switching operation on the abnormal physical host with service abnormalities among the N physical hosts, the above method also includes: recording the target number of times the abnormal physical host with service abnormalities performs the switching operation; when it is determined that the target number is greater than the preset number, identifying the abnormal physical host as a damaged host, and issuing a prompt message to repair the abnormal physical host; when it is determined that the target number is less than or equal to the preset number, allowing the abnormal physical host to perform the switching operation again.
[0012] According to another embodiment of the present application, a switching device for a cloud management service is also provided, including: an acquisition module, used to acquire service deployment information of N physical hosts included in a cloud platform cluster, wherein the deployment information is used to indicate the health status of each physical host providing cloud management services to the outside, and the situation that each physical host includes a switching management service; a screening module, used to screen out at least one target node running the switching management service from the N physical hosts according to a preset logical algorithm and the service deployment information; a generation module, used to summarize the health status of other N-1 physical hosts through the target node, and generate a database connection write table corresponding to the cloud platform cluster; a switching module, used to synchronize real-time data of the cloud management service between the N physical hosts according to the database connection write table, and use the real-time data to perform a switching operation on an abnormal physical host with a service abnormality among the N physical hosts, wherein N is a positive integer.
[0013] According to another embodiment of the present application, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when running.
[0014] According to another embodiment of the present application, an electronic device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
[0015] According to another embodiment of the present application, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the steps in any of the above method embodiments are implemented.
[0016] Through this application, the service deployment information of N physical hosts included in the cloud platform cluster is obtained, wherein the deployment information is used to indicate the health status of each physical host providing cloud management services to the outside, and the situation that each physical host includes switching management services; at least one target node running the switching management service is selected from the N physical hosts according to the preset logical algorithm and service deployment information; the health status of the other N-1 physical hosts is summarized through the target node to generate a database connection write table corresponding to the cloud platform cluster; the real-time data of the cloud management service is synchronized between the N physical hosts according to the database connection write table, and the real-time data is used to perform a switching operation on the abnormal physical host with service abnormalities in the N physical hosts. With the above technical solution, there will always be a healthy node running the cloud management service in the cloud platform cluster at any time, and the access consistency of the cloud management service to the outside through the key address is maintained. At the same time, the data of the cloud management service will always be synchronized to the healthy nodes in the cluster. Even if the faulty physical node is repaired and goes online normally, the data of the cloud management service can be automatically synchronized. This ensures the high availability of the cloud management services of the virtualized cloud platform as a whole, and solves the problem in the existing method that the cloud platform management service becomes inaccessible when any host on the virtualized platform has a problem. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0018] Figure 1 It is a hardware structure block diagram of a computer terminal of a cloud management service switching method according to an embodiment of the present application;
[0019] Figure 2 is a flow chart of a method for switching a cloud management service according to an embodiment of the present application;
[0020] Figure 3 It is a structural diagram of a virtualized cloud platform cloud management service system according to an embodiment of the present application;
[0021] Figure 4 is a structural block diagram of a switching device for a cloud management service according to an embodiment of the present application;
[0022] Figure 5 It is a schematic diagram of the structure of an optional electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0023] The embodiments of the present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0024] It should be noted that the terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0025] The cloud management service switching method embodiment provided in the embodiment of the present application can be executed in a computer terminal or a similar computing device. Taking running on a computer terminal as an example, Figure 1 1 is a hardware structure block diagram of a computer terminal of a cloud management service switching method according to an embodiment of the present application. Figure 1 As shown, the computer terminal may include one or more ( Figure 1 Only one is shown in the figure) a processor 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, wherein the above-mentioned computer terminal may also include a transmission device 106 and an input / output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above-mentioned computer terminal. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations are shown.
[0026] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the task configuration method in the embodiment of the present application. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, to implement the above method. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the computer terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0027] The transmission device 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of a computer terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0028] In addition, in order to better understand the technical solution of the present application, the relevant terms are explained, but they do not limit the present application.
[0029] Cloud platform management service is used to provide management portal services for virtualized cloud platforms.
[0030] Cloud management database service is a database used to store data of cloud management services of virtualized cloud platform. Each node in the cloud platform cluster will run the database service.
[0031] High availability is used to indicate the continuity of the services provided by the cloud management service to the outside world. The service can be quickly started without interruption when a failure occurs.
[0032] The cloud management service switching manager is used to ensure the high availability of the code logic of the cloud management service. Each node in the cloud platform cluster will run this service.
[0033] The database connection write table is used to write the IP (Internet Protocol, Chinese interpretation is Internet Protocol, referred to as IP) of the healthy node detected by the cloud platform into the table. The cloud management service establishes a database connection based on the IP in this table.
[0034] Multicast group address, used for multicast IP, can realize adding a service to the multicast group. When the multicast IP sends a message, all nodes in the multicast group can receive the message.
[0035] Management IP address: Each physical node in the virtualized cloud platform has a management IP address, which is used for management and communication between clusters.
[0036] In this embodiment, a method for switching a cloud management service is provided, including but not limited to being applied in a computer terminal. Figure 2 is a flow chart of a method for switching a cloud management service according to an embodiment of the present application. Figure 2 As shown, the process includes the following steps S202-S206:
[0037] Step S202: Obtain service deployment information of N physical hosts included in the cloud platform cluster, wherein the deployment information is used to indicate the health status of each physical host providing cloud management services to the outside, and the situation that each physical host includes a switching management service;
[0038] Step S204: selecting at least one target node running the switching management service from the N physical hosts according to a preset logic algorithm and the service deployment information;
[0039] Optionally, the above step S204 also includes: obtaining a target message sent by each of the N physical hosts to other physical hosts; parsing the target message to determine the real-time Internet Protocol addresses corresponding to other physical hosts in the target message; aggregating the real-time Internet Protocol addresses of the N physical hosts to obtain an address set; comparing the size of the last segment of the digital sequence of all addresses in the address set, and determining the real-time Internet Protocol address with the smallest digital sequence as the target node for running the switching management service.
[0040] For example, in actual applications, each node in the cloud management switching manager cloud platform cluster will run this service. After running this service on the node, the host will be added to a multicast group address. In this way, when the cluster starts communicating, it will send messages to this multicast address. In this way, other nodes in the cluster that are running the cloud management switching manager can receive the messages sent by each node. The content of the message will carry the management IP address of its own node, so that each node in the cloud platform cluster will receive the message sent by other nodes, and obtain the management IP addresses of other nodes in the message by parsing the message, and then select the node with the smallest number in the last segment of the IP address obtained by comparison as the node running the cloud management service. Then the node with the smallest IP sends the IP address that is currently running the cloud management service in the multicast group. After receiving it, other nodes match it with all the IP information they have received to see if the smallest IP address is elected to run the cloud management service. If not, continue to wait for the smallest IP address to send a message indicating that the election is successful. If so, send an ack confirmation message (the message contains the smallest IP address that is running for the cloud management service). After the node that is running for the cloud management service receives the ack confirmation messages from all nodes, it starts the cloud management service.
[0041] In summary, through the above implementation, in the process of determining the target node, information interaction between different physical hosts is utilized to ensure that the physical host corresponding to the determined target node can effectively exchange data with other physical hosts, thereby ensuring the synchronization of data resources corresponding to the management service between different physical hosts.
[0042] Step S206: Summarize the health status of other N-1 physical hosts through the target node to generate a database connection write table corresponding to the cloud platform cluster;
[0043] That is to say, during the normal operation of the platform, the cloud management service switching manager on the node running the cloud management service will send detection messages to all other nodes in the cluster in the cloud platform through the multicast address at the second level. After receiving the messages, other nodes will return ack messages (the content of the message tells the node running the cloud management service that it is alive, and also carries its own management IP address). In this way, the node running the cloud management service can always maintain a list of surviving node IPs in the cloud management platform through the cloud management service switch, forming a database connection write table.
[0044] Step S208: Synchronize the real-time data of the cloud management service between the N physical hosts according to the database connection write table, and use the real-time data to perform a switching operation on an abnormal physical host with service abnormality among the N physical hosts, wherein N is a positive integer.
[0045] In an exemplary embodiment, the above step S208 includes the following steps S31-S34:
[0046] Step S31: Determine N target health states corresponding to the N physical hosts according to the database connection write table;
[0047] Step S32: screening the N target health states to determine the M physical hosts that have currently entered the multicast communication, wherein M is a positive integer and M is less than or equal to N;
[0048] Step S33: when it is determined that the abnormal physical host is included in the M physical hosts, a replacement physical host is selected from the NM physical hosts according to a preset election rule to replace the abnormal physical host;
[0049] Step S34: Initiate a replacement process for the abnormal physical host based on the replacement physical host and the real-time data.
[0050] As an optional implementation method, the cloud management service switching manager communicates through multicast communication and selects the node running the cloud management service from all the nodes in the cloud platform cluster according to the logical algorithm. At the same time, the cloud management service switching manager always detects the health status of all nodes in the cloud platform cluster, and maintains a database connection write table based on the health and survival of the nodes. All hosts in the cloud platform cluster will always run the cloud management database service. The node running the cloud management service establishes a database connection with all the nodes therein (including itself) according to the database connection write table. In this way, the data of the cloud management service can be synchronized to all the nodes in the cloud platform cluster in real time.
[0051] In summary, the high availability of cloud management services is guaranteed through the encounter mechanism. As long as there are healthy nodes in the cluster, the cloud management service can provide cloud management services to the outside world, thereby achieving efficient connection between nodes and different services corresponding to different physical hosts in the cloud platform cluster.
[0052] As an optional implementation, after determining the real-time Internet Protocol address with the smallest digital sequence as the target node for running the switching management service, the above method also includes: instructing the target node to send the node address corresponding to the target node in the multicast group corresponding to the N physical hosts; receiving feedback information from other physical hosts in the multicast group, wherein the feedback information is the matching degree between the local addresses existing in the other physical hosts and the node address; and determining whether to use the target node as a node for N physical hosts among the N physical hosts based on the feedback information.
[0053] In summary, through the above implementation, by utilizing information exchange between different physical hosts, it is ensured that the determined node is a node that multiple physical hosts can connect to, thereby ensuring the universality of the target node.
[0054] In an exemplary embodiment, after synchronizing the real-time data of the cloud management service between the N physical hosts according to the database connection write table, and using the real-time data to perform a switching operation on the abnormal physical host with service abnormality among the N physical hosts, the above method also includes: monitoring the repair information of the abnormal physical host; when the repair information indicates that the abnormal physical host has resumed normal operation, re-adding the abnormal physical host that has resumed normal operation to the cloud platform cluster, and sending a message of the new node going online in the cloud platform cluster by multicast communication; when it is determined that the cloud management service switching manager of M physical hosts running cloud management services among the N physical hosts currently receives the message, synchronizing the current real-time data to the abnormal physical host that has resumed normal operation; when it is determined that the abnormal physical host that has resumed normal operation has completed the real-time data synchronization, updating the database connection write table using the Internet Protocol address corresponding to the abnormal physical host that has resumed normal operation; when the update result indicates that the Internet Protocol address corresponding to the abnormal physical host that has resumed normal operation has been written into the database connection write table, allowing the abnormal physical host that has resumed normal operation to establish a database connection with other physical hosts corresponding to the database connection write table, and writing the cloud management data of the other physical hosts to the abnormal physical host that has resumed normal operation through the connection for storage.
[0055] For example, when a failed node in a cloud platform cluster rejoins the cluster, the election process for running cloud management services will not be triggered. Only when the running cloud management service node fails will the election of a new running cloud management service be triggered. When the failed node joins the new cluster, the cloud management service switching manager will send a message about the new node going online in the multicast. After receiving the message, the cloud management service switching manager on the node running the cloud management service will actively synchronize database data with the newly-up failed node and add the IP address of the newly-up node to the database write table. The cloud management service will also establish a database connection with this node and write cloud management data to the newly-up node in real time.
[0056] In summary, through the above implementation, after the faulty physical node is repaired, it can be put online normally in time, and the data of the cloud management service can be automatically synchronized. In this way, the high availability of the cloud management service of the virtualized cloud platform is guaranteed as a whole.
[0057] In an exemplary embodiment, before obtaining the service deployment information of N physical hosts included in the cloud platform cluster, the above method also includes: receiving setting information sent by the management object corresponding to the cloud platform cluster; adding key addresses for the N physical hosts for interacting with other services outside the cloud platform cluster according to the setting information; and adjusting the key addresses to the target conditions for the node running the cloud management service to connect to the data storage space.
[0058] Optionally, the cloud management service switching manager is also responsible for pulling up a VIP address (equivalent to the key address in the above embodiment) on the running cloud management node, and providing cloud management services to the outside through the VIP address. In this way, when a running cloud management node fails, the node that is re-elected will also pull up the same VIP address through the cloud management switching manager to ensure IP consistency of the cloud management services provided to the outside.
[0059] In summary, through the above implementation method, the cloud management service switching manager uses the VIP address of the cloud management service provided externally to maintain the cloud management service, and the node that elects the cloud management service will pull up the VIP address, thus ensuring the consistency of the IP provided externally by the cloud management service. At the same time, when the node running the cloud management service fails, the cloud management service switching manager re-elects the node running the cloud management service according to the election rules, pulls up the same VIP address, and establishes a database connection with the healthy nodes in the cluster, ensuring that the cloud management data is synchronized to other nodes at all times. The consistency of the services provided by the cloud platform cluster to the outside is achieved, and the stability of the cloud service is improved.
[0060] In an exemplary embodiment, after synchronizing the real-time data of the cloud management service between the N physical hosts according to the database connection write table, and using the real-time data to perform a switching operation on the abnormal physical host with service abnormalities among the N physical hosts, the above method also includes: recording the target number of times the abnormal physical host with service abnormalities performs the switching operation; when it is determined that the target number is greater than the preset number, identifying the abnormal physical host as a damaged host, and issuing a prompt message to repair the abnormal physical host; when it is determined that the target number is less than or equal to the preset number, allowing the abnormal physical host to perform the switching operation again.
[0061] Obviously, the above-described embodiments are only embodiments of a part of the present invention, rather than all embodiments. In order to better understand the above method, the above process is described below in conjunction with embodiments, but it is not intended to limit the technical solutions of the embodiments of the present invention, specifically:
[0062] In an exemplary embodiment, a method for implementing high availability of a virtualized cloud platform management service is proposed. A cloud management platform management service and a database service required by the cloud platform management service are deployed on each physical host in the virtualized cloud platform. At the same time, each physical host in the virtualized cloud platform will be divided into a specific disk partition to store the database file of the cloud platform management service. The cloud platform management service provides services to the outside through a VIP address. The detection mechanism ensures that the VIP address is running on a virtualized cloud platform physical host at any time, that is, only the cloud management service on a physical host in the cloud platform provides services to the outside at any time. In order to ensure that the data of the cloud platform management service is synchronized to other physical hosts in the cloud platform in real time, all physical hosts in the cloud platform will run the database service required by the cloud platform management service. In addition, the node that provides the cloud management service to the outside (that is, the node running the VIP address) will detect the surviving physical nodes in the cloud platform cluster in real time, and the surviving node IP will be written in the configuration list of the cloud platform cloud management service. The cloud management service establishes a database connection based on this real-time configuration list to ensure that the data of the cloud platform cloud management service is written to the cloud management data of each surviving node in real time. In this way, the mechanism of only one node running the VIP address at any time ensures that only one node runs the cloud platform management service at any time. The node currently running the cloud platform management detects the surviving nodes in real time and obtains the IP of the surviving node. The cloud platform management service will establish a data connection with all surviving nodes to ensure that the data of the cloud platform management service is written in real time to the database of the cloud management service of the physical host in the cloud platform cluster. In this way, when the node running the cloud management service in the cloud platform crashes and switches to other nodes, the VIP address will also be switched over, so that the cloud platform management service can be started immediately to ensure the high availability of the cloud platform cloud management service.
[0063] It is understandable that the virtualized cloud management service and cloud management database business are services that must be deployed on each physical node in the cloud platform cluster. A cloud management service switching manager will be deployed on each node. This cloud management service can start the cloud management service on only one node at any time. At the same time, the cloud management service switching manager will create a VIP address on the physical host running the cloud management service, providing an IP address for external access to the cloud management service. When the cloud management service switching manager fails, it will automatically switch to a normal physical node in the cluster based on logical judgment, pull up the cloud management service, and also pull up a VIP with the same IP address to ensure that the IP address for providing cloud management services to the outside world is fixed.
[0064] In addition, each physical node in the cluster will always run the cloud management database business, and will be assigned a specific partition to store the cloud management database data. The master node running the cloud management service manages a database connection write table through the cloud management switch manager to record the host IP that is currently communicating normally with the master node. The cloud management service obtains the IP from the database connection write table. When the cloud management service connects to the cloud management database, in addition to connecting to the cloud management database of its own host, it will also connect to the database from the IP obtained in the database connection write table at the same time. In this way, all the management data of the cloud management service will be directly synchronized to all physical nodes in the cluster. When a node fails, the cloud management service switches to other nodes in other clusters, and the data of the cloud management database on other nodes is available, which does not affect the cloud management service to provide external services, ensuring the high availability of the cloud management service. When the failed node in the cluster is normal, the cloud management service switch manager will automatically synchronize the database file, and then add the IP of the failed node to the database connection write table. The cloud management service will also establish a database connection with the node that has recovered from the failure. In this way, regardless of the normal nodes in the cloud platform cluster and the failed nodes after recovery, the cloud management service data can be obtained in real time. Regardless of which node the cloud management service is switched to, cloud management services can be provided to the outside world in real time.
[0065] As an optional implementation method, the specific implementation steps of the above-mentioned method for implementing high availability of virtualized cloud platform management services are as follows:
[0066] Step 1) First, all physical nodes in the cloud platform cluster will deploy cloud management services. Cloud management services are only running on one node in the cloud platform cluster at any time, and VIP is used to provide cloud management services to the outside world. This logic is guaranteed by the cloud management switch manager, as described in the specific implementation of cloud management switch management in step 3).
[0067] Step 2) Each physical node in the cloud platform cluster will run the cloud management database service. This service is always running and always waiting for the node running the cloud management service to connect to the database, ensuring that the data of the cloud management service is always synchronized to other nodes in the cloud platform cluster. Each node in the cloud platform cluster will reserve a disk partition specifically for storing cloud management database files.
[0068] Step 3) Each node in the cloud platform cluster of the cloud management switching manager will run this service. After running this service on the node, the host will be added to a multicast group address. In this way, when the cluster starts communicating, it will send messages to this multicast address. In this way, other nodes in the cluster that are running the cloud management switching manager can receive the messages sent by each node. The content of the message will carry the management IP address of its own node, so that each node in the cloud platform cluster will receive the message sent by other nodes, and obtain the management IP addresses of other nodes in the message by parsing the message, and then select the node with the smallest number in the last segment of the IP address obtained by comparison as the node running the cloud management service. Then the node with the smallest IP sends the IP address that is currently running the cloud management service in the multicast group. After receiving it, other nodes match it with all the IP information they have received to see if the smallest IP address is elected to run the cloud management service. If not, continue to wait for the smallest IP address to send a message of successful election. If so, send an ack message (the message contains the smallest IP address that is elected to run the cloud management service). After the node that is running to run the cloud management service receives the ack messages from all nodes, it starts the cloud management service.
[0069] Step 4) The cloud management service switching manager is also responsible for pulling up a VIP address on the running cloud management node and providing cloud management services to the outside through the VIP address. In this way, when a running cloud management node fails, the node that is re-elected will also pull up the same VIP address through the cloud management switching manager to ensure the IP consistency of the cloud management services provided to the outside.
[0070] Step 5) During the normal operation of the cloud management service switching manager platform, the cloud management service switching manager on the node running the cloud management service will send detection messages to all other nodes in the cluster in the cloud platform through the multicast address at the second level. After receiving the messages, other nodes will return ack messages (the content of the message tells the node running the cloud management service that it is alive, and also carries its own management IP address). In this way, the node running the cloud management service can always maintain a list of surviving node IPs in the cloud management platform through the cloud management service switch, forming a database connection write table.
[0071] Step 6) The cloud management service writes to the table through the reservoir connection. In addition to connecting to its own database, all nodes connected to the database write table will establish a database connection, and write the cloud management service data to other nodes at the same time. Ensure that the surviving nodes in the cluster always have synchronized cloud management data.
[0072] Step 7) When the failed node in the cloud platform cluster rejoins the cluster, the election process of running the cloud management service will not be triggered. Only when the running cloud management service node fails will the election of a new running cloud management service be triggered. When the failed node joins the new cluster, the cloud management service switching manager will send a message of the new node online in the multicast. After receiving the message, the cloud management service switching manager on the node running the cloud management service will actively synchronize the database data with the newly-up failed node and add the IP address of the newly-up node to the database write table. The cloud management service will also establish a database connection with this node and write the cloud management data to the newly-up node in real time.
[0073] In summary, through the above steps 1) to 7), the high availability of the cloud management service of the virtualized cloud platform is realized. At any time, there will be a healthy node in the cloud platform cluster running the cloud management service, and the access consistency of the cloud management service through the VIP address is maintained. At the same time, the data of the cloud management service will always be synchronized to the healthy nodes in the cluster. Even if the faulty physical node is repaired and goes online normally, the data of the cloud management service can be automatically synchronized. In this way, the high availability of the cloud management service of the virtualized cloud platform is guaranteed as a whole.
[0074] Optionally, in an optional embodiment of the present application, a virtualized cloud platform cloud management service system is also provided. Figure 3 It is a structural diagram of a cloud management service system of a virtualized cloud platform according to an embodiment of the present application, mainly comprising: a cloud management service 32, N physical nodes 34, wherein each physical node (equivalent to the physical host in the above embodiment) carries: a cloud management server switching manager and a cloud management database service.
[0075] Specifically, the above system operates as follows:
[0076] The cloud management service switching manager communicates through multicast communication. According to the logic algorithm, it selects the node running the cloud management service from all the nodes in the cloud platform cluster. At the same time, the cloud management service switching manager always detects the health status of all the nodes in the cloud platform cluster, and maintains a database connection write table according to the health survival of the node. All hosts in the cloud platform cluster will always run the cloud management database service. The node running the cloud management service establishes a database connection with all the nodes (including itself) in it according to the database connection write table, so that the data of the cloud management service can be synchronized to all the nodes in the cloud platform cluster in real time. In addition, the cloud management service switching manager also maintains a VIP that provides cloud management services to the outside world. The node that elects the cloud management service will pull up the VIP, which ensures the consistency of the IP provided by the cloud management service to the outside world. At the same time, when the node running the cloud management service fails, the cloud management service switching manager re-elects the node running the cloud management service according to the election rules, pulls up the same VIP address, and establishes a database connection with the healthy nodes in the cluster, so as to ensure that the cloud management data is synchronized to other nodes at all times. When the previously failed node comes back up, the election operation will not be triggered. The cloud management switch manager will establish a connection with the node running the cloud management service and synchronize the cloud management data at one time. At the same time, the IP address of the newly launched node will be added to the database connection write table, and the cloud management service will establish a database connection with it. This ensures that the newly launched node can also synchronize the cloud management data at all times. The high availability of the cloud management service is guaranteed through the encounter mechanism. As long as there are healthy nodes in the cluster, the cloud management service can provide cloud management services to the outside world.
[0077] Through the above implementation method, a method for implementing high availability of cloud management services on a virtualized cloud platform can be implemented. At any time, there will be a healthy node in the cloud platform cluster running the cloud management service, and the access consistency of the cloud management service to the outside world through the VIP address will be maintained. At the same time, the data of the cloud management service will always be synchronized to the healthy nodes in the cluster. Even if the faulty physical node is repaired and goes online normally, the data of the cloud management service can be automatically synchronized. In this way, the high availability of the cloud management service of the virtualized cloud platform is guaranteed as a whole.
[0078] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present application.
[0079] In this embodiment, a switching device for cloud management services is also provided to implement the above-mentioned embodiments and preferred implementation modes, which have been described and will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware for a predetermined function. Although the modules described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0080] Figure 4 is a structural block diagram of a switching device for a cloud management service according to an embodiment of the present application, such as Figure 4 As shown, the device comprises:
[0081] The acquisition module 42 is used to obtain service deployment information of N physical hosts included in the cloud platform cluster, wherein the deployment information is used to indicate the health status of each physical host providing cloud management services to the outside, and the situation that each physical host includes a switching management service;
[0082] A screening module 44, configured to screen out at least one target node running the switching management service from the N physical hosts according to a preset logic algorithm and the service deployment information;
[0083] A generating module 46 is used to summarize the health status of other N-1 physical hosts through the target node and generate a database connection write table corresponding to the cloud platform cluster;
[0084] The switching module 48 is used to synchronize the real-time data of the cloud management service between the N physical hosts according to the database connection write table, and use the real-time data to perform a switching operation on an abnormal physical host with service abnormality among the N physical hosts, wherein N is a positive integer.
[0085] The above device obtains the service deployment information of N physical hosts included in the cloud platform cluster, wherein the deployment information is used to indicate the health status of each physical host providing cloud management services to the outside, and the situation that each physical host includes switching management services; at least one target node running the switching management service is selected from the N physical hosts according to the preset logic algorithm and service deployment information; the health status of the other N-1 physical hosts is summarized through the target node to generate a database connection write table corresponding to the cloud platform cluster; the real-time data of the cloud management service is synchronized between the N physical hosts according to the database connection write table, and the real-time data is used to perform a switching operation on the abnormal physical host with service abnormality in the N physical hosts. With the above technical solution, there will always be a healthy node running the cloud management service in the cloud platform cluster at any time, and the access consistency of the cloud management service to the outside through the key address is maintained. At the same time, the data of the cloud management service will be synchronized to the healthy nodes in the cluster at all times. Even if the faulty physical node is repaired and goes online normally, the data of the cloud management service can be automatically synchronized. This ensures the high availability of the cloud management services of the virtualized cloud platform as a whole, and solves the problem in the existing method that the cloud platform management service becomes inaccessible when any host on the virtualized platform has a problem.
[0086] In an exemplary embodiment, the switching module is also used to determine N target health states corresponding to the N physical hosts based on the database connection write table; screen the N target health states to determine the M physical hosts that have currently entered multicast communication, wherein M is a positive integer and M is less than or equal to N; when it is determined that the abnormal physical host is included in the M physical hosts, select a replacement physical host to replace the abnormal physical host from the NM physical hosts according to a preset election rule; and initiate a replacement process for the abnormal physical host based on the replacement physical host and the real-time data.
[0087] In an exemplary embodiment, the above-mentioned screening module is used to obtain the target message sent by each of the N physical hosts to other physical hosts; parse the target message to determine the real-time Internet Protocol addresses corresponding to other physical hosts in the target message; summarize the real-time Internet Protocol addresses of the N physical hosts to obtain an address set; compare the size of the last segment of the digital sequence of all addresses in the address set, and determine the real-time Internet Protocol address with the smallest digital sequence as the target node for running the switching management service.
[0088] In an exemplary embodiment, the above-mentioned screening module also includes: a matching unit, which is used to determine the real-time Internet Protocol address with the smallest digital sequence as the target node for running the switching management service, and then instruct the target node to send the node address corresponding to the target node in the multicast group corresponding to the N physical hosts; receive feedback information from other physical hosts in the multicast group, wherein the feedback information is the matching degree between the local addresses existing in the other physical hosts and the node address; and determine whether to use the target node as a node for N physical hosts among the N physical hosts based on the feedback information.
[0089] In an exemplary embodiment, the above-mentioned device also includes: a reply module, which is used to synchronize the real-time data of the cloud management service between the N physical hosts according to the database connection write table, and use the real-time data to perform a switching operation on the abnormal physical host with service abnormality among the N physical hosts, and then monitor the repair information of the abnormal physical host; when the repair information indicates that the abnormal physical host has resumed normal operation, the abnormal physical host that has resumed normal operation is added back to the cloud platform cluster, and a message of the new node going online is sent in the cloud platform cluster by multicast communication; after determining the cloud management service switching of the M physical hosts currently running the cloud management service among the N physical hosts When the manager receives the message, it synchronizes the current real-time data to the abnormal physical host that has returned to normal; when it is determined that the abnormal physical host that has returned to normal has completed the real-time data synchronization, it uses the Internet Protocol address corresponding to the abnormal physical host that has returned to normal to update the database connection write table; when the update result indicates that the Internet Protocol address corresponding to the abnormal physical host that has returned to normal has been written into the database connection write table, it allows the abnormal physical host that has returned to normal to establish a database connection with other physical hosts corresponding to the database connection write table, and writes the cloud management data of the other physical hosts to the abnormal physical host that has returned to normal through the connection for storage.
[0090] In an exemplary embodiment, the above-mentioned device also includes: an adding module, which is used to receive setting information sent by the corresponding management object of the cloud platform cluster before obtaining the service deployment information of N physical hosts included in the cloud platform cluster; add key addresses for the N physical hosts to interact with other services outside the cloud platform cluster according to the setting information; and adjust the key addresses to the target conditions for the node running the cloud management service to connect to the data storage space.
[0091] In an exemplary embodiment, the above-mentioned device also includes: a recording module, which is used to synchronize the real-time data of the cloud management service between the N physical hosts according to the database connection write table, and after using the real-time data to perform a switching operation on the abnormal physical host with service abnormalities among the N physical hosts, record the target number of times the abnormal physical host with service abnormalities performs the switching operation; when it is determined that the target number is greater than the preset number, the abnormal physical host is identified as a damaged host, and a prompt message for repairing the abnormal physical host is issued; when it is determined that the target number is less than or equal to the preset number, the abnormal physical host is allowed to perform the switching operation again.
[0092] It should be noted that the above modules can be implemented by software or hardware. For the latter, it can be implemented in the following ways, but not limited to: the above modules are all located in the same processor; or the above modules are located in different processors in any combination.
[0093] An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when run.
[0094] Optionally, in this embodiment, the computer program may be configured to perform the following steps by means of the computer program:
[0095] S1, obtaining service deployment information of N physical hosts included in the cloud platform cluster, wherein the deployment information is used to indicate the health status of each physical host providing cloud management services to the outside, and the status of each physical host including a switching management service;
[0096] S2, selecting at least one target node running the switching management service from the N physical hosts according to a preset logic algorithm and the service deployment information;
[0097] S3, summarizing the health status of other N-1 physical hosts through the target node, and generating a database connection write table corresponding to the cloud platform cluster;
[0098] S4, synchronizing the real-time data of the cloud management service between the N physical hosts according to the database connection write table, and using the real-time data to perform a switching operation on an abnormal physical host with service abnormality among the N physical hosts, wherein N is a positive integer.
[0099] In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to, various media that can store computer programs, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk.
[0100] The embodiment of the present application also provides an electronic device, such as Figure 5 As shown, the electronic device includes a memory 502 and a processor 504. The memory 502 stores a computer program, and the processor 504 is configured to execute the steps in any of the above method embodiments through the computer program.
[0101] Optionally, in this embodiment, the processor 504 may be configured to perform the following steps through a computer program:
[0102] S1, obtaining service deployment information of N physical hosts included in the cloud platform cluster, wherein the deployment information is used to indicate the health status of each physical host providing cloud management services to the outside, and the status of each physical host including a switching management service;
[0103] S2, selecting at least one target node running the switching management service from the N physical hosts according to a preset logic algorithm and the service deployment information;
[0104] S3, summarizing the health status of other N-1 physical hosts through the target node, and generating a database connection write table corresponding to the cloud platform cluster;
[0105] S4, synchronizing the real-time data of the cloud management service between the N physical hosts according to the database connection write table, and using the real-time data to perform a switching operation on an abnormal physical host with service abnormality among the N physical hosts, wherein N is a positive integer.
[0106] For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary implementation modes, and this embodiment will not be described in detail herein.
[0107] Alternatively, a person skilled in the art may understand that: Figure 5 The structure shown is for illustration only. Figure 5 The structure of the electronic device is not limited. For example, the electronic device may also include Figure 5 More or fewer components (such as network interfaces, etc.) as shown in, or with Figure 5 Different configurations are shown.
[0108] Among them, the memory 502 can be used to store software programs and modules, such as the program instructions / modules corresponding to the switching method and device of the cloud management service in the embodiment of the present application. The processor 504 executes various functional applications and data processing by running the software programs and modules stored in the memory 502, that is, realizing the switching method of the cloud management service mentioned above. The memory 502 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 502 may further include a memory remotely located relative to the processor 504, and these remote memories may be connected to the terminal via a network. Examples of the above-mentioned networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof. Among them, the memory 502 can be specifically, but not limited to, used to store information such as system configuration files. As an example, such as Figure 5 As shown, the memory 502 may include but is not limited to all modules in the switching device for the cloud management service. In addition, it may also include but is not limited to other module units in the switching device for the cloud management service, which will not be described in detail in this example.
[0109] Optionally, the transmission device 506 is used to receive or send data via a network. Specific examples of the network may include a wired network and a wireless network. In one example, the transmission device 506 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices and routers via a network cable so as to communicate with the Internet or a local area network. In one example, the transmission device 506 is a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0110] In addition, the electronic device mentioned above further includes: a display 508; and a connection bus 510, which is used to connect various module components in the electronic device mentioned above.
[0111] An embodiment of the present application further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the steps in any one of the above method embodiments are implemented.
[0112] An embodiment of the present application further provides another computer program product, including a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in any of the above method embodiments are implemented.
[0113] The embodiments of the present application also provide a computer program, which includes computer instructions stored in a computer-readable storage medium; a processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the steps of any one of the above method embodiments.
[0114] Obviously, those skilled in the art should understand that the above modules or steps of the present application can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order from that herein, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present application is not limited to any specific combination of hardware and software.
[0115] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the principles of the present application shall be included in the protection scope of the present application.
Claims
1. A method for switching a cloud management service, characterized in that: include: Obtain service deployment information of N physical hosts included in the cloud platform cluster, wherein the deployment information is used to indicate the health status of each physical host providing cloud management services to the outside, and the situation that each physical host includes a switching management service; Filtering at least one target node running the switching management service from the N physical hosts according to a preset logic algorithm and the service deployment information; The health status of other N-1 physical hosts is summarized through the target node to generate a database connection write table corresponding to the cloud platform cluster; The real-time data of the cloud management service is synchronized between the N physical hosts according to the database connection write table, and the real-time data is used to perform a switching operation on an abnormal physical host with service abnormality among the N physical hosts, wherein N is a positive integer.
2. The method according to claim 1, characterized in that Synchronizing the real-time data of the cloud management service between the N physical hosts according to the database connection writing table, and using the real-time data to perform a switching operation on an abnormal physical host with service abnormality among the N physical hosts, including: Determine N target health states corresponding to the N physical hosts according to the database connection write table; Screening the N target health states to determine M physical hosts that have currently entered multicast communication, where M is a positive integer and is less than or equal to N; In the case where it is determined that the abnormal physical host is included in the M physical hosts, a replacement physical host that replaces the abnormal physical host is elected from the NM physical hosts according to a preset election rule; A replacement process for the abnormal physical host is initiated based on the replacement physical host and the real-time data.
3. The method according to claim 1, characterized in that Selecting at least one target node running the switching management service from the N physical hosts according to a preset logic algorithm and the service deployment information includes: Obtaining target messages sent by each of the N physical hosts to other physical hosts; Parsing the target message to determine the real-time Internet Protocol addresses corresponding to other physical hosts in the target message; Aggregating the real-time Internet Protocol addresses of the N physical hosts to obtain an address set; The sizes of the last digital sequences of all addresses in the address set are compared, and the real-time Internet Protocol address with the smallest digital sequence is determined as the target node for running the switching management service.
4. The method according to claim 3, characterized in that After determining the real-time Internet Protocol address with the smallest digital sequence as the target node for running the switching management service, the method further includes: Instruct the target node to send a node address corresponding to the target node in the multicast groups corresponding to the N physical hosts; Receive feedback information from other physical hosts in the multicast group, wherein the feedback information is a matching degree between a local address existing in the other physical hosts and the node address; Determine whether to use the target node as a node for the N physical hosts among the N physical hosts according to the feedback information.
5. The method according to claim 1, characterized in that After synchronizing the real-time data of the cloud management service between the N physical hosts according to the database connection writing table, and performing a switching operation on an abnormal physical host with service abnormality among the N physical hosts using the real-time data, the method further includes: Monitoring the repair information of the abnormal physical host; When the repair information indicates that the abnormal physical host has resumed normal operation, the abnormal physical host that has resumed normal operation is added back to the cloud platform cluster, and a message indicating that a new node has come online is sent in the cloud platform cluster by way of multicast communication; When it is determined that the cloud management service switching manager of M physical hosts running the cloud management service among the N physical hosts currently receives the message, synchronize the current real-time data to the abnormal physical host that has returned to normal; When it is determined that the abnormal physical host that has returned to normal has completed the real-time data synchronization, the database connection write table is updated using the Internet Protocol address corresponding to the abnormal physical host that has returned to normal; When the update result indicates that the Internet Protocol address corresponding to the restored abnormal physical host has been written into the database connection write table, the restored abnormal physical host is allowed to establish a database connection with other physical hosts corresponding to the database connection write table, and the cloud management data of the other physical hosts are written to the restored abnormal physical host for storage through the connection.
6. The method according to claim 1, characterized in that Before obtaining the service deployment information of the N physical hosts included in the cloud platform cluster, the method further includes: Receive setting information sent by the management object corresponding to the cloud platform cluster; Adding key addresses for the N physical hosts to interact with other services outside the cloud platform cluster according to the setting information; The key address is adjusted to a target condition for a node running a cloud management service to connect to a data storage space.
7. The method according to claim 1, characterized in that After synchronizing the real-time data of the cloud management service between the N physical hosts according to the database connection writing table, and performing a switching operation on an abnormal physical host with service abnormality among the N physical hosts using the real-time data, the method further includes: Record the target number of times the abnormal physical host with the abnormal service performs the switching operation; When it is determined that the target number of times is greater than the preset number of times, the abnormal physical host is identified as a damaged host, and a prompt message for repairing the abnormal physical host is issued; When it is determined that the target number of times is less than or equal to the preset number of times, the abnormal physical host is allowed to perform the switching operation again.
8. A switching device for a cloud management service, characterized in that: include: An acquisition module is used to acquire service deployment information of N physical hosts included in the cloud platform cluster, wherein the deployment information is used to indicate the health status of each physical host providing cloud management services to the outside, and the situation that each physical host includes a switching management service; A screening module, configured to screen out at least one target node running the switching management service from the N physical hosts according to a preset logic algorithm and the service deployment information; A generation module, used to summarize the health status of other N-1 physical hosts through the target node, and generate a database connection write table corresponding to the cloud platform cluster; A switching module is used to synchronize the real-time data of the cloud management service between the N physical hosts according to the database connection write table, and use the real-time data to perform a switching operation on an abnormal physical host with service abnormality among the N physical hosts, wherein N is a positive integer.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program implements the steps of the method described in any one of claims 1 to 7 when executed by a processor.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method described in any one of claims 1 to 7 are implemented.
Citation Information
Cited By
Cluster management method and device, storage medium and electronic equipment
CN119322706A
