摘要 |
Embodiments of the present invention provide a method for switching over a virtual application two-node cluster in a cloud environment, including: sending, by a cloud management platform, an association state of a shared EBS volume to the standby virtual machine; receiving a request for removing an association between the active virtual machine and the shared EBS volume sent by the standby virtual machine; removing the association between the active virtual machine and the shared EBS volume; receiving a request for associating the shared EBS volume sent by the standby virtual machine; and associating the standby virtual machine with the shared EBS volume so that the standby virtual machine controls the shared EBS volume. The embodiments of the present invention also provide a corresponding cloud management platform and system. A brain-split problem can be completely solved by using the method and an apparatus disclosed in the embodiments of the present invention. In addition, dependence on a reference active node is no longer required, which can simplify deployment of an application two-node cluster and improve reliability of the application two-node cluster. |