CN104935451A - Fault detection method and device - Google Patents

Fault detection method and device Download PDF

Info

Publication number
CN104935451A
CN104935451A CN201410103270.5A CN201410103270A CN104935451A CN 104935451 A CN104935451 A CN 104935451A CN 201410103270 A CN201410103270 A CN 201410103270A CN 104935451 A CN104935451 A CN 104935451A
Authority
CN
China
Prior art keywords
destination host
operating system
screen picture
installment state
abnormal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410103270.5A
Other languages
Chinese (zh)
Inventor
郭旸
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201410103270.5A priority Critical patent/CN104935451A/en
Publication of CN104935451A publication Critical patent/CN104935451A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a fault detection method and device which are used for solving the problem in the prior art that faults occur in the an operation system installation process cannot be known in time. The method comprises the steps of: obtaining a screen image of a target host in the operation system installation process through an intelligent platform management interface of the target host; determining the installation state of the operation system of the target host according to the display content of the screen image; and outputting an alarming message used for prompting the current abnormal installation of the operation system when the installation state is determined to be abnormal.

Description

A kind of fault detection method and device
Technical field
The present invention relates to mobile communication technology field, particularly relate to a kind of fault detection method and device.
Background technology
Along with the fast development of computer technology, computer has been deep into the various aspects that we work and live gradually.And along with the quick growth of various computing service amount, the scale of Internet data center (the Internet Data Center) machine room of rear end bearer service is also in the expansion in geometry multiple, the machine room of main frame of thousands of is also very common easily.
In this extensive mainframe cluster environment, often need to carry out operating system installation and map out the work, the operating system installation deployment way of current main flow is all realize based on Pre-boot Execution Environment (Preboot ExecuteEnvironment, PXE) technology.Concrete, in local area network (LAN) inside, PXE server is set, destination host is set to netboot and starts, DHCP (Dynamic Host Configuration Protocol can be sent on network after destination host starts, DHCP) request bag, this request can be replied after PXE server receives this request bag, distribute Internet protocol (Internet Protocol, IP) address is to destination host, destination host is then by TFTP (Trivial File Transfer Protocol, or multiple spot TFTP (Multicast Trivial File Transfer Protocol TFTP), MTFTP) download one from PXE server to start software kit to local memory and perform.To start after software kit can according to the step preset by operating system installation to this locality.
Above technology can solve the problem of extensive mainframe cluster operating system installation, but after startup software kit runs startup, destination host and PXE server enter automatic interaction state, at this moment just operating system installation state cannot be obtained, only after operating system installation completes, just operating system installation successful result can be obtained.And for situation about breaking down in operating system installation process, only having staff to go main frame machine room to carry out manual confirmation could obtain.
Summary of the invention
The embodiment of the present invention provides a kind of fault detection method and device, in order to solve the problem cannot known in time when breaking down in operating system installation process existed in prior art.
The embodiment of the present invention is by the following technical solutions:
A kind of fault detection method, comprising:
Obtain described destination host by the IPMI IPMI of destination host and be in screen picture in operating system installation process;
According to the displaying contents of described screen picture, determine the installment state of the operating system of described destination host;
When the installment state determined is for time abnormal, export for pointing out current operation system to install abnormal alarm information.
Optionally, the screen picture obtaining described destination host by the IPMI of destination host, specifically comprises:
According to the time interval pre-set, obtained the screen picture of described destination host by the IPMI of destination host; Then
According to the displaying contents of described screen picture, determine the installment state of the operating system of described destination host, specifically comprise:
Judge that whether the screen picture that adjacent time inter obtains is identical;
When the screen picture judging that adjacent time inter obtains is identical, determine that the installment state of the operating system of described destination host is for abnormal;
When the screen picture judging that adjacent time inter obtains is not identical, determine that the installment state of the operating system of described destination host is normal.
Optionally, according to the displaying contents of described screen picture, determine the installment state of the operating system of described destination host, specifically comprise:
Judge whether to exist in described screen picture pre-set for there is abnormal characteristic image in characterization operations system installation process;
When judging to there is described characteristic image in described screen picture, determine that the installment state of the operating system of described destination host is for abnormal;
When judging there is not described characteristic image in described screen picture, determine that the installment state of the operating system of described destination host is normal.
Optionally, described method also comprises:
When the installment state determined is normal, described screen picture and the stage diagram picture corresponding respectively with each erection stage in operating system installation process prestored are contrasted;
According to comparing result, determine the current residing erection stage of the operating system of described destination host;
Export the notification message of the current residing erection stage of the operating system for characterizing described destination host.
Optionally, described screen picture stores with bitmap or polar plot form.
The embodiment of the present invention additionally provides a kind of failure detector, comprising:
Acquisition module, is in screen picture in operating system installation process for being obtained described destination host by the IPMI IPMI of destination host;
Installment state determination module, for the displaying contents of described screen picture obtained according to acquisition module, determines the installment state of the operating system of described destination host;
Alarm information output module, for when the installment state that installment state determination module is determined is for time abnormal, exports for pointing out current operation system to install abnormal alarm information.
Optionally, described acquisition module, specifically for:
According to the time interval pre-set, obtained the screen picture of described destination host by the IPMI of destination host; Then
Described installment state determination module, specifically comprises:
Whether the first judging unit is identical for judging the screen picture that adjacent time inter obtains;
First result unit, for when the first judging unit judges that the screen picture that adjacent time inter obtains is identical, determines that the installment state of the operating system of described destination host is for abnormal; When the first judging unit judges that the screen picture that adjacent time inter obtains is not identical, determine that the installment state of the operating system of described destination host is normal.
Optionally, described installment state determination module, specifically comprises:
Second judging unit, for judge whether to exist in described screen picture pre-set for there is abnormal characteristic image in characterization operations system installation process;
Second result unit, during for judging to there is described characteristic image in described screen picture when the second judging unit, determines that the installment state of the operating system of described destination host is for abnormal; When the second judging unit judges there is not described characteristic image in described screen picture, determine that the installment state of the operating system of described destination host is normal.
Optionally, described device also comprises:
Contrast module, during for being normal when the installment state that installment state determination module is determined, contrasts described screen picture and the stage diagram picture corresponding respectively with each erection stage in operating system installation process prestored;
Erection stage determination module, for the comparing result according to contrast module, determines the current residing erection stage of the operating system of described destination host;
Notification message output module, for exporting the notification message of the current residing erection stage of the operating system for characterizing the described destination host that erection stage determination module is determined.
Optionally, described screen picture stores with bitmap or polar plot form.
The beneficial effect of the embodiment of the present invention is as follows:
In the embodiment of the present invention, by obtaining the screen picture of the destination host be in operating system installation process, and according to the displaying contents of screen picture obtained, determine the installment state of the operating system of destination host, when the installment state determined is for time abnormal, export for pointing out current operation system to install abnormal alarm information, compared with prior art, when breaking down in operating system installation process, exception can be judged fast according to the displaying contents of screen picture, and initiatively go to confirm fault without the need to artificial, shorten the judgement time to fault, improve the Fault Identification efficiency in extensive mainframe cluster operating system installation process.
Accompanying drawing explanation
Fig. 1 is the operating system installation process implementation schematic diagram of extensive mainframe cluster in prior art;
Fig. 2 be destination host complete operation system in prior art in extensive mainframe cluster install realize schematic diagram;
The realization flow figure of a kind of fault detection method that Fig. 3 provides for the embodiment of the present invention;
The specific implementation flow chart of a kind of fault detection method that Fig. 4 provides for the embodiment of the present invention;
Fig. 5 is in actual applications for realizing the general frame figure of the PXE system of said method;
The structural representation of a kind of failure detector that Fig. 6 provides for the embodiment of the present invention.
Embodiment
In order to solve the problem cannot known in time when breaking down in operating system installation process existed in prior art, existing operating system installation process is conducted in-depth research.
The operating system installation deployment way of extensive mainframe cluster Major Epidemic has many forms, such as mirror image forms and configuration file form etc. at present, wherein:
Mirror image forms: make mirror image with the main frame having installed operating system, directly by network by image copying on destination host.
Configuration file form: by the configuration file file designated mounting flow process write, selected installation kit, setting Installation Options etc., simulate manual operating system installation process, by network read operation system fixing disc, and according to the step preset, complete operation system is installed step by step.
Although these two kinds of forms above-mentioned phenomenologically have larger difference, but main actualizing technology is all based on PXE system, as shown in Figure 1, for the operating system installation process implementation schematic diagram of mainframe cluster extensive in prior art, wherein, arrange PXE server in local area network (LAN) inside, in extensive mainframe cluster, all destination hosts are that netboot starts.DHCP request bag can be sent on network after destination host starts, this request can be replied after PXE server receives this request bag, distributing IP address is to destination host, and destination host is then downloaded one by TFTP or MTFTP from PXE server and started software kit to local memory and perform.To start after software kit and can will read Clone mirror picture or operating system installation bag to this locality from PXE server end according to the step preset.After startup software kit runs startup, destination host and PXE server enter automatic interaction state, at this moment just cannot obtain operating system installation state, only after operating system installation completes, just can obtain operating system installation successful result.
As shown in Figure 2, that installs for the destination host complete operation system in mainframe cluster extensive in prior art realizes schematic diagram, mainly be divided into three phases, first stage is IPMI (IntelligentPlatform Management Interface, IPMI) host service function process, this process can obtain current state by IPMI instrument return value; Second stage is that PXE guides start-up course, and this process can obtain current state by the daily record of PXE server end; Phase III is operating system installation process, known by above-mentioned analysis, and the various progress status in this process and error situation all cannot long-rangely obtain, and namely enter black box state.
For individual host, the installation of complete operation system will expend the time that tens arrive dozens of minutes usually, mainly depending on host hardware performance and wideband condition.If the situation of a large amount of concurrent installation of main frame, this time loss also likely has a certain amount of prolongation.As the long operation that such time span is very large, cannot obtain state feedback directly in real time in operation implementation, this will inevitably cause operating efficiency to decline to a great extent.
In addition, have the environment of a large amount of main frame at extensive mainframe cluster under, the health state of hardware of main frame cannot ensure often completely, especially in a large amount of long playing hardware environment.The fault detect instrument of the prosthetic intervention of a lot of main flow also all depends on operating system at present.Under this kind of circumstances and condition, the fault detect of automation operating system installation procedure hinders the development of large-scale cluster automatic management.
Based on the defect that aforesaid operations system installation process exists, the present invention proposes a kind of failure detection schemes, in conjunction with current IMAQ and correlation technique, PXE system is improved.In this technical scheme, by obtaining the screen picture of the destination host be in operating system installation process, and according to the displaying contents of screen picture obtained, determine the installment state of the operating system of destination host, when the installment state determined is for time abnormal, export for pointing out current operation system to install abnormal alarm information, compared with prior art, when breaking down in operating system installation process, exception can be judged fast according to the displaying contents of current screen image, and initiatively go to confirm fault without the need to artificial, thus the judgement time shortened fault, improve the Fault Identification efficiency in extensive mainframe cluster operating system installation process.
Below in conjunction with Figure of description, embodiments of the invention are described, should be appreciated that embodiment described herein is only for instruction and explanation of the present invention, is not limited to the present invention.And when not conflicting, the embodiment in the present invention and the feature of embodiment can be combined with each other.
Provide a kind of fault detection method in the embodiment of the present invention, as shown in Figure 3, be the realization flow figure of the method, the method specifically comprises the steps:
Step 31, what obtain destination host by the IPMI of destination host is in screen picture in operating system installation process.
Wherein, the screen picture of acquisition can store with the form of bitmap or polar plot, and when storing with bitmap form, image is without the need to compression, and the image definition after storage is very high, and the embodiment of the present invention stores with bitmap form the screen picture obtained.
Step 32, according to the displaying contents of the screen picture obtained, determines the installment state of the operating system of above-mentioned destination host;
Wherein, operating system installation generally can be divided into clone and install two kinds of forms, is that clone or installation all can have disk formatting, the operating procedures such as file copy, also can carries out the operating procedures such as software kit installation in operating system installation process.These operating procedures all can embody accordingly on screen, are first that the essential characteristic of the page in each operating procedure flow process, layout or background can change; Secondly because these operations are all generally long operations, so generally have representing of the forms such as progress bar in operation.When operating system installation process is when constantly carrying out forward, if can contrast the screen picture of the destination host of adjacent time inter, just can judge whether current installation process goes wrong.
Based on above-mentioned analysis, specifically comprise in above-mentioned steps 31: according to the time interval pre-set, obtained the prerequisite of its screen picture by the IPMI of destination host under, the first implementation of this step 32 can be:
Judge that whether the screen picture that adjacent time inter obtains is identical;
When the screen picture judging that adjacent time inter obtains is identical, then determine that the installment state of the operating system of destination host is for abnormal;
When the screen picture judging that adjacent time inter obtains is not identical, then determine that the installment state of the operating system of destination host is normal.
Wherein, whether the screen picture that adjacent time inter obtains is identical, and whether the screen picture that namely adjacent time inter obtains changes.If the erection schedule of operating system is being pushed ahead smoothly, then the screen picture that adjacent time inter obtains is being bound to change; On the contrary, if the screen picture that adjacent time inter obtains does not change, then the erection schedule of operating system may break down, causes process to be hung up in certain operating process.
In addition, in operating system installation process, if there is fault (such as disk problem, network problem or installation kit problem etc.).Generally all can there is error reporting on screen, to be supplied to user's process.Error reporting generally can with on the present screen of the form body of pop-up box, and wrong printed words are as " Error " and " Exception " etc.
Based on above-mentioned analysis, the second implementation of this step 32 can be specially:
Judge obtain screen picture in whether exist pre-set for there is abnormal characteristic image in characterization operations system installation process;
When judging existing characteristics image in the screen picture obtained, then determine that the installment state of the operating system of destination host is for abnormal;
When judge obtain screen picture in not existing characteristics image time, then determine that the installment state of the operating system of destination host is normal.
Wherein, for occurring in characterization operations system installation process that abnormal characteristic image can for comprising the image of above-mentioned wrong printed words, if obtain screen picture in there are wrong printed words described above, then can think operating system erection schedule in break down.
Can be, but not limited in the embodiment of the present invention use above-mentioned two kinds of implementations to judge the installment state of the operating system of destination host, and above-mentioned two kinds of implementations can select an execution, also can combine common execution, and the embodiment of the present invention is not restricted this.
Step 33, when the installment state determined is for time abnormal, exports for pointing out current operation system to install abnormal alarm information.
In the embodiment of the present invention, by obtaining the screen picture of the destination host be in operating system installation process, and according to the displaying contents of screen picture obtained, determine the installment state of the operating system of destination host, when the installment state determined is for time abnormal, export for pointing out current operation system to install abnormal alarm information, compared with prior art, can know in time when breaking down in operating system installation process, and without the need to artificial confirmation, shorten the judgement time to fault, improve the Fault Identification efficiency in extensive mainframe cluster operating system installation process.
Optionally, for the problem that cannot obtain the real-time status in operating system installation process in prior art, as shown in Figure 4, be the specific implementation flow chart of a kind of fault detection method that the embodiment of the present invention provides.
Step 41, is in the screen picture in operating system installation process by IPMI acquisition destination host;
Step 42, according to the displaying contents of the screen picture obtained, determines the installment state of the operating system of above-mentioned destination host;
Step 43, when the installment state determined is for time abnormal, exports for pointing out current operation system to install abnormal alarm information;
Wherein, the specific implementation of step 41 ~ 43 with reference to above-described embodiment, can not repeat them here.
Step 44, when the installment state determined is normal, contrasts the screen picture of acquisition and the stage diagram picture corresponding respectively with each erection stage in operating system installation process prestored;
Wherein, the stage diagram picture that each erection stage (such as format, installation kit initialization, file copy and software kit installation etc.) in operating system installation process is corresponding can obtain in advance and store.
Step 45, according to comparing result, determines the current residing erection stage of the operating system of above-mentioned destination host;
Step 46, exports the notification message of the current residing erection stage of operating system for characterizing above-mentioned destination host.
By above-mentioned steps 45-46, staff can be made to know the current residing erection stage of operating system in real time, thus have understanding roughly to installation progress.
In the embodiment of the present invention, by obtaining the screen picture being in destination host in operating system installation process, and according to the displaying contents of the screen picture obtained, determine the installment state of the operating system of destination host.When the installment state determined is for time abnormal, export for pointing out current operation system to install abnormal alarm information, compared with prior art, when breaking down in operating system installation process, exception can be judged fast according to the displaying contents of screen picture, and without the need to artificially initiatively confirming fault, thus shorten the judgement time to fault, improve the Fault Identification efficiency in extensive mainframe cluster operating system installation process;
When the installment state determined is normal, the current residing erection stage of operating system can be determined further and report, achieve and the refinement of operating system installation process is monitored, improve the controllability of extensive mainframe cluster operating system installation process, also simplify the management process of staff.
In order to realize said method, the present invention proposes a kind of in actual applications for realizing the system architecture of said method.As shown in Figure 5, in actual applications for realizing the general frame figure of the PXE system of said method.Wherein, this PXE system can comprise four parts: PXE service subsystem (is PXE server mentioned above, in order to unify nominally with three newly-increased subsystems, hereinafter be referred to as PXE service subsystem), image acquisition subsystem, image comparison subsystem and condition monitoring subsystem, wherein:
1, in PXE service subsystem, place operating system mirror image, and PXE relevant configuration is set, DHCP service and configuration file etc.; And arrange all destination hosts in extensive mainframe cluster be netboot start, and the destination host scope that selected batch is installed, and batch sends IPMI starting command (or restart order, command type is depending on the current state of destination host) to these destination hosts.Record order implementation status, and by these destination host range registration to condition monitoring subsystem.Destination host can perform initialization operation after powering up startup, and broadcast DHCP request frame in a local network, set up with the DHCP service in PXE service subsystem and communicate to obtain IP address, then start to communicate with PXE service subsystem by this IP address, and enter operating system installation process.
2, the firmware of IPMI control protocol can all be pre-installed in current most of main frames.Because IPMI is that firmware realizes, belongs to host hardware support, do not need to depend on operating system, just can access after main frame powers up.IPMI is by being connected with extraneous independent of the other netting twine of network interface card or shared network interface card netting twine.Can be independent be this firmware configuration independently IP address, with realize distinguish.IPMI2.0 version supports that distally main frame capture screen image is to local.Therefore, can define timer in condition monitoring subsystem, be destination host acquisition screen picture, and the file being stored as bitmap format is to corresponding directory location by image acquisition subsystem timing.
3, image ratio sub-system depends on the screen picture that image acquisition subsystem obtains, and the feature of main contrast judgement has several as follows:
1) by judging that whether the screen picture that adjacent time inter obtains is identical;
2) by judge whether to exist in screen picture pre-set for there is abnormal characteristic image in characterization operations system installation process.
In addition, before this system of use carries out operating system installation, can for specific operating system, capture each stage (as format, installation kit initialization, file copy, software kit installation etc.) image and be stored in image ratio sub-system, image ratio sub-system can by comparing the image in the current screen picture got and each stage, just the erection stage residing for current operation system erection schedule can be judged according to comparing result, and result is reported status monitoring subsystem, namely staff can have one probably to understand to process development.
4, condition monitoring subsystem mainly dispatches other subsystems co-ordinations, and collects the various comparison results of image ratio sub-system, according to the current installment state of destination host, carries out the process such as feedback in conjunction with corresponding destination host information.Such as, according to the comparison result that image ratio sub-system reports, condition monitoring subsystem judges that the installation process of destination host occurs abnormal, then outputting alarm message, staff just can know that situation about breaking down installed by destination host fast, and processes in time.
Based on said method, the embodiment of the present invention additionally provides a kind of failure detector, as shown in Figure 6, is the structural representation of this failure detector, comprises:
Acquisition module 61, is in screen picture in operating system installation process for being obtained described destination host by the IPMI IPMI of destination host;
Installment state determination module 62, for the displaying contents of described screen picture obtained according to acquisition module 61, determines the installment state of the operating system of described destination host;
Alarm information output module 63, for when the installment state that installment state determination module 62 is determined is for time abnormal, exports for pointing out current operation system to install abnormal alarm information.
The first situation:
Described acquisition module 61, specifically for:
According to the time interval pre-set, obtained the screen picture of described destination host by the IPMI of destination host; Then
Described installment state determination module 62, specifically comprises:
Whether the first judging unit 621 is identical for judging the screen picture that adjacent time inter obtains;
First result unit 622, for when the first judging unit 621 judges that the screen picture that adjacent time inter obtains is identical, determines that the installment state of the operating system of described destination host is for abnormal; When the first judging unit 621 judges that the screen picture that adjacent time inter obtains is not identical, determine that the installment state of the operating system of described destination host is normal.
The second situation:
Described installment state determination module 62, specifically comprises:
Second judging unit 623, for judge whether to exist in described screen picture pre-set for there is abnormal characteristic image in characterization operations system installation process;
Second result unit 624, for when the second judging unit 623 judges to there is described characteristic image in described screen picture, determines that the installment state of the operating system of described destination host is for abnormal; When the second judging unit 623 judges there is not described characteristic image in described screen picture, determine that the installment state of the operating system of described destination host is normal.
Optionally, described device can also comprise:
Contrast module 64, during for being normal when the installment state that installment state determination module 62 is determined, contrasts described screen picture and the stage diagram picture corresponding respectively with each erection stage in operating system installation process prestored;
Erection stage determination module 65, for the comparing result according to contrast module 64, determines the current residing erection stage of the operating system of described destination host;
Notification message output module 66, for exporting the notification message of the current residing erection stage of the operating system for characterizing the described destination host that erection stage determination module 65 is determined.
Wherein, described screen picture stores in bitmap format.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disc store, CD-ROM, optical memory etc.) of computer usable program code.
The present invention describes with reference to according to the flow chart of the method for the embodiment of the present invention, equipment (system) and computer program and/or block diagram.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame.These computer program instructions can being provided to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computer or other programmable data processing device produce device for realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make on computer or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computer or other programmable devices is provided for the step realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
Although describe the preferred embodiments of the present invention, those skilled in the art once obtain the basic creative concept of cicada, then can make other change and amendment to these embodiments.So claims are intended to be interpreted as comprising preferred embodiment and falling into all changes and the amendment of the scope of the invention.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.

Claims (10)

1. a fault detection method, is characterized in that, comprising:
Obtain described destination host by the IPMI IPMI of destination host and be in screen picture in operating system installation process;
According to the displaying contents of described screen picture, determine the installment state of the operating system of described destination host;
When the installment state determined is for time abnormal, export for pointing out current operation system to install abnormal alarm information.
2. the method for claim 1, is characterized in that, the screen picture obtaining described destination host by the IPMI of destination host, specifically comprises:
According to the time interval pre-set, obtained the screen picture of described destination host by the IPMI of destination host; Then
According to the displaying contents of described screen image data, determine the installment state of the operating system of described destination host, specifically comprise:
Judge that whether the screen image data that adjacent time inter obtains is identical;
When the screen image data judging that adjacent time inter obtains is identical, determine that the installment state of the operating system of described destination host is for abnormal;
When the screen picture judging that adjacent time inter obtains is not identical, determine that the installment state of the operating system of described destination host is normal.
3. the method for claim 1, is characterized in that, according to the content of described screen picture, determines the installment state of the operating system of described destination host, specifically comprises:
Judge whether to exist in described screen picture pre-set for there is abnormal characteristic image in characterization operations system installation process;
When judging to there is described characteristic image in described screen picture, determine that the installment state of the operating system of described destination host is for abnormal;
When judging there is not described characteristic image in described screen picture, determine that the installment state of the operating system of described destination host is normal.
4. the method for claim 1, is characterized in that, described method also comprises:
When the installment state determined is normal, described screen picture and the stage diagram picture corresponding respectively with each erection stage in operating system installation process prestored are contrasted;
According to comparing result, determine the current residing erection stage of the operating system of described destination host;
Export the notification message of the current residing erection stage of the operating system for characterizing described destination host.
5. the method as described in as arbitrary in Claims 1 to 4, is characterized in that, described screen picture stores with bitmap or polar plot form.
6. a failure detector, is characterized in that, comprising:
Acquisition module, is in screen picture in operating system installation process for being obtained described destination host by the IPMI IPMI of destination host;
Installment state determination module, for the displaying contents of described screen picture obtained according to acquisition module, determines the installment state of the operating system of described destination host;
Alarm information output module, for when the installment state that installment state determination module is determined is for time abnormal, exports for pointing out current operation system to install abnormal alarm information.
7. device as claimed in claim 6, is characterized in that, described acquisition module, specifically for:
According to the time interval pre-set, obtained the screen picture of described destination host by the IPMI of destination host; Then
Described installment state determination module, specifically comprises:
Whether the first judging unit is identical for judging the screen picture that adjacent time inter obtains;
First result unit, for when the first judging unit judges that the screen picture that adjacent time inter obtains is identical, determines that the installment state of the operating system of described destination host is for abnormal; When the first judging unit judges that the screen picture that adjacent time inter obtains is not identical, determine that the installment state of the operating system of described destination host is normal.
8. device as claimed in claim 6, it is characterized in that, described installment state determination module, specifically comprises:
Second judging unit, for judge whether to exist in described screen picture pre-set for there is abnormal characteristic image in characterization operations system installation process;
Second result unit, during for judging to there is described characteristic image in described screen picture when the second judging unit, determines that the installment state of the operating system of described destination host is for abnormal; When the second judging unit judges there is not described characteristic image in described screen picture, determine that the installment state of the operating system of described destination host is normal.
9. device as claimed in claim 6, it is characterized in that, described device also comprises:
Contrast module, during for being normal when the installment state that installment state determination module is determined, contrasts described screen picture and the stage diagram picture corresponding respectively with each erection stage in operating system installation process prestored;
Erection stage determination module, for the comparing result according to contrast module, determines the current residing erection stage of the operating system of described destination host;
Notification message output module, for exporting the notification message of the current residing erection stage of the operating system for characterizing the described destination host that erection stage determination module is determined.
10. the device as described in as arbitrary in claim 6 ~ 9, is characterized in that, described screen picture stores with bitmap or polar plot form.
CN201410103270.5A 2014-03-19 2014-03-19 Fault detection method and device Pending CN104935451A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410103270.5A CN104935451A (en) 2014-03-19 2014-03-19 Fault detection method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410103270.5A CN104935451A (en) 2014-03-19 2014-03-19 Fault detection method and device

Publications (1)

Publication Number Publication Date
CN104935451A true CN104935451A (en) 2015-09-23

Family

ID=54122429

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410103270.5A Pending CN104935451A (en) 2014-03-19 2014-03-19 Fault detection method and device

Country Status (1)

Country Link
CN (1) CN104935451A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106060126A (en) * 2016-05-24 2016-10-26 众安在线财产保险股份有限公司 Method and system for remotely and automatically identifying screen state of smart device
CN106254104A (en) * 2016-07-28 2016-12-21 杭州昆海信息技术有限公司 The acquisition methods of a kind of installment state and device
CN109254782A (en) * 2018-09-12 2019-01-22 郑州云海信息技术有限公司 Installation method of operating system and device
CN111901143A (en) * 2020-06-19 2020-11-06 苏州浪潮智能科技有限公司 Method and system for diagnosing abnormal problems in PXE environment
CN112764991A (en) * 2021-01-19 2021-05-07 苏州浪潮智能科技有限公司 Method, system, device and medium for managing BMC based on image identification

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1808395A (en) * 2005-01-18 2006-07-26 英业达股份有限公司 Computer executable hardware monitoring method
CN101001167A (en) * 2006-01-10 2007-07-18 英业达股份有限公司 Method for dynamic setting management function at management interface of intelligent interface
US20110047472A1 (en) * 2009-08-18 2011-02-24 Dell Products, Lp System and Method for a Remote Console Preview of a Server
CN102609349A (en) * 2012-02-08 2012-07-25 北京百度网讯科技有限公司 Method and system for screen capture in server failure
CN102882709A (en) * 2012-09-05 2013-01-16 浪潮(北京)电子信息产业有限公司 Monitoring system and monitoring method in cloud computing environment
CN104753993A (en) * 2013-12-29 2015-07-01 中国移动通信集团公司 Method for monitoring server and monitoring device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1808395A (en) * 2005-01-18 2006-07-26 英业达股份有限公司 Computer executable hardware monitoring method
CN101001167A (en) * 2006-01-10 2007-07-18 英业达股份有限公司 Method for dynamic setting management function at management interface of intelligent interface
US20110047472A1 (en) * 2009-08-18 2011-02-24 Dell Products, Lp System and Method for a Remote Console Preview of a Server
CN102609349A (en) * 2012-02-08 2012-07-25 北京百度网讯科技有限公司 Method and system for screen capture in server failure
CN102882709A (en) * 2012-09-05 2013-01-16 浪潮(北京)电子信息产业有限公司 Monitoring system and monitoring method in cloud computing environment
CN104753993A (en) * 2013-12-29 2015-07-01 中国移动通信集团公司 Method for monitoring server and monitoring device

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106060126A (en) * 2016-05-24 2016-10-26 众安在线财产保险股份有限公司 Method and system for remotely and automatically identifying screen state of smart device
CN106060126B (en) * 2016-05-24 2019-03-19 众安在线财产保险股份有限公司 A kind of the remote auto recognition methods and system of screen of intelligent device state
CN106254104A (en) * 2016-07-28 2016-12-21 杭州昆海信息技术有限公司 The acquisition methods of a kind of installment state and device
CN106254104B (en) * 2016-07-28 2020-01-03 新华三信息技术有限公司 Method and device for acquiring installation state
CN109254782A (en) * 2018-09-12 2019-01-22 郑州云海信息技术有限公司 Installation method of operating system and device
CN109254782B (en) * 2018-09-12 2022-03-22 郑州云海信息技术有限公司 Operating system installation method and device
CN111901143A (en) * 2020-06-19 2020-11-06 苏州浪潮智能科技有限公司 Method and system for diagnosing abnormal problems in PXE environment
CN111901143B (en) * 2020-06-19 2022-05-31 苏州浪潮智能科技有限公司 Method and system for diagnosing abnormal problems in PXE environment
CN112764991A (en) * 2021-01-19 2021-05-07 苏州浪潮智能科技有限公司 Method, system, device and medium for managing BMC based on image identification

Similar Documents

Publication Publication Date Title
CN104935451A (en) Fault detection method and device
CN106549789B (en) Method and system for realizing server installation
CN109587005B (en) Connection detection method and device, computer equipment and readable storage medium
CN111245898A (en) Network equipment online method, device, server and storage medium
US20160019051A1 (en) Forcibly completing upgrade of distributed software in presence of failures
CN107357571B (en) Maintenance method and system for equipment component program
GB2507604A (en) Rack and method thereof for simultaneously updating basic input output systems
US11636016B2 (en) Cloud simulation and validation system
CN110086664B (en) Access equipment fault processing method and device
CN110865835A (en) Configuration file updating method and device, computer equipment and storage medium
CN112749095B (en) Method, system and medium for switching operating system to execute test task
US8751868B2 (en) Control server and method for switching running of test programs stored in multiple storage mediums of test server
CN105204955A (en) Method and device for correcting faults of virtual machines
CN109697078B (en) Repairing method of non-high-availability component, big data cluster and container service platform
CN110971689B (en) System installation method, device, system, equipment and storage medium
JP2007183837A (en) Environment-setting program, environment-setting system, and environment-setting method
CN111367735B (en) Test method and system based on server to be tested and Wuban diagram operating system
CN117289963A (en) Method and equipment for online updating target area of server platform service firmware
US9949046B2 (en) Automating repairs to audio systems
JP2006113754A (en) Software update device and method
CN106484442A (en) Server system and the method for updating start image shelves
US20090083747A1 (en) Method for managing application programs by utilizing redundancy and load balance
CN109254782B (en) Operating system installation method and device
CN107291499A (en) A kind of method by BMC automatic batch bulking systems
CN109684134B (en) Method and server for rapidly deploying firmware settings among multiple devices

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20150923

RJ01 Rejection of invention patent application after publication