CN111181780A - HA cluster-based host pool switching method, system, terminal and storage medium - Google Patents

HA cluster-based host pool switching method, system, terminal and storage medium Download PDF

Info

Publication number
CN111181780A
CN111181780A CN201911331517.8A CN201911331517A CN111181780A CN 111181780 A CN111181780 A CN 111181780A CN 201911331517 A CN201911331517 A CN 201911331517A CN 111181780 A CN111181780 A CN 111181780A
Authority
CN
China
Prior art keywords
host
pool
virtual machine
migration
host pool
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.)
Withdrawn
Application number
CN201911331517.8A
Other languages
Chinese (zh)
Inventor
朱进强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201911331517.8A priority Critical patent/CN111181780A/en
Publication of CN111181780A publication Critical patent/CN111181780A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0663Performing the actions predefined by failover planning, e.g. switching to standby network elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/4557Distribution of virtual machine instances; Migration and load balancing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45595Network integration; Enabling network access in virtual machine instances

Abstract

The invention provides a host pool switching method, a system, a terminal and a storage medium based on an HA cluster, comprising the following steps: setting a standby host pool; monitoring application host pool state information of the HA virtual machine cluster; if the application host pool is monitored to have a fault host, taking a virtual machine on the fault host as a migration virtual machine to be migrated to the standby host pool; and if the unoccupied host exists in the application host pool, migrating the virtual machine from the standby host pool to the unoccupied host in the application host pool. The invention can reduce the influence on other hosts of the host pool when the host is abnormal, quickly recover the virtual machine on the abnormal host and reduce the influence of the host fault on the service.

Description

HA cluster-based host pool switching method, system, terminal and storage medium
Technical Field
The invention relates to the technical field of virtual machine management platforms, in particular to a host pool switching method, a host pool switching system, a host pool switching terminal and a storage medium based on an HA (home agent) cluster.
Background
The Langchao InCloud Sphere is a nationwide self-developed server virtualization product, and can create a safe, stable, efficient and easy-to-use data center virtualization resource platform based on a large number of bottom layer performance optimization, full component high availability realization and visual usability design.
Based on the requirement of big data, the number of virtual machines in the virtual machine cluster is also increased. The difficulty of managing clusters of virtual machines increases. The virtual machine cluster is established in the host pool, and after a host with a fault occurs in the host pool, the virtual machines on the fault host need to be migrated in order not to affect the service of the virtual machine cluster.
The existing HA policy of the virtual machine is generally migrated on all hosts in the cluster, which may have a large influence on other hosts that do not have a fault and affect the performance of the hosts.
Disclosure of Invention
In view of the above-mentioned deficiencies of the prior art, the present invention provides a host pool switching method, system, terminal and storage medium based on HA cluster to solve the above-mentioned technical problems.
In a first aspect, the present invention provides a host pool switching method based on an HA cluster, including:
setting a standby host pool;
monitoring application host pool state information of the HA virtual machine cluster;
if the application host pool is monitored to have a fault host, taking a virtual machine on the fault host as a migration virtual machine to be migrated to the standby host pool;
and if the unoccupied host exists in the application host pool, migrating the virtual machine from the standby host pool to the unoccupied host in the application host pool.
Further, the method further comprises:
checking the host state of the standby host pool to determine that the host of the standby host pool is available;
setting a migration priority of the virtual machine;
generating a virtual machine migration sequence according to the migration priority of the virtual machines from high to low;
migrating the HA virtual machine cluster to a standby host pool according to the migration sequence of the virtual machines;
acquiring standby host pool resources in real time and judging whether the standby host pool resources reach a preset threshold value:
and if so, stopping migrating the virtual machine to the standby host pool.
Further, the method further comprises:
monitoring host information of an application host pool;
if the monitoring result shows that the fault of the fault host of the application host pool is relieved, the migration virtual machine is migrated back to the original host;
and if the application host pool is monitored to have a newly added host, migrating the migration virtual machine to the newly added host according to a preset distribution strategy.
Further, after the monitoring that the application host pool has the newly added host, the method further includes:
collecting the resource amount of an application host pool;
judging whether the resource amount is not less than the resource amount before the fault of the application host pool:
and if so, triggering the operation of migrating the migration virtual machine back to the application host pool.
In a second aspect, the present invention provides a host pool switching system based on an HA cluster, including:
a standby setting unit configured to set a standby host pool;
the state monitoring unit is used for monitoring the application host pool state information of the HA virtual machine cluster;
the fault migration unit is configured to, if it is monitored that the application host pool has a fault host, migrate the virtual machine on the fault host to the standby host pool as a migration virtual machine;
and the recovery migration unit is configured to migrate the migration virtual machine from the standby host pool to the unoccupied host of the application host pool if the unoccupied host exists in the application host pool.
Further, the system further comprises:
the available checking unit is configured for checking the host state of the standby host pool to determine that the host of the standby host pool is available;
the system comprises a level setting unit, a virtual machine migration priority setting unit and a virtual machine migration priority setting unit, wherein the level setting unit is configured to set the virtual machine migration priority;
the sequence generating unit is configured to generate a virtual machine migration sequence from high to low according to the virtual machine migration priority;
the migration execution unit is configured to migrate the HA virtual machine cluster to the standby host pool according to the virtual machine migration sequence;
the resource acquisition unit is configured to acquire the standby host pool resources in real time and judge whether the standby host pool resources reach a preset threshold value:
and the migration stopping unit is configured to stop migrating the virtual machine to the standby host pool if the standby host pool resource reaches a preset threshold.
Further, the system further comprises:
the information monitoring unit is used for monitoring the host information of the application host pool;
the first migration unit is configured to migrate the migration virtual machine back to the original host machine if monitoring that the failure of the failed host machine of the application host machine pool is removed;
and the second migration unit is configured to migrate the migration virtual machine to the newly added host according to a preset distribution strategy if the newly added host is monitored to exist in the application host pool.
Further, the system further comprises:
the resource acquisition unit is configured for acquiring the resource amount of the application host pool;
the resource comparison unit is configured to judge whether the resource amount is not less than the resource amount before the failure of the application host pool;
and the migration back triggering unit is configured to trigger the operation of migrating the migrated virtual machine back to the application host pool if the resource amount is not less than the pre-failure resource amount of the application host pool.
In a third aspect, a terminal is provided, including:
a processor, a memory, wherein,
the memory is used for storing a computer program which,
the processor is used for calling and running the computer program from the memory so as to make the terminal execute the method of the terminal.
In a fourth aspect, a computer storage medium is provided having stored therein instructions that, when executed on a computer, cause the computer to perform the method of the above aspects.
The beneficial effect of the invention is that,
according to the host pool switching method, system, terminal and storage medium based on the HA cluster, the standby host pool is set, the virtual machines on the failed hosts are migrated to the standby host pool after the application host pool is monitored to have the failed hosts, and the HA virtual machine cluster is migrated back to the application host pool after the host failure of the application host pool is relieved. The invention can reduce the influence on other hosts of the host pool when the host is abnormal, quickly recover the virtual machine on the abnormal host and reduce the influence of the host fault on the service.
In addition, the invention has reliable design principle, simple structure and very wide application prospect.
Drawings
In order to more clearly illustrate the embodiments or technical solutions in the prior art of the present invention, the drawings used in the description of the embodiments or prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained based on these drawings without creative efforts.
FIG. 1 is a schematic flow diagram of a method of one embodiment of the invention.
FIG. 2 is a schematic flow diagram of a method of one embodiment of the invention.
FIG. 3 is a migration architecture diagram of a method according to an embodiment of the invention.
FIG. 4 is a schematic block diagram of a system of one embodiment of the present invention.
Fig. 5 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solution of the present invention, the technical solution in the embodiment of the present invention will be clearly and completely described below with reference to the drawings in the embodiment of the present invention, and it is obvious that the described embodiment is only a part of the embodiment of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The noun explains:
HA is fully known as High Availability. It is a component in VMware's enterprise application environment that is used to guarantee the uninterrupted running needs of enterprise-level applications.
FIG. 1 is a schematic flow diagram of a method of one embodiment of the invention. The execution subject in fig. 1 may be a host pool switching system based on an HA cluster.
As shown in fig. 1, the method 100 includes:
step 110, setting a standby host pool;
step 120, monitoring application host pool state information of the HA virtual machine cluster;
step 130, if it is monitored that the application host pool has a fault host, migrating the virtual machine on the fault host to the standby host pool as a migration virtual machine;
step 140, if it is monitored that the unoccupied host exists in the application host pool, the migration virtual machine is migrated from the standby host pool to the unoccupied host in the application host pool.
In order to facilitate understanding of the present invention, the host pool switching method based on the HA cluster provided in the present invention is further described below with reference to the principle of the host pool switching method based on the HA cluster according to the present invention and the process of switching the abnormal host pool in the embodiment.
Specifically, referring to fig. 2, the host pool switching method based on the HA cluster includes:
and S1, setting a standby host pool.
As shown in FIG. 3, the system deploys four hosts, A, B, C, D for the application host pool and E, F for the standby host pool. Wherein, a plurality of virtual machines a, b, c and d are respectively operated on the ABCD. The number of the standby host pool hosts is set according to the customer service requirement, and is set to be half of the number of the application host pool in the embodiment. The host in the standby host pool does not run the virtual machine at ordinary times, and is used as the host for migration and recovery of the virtual machine only when other hosts are abnormal.
And S2, monitoring the application host pool state information of the HA virtual machine cluster.
When a host in the application host pool fails, the virtual machine is down, and at the moment, the system triggers an HA strategy (virtual machine cluster migration) after detecting that the virtual machine is down.
And S3, if the application host pool is monitored to have a fault host, taking the virtual machine on the fault host as a migration virtual machine to be migrated to the standby host pool.
The virtual machine migration priority is set to a-high, b-medium, c-low, and d is not set. If the cluster priority is set to medium, the d priority inherits the cluster priority to medium.
According to the priority of the virtual machine, the a virtual machine is preferentially migrated to the fail-over host pool E, F host, and whether the resources of the E, F host are sufficient (a preset resource threshold (threshold) below which the backup host pool can not support the virtual machine of the next level anymore) is detected. If the host resources are confirmed E, F to be sufficient, the b, d virtual machines are migrated. If the resources are insufficient, the migration is stopped. And by analogy, the migration of the low-priority virtual machine c is completed.
In another embodiment of the present invention, a resource required by one virtual machine may be set as a resource threshold of the standby host pool, and each time a virtual machine is migrated to the standby host pool, it is determined whether the resource of the standby host pool reaches the resource threshold, and if the resource of the standby host pool reaches the resource threshold, the migration is stopped. Although the migration speed of the virtual machines is reduced (one migration instead of one-level batch migration), the number of the virtual machines can be increased, and the resource utilization of the standby host pool is maximized.
And S4, if the application host pool is monitored to have unoccupied hosts, migrating the virtual machine from the standby host pool to the unoccupied hosts of the application host pool.
The unoccupied host is a host without a load virtual machine, and in this embodiment, the unoccupied host includes an original host with a failure removed from the application host pool and a newly added host newly added to the application host pool.
After detecting that the host in the application host pool is recovered, the system migrates the virtual machine abcd in the standby host pool E, F back to the original host. The system judges whether the original abnormal host recovers or a new idle host is added into the cluster, the virtual machine in the failure switching host pool is migrated back to the original host or a new application host pool, and if the application host pool has a new additional host, whether the resource of the new additional host is not lower than the resource amount of the failure host needs to be judged. And in the judging process, the resource amount of the application host pool is collected again, the resource amount is compared with the resource amount before the failure of the application host pool, and if the resource amount collected again is not lower than the resource amount before the failure, the migrated virtual machine is migrated from the standby host pool to the unoccupied host of the application host pool. The resource amount in this embodiment includes a CPU availability, a memory availability, and the like. And if the host pool has a new host to replace the failed host, migrating the virtual machine to the new host according to a preset distribution strategy (one host deploys a plurality of virtual machines) when migrating the virtual machine back.
In other embodiments of the present invention, a cluster may set multiple application host pools and standby host pools, or may set one application host pool and one standby host pool, where the number of application host pools and the number of standby host pools may be set according to business needs.
As shown in fig. 4, the system 400 includes:
a standby setting unit 410 configured to set a standby host pool;
a status monitoring unit 420 configured to monitor application host pool status information of the HA virtual machine cluster;
a failure migration unit 430, configured to, if it is monitored that a failure host exists in the application host pool, migrate a virtual machine on the failure host to the standby host pool as a migration virtual machine;
and a recovery migration unit 440 configured to migrate the migrated virtual machine from the standby host pool to the unoccupied host of the application host pool if it is monitored that the unoccupied host exists in the application host pool.
Optionally, as an embodiment of the present invention, the system further includes:
the available checking unit is configured for checking the host state of the standby host pool to determine that the host of the standby host pool is available;
the system comprises a level setting unit, a virtual machine migration priority setting unit and a virtual machine migration priority setting unit, wherein the level setting unit is configured to set the virtual machine migration priority;
the sequence generating unit is configured to generate a virtual machine migration sequence from high to low according to the virtual machine migration priority;
the migration execution unit is configured to migrate the HA virtual machine cluster to the standby host pool according to the virtual machine migration sequence;
the resource acquisition unit is configured to acquire the standby host pool resources in real time and judge whether the standby host pool resources reach a preset threshold value:
and the migration stopping unit is configured to stop migrating the virtual machine to the standby host pool if the standby host pool resource reaches a preset threshold.
Optionally, as an embodiment of the present invention, the system further includes:
the information monitoring unit is used for monitoring the host information of the application host pool;
the first migration unit is configured to migrate the migration virtual machine back to the original host machine if monitoring that the failure of the failed host machine of the application host machine pool is removed;
and the second migration unit is configured to migrate the migration virtual machine to the newly added host according to a preset distribution strategy if the newly added host is monitored to exist in the application host pool.
Optionally, as an embodiment of the present invention, the system further includes:
the resource acquisition unit is configured for acquiring the resource amount of the application host pool;
the resource comparison unit is configured to judge whether the resource amount is not less than the resource amount before the failure of the application host pool;
and the migration back triggering unit is configured to trigger the operation of migrating the migrated virtual machine back to the application host pool if the resource amount is not less than the pre-failure resource amount of the application host pool.
Fig. 5 is a schematic structural diagram of a terminal system 500 according to an embodiment of the present invention, where the terminal system 500 may be used to execute the HA cluster-based host pool switching method according to the embodiment of the present invention.
The terminal system 500 may include: a processor 510, a memory 520, and a communication unit 530. The components communicate via one or more buses, and those skilled in the art will appreciate that the architecture of the servers shown in the figures is not intended to be limiting, and may be a bus architecture, a star architecture, a combination of more or less components than those shown, or a different arrangement of components.
The memory 520 may be used for storing instructions executed by the processor 510, and the memory 520 may be implemented by any type of volatile or non-volatile storage terminal or combination thereof, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The executable instructions in memory 520, when executed by processor 510, enable terminal 500 to perform some or all of the steps in the method embodiments described below.
The processor 510 is a control center of the storage terminal, connects various parts of the entire electronic terminal using various interfaces and lines, and performs various functions of the electronic terminal and/or processes data by operating or executing software programs and/or modules stored in the memory 520 and calling data stored in the memory. The processor may be composed of an Integrated Circuit (IC), for example, a single packaged IC, or a plurality of packaged ICs connected with the same or different functions. For example, processor 510 may include only a Central Processing Unit (CPU). In the embodiment of the present invention, the CPU may be a single operation core, or may include multiple operation cores.
A communication unit 530 for establishing a communication channel so that the storage terminal can communicate with other terminals. And receiving user data sent by other terminals or sending the user data to other terminals.
The present invention also provides a computer storage medium, wherein the computer storage medium may store a program, and the program may include some or all of the steps in the embodiments provided by the present invention when executed. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM) or a Random Access Memory (RAM).
Therefore, the invention is provided with the standby host pool, the virtual machines on the failed host are migrated to the standby host pool after the application host pool is monitored to have the failed host, and the HA virtual machine cluster is migrated back to the application host pool after the host failure of the application host pool is relieved. The method and the device can reduce the influence of the abnormal host on other hosts in the host pool, quickly recover the virtual machine on the abnormal host, and reduce the influence of the host fault on the service.
Those skilled in the art will readily appreciate that the techniques of the embodiments of the present invention may be implemented as software plus a required general purpose hardware platform. Based on such understanding, the technical solutions in the embodiments of the present invention may be embodied in the form of a software product, where the computer software product is stored in a storage medium, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and the like, and the storage medium can store program codes, and includes instructions for enabling a computer terminal (which may be a personal computer, a server, or a second terminal, a network terminal, and the like) to perform all or part of the steps of the method in the embodiments of the present invention.
The same and similar parts in the various embodiments in this specification may be referred to each other. Especially, for the terminal embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant points can be referred to the description in the method embodiment.
In the embodiments provided in the present invention, it should be understood that the disclosed system and method can be implemented in other ways. For example, the above-described system embodiments are merely illustrative, and for example, the division of the units is only one logical functional division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, systems or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
Although the present invention has been described in detail by referring to the drawings in connection with the preferred embodiments, the present invention is not limited thereto. Various equivalent modifications or substitutions can be made on the embodiments of the present invention by those skilled in the art without departing from the spirit and scope of the present invention, and these modifications or substitutions are within the scope of the present invention/any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A host pool switching method based on HA cluster is characterized by comprising the following steps:
setting a standby host pool;
monitoring application host pool state information of the HA virtual machine cluster;
if the application host pool is monitored to have a fault host, taking a virtual machine on the fault host as a migration virtual machine to be migrated to the standby host pool;
and if the unoccupied host exists in the application host pool, migrating the virtual machine from the standby host pool to the unoccupied host in the application host pool.
2. The method of claim 1, further comprising:
checking the host state of the standby host pool to determine that the host of the standby host pool is available;
setting a migration priority of the virtual machine;
generating a virtual machine migration sequence according to the migration priority of the virtual machines from high to low;
migrating the HA virtual machine cluster to a standby host pool according to the migration sequence of the virtual machines;
acquiring standby host pool resources in real time and judging whether the standby host pool resources reach a preset threshold value:
and if so, stopping migrating the virtual machine to the standby host pool.
3. The method of claim 1, further comprising:
monitoring host information of an application host pool;
if the monitoring result shows that the fault of the fault host of the application host pool is relieved, the migration virtual machine is migrated back to the original host;
and if the application host pool is monitored to have a newly added host, migrating the migration virtual machine to the newly added host according to a preset distribution strategy.
4. The method of claim 3, wherein after the monitoring that there is a new host in the application host pool, the method further comprises:
collecting the resource amount of an application host pool;
judging whether the resource amount is not less than the resource amount before the fault of the application host pool:
and if so, triggering the operation of migrating the migration virtual machine back to the application host pool.
5. A host pool switching system based on HA cluster, comprising:
a standby setting unit configured to set a standby host pool;
the state monitoring unit is used for monitoring the application host pool state information of the HA virtual machine cluster;
the fault migration unit is configured to, if it is monitored that the application host pool has a fault host, migrate the virtual machine on the fault host to the standby host pool as a migration virtual machine;
and the recovery migration unit is configured to migrate the migration virtual machine from the standby host pool to the unoccupied host of the application host pool if the unoccupied host exists in the application host pool.
6. The system of claim 5, further comprising:
the available checking unit is configured for checking the host state of the standby host pool to determine that the host of the standby host pool is available;
the system comprises a level setting unit, a virtual machine migration priority setting unit and a virtual machine migration priority setting unit, wherein the level setting unit is configured to set the virtual machine migration priority;
the sequence generating unit is configured to generate a virtual machine migration sequence from high to low according to the virtual machine migration priority;
the migration execution unit is configured to migrate the HA virtual machine cluster to the standby host pool according to the virtual machine migration sequence;
the resource acquisition unit is configured to acquire the standby host pool resources in real time and judge whether the standby host pool resources reach a preset threshold value:
and the migration stopping unit is configured to stop migrating the virtual machine to the standby host pool if the standby host pool resource reaches a preset threshold.
7. The system of claim 5, further comprising:
the information monitoring unit is used for monitoring the host information of the application host pool;
the first migration unit is configured to migrate the migration virtual machine back to the original host machine if monitoring that the failure of the failed host machine of the application host machine pool is removed;
and the second migration unit is configured to migrate the migration virtual machine to the newly added host according to a preset distribution strategy if the newly added host is monitored to exist in the application host pool.
8. The system of claim 7, further comprising:
the resource acquisition unit is configured for acquiring the resource amount of the application host pool;
the resource comparison unit is configured to judge whether the resource amount is not less than the resource amount before the failure of the application host pool;
and the migration back triggering unit is configured to trigger the operation of migrating the migrated virtual machine back to the application host pool if the resource amount is not less than the pre-failure resource amount of the application host pool.
9. A terminal, comprising:
a processor;
a memory for storing instructions for execution by the processor;
wherein the processor is configured to perform the method of any one of claims 1-4.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-4.
CN201911331517.8A 2019-12-21 2019-12-21 HA cluster-based host pool switching method, system, terminal and storage medium Withdrawn CN111181780A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911331517.8A CN111181780A (en) 2019-12-21 2019-12-21 HA cluster-based host pool switching method, system, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911331517.8A CN111181780A (en) 2019-12-21 2019-12-21 HA cluster-based host pool switching method, system, terminal and storage medium

Publications (1)

Publication Number Publication Date
CN111181780A true CN111181780A (en) 2020-05-19

Family

ID=70655620

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911331517.8A Withdrawn CN111181780A (en) 2019-12-21 2019-12-21 HA cluster-based host pool switching method, system, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN111181780A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112181593A (en) * 2020-09-27 2021-01-05 北京首都在线科技股份有限公司 Virtual machine scheduling method, device, equipment and storage medium
CN112395047A (en) * 2020-11-20 2021-02-23 华云数据控股集团有限公司 Virtual machine fault evacuation method, system and computer readable medium
CN113515349A (en) * 2021-07-28 2021-10-19 中国工商银行股份有限公司 High-performance emergency back-switch method and device
CN114697191A (en) * 2022-03-29 2022-07-01 浪潮云信息技术股份公司 Resource migration method, device, equipment and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112181593A (en) * 2020-09-27 2021-01-05 北京首都在线科技股份有限公司 Virtual machine scheduling method, device, equipment and storage medium
CN112395047A (en) * 2020-11-20 2021-02-23 华云数据控股集团有限公司 Virtual machine fault evacuation method, system and computer readable medium
CN113515349A (en) * 2021-07-28 2021-10-19 中国工商银行股份有限公司 High-performance emergency back-switch method and device
CN114697191A (en) * 2022-03-29 2022-07-01 浪潮云信息技术股份公司 Resource migration method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN111181780A (en) HA cluster-based host pool switching method, system, terminal and storage medium
CN103201724B (en) Providing application high availability in highly-available virtual machine environments
US10609159B2 (en) Providing higher workload resiliency in clustered systems based on health heuristics
CN105187249B (en) A kind of fault recovery method and device
US8510590B2 (en) Method and system for cluster resource management in a virtualized computing environment
US8156370B2 (en) Computer system and method of control thereof
CN108270726B (en) Application instance deployment method and device
CN111290834A (en) Method, device and equipment for realizing high availability of service based on cloud management platform
US20170017511A1 (en) Method for memory management in virtual machines, and corresponding system and computer program product
CN112948063B (en) Cloud platform creation method and device, cloud platform and cloud platform implementation system
CN103440160A (en) Virtual machine recovering method and virtual machine migration method , device and system
US10353786B2 (en) Virtualization substrate management device, virtualization substrate management system, virtualization substrate management method, and recording medium for recording virtualization substrate management program
CN111669284B (en) OpenStack automatic deployment method, electronic device, storage medium and system
CN109614276A (en) Fault handling method, device, distributed memory system and storage medium
CN112395047A (en) Virtual machine fault evacuation method, system and computer readable medium
US8015432B1 (en) Method and apparatus for providing computer failover to a virtualized environment
CN113625945A (en) Distributed storage slow disk processing method, system, terminal and storage medium
CN111181774A (en) High-availability method, system, terminal and storage medium for MapReduce task
CN111866210A (en) Virtual IP balance distribution method, system, terminal and storage medium
CN105743696A (en) Cloud computing platform management method
US9645857B2 (en) Resource fault management for partitions
CN111221683A (en) Double-flash hot backup method, system, terminal and storage medium for data center switch
CN114281473A (en) Cloud platform test environment management method, system, terminal and storage medium
CN115167757A (en) Acceleration card distributed storage access method, device, equipment and storage medium
CN112035295A (en) Virtual machine crash event processing method, system, terminal and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication

Application publication date: 20200519

WW01 Invention patent application withdrawn after publication