IP Library Granted Patent US 11,782,796
Granted Patent B2
US 11,782,796 · App. 16/987,461 · Granted Oct 10, 2023

Method and system for virtual machine protection

Inventors: Sharath Talkad Srinivasan (Bengaluru, IN); Rakesh Kumar (Bengaluru, IN)
Assignee: EMC IP Holding Company LLC
G06F11/1464G06F9/45558G06F2009/45562G06F2009/45583G06F2009/45595G06F2201/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 11,782,796
App. No.
16/987,461
Granted
Oct 10, 2023
Kind
B2
Abstract

A method and system for virtual machine protection. Specifically, the disclosed method and system dynamically protect virtual machine state from impactful events, such as accidental virtual machine deletions and shutdowns. The disclosed method and system work to stall the fulfillment of these impactful events while instigating the backup of protected virtual machine state, and thereafter, only permit these impactful events to proceed upon completion of the backup operation.

Claims (56)

1. A method for virtual machine protection, comprising:

detecting a triggered protection event for a virtual machine residing on a virtual machine host,

wherein the triggered protection event comprises an alarm activated at an onset of a specified event impacting the virtual machine,

wherein the specified event comprises one selected from a group consisting of an attempted deletion, and an attempted shutdown, of the virtual machine,

wherein a protection watch-list comprises an identifier of the virtual machine,

wherein the protection watch-list is a data structure for tracking a plurality of virtual machines to be protected upon the onset of the specified event;

in response to detecting the triggered protection event:

initiating creation of a virtual machine snapshot for the virtual machine,

wherein the virtual machine snapshot specifies a replica virtual machine state of the virtual machine,

wherein initiating the creation of the virtual machine snapshot places a lock on a virtual disk (VD) mapped to the virtual machine to make the VD immutable at least for a duration through which the virtual machine snapshot is created,

wherein making the VD immutable comprises preventing at least an insertion of newer data to the VD, a modification of existing data on the VD, and a deletion of the existing data from the VD;

while the virtual machine snapshot is being created, issuing, to the virtual machine host, a backup message directed to performing a backup operation targeting the virtual machine;

aborting, upon completion of the backup operation, the creation of the virtual machine snapshot, wherein aborting the creation of the virtual machine snapshot releases the lock on the VD mapped to the virtual machine; and

after aborting the creation of the virtual machine snapshot, removing the virtual machine from the protection watch-list.

2. The method of claim 1 , wherein the VD stores a virtual machine state for the virtual machine.

3. The method of claim 1 , further comprising:

prior to the completion of the backup operation and in response to issuing the backup message to the virtual machine host:

receiving, from the virtual machine host, backup virtual machine data pertinent to the virtual machine; and

storing the backup virtual machine data in persistent storage.

4. The method of claim 1 , further comprising:

prior to detecting the triggered protection event:

detecting, on the virtual machine host, creation of a protection policy targeting the virtual machine;

in response to detecting the creation of the protection policy:

updating the protection watch-list to include the virtual machine; and

generating a protection event for the virtual machine,

wherein the protection event becomes the triggered protection event upon activating at an onset of a specified event impacting the virtual machine.

5. The method of claim 1 , wherein initiating the creation of the virtual machine snapshot stalls the specified event impacting the virtual machine from proceeding, wherein aborting the creation of the virtual machine snapshot permits the specified event to proceed.

6. The method of claim 5 , wherein initiating the creation of the virtual machine snapshot further stalls the specified event until the backup operation completes.

7. A non-transitory computer readable medium (CRM) comprising computer readable program code, which when executed by a computer processor, enables the computer processor to:

detect a triggered protection event for a virtual machine residing on a virtual machine host,

wherein the triggered protection event comprises an alarm activated at an onset of a specified event impacting the virtual machine,

wherein the specified event comprises one selected from a group consisting of an attempted deletion, and an attempted shutdown, of the virtual machine,

wherein a protection watch-list comprises an identifier of the virtual machine,

wherein the protection watch-list is a data structure for tracking a plurality of virtual machines to be protected upon the onset of the specified event;

in response to detecting the triggered protection event:

initiate creation of a virtual machine snapshot for the virtual machine,

wherein the virtual machine snapshot specifies a replica virtual machine state of the virtual machine,

wherein initiating the creation of the virtual machine snapshot places a lock on a virtual disk (VD) mapped to the virtual machine to make the VD immutable at least for a duration through which the virtual machine snapshot is created,

wherein making the VD immutable comprises preventing at least an insertion of newer data to the VD, a modification of existing data on the VD, and a deletion of the existing data from the VD;

while the virtual machine snapshot is being created, issue, to the virtual machine host, a backup message directed to performing a backup operation targeting the virtual machine;

abort, upon completion of the backup operation, the creation of the virtual machine snapshot, wherein aborting the creation of the virtual machine snapshot releases the lock on the VD mapped to the virtual machine; and

after aborting the creation of the virtual machine snapshot, remove the virtual machine from the protection watch-list.

8. The non-transitory CRM of claim 7 , wherein the VD stores a virtual machine state for the virtual machine.

9. The non-transitory CRM of claim 7 , comprising computer readable program code, which when executed by the computer processor, further enables the computer processor to:

prior to the completion of the backup operation and in response to issuing the backup message to the virtual machine host:

receive, from the virtual machine host, backup virtual machine data pertinent to the virtual machine; and

store the backup virtual machine data in persistent storage.

10. The non-transitory CRM of claim 7 , comprising computer readable program code, which when executed by the computer processor, further enables the computer processor to:

prior to detecting the triggered protection event:

detect, on the virtual machine host, creation of a protection policy targeting the virtual machine;

in response to detecting the creation of the protection policy:

update the protection watch-list to include the virtual machine; and

generate a protection event for the virtual machine,

wherein the protection event becomes the triggered protection event upon activating at an onset of a specified event impacting the virtual machine.

11. The non-transitory CRM of claim 7 , wherein initiating the creation of the virtual machine snapshot stalls the specified event impacting the virtual machine from proceeding, wherein aborting the creation of the virtual machine snapshot permits the specified event to proceed.

12. The non-transitory CRM of claim 11 , wherein initiating the creation of the virtual machine snapshot further stalls the specified event until the backup operation completes.

Assignments (9)
RELEASE OF SECURITY INTEREST IN PATENTS PREVIOUSLY RECORDED AT REEL/FRAME (054475/0523) Recorded Jun 10, 2022
From: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
To: EMC IP HOLDING COMPANY LLC; DELL PRODUCTS L.P.
Reel/Frame 060332/0664 →
RELEASE OF SECURITY INTEREST IN PATENTS PREVIOUSLY RECORDED AT REEL/FRAME (054475/0434) Recorded Jun 10, 2022
From: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
To: EMC IP HOLDING COMPANY LLC; DELL PRODUCTS L.P.
Reel/Frame 060332/0740 →
RELEASE OF SECURITY INTEREST IN PATENTS PREVIOUSLY RECORDED AT REEL/FRAME (054475/0609) Recorded Jun 10, 2022
From: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
To: EMC IP HOLDING COMPANY LLC; DELL PRODUCTS L.P.
Reel/Frame 062021/0570 →
RELEASE OF SECURITY INTEREST AT REEL 054591 FRAME 0471 Recorded Nov 2, 2021
From: CREDIT SUISSE AG, CAYMAN ISLANDS BRANCH
To: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC
Reel/Frame 058001/0463 →
SECURITY INTEREST Recorded Nov 18, 2020
From: EMC IP HOLDING COMPANY LLC; DELL PRODUCTS L.P.
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS COLLATERAL AGENT
Reel/Frame 054475/0609 →
SECURITY INTEREST Recorded Nov 18, 2020
From: EMC IP HOLDING COMPANY LLC; DELL PRODUCTS L.P.
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
Reel/Frame 054475/0434 →
SECURITY INTEREST Recorded Nov 18, 2020
From: EMC IP HOLDING COMPANY LLC; DELL PRODUCTS L.P.
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
Reel/Frame 054475/0523 →
SECURITY AGREEMENT Recorded Nov 13, 2020
From: EMC IP HOLDING COMPANY LLC; DELL PRODUCTS L.P.
To: CREDIT SUISSE AG, CAYMAN ISLANDS BRANCH
Reel/Frame 054591/0471 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 10, 2020
From: SRINIVASAN, SHARATH TALKAD; KUMAR, RAKESH
To: EMC IP HOLDING COMPANY LLC
Reel/Frame 053448/0180 →