IP Library Granted Patent US 9,292,535
Granted Patent B2
US 9,292,535 · App. 13/152,099 · Granted Mar 22, 2016

Protecting data segments in a computing environment

Inventors: Shay H. Akirav (Petach-Tikva, IL); Elena Drobchenko (Raanana, IL); Itay Maoz (Haifa, IL); Gil E. Paz (Yehud, IL); Vadim Stotland (Petach-Tikva, IL)
Assignee: INTERNATIONAL BUSINESS MACHINES CORPORATION
G06F17/30174G06F17/30212G06F17/30233
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 9,292,535
App. No.
13/152,099
Granted
Mar 22, 2016
Kind
B2
Abstract

Exemplary system and computer program product embodiments for protecting data segments by a processor device in a computing environment, are provided. In one embodiment, by way of example only, a history table is configured to accompany data segments for consultation during a replication operation. If the history table indicates an ownership conflict, the replication operation is inhibited.

Claims (69)

1. A system for protecting a plurality of data segments in a virtual tape library in a computing environment, comprising:

at least one processor device, operable in the computing environment, wherein the at least one processor device is adapted for:

establishing an initial ownership of the at least one of the plurality of cartridges, including performing:

gaining ownership of a source location at the time of creation of the plurality of data segments,

setting an ownership attribute with an ownership identification (ID) of the at least one source location in a grid context for the plurality of data segments,

listing the ownership ID of the plurality of data segments in the history table;

configuring the ownership history table to accompany each of the plurality of data segments for consultation during a replication operation, wherein the ownership history table updates and lists correct ownership of the data segments,

if the ownership history table indicates an ownership conflict, the replication operation is inhibited,

if an error occurs during the replication operation from a source location to a destination location causing at least one of a plurality of data segments to be deleted in the source location,

executing a failback operation by a reverse replication process of the at least one of a plurality of data segments from the destination location to the source location, and

regaining ownership of the at least one of a plurality of data segments by the source location; and

pursuant to the failback operation,

enabling the reverse replication process if an owner of the at least one of a plurality of data segments is a designated one of the destination location, and

adding an invalid owner notification in the history table, wherein the failback operation is identified for the designated one of the at least one destination location.

2. The system of claim 1 , wherein the at least one processor device is further adapted for, in conjunction with the changing ownership, performing at least one of:

selecting the at least one primary location in a grid context from a replication grid manager, and

directly logging into the at least one primary location.

3. The system of claim 1 , wherein the at least one processor device is further adapted for, in conjunction with the replication operation, sending the history table from a source location to a destination location.

4. The system of claim 1 , wherein the at least one processor device is further adapted for, pursuant to a change of ownership of at least one of the plurality of data segments, performing at least one of:

waiving ownership of the at least one of the plurality of data segments for a source location,

gaining the ownership of the at least one of the plurality of data segments by a destination location, and

updating the ownership of the at least one of the plurality of data segments in the history table at both the source location and the destination location.

5. The system of claim 1 , wherein the at least one processor device is further adapted for, if ownership of at least one of the plurality of data segments is obtained by a first and second destination location:

identifying the ownership conflict between the first and second destination location,

sending an error notification of the ownership conflict,

preventing the replication operation of the at least one of the plurality of data segments from the second destination location to a third destination location, and

deleting the at least one of the plurality of data segments in the second destination location.

6. The system of claim 1 , wherein the at least one processor device is further adapted for, in conjunction with the replication operation, performing at least one of:

if the at least one of a plurality of data segments does not exist in a destination location:

replicating the at least one of a plurality of data segments to the destination location, and

if the at least one of the plurality of cartridges does exist in the destination location:

comparing the history table in the destination location with the history table sent from a source location.

7. The system of claim 6 , wherein the at least one processor device is further adapted for, pursuant to the comparing the history table in the destination location with history table sent from the source location, performing at least one of:

if the history table in the destination location is a prefix of the history table from the source location:

enabling the replication process of the at least one of a plurality of data segments, and

if the history table in the destination location is not the prefix of the history table from the source location:

inhibiting the replication process of the at least one of a plurality of data segments.

8. A computer program product for protecting a plurality of data segments in a virtual tape library by a processor device, the computer program product comprising a non-transitory computer-readable storage medium having computer-readable program code portions stored therein, the computer-readable program code portions comprising:

a first executable portion for gaining ownership of a source location at the time of creation of the plurality of data segments,

setting an ownership attribute with an ownership identification (ID) of the at least one source location in a grid context for the plurality of data segments,

listing the ownership ID of the plurality of data segments in the history table;

configuring the ownership history table to accompany each of the plurality of data segments for consultation during a replication operation, wherein the ownership history table updates and lists correct ownership of the data segments,

if the ownership history table indicates an ownership conflict, the replication operation is inhibited,

if an error occurs during the replication operation from a source location to a destination location causing at least one of a plurality of data segments to be deleted in the source location,

executing a failback operation by a reverse replication process of the at least one of a plurality of data segments from the destination location to the source location, and

regaining ownership of the at least one of a plurality of data segments by the source location; and

pursuant to the failback operation,

enabling the reverse replication process if an owner of the at least one of a plurality of data segments is a designated one of the destination location, and

adding an invalid owner notification in the history table, wherein the failback operation is identified for the designated one of the at least one destination location.

9. The computer program product of claim 8 , further including a second executable portion for, in conjunction with the replication operation, sending the history table from a source location to a destination location.

10. The computer program product of claim 8 , further including a second executable portion for, pursuant to a change of ownership of at least one of the plurality of data segments, performing at least one of:

waiving ownership of the at least one of the plurality of data segments for a source location,

gaining the ownership of the at least one of the plurality of data segments by a destination location, and

updating the ownership of the at least one of the plurality of data segments in the history table at both the source location and the destination location.

11. The computer program product of claim 8 , further including a second executable portion for, if ownership of at least one of the plurality of data segments is obtained by a first and second destination location:

identifying the ownership conflict between the first and second destination location,

sending an error notification of the ownership conflict,

preventing the replication operation of the at least one of the plurality of data segments from the second destination location to a third destination location, and

deleting the at least one of the plurality of data segments in the second destination location.

12. The computer program product of claim 8 , further including a second executable portion for, in conjunction with the replication operation, performing at least one of:

if the at least one of a plurality of data segments does not exist in a destination location:

replicating the at least one of a plurality of data segments to the destination location, and

if the at least one of the plurality of cartridges does exist in the destination location:

comparing the history table in the destination location with the history table sent from a source location.

13. The computer program product of claim 12 , further including a third executable portion for, pursuant to the comparing the history table in the destination location with history table sent from the source location, performing at least one of:

if the history table in the destination location is a prefix of the history table from the source location:

enabling the replication process of the at least one of a plurality of data segments, and

if the history table in the destination location is not the prefix of the history table from the source location:

inhibiting the replication process of the at least one of a plurality of data segments.

Assignments (2)
CORRECTIVE ASSIGNMENT TO CORRECT THE INCORRECT SERIAL NUMBER OF 12/152,099 INDICATED ON THE COVER SHEET PREVIOUSLY RECORDED ON REEL 026486 FRAME 0624. ASSIGNOR(S) HEREBY CONFIRMS THE ASSIGNMENT. Recorded Jun 29, 2011
From: AKIRAV, SHAY H.; DROBCHENKO, ELENA; MAOZ, ITAY; PAZ, GIL E.; STOTLAND, VADIM
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 026526/0753 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 22, 2011
From: AKIRAV, SHAY H.; DROBCHENKO, ELENA; MAOZ, ITAY; PAZ, GIL E.; STOTLAND, VADIM
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 026486/0624 →
Continuity (1)
Related Publication 20120310883A1 · Dec 6, 2012