1. Field of the Invention
The present invention relates generally to computer diagnostic systems and particularly, to a computer diagnostic system that executes under one operating environment (e.g., Linux) to gather information, diagnose, and make corrections to a second operating environment (e.g., Windows) on the same machine.
2. Description of the Prior Art
Often in the case of computer system failure, a diagnostic software package is executed to attempt to diagnose the cause of the failure. This software may be hosted in its own operating environment (e.g., Linux) outside of the operating system (O/S) that is normally executed on the machine (e.g., Windows). However, unless the diagnostic operating environment is the same as the one being diagnosed and repaired it will not be able to examine the internal configuration of the failed system image. This is because the configuration of the failed system (e.g., Windows) must be manipulated via proprietary interfaces exposed by the failed operating system which are not available in the diagnostic environment (e.g., Linux). For example, consider the case when the diagnostic software is running under Linux while the system to be diagnosed and repaired is a Windows system. This limits the types of repairs the diagnostic software may make. In many cases running the diagnostics software under the same operating system may not be practical for a number of reasons including: image size limitations, cost of additional licenses, or business decisions that do not allow the two O/Ss to be identical.
One proposed solution for a computer diagnostic system that executes under one operating environment (e.g., Linux) to gather information, diagnose and make corrections to a second operating environment (e.g., Windows) on the same machine is to write a plethora of Windows diagnostic tools to run under Linux. For example, Linux based tools to manipulate the Windows registry (e.g., Regedt32), event log, INF files, user profiles, Active Directory database files, Security Descriptors, etc. This is a large complex programming and reverse engineering task as the physical layout of these entities on disk are Microsoft proprietary and often change with each update of Windows operating system (O/S). Moreover, there are always new facilities in upcoming releases of Windows O/S (e.g., .NET related system components) that vendors may not be privy to. This will require increased programming and reverse engineering effort to enable diagnosis via Linux based diagnostic tools.
It would be highly desirable to implement a system that facilitates diagnosing a failed computer system that obviates the complex programming and engineering tasks.
It would be highly desirable to provide a service that facilitates diagnosing a failed computer system without complex programming and engineering tasks.
The present invention relates to a method, computer program product and system for diagnosing and repairing computer systems. The invention is preferably aimed at circumventing the complex programming and engineering task issues associated with current diagnostic and repair methods, by using one or more proxy machines that run the same operating environment as the failed one. A diagnostic software application (e.g., Linux) running on a first computing platform sends relevant information to these proxy machines via a network connection (for example, if available) or through a slower mechanism for diagnostic and repair instructions.
Thus, according to the invention, there is provided a system and method for diagnosing and repairing computer systems. The system comprises a first computing system executing an operating system of a first platform type and subject to a failure diagnosis; an operating system of a second platform type adapted to be executed on the first computing system upon failure of the operating system of the first platform type; an application running under the operating system of the second platform type for obtaining diagnostic information pertaining to the failed operating system on the computing system; a second computing system executing the same operating system of the first platform type as the failed operating system executed on the first computing system; a means for communicating the diagnostic information obtained by the application to the second computing system; a means at the second computing system for utilizing the diagnostic information to diagnose the subject failed operating system of the first computing system; and a means executing at the second computing system for generating repair information for communication to the application running on the first computer system to repair the failed operating system.
Advantageously, the diagnostic repair system is configurable as a service provided by an entity to diagnose and repair remotely located computing systems having failed operating systems.
The objects, features and advantages of the present invention will become apparent to one skilled in the art, in view of the following detailed description taken in combination with the attached drawing
Upon a computer system crash, e.g., an operating system (O/S) failure due to data corruption, a virus, or any other conceivable recoverable error (hardware or software), for example, the present invention provides a relatively quick and easy diagnostic solution.
According to the present invention, a diagnostic software application running on the same computing system as the failed O/S, is provided with read/write access to a file system of the failed O/S image. Using this capability, the diagnostic software application collects relevant configuration information and error logs from the file system of the failed O/S image, and transports this information to a proxy system running the same operating system as the computing machine being diagnosed. The proxy system utilizes the collected data to diagnose the subject failed O/S system. Once the proxy makes a determination it will synthesize a set of instructions to be transported back to the diagnostic software system to apply. These instructions may include, but arc not limited to: copying newly provided files or, overwriting existing data with modified files. ft is understood that other possible instructions include the provision of new or modified parameters to be passed to the failed O/S image's boot loader. For example, in the case of Windows O/S, it may need to be started in “safe mode”, or, possibly, to change the kernel that is to be used, modify the number of CPUs the O/S should recognize, turn on boot logging, or, specify a different memory size. This system is most practically applied when there exists a network connection between the computer running the diagnostic software package and the proxy system. This allows data to be easily transported between the two systems without human intervention.
Due to the communication network connection, the proxy system may be remotely located from the computer running the diagnostic software package and hence, the owner of the proxy system may provide a computer diagnostic repair service.
A practical example of the diagnostic repair system 10 according to the invention illustrated in
In a farther embodiment, it is understood that an organization may provide a computing system diagnostic service for repairing failed operating systems. For instance, a remote service organization may comprise a number of proxy server devices each running one of many types of operating systems. Thus, the entity with the failed primary operating system will boot the hidden diagnostic repair application (e.g., Linux) to obtain the relevant configuration files of the failed O/S image and send these files to the service organization which includes a proxy device executing the same O/S as the entity. In the manner described, a repair file may quickly and easily be generated by the service party to fix the failed entity's computer O/S which file may be communicated back to the failed system over a network connection.
It should be further understood that there is a cost advantage in implementing the system 10 of the present invention, particularly, as the system avoids the need for a company that provides the Linux diagnostic software to purchase an additional Window's license for each system that it is supporting. For example, in a large organization, only a small number of additional Windows licenses will be needed to be purchased for the proxy devices compared to the total number that would need to be purchased, for example, had Windows (a primary O/s) been chosen as the pre-Boot environment for the diagnostic software package.
While there has been shown and described what is considered to be preferred embodiments of the invention, it will, of course, be understood that various modifications and changes in form or detail could readily be made without departing from the spirit of the invention. It is therefore intended that the invention be not limited to the exact forms described and illustrated, but should be constructed to cover all modifications that may fall within the scope of the appended claims.
This application is a continuation of U.S. patent application Ser. No. 10/826,455, filed Apr. 16, 2004.
Number | Date | Country | |
---|---|---|---|
Parent | 10826455 | Apr 2004 | US |
Child | 11970292 | Jan 2008 | US |