1. A method for deploying virtual machines, comprising: acquiring attribute information of a first VM and a second VM; determining, according to the attribute information, whether the first VM is similar to the second VM; and deploying the first VM and the second VM to a first physical machine and a second physical machine respectively if the first VM is similar to the second VM, wherein the similarity is determined based a calculation of a value according to weights assigned to the attribute information and a preset similarity algorithm; and wherein the deployment is performed when the first VM and the second VM are running, the attribute information comprises static attribute information and dynamic attribute information, and the acquiring attribute information comprises: acquiring the dynamic attribute information of the first VM and the second VM, wherein the dynamic attribute information carries first identity information indicating a VM to which the dynamic attribute information belongs; acquiring the static attribute information of the first VM and the second VM, wherein the static attribute information carries second identity information indicating a VM to which the static attribute information belongs, and the static attribute information was stored when the VM was deployed last time and was stored in a physical machine to which the VM was deployed; and correlating the dynamic attribute information to the static attribute information according to the first identity information and the second identity information to acquire the attribute information of the first VM and the attribute information of the second VM respectively.