Virtual machine creation according to a redundancy policy
Abstract:
A virtual machine creation method and apparatus are provided to automatically create a virtual machine, and avoid an error that occurs during creation of the virtual machine. The method includes obtaining, by a cloud management platform at a production site, a first redundancy policy, obtaining, by the cloud management platform, storage replication information from M storage devices at the production site, determining, by the cloud management platform based on the storage replication information and from the M storage devices, N storage devices that meet the first redundancy policy, where N is an integer, and N≤M, controlling, by the cloud management platform, a virtualization platform to create a virtual machine, and instructing, in a virtual machine creation request, to create a magnetic disk used by the virtual machine on the N storage devices to create the virtual machine.
Information query
Patent Agency Ranking
0/0