LUN Cache Purge for Data Integrity in Server Clusters

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In high-availability data arrays, there is a challenge in managing exclusive access to LUNs (logical drives) within server clusters, particularly in ensuring that only one server has control over a LUN to prevent data mismatches and ensure data integrity when server reservations are lost due to access by other servers.

Innovation Solution

A method where a first server reserves a LUN for exclusive access, caching data within its cache system, and upon sensing a loss of reservation, the cache is purged, with periodic attempts to re-reserve the LUN. If another server accesses the LUN, it reserves it for exclusive access, creating a second reservation and caching data, and purging its cache upon loss of reservation.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If a LUN is reserved for exclusive access by one server to prevent data mismatches, then data integrity is improved, but availability deteriorates because other servers cannot access the LUN even when the primary server fails

Engineering Contradiction:
Improvedata integrityVSAvoidavailability
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The system performs preliminary actions by detecting server failures through heartbeat monitoring before other servers attempt to access the LUN. When a failure is detected, the reservation is transferred proactively to a standby server, preventing access conflicts and ensuring continuous availability while maintaining data integrity through the reservation mechanism

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The LUN reservation system is made dynamic by allowing the reservation status to change based on server health. The reservation is not static but adapts to server availability - it can be transferred from a failed server to a standby server, enabling the system to balance between exclusive access for data integrity and flexibility for availability

Inventive Principle:
Principle #15Dynamics

2Productivity

If caching is implemented to improve data access speed, then productivity is improved, but reliability deteriorates because cached data may become inconsistent when server reservations are lost

Engineering Contradiction:
Improvedata access speedVSAvoiddata consistency
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The caching system implements feedback mechanisms by continuously monitoring LUN reservation status. When the reservation status changes (e.g., server failure or takeover), the system receives feedback and automatically invalidates or updates the cache accordingly, ensuring cache data consistency with the actual LUN state while maintaining high access speeds

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The system performs preliminary invalidation of cache data when reservation loss is detected or anticipated. By proactively clearing the cache before data inconsistency can occur, the system maintains reliability while preserving the performance benefits of caching during normal operation

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS9438688B1System and method for LUN and cache management
Publication Date: 2016.09.06 EMC IP HLDG CO LLC
  • US9438688B1 patent drawing
  • US9438688B1 patent drawing
  • US9438688B1 patent drawing

AI summary

A method, computer program product, and computing system for defining a first server and a second server within a server cluster. The first server includes a first cache system and the first and second servers are coupled to a data array that includes a LUN. The LUN is reserved for exclusive access by the first server, thus generating a first server reservation. Data associated with the LUN is cached within the first cache system of the first server. A loss of the first server reservation is sensed. In response to a loss of the first server reservation, the first cache system of the first server is purged.