Service Instance Snapshotting via State Machine Transitions

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

System administrators face challenges in configuring and managing computer services, as incorrect configuration changes can lead to system failures, and existing snapshot technologies are limited in automatically capturing and reverting service instances to a previous stable state.

Innovation Solution

A method and system that utilize a state machine to define states and transitions for service instances, along with a restarter to automatically take snapshots based on these states, ensuring efficient recovery from configuration errors by capturing configuration properties and dependencies.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Manufacturing precision

If manual configuration of services is performed one at a time, then configuration precision can be controlled, but productivity is reduced due to time-consuming sequential setup

Engineering Contradiction:
Improveconfiguration precisionVSAvoidproductivity
Core Design Contradiction:
Manufacturing precisionVSProductivity

Solution Approach 1:

The patent captures service configuration snapshots at specific state transitions (e.g., when a service reaches a stable state) before potential failures occur. This preliminary action of saving configuration states enables quick recovery without manual reconfiguration, thus improving productivity while maintaining configuration precision through automated state capture.

Inventive Principle:
Principle #10Preliminary action

2Reliability

If system snapshots are taken at boot configuration, then recovery from system failures is enabled, but service instance level recovery is not supported

Engineering Contradiction:
Improverecovery capabilityVSAvoidrecovery granularity
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The patent segments the system snapshot capability into service instance level snapshots. Instead of capturing only boot-level system states, it captures individual service instance configurations at their respective state transitions. This segmentation enables granular recovery of specific services without affecting the entire system, thus improving both reliability and adaptability.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent adds a new dimension to snapshotting by capturing service instance states at runtime state transitions, not just at boot time. This temporal and hierarchical dimensionality change enables recovery at multiple levels (service instance vs. full system) and at multiple points in time, enhancing both recovery capability and flexibility.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

3Adaptability or versatility

If configuration changes are applied to executing services, then service updates are enabled, but system stability deteriorates due to potential aborts

Engineering Contradiction:
Improveconfiguration update capabilityVSAvoidsystem stability
Core Design Contradiction:
Adaptability or versatilityVSStability of the object's composition

Solution Approach 1:

The system takes snapshots before applying configuration changes to executing services. This preliminary action creates a safety checkpoint that allows the service to attempt configuration updates while maintaining the ability to revert if stability issues occur, thus balancing adaptability with system stability.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

By capturing service instance snapshots at state transitions before potential failures, the system provides a protective cushion that absorbs configuration errors. This beforehand cushioning enables safe configuration updates by ensuring recovery points are already established, thus maintaining stability while enabling adaptability.

Inventive Principle:
Principle #11Beforehand cushioning (Prior cushioning)

Data Source

PatentUS7970740B1Automated service configuration snapshots and fallback
Publication Date: 2011.06.28 ORACLE AMERICAN INC
  • US7970740B1 patent drawing
  • US7970740B1 patent drawing
  • US7970740B1 patent drawing

AI summary

In general, in one aspect, the invention relates to a method for taking a snapshot of a service instance, including transitioning the service instance to a new state, determining whether to take the snapshot based on the new state, obtaining a property composition of the service instance, and taking the snapshot using the property composition, if the snapshot is to be taken.