IP Library Granted Patent US 9,558,087
Granted Patent B2
US 9,558,087 · App. 14/312,459 · Granted Jan 31, 2017

Test virtual volumes for test environments

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,558,087
App. No.
14/312,459
Granted
Jan 31, 2017
Kind
B2
Abstract

For test virtual volume operation testing, an identification module determines if an input/output (I/O) operation for a test virtual volume is directed to volume contents data. A disposition module executes the I/O operation in response to the I/O operation being directed to the volume contents data and declines the I/O operation in response to the I/O operation not being directed to the volume contents data.

Claims (40)

1. A method for operation testing comprising:

determining, by use of a processor, if an input/output (I/O) operation for a test virtual volume is directed to volume contents data of the test virtual volume;

in response to the I/O operation being directed to the volume contents data, determining whether the I/O operation is a write operation or a read operation;

in response to determining the I/O operation directed to the volume contents data being the write operation, discarding the write I/O operation, waiting a delay write interval, and communicating a write completion message;

in response to determining the I/O operation directed to the volume contents data being the read operation, declining the read I/O operation and communicating a read I/O error; and

declining the I/O operation in response to the I/O operation not being directed to the volume contents data.

2. The method of claim 1 , wherein the volume contents data comprises at least one of a volume table of contents (VTOC), a VTOC Index, and a virtual storage access method (VSAM) volume data set (VVDS).

3. The method of claim 1 , the method further comprising:

determining a destination of the I/O operation;

executing the I/O operation in response to the I/O operation being for a production volume; and determining if the I/O operation is directed to the volume contents data in response to the I/O operation being for the test virtual volume.

4. The method of claim 3 , the method further comprising mapping the test virtual volume to a production volume.

5. The method of claim 1 , the method further comprising:

receiving test virtual volume parameters for the test virtual volume, the test virtual volume parameters comprising a test virtual volume identifier, a storage device identifier, and a simulated test data size;

creating the test virtual volume on a storage device corresponding to the storage device identifier;

defining a volume contents data size of the simulated test data size; and

mapping the test virtual volume to a production volume.

6. An apparatus comprising:

a processor;

a memory that stores code executable by the processor to:

determine if an input/output (I/O) operation for a test virtual volume is directed to volume contents data of the test virtual volume;

in response to the I/O operation being directed to the volume contents data, determine whether the I/O operation is a write operation or a read operation;

in response to determining the I/O operation directed to the volume contents data being the write operation, discard the write I/O operation, waiting a delay write interval, and communicating a write completion message;

in response to determining the I/O operation directed to the volume contents data being the read operation, decline the read I/O operation and communicating a read I/O error; and

declining the I/O operation in response to the I/O operation not being directed to the volume contents data.

7. The apparatus of claim 6 , wherein the volume contents data comprises at least one of a volume table of contents (VTOC), a VTOC Index, and a virtual storage access method (VSAM) volume data set (VVDS).

8. The apparatus of claim 6 , wherein the processor further:

determines a destination of the I/O operation;

executes the I/O operation in response to the I/O operation being for a production volume; and

determines if the I/O operation is directed to the volume contents data in response to the I/O operation being for the test virtual volume.

9. A computer program product for operation testing, the computer program product comprising a computer readable storage medium having program code embodied therewith, the program code readable/executable by a processor to cause the processor to:

determine if an input/output (I/O) operation for the test virtual volume is directed to volume contents data of the test virtual volume;

in response to the I/O operation being directed to the volume contents data, determining whether the I/O operation is a write operation or a read operation;

in response to determining the I/O operation directed to the volume contents data being the write operation, discarding the write I/O operation, waiting a delay write interval, and communicating a write completion message;

in response to determining the I/O operation directed to the volume contents data being the read operation, declining the read I/O operation and communicating a read I/O error; and

decline the I/O operation in response to the I/O operation not being directed to the volume contents data.

10. The computer program product of claim 9 , wherein the volume contents data comprises at least one of a volume table of contents (VTOC), a VTOC Index, and a virtual storage access method (VSAM) volume data set (VVDS).

11. The computer program product of claim 9 , the program code further causing the processor to:

determine a destination of the I/O operation;

execute the I/O operation in response to the I/O operation being for a production volume; and

determine if the I/O operation is directed to the volume contents data in response to the I/O operation being for the test virtual volume.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 28, 2021
From: INTERNATIONAL BUSINESS MACHINES CORPORATION
To: MAPLEBEAR INC.
Reel/Frame 055155/0943 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 23, 2014
From: MASSER, JOEL L.; REED, DAVID C.; SMITH, MAX D.
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 033160/0923 →