Activity-Based Virtual Machine Snapshot Policy Engine
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Scheduled (time-based) snapshots in virtual machines lack awareness of changes made since the previous snapshot, leading to either excessively large or unnecessary snapshots, depending on the number of changes made in the virtual machine.
Innovation Solution
An activity-based snapshot policy engine within the hypervisor platform monitors virtual machine activity and takes snapshots when specific activity thresholds are reached, ensuring snapshots are taken only when significant changes occur, thereby avoiding large or redundant snapshots.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If time-based scheduled snapshots are taken, then the virtual machine history is preserved automatically, but disk space is unnecessarily consumed when changes between snapshots are minimal
Solution Approach 1:
The system changes the parameter basis for snapshot selection from time-based to activity-based. Instead of taking snapshots at fixed time intervals, the system monitors virtual machine activity metrics (such as number of changes, data written, operations performed) and triggers snapshots only when activity thresholds are exceeded, thereby adapting snapshot frequency to actual change levels and reducing unnecessary disk space consumption
Solution Approach 2:
The system introduces feedback mechanisms by continuously monitoring virtual machine activity between snapshots and using this information to determine when the next snapshot should be taken. The activity monitor provides feedback about the state of changes, and the snapshot decision is based on this feedback, creating a closed-loop system that optimizes snapshot timing based on actual virtual machine behavior
2Extent of automation
If time-based scheduled snapshots are taken, then automated history preservation is achieved, but snapshots may contain excessively large numbers of changes making them less useful
Solution Approach 1:
The system changes the triggering parameter from fixed time intervals to dynamic activity thresholds. By monitoring virtual machine activity levels and triggering snapshots only when significant changes occur (exceeding predefined thresholds), the system maintains automated operation while ensuring snapshots capture meaningful state transitions rather than arbitrary time points, thereby improving snapshot granularity and usefulness
Solution Approach 2:
The system introduces dynamic adjustment of snapshot frequency based on virtual machine activity levels. Instead of a static time-based schedule, the snapshot mechanism adapts its behavior in real-time based on monitored activity metrics, making the snapshot process dynamic and responsive to actual virtual machine state changes, which improves the relevance and granularity of captured snapshots
3Manufacturing precision
If activity monitoring is implemented to trigger snapshots, then snapshot relevance is improved, but system complexity increases
Solution Approach 1:
The system segments the snapshot management functionality into distinct modular components: an activity monitor module that tracks virtual machine operations, a threshold evaluation module that compares activity levels against predefined criteria, and a snapshot trigger module that initiates snapshots when thresholds are exceeded. This segmentation isolates the added complexity into separate, manageable modules while maintaining the core snapshot functionality, making the system easier to implement and maintain despite the increased sophistication
Data Source
AI summary
A computing server includes a hardware platform with hardware resources, with at least a portion of the hardware resources to be allocated as virtualized resources. A hypervisor platform is provided based on execution of code instructions by the hardware platform. A virtual machine operates as an independent guest computing device, with at least a portion of the virtualized resources being allocated by the hypervisor platform to the virtual machine. The hypervisor platform includes a snapshot function to save the state of the virtual machine, a virtual machine activity monitor to monitor activity of the virtual machine, and an activity-based snapshot policy engine to activate the snapshot function based on the monitored activity of the virtual machine exceeding an activity threshold metric.


