The invention provides a method and a device for realizing
virtual machine migration and a cluster
system, wherein the method comprises the following steps that after a source physical
host machine and virtual machines to be migrated are determined, the migration sequence of the virtual machines is determined, in addition, the
resource use information of a plurality of current operating physical host machines on the cluster
system is analyzed, and the physical host machines are subjected to physical
host machine sequencing according to the
resource use information priority; from the
virtual machine with the forefront sequence in the
virtual machine migration sequence, the operation of migrating a plurality of virtual machines to a target physical
host machine is sequentially executed according to the virtual
machine migration sequence until the migration operation of all of the virtual machines is completed. The method and the device for realizing the virtual
machine migration and the cluster
system provided by the invention have the
advantage that on the premise of ensuring the migration reliability of the virtual machines, the high efficiency and the safety of the virtual
machine images in the cluster system are guaranteed.