IP Library › Granted Patent US 10,776,215
Granted Patent B2
US 10,776,215 · App. 16/047,984 · Granted Sep 15, 2020

Snapshot generating method, system, and apparatus

Inventor: Fengshao Zou (Shenzhen, CN)
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
G06F11/1461G06F11/1407G06F11/1464G06F11/1484G06F2201/815G06F2201/84
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,776,215
App. No.
16/047,984
Granted
Sep 15, 2020
Kind
B2
Abstract

Embodiments of the present invention relate to a snapshot generating method, computer system, and apparatus, which can determine a plurality of virtual machines where an application runs and a deployment server where the plurality of virtual machines is deployed, and send a snapshot instruction to the deployment server of the plurality of virtual machines, so that the deployment server of the plurality of virtual machines can start snapshot operations on the plurality of virtual machines at consistent time points according to the snapshot instruction, so as to generate snapshot files of the plurality of virtual machines at the consistent time points, thereby implementing unified snapshots on the plurality of virtual machines where the application runs and ensuring consistency among backup data of the application.

Claims (30)

1. A method for generating a snapshot for an application, comprising:

receiving, by a cloud operation server, a snapshot creation request for the application, the snapshot creation request for the application carrying an identifier of the application, and the snapshot creation request indicating a need to create a snapshot for data of the application;

identifying, by the cloud operation server, a plurality of virtual machines running the application;

determining, by the cloud operation server, a plurality of deployment servers hosting the plurality of virtual machines; and

sending, by the cloud operation server, a snapshot instruction to each of the plurality of deployment servers, the snapshot instruction carrying an identifier of the virtual machines deployed on each deployment server respectively, and the snapshot instruction instructing the deployment servers to suspend write operation on the virtual machines and instructing the plurality of deployment servers to perform consistent snapshot operations on data of the virtual machines approximately at a same time, wherein the consistent snapshot operations are performed for unified snapshot operations on the virtual machines to ensure consistency among snapshot data of the virtual machines.

2. The method according to claim 1 , wherein the snapshot creation request for the application further carries instruction information to perform consistent snapshot operations on the data of the application, and wherein the snapshot instruction is sent to each of the plurality of deployment servers according to the instruction information.

3. The method according to claim 1 , further comprising presetting a snapshot policy of the application, wherein the consistent snapshot operations are performed on the data of the application according to the snapshot policy, and wherein the snapshot instruction is sent to each of the plurality of deployment servers according to the snapshot policy of the application.

4. The method according to claim 1 , further comprising:

receiving, by the cloud operation server, a snapshot creation request for virtual machines from a backup server, the snapshot creation request for the virtual machines carrying identifiers of the plurality of virtual machines running the application and instruction information, and the instruction information indicating a need to perform consistent snapshot operations on data of the plurality of virtual machines.

5. A system for generating a snapshot for an application, comprising:

a cloud operation server; and

a plurality of deployment servers in communication with the cloud operation server,

wherein the cloud operation server is configured to:

receives a snapshot creation request for the application, the snapshot creation request for the application carrying an identifier of the application, and the snapshot creation request indicating a need to create a snapshot for data of the application;

identify a plurality of virtual machines running the application;

determine a plurality of deployment servers hosting the plurality of virtual machines; and

send a snapshot instruction to each of the plurality of deployment servers, the snapshot instruction carrying an identifier of the virtual machines deployed on each deployment server respectively, and the snapshot instruction instructing the deployment servers to suspend write operation on the virtual machines and instructing the plurality of deployment servers to perform consistent snapshot operations on data of the virtual machines approximately at a same time; and

wherein each of the deployment servers is configured to:

receive the snapshot instruction;

suspend write operation on the virtual machines of the application;

perform consistent snapshot operations on data of the virtual machines of the application approximately at a same time with other deployment servers, wherein the consistent snapshot operations are performed for unified snapshot operations on the virtual machines to ensure consistency among snapshot data of the virtual machines.

6. The system of claim 5 , wherein the cloud operation server is further configured to:

receives a snapshot creation request for virtual machines from a backup server, the snapshot creation request for the virtual machines carrying identifiers of the plurality of virtual machines running the application and instruction information, and the instruction information indicating a need to perform consistent snapshot operations on data of the plurality of virtual machines.

7. A non-transitory computer readable medium storing instructions, which when executed by one or more processors, perform a method comprising:

receiving a snapshot creation request for the application, the snapshot creation request for the application carrying an identifier of the application, and the snapshot creation request indicating a need to create a snapshot for data of the application;

identifying a plurality of virtual machines running the application;

determining a plurality of deployment servers hosting the plurality of virtual machines; and

sending a snapshot instruction to each of the plurality of deployment servers, the snapshot instruction carrying an identifier of the virtual machines deployed on each deployment server respectively, and the snapshot instruction instructing the deployment servers to suspend write operation on the virtual machines and instructing the plurality of deployment servers to perform consistent snapshot operations on data of the virtual machines approximately at a same time and generate snapshot files of the plurality of virtual machines, wherein the consistent snapshot operations are performed for unified snapshot operations on the virtual machines to ensure consistency among snapshot data of the virtual machines.

8. The non-transitory computer readable medium of claim 7 , wherein the method further comprising:

receiving a snapshot creation request for virtual machines from a backup server, the snapshot creation request for the virtual machines carrying identifiers of the plurality of virtual machines running the application and instruction information, and the instruction information indicating a need to perform consistent snapshot operations on data of the plurality of virtual machines.

Continuity (3)
Continuation 14539343 · Nov 12, 2014
Continuation PCTCN2013087527 · Nov 20, 2013
Related Publication 20180357134A1 · Dec 13, 2018