Methods and apparatus for locating network logs
First Claim
1. A method for identifying log files at a SAN infrastructure server from hosts in a heterogeneous storage area network (SAN) comprising:
- identifying at the SAN infrastructure server a set of hosts in the SAN, each host having at least one log file and operable for log file collection;
each host including an agent configured to manage resources in the SAN;
computing, at the SAN infrastructure server, for each host in the identified, set of hosts, a query type indicative of the manner of locating the log files stored in various locations on the host according to an application executing on the host or agent that generated the log files depending on the manageable entities responsive to the host;
determining at the SAN infrastructure server a path operable to locate the log files on each of the hosts in the set of hosts according to the identification of each of the hosts in the set of hosts;
determining at the SAN infrastructure server an expression indicative of a file specification according to the identification of each of the hosts in the set of hosts, the file specification denoting the log files;
generating at the SAN infrastructure server a script file for discovering the log files on each of the hosts in the set of hosts according to the query type, path and expression, wherein the hosts need not support similar file systems, wherein generating a script file further comprises generating a task definition indicative of operations for gathering the collective set of log files corresponding to the identified set of hosts by;
traversing at least one log file designators;
enumerating, for each log file obtained in the traversal, a task operable to retrieve the corresponding log file; and
storing each of the enumerated tasks in a task definition file;
transferring the script file from the SAN infrastructure server to each host in the identified set of hosts for execution at each respective host in the identified set of hosts; and
receiving at the SAN infrastructure server, in response to execution of the transferred script on each host in the identified set of hosts, identification of each log file type at each respective host in the identified set of hosts.
9 Assignments
0 Petitions
Accused Products
Abstract
A log collection utility (LCU) operable in a storage area network (SAN) to identify the various types of log files generated in the SAN computes the location of each of the log files, and collects the log files for consolidation and analysis in a common repository. The LCU periodically collects and/or processes the log files by enumerating the location of each of the log files in a log file designator, and generates a script operable for identifying each of the log files sought. A resulting task definition file lists each of the log files identified. The log collection utility therefore finds log files generated by dissimilar applications and nodes in the SAN via a log type definition that enumerates each of the log files in a manner that is agnostic to operating systems, platforms, and directory structures around which the log files are written and stored.
-
Citations
18 Claims
-
1. A method for identifying log files at a SAN infrastructure server from hosts in a heterogeneous storage area network (SAN) comprising:
-
identifying at the SAN infrastructure server a set of hosts in the SAN, each host having at least one log file and operable for log file collection;
each host including an agent configured to manage resources in the SAN;computing, at the SAN infrastructure server, for each host in the identified, set of hosts, a query type indicative of the manner of locating the log files stored in various locations on the host according to an application executing on the host or agent that generated the log files depending on the manageable entities responsive to the host; determining at the SAN infrastructure server a path operable to locate the log files on each of the hosts in the set of hosts according to the identification of each of the hosts in the set of hosts; determining at the SAN infrastructure server an expression indicative of a file specification according to the identification of each of the hosts in the set of hosts, the file specification denoting the log files; generating at the SAN infrastructure server a script file for discovering the log files on each of the hosts in the set of hosts according to the query type, path and expression, wherein the hosts need not support similar file systems, wherein generating a script file further comprises generating a task definition indicative of operations for gathering the collective set of log files corresponding to the identified set of hosts by; traversing at least one log file designators; enumerating, for each log file obtained in the traversal, a task operable to retrieve the corresponding log file; and storing each of the enumerated tasks in a task definition file; transferring the script file from the SAN infrastructure server to each host in the identified set of hosts for execution at each respective host in the identified set of hosts; and receiving at the SAN infrastructure server, in response to execution of the transferred script on each host in the identified set of hosts, identification of each log file type at each respective host in the identified set of hosts. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A SAN infrastructure server for identifying log files in a heterogeneous storage area network (SAN) comprising:
-
a processor; and memory encoded with instruction that, When executed on the processor, cause the SAN infrastructure server to; identify a set of hosts in the SAN, each host having at least one log file and operable for log file collection, each host including an agent configured to manage resources in the SAN; compute, for each host in the identified set of hosts, a query type indicative of the manner of locating the log files stored in various locations on the host according to an application executing on the host or agent that generated the log files depending on the manageable entities responsive to the host, determine a path operable to locate the log files on each of the hosts in the set of hosts according to the identification of each hosts in the set of hosts, determine an expression indicative of a file specification according to the identification of each of the hosts in the set of hosts, the file specification denoting the log files; generate a script file operable to discover the log files on each of the hosts in the set of hosts according to the query type, path and expression, wherein the hosts need not support similar file systems, the script file generated by generating a task definition indicative of operations for gathering the collective set of log files corresponding to the identified set of hosts by; traversing at least one log file designators; enumerating, for each log file obtained in the traversal, a task operable to retrieve the corresponding log file; and storing each of the enumerated tasks in a task definition file; transfer the script file to each host in the identified set of hosts for execution at each respective host in the identified set of hosts; and receive, in response to execution of the transferred script on each host in the identified set of hosts, identification of each log file type at each respective host in the identified set of hosts. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17)
-
-
18. A computer program product having a non-transitory computer readable medium operable to store computer program logic embodied in computer program code encoded thereon as an encoded set of processor based instructions for performing a method of identifying log files at a SAN infrastructure server in a heterogeneous storage area network (SAN), comprising:
-
computer program code for identifying a set of hosts in the SAN, each host having at least one log file and operable for log file collection, each host including an agent configured to manage resources in the SAN; computer program code for computing, for each host in the identified set of hosts, a query type indicative of the manner of locating the log files stored in various locations on the host according to an application executing on the host or agent that generated the log files depending on the manageable entities responsive to the host; computer program code for determining a path operable to locate the log files on each of the hosts in the set of hosts according to the identification of each of the hosts in the set of hosts; computer program code for determining an expression indicative of a file specification according to the identification of each of the hosts in the set of hosts, the file specification denoting the log files; computer program code for generating a script file at the SAN infrastructure server for discovering the log files on each of the hosts in the set of hosts according to the query type, path and expression, wherein the hosts need not support similar file systems by generating commands for performing the identifying, computing, and determining the path and file specification for the log files and storing the generated commands in the script file for transfer from the SAN infrastructure server to each host in the identified set of hosts for execution of the script file to generate a task list of available log files, wherein computer program code for generating a script file wherein computer program code for generating a script file further comprises computer program code for generating a task definition indicative of operations for gathering the collective set of log files corresponding to the identified set of hosts by; traversing at least one log file designators; enumerating, for each log file obtained in the traversal, a task operable to retrieve the corresponding log file; and storing each of the enumerated tasks in a task definition file; computer program code for transferring the script file from the SAN infrastructure server to each host in the identified set of hosts for execution at each respective host in the identified set of hosts; and computer program code for receiving at the SAN infrastructure server, in response to execution of the transferred script on each host in the identified set of hosts, identification of each log file type at each respective host in the identified set of hosts.
-
Specification