Apparatus and method to archive log entries formed by a data storage system
First Claim
Patent Images
1. A method to archive log entries created by a data storage system, comprising the steps of:
- providing a data storage system comprising first memory and a library log encoded in said first memory;
writing a plurality of log entries to said library log, wherein each log entry comprises a log entry time;
encoding a log archive in a second memory, wherein said second memory is external to said data storage system;
setting a time T0 equal to current time;
at time T0, copying to said log archive said plurality of log entries written to said library log;
determining a time T1 when an earliest log entry was written to said library log;
determining a time T2 when a latest log entry was written to said library log;
calculating a log interval TINT equal to (T2−
T1);
setting a retrieval time equal to (T0+TINT);
determining whether to perform an intermediate inspection of the library log;
when performing an intermediate inspection of the library log, determining a number (N) of log entries written to library log retrieved at time T0;
establishing a previous log filling rate equal to (N)/TINT;
setting an intermediate sampling interval TS, wherein said intermediate sampling interval is less than said log interval;
setting an intermediate sampling time, wherein said intermediate sampling time equals (T0+TS);
when current time equals said intermediate sampling time, inspecting the library log created after time T0;
determining a number (M) of log entries written to the library log after time T0;
establishing a current log filling rate equal to (M)/TS;
determining whether said current log filling rate is greater than said previous log filling rate; and
when said current log filling rate is greater than said previous log filling rate, adjusting said log interval TINT to be less than (T2−
T1).
1 Assignment
0 Petitions
Accused Products
Abstract
A method to archive log entries created by a data storage system comprising a first memory and a library log encoded in that first memory, wherein the first memory comprises a storage capacity, and wherein the method writes a plurality of log entries to the library log, wherein each log entry comprises a log entry time. At a time T0, the method copies to a log archive the plurality of log entries written to the library log, and sets a subsequent retrieval time based upon a time T1 when an earliest log entry was written to the library log, and a time T2 when a latest log entry was written to the library log.
-
Citations
6 Claims
-
1. A method to archive log entries created by a data storage system, comprising the steps of:
-
providing a data storage system comprising first memory and a library log encoded in said first memory; writing a plurality of log entries to said library log, wherein each log entry comprises a log entry time; encoding a log archive in a second memory, wherein said second memory is external to said data storage system; setting a time T0 equal to current time; at time T0, copying to said log archive said plurality of log entries written to said library log; determining a time T1 when an earliest log entry was written to said library log; determining a time T2 when a latest log entry was written to said library log; calculating a log interval TINT equal to (T2−
T1);setting a retrieval time equal to (T0+TINT); determining whether to perform an intermediate inspection of the library log; when performing an intermediate inspection of the library log, determining a number (N) of log entries written to library log retrieved at time T0; establishing a previous log filling rate equal to (N)/TINT; setting an intermediate sampling interval TS, wherein said intermediate sampling interval is less than said log interval; setting an intermediate sampling time, wherein said intermediate sampling time equals (T0+TS); when current time equals said intermediate sampling time, inspecting the library log created after time T0; determining a number (M) of log entries written to the library log after time T0; establishing a current log filling rate equal to (M)/TS; determining whether said current log filling rate is greater than said previous log filling rate; and when said current log filling rate is greater than said previous log filling rate, adjusting said log interval TINT to be less than (T2−
T1). - View Dependent Claims (2, 3)
-
-
4. An article of manufacture comprising a processor and a computer readable storage medium having computer readable program code disposed therein to archive a plurality of log entries stored by a data storage system in a first memory, wherein each log entry comprises a log entry time, the computer readable program code comprising a series of computer readable program steps to effect:
-
encoding a log archive in a second memory, wherein said second memory is external to said data storage system; setting a time T0 equal to current time; at time T0, copying to said log archive said plurality of log entries written to said library log; determining a time T1 when an earliest log entry was written to said library log; determining a time T2 when a latest log entry was written to said library log; calculating a log interval TINT equal to (T2−
T1);setting a retrieval time equal to (T0+TINT); determining whether to perform an intermediate inspection of the library log; when performing an intermediate inspection of the library log, determining a number (N) of log entries written to library log retrieved at time T0; establishing a previous log filling rate equal to (N)/TINT; setting an intermediate sampling interval TS, wherein said intermediate sampling interval is less than said log interval; setting an intermediate sampling time, wherein said intermediate sampling time equals (T0+TS); when current time equals said intermediate sampling time, inspecting the library log created after time T0; determining a number (M) of log entries written to the library log after time T0; establishing a current log filling rate equal to (M)/TS; determining whether said current log filling rate is greater than said previous log filling rate; and when said current log filling rate is greater than said previous log filling rate, adjusting said log interval TINT to be less than (T2−
T1). - View Dependent Claims (5, 6)
-
Specification