CN102479162A - Computer system and method for recording system event log - Google Patents

Computer system and method for recording system event log Download PDF

Info

Publication number
CN102479162A
CN102479162A CN2010105580109A CN201010558010A CN102479162A CN 102479162 A CN102479162 A CN 102479162A CN 2010105580109 A CN2010105580109 A CN 2010105580109A CN 201010558010 A CN201010558010 A CN 201010558010A CN 102479162 A CN102479162 A CN 102479162A
Authority
CN
China
Prior art keywords
event log
system event
storage device
computer installation
remote storage
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
CN2010105580109A
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.)
Inventec Corp
Original Assignee
Inventec Corp
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 Inventec Corp filed Critical Inventec Corp
Priority to CN2010105580109A priority Critical patent/CN102479162A/en
Publication of CN102479162A publication Critical patent/CN102479162A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention provides a computer system and a method for recording a system event log of a computer device. The method comprises the following steps of: detecting whether the total capacity occupied by currently stored content of the system event log is larger than the preset capacity by means of the computer device and obtaining a detecting result; then, triggering a near full load event according to the detecting result, and uploading the currently stored content of the system event log to a storage device according to the near full load event; and finally, deleting the currently stored content in the system event log.

Description

The recording method of computer system and System Event Log thereof
Technical field
The embodiment of the invention relates to a kind of recording method of System Event Log, relates in particular to a kind of recording method of System Event Log of computer system.
Background technology
(System Event Log SEL) is baseboard management controller (Board Management Controller, an important function that BMC) is provided in the computer installation to System Event Log.Wherein, System Event Log is to be used to provide to store the variety of event that computer installation (or server) is produced.Certainly, being used for the storage space of stocking system event log has the certain capacity restriction, goes up in limited time in case the capacity of stocking system event log arrives, because the computer installation content of scavenge system event log automatically.If the user does not have the custom of periodic cleaning System Event Log, the new System Event Log that produces just often can't be produced leakage by effective record.
Summary of the invention
The present invention provides a kind of recording method of System Event Log, makes computer installation be used for the space of stocking system event log and can not be fully loaded with and produce the record of leakage System Event Log.
The present invention provides a kind of computer system, and the record of System Event Log can be fully loaded with and avoid missing in its space that is used for the stocking system event log.
The present invention proposes a kind of recording method that is applicable to the System Event Log of computer installation; Comprise: whether the total volume by a plurality of existing content of computer installation detecting system event log is shared detects the result greater than preset capacity and acquisition; Trigger the fully loaded incident of closing on according to the detecting result again; And, according to closing on existing content that fully loaded incident comes the unloading System Event Log to storage device.At last, the existing content in the deletion System Event Log.
The present invention proposes a kind of computer system in addition, comprises computer installation and remote storage device.Computer installation comprises baseboard management controller; Baseboard management controller then has System Event Log; Wherein, Whether the shared capacity of a plurality of existing content of baseboard management controller detecting system event log detects the result greater than preset capacity and acquisition, and triggers the fully loaded incident of closing on according to the detecting result.The remote storage device then receives the fully loaded incident of closing on through Network transmission line, and fully loaded incident receives and existing content to the remote storage device of unloading System Event Log according to closing on.
Based on above-mentioned, the present invention is according to the shared total volume of the existing content of detecting system event log, and uses the fully loaded incident of closing on that triggers.And through closing on being triggered of fully loaded incident, the existing content of coming the unloading System Event Log is to other storage device.Simultaneously, the existing content in the deletion System Event Log can not be fully loaded with System Event Log.Thus, the record of System Event Log can be reprinted on other the storage device, and can be because of the generation systems thing writes down the phenomenon of being missed in order to the memory space inadequate of stocking system event log.
For let state feature and advantage on the present invention can be more obviously understandable, hereinafter is special lifts embodiment, and conjunction with figs. elaborates as follows.
Description of drawings
Fig. 1 is the process flow diagram of recording method of the System Event Log of one embodiment of the invention.
Fig. 2 A and Fig. 2 B are an embodiment of the embodiment of the invention.
Fig. 3 is the synoptic diagram of the computer system 300 of another embodiment of the present invention.
Main description of reference numerals:
S110~S140, S210~S277: the step of System Event Log recording method;
300: computer system; 310: computer installation;
311: baseboard management controller; 320: the remote storage device;
NL: Network transmission line.
Embodiment
Please with reference to Fig. 1, Fig. 1 is the process flow diagram of recording method of the System Event Log of one embodiment of the invention.Present embodiment is applicable in the computer installation; Step wherein comprises: utilize the baseboard management controller (not shown) of computer installation to come the total memory capacity that a plurality of existing content accounted for stored in the detecting system event log; Whether greater than a predefined preset capacity, that is: whether the shared total volume of a plurality of existing content of detecting system event log is greater than preset capacity and obtain detecting S110 as a result.Note that at this that above-mentioned preset capacity can be set to provide near computer installation and be used for the total storage capacity of storage system event log that to be used for the total storage capacity of storage system event log little but can provide than computer installation.In simple terms, preset capacity can be set at computer installation and provide and be used for one of total storage capacity of the storage system event log less than 100% ratio, for example is 75%, 80% or 85% etc.
If when detecting the total memory capacity that existing content accounted in the System Event Log greater than predefined preset capacity; Then trigger a so-called fully loaded incident (almost full event) of closing on, that is: trigger according to the detecting result and close on fully loaded incident S120.And, through the unloading action that fully loaded incident is carried out the existing content in the System Event Log that closes on that is triggered.That is to say, the existing content in the System Event Log is read, and be stored in another storage device, that is: according to closing on S130 in existing content to the storage device that fully loaded incident comes the unloading System Event Log.And, with by the existing content in unloading to the System Event Log of other storage device, by deleting in the existing systems event log, that is: the existing content S140 of deletion in the System Event Log.
In simple terms; The embodiment of the invention is exactly to be utilized in when the storage space in order to the stocking system event log soon runs out; The existing content that is stored in System Event Log this moment dumps to the action of having accomplished backup in another memory storage, and the existing content in the deletion System Event Log.So, when the storage space in order to the stocking system event log just can become greatly again, to store the system event that is next produced.Please note at this; The employed memory storage that is used for the existing content of unloading can be a hard drives; This hard drives can with System Event Log in build in the identical computer installation, also can be set at the outside of this computer installation.Certainly, being used for the memory storage of the existing content of unloading also can be to utilize other memory storage of non-hard drives to implement.
Below propose an implementation detail and explain that the phase makes those of ordinary skills more can understand spirit of the present invention, and tool is to implement to embodiments of the invention.
Below please with reference to Fig. 2 A and Fig. 2 B, Fig. 2 A and Fig. 2 B are an embodiment of the embodiment of the invention.Wherein, Fig. 2 A is the motion flow of the computer installation of generation System Event Log.At first; Whether computer installation comes the shared capacity of the existing content of detecting system event log greater than 75% of the maximum storage capacity of System Event Log that computer installation offers through the baseboard management controller (not shown) that it disposed, that is: whether the shared total volume of the existing content of detecting system event log has reached the 75%S210 of maximum storage capacity.If the detecting result among the step S210 is " denying ", then continue register system event log S250.If the detecting result among the opposite step S210 is " being " execution in step then: close on the fully loaded incident S220 that whether is triggered.
In step S220, then close on fully loaded incident and whether be triggered and detect, close on fully loaded incident and be not triggered if detect; Baseboard management controller is triggered close on fully loaded incident S221, and if detect and close on fully loaded incident and be triggered, whether the storage space of the System Event Log of then judging computer installation and being provided is filled with fully; That is: whether System Event Log is filled with S230; If the storage space of System Event Log is filled with fully, then stop (refusal) register system event log S240, opposite; If the storage space of System Event Log is not filled with fully, then continue register system event log S250.
On the other hand; Successfully triggered when closing on fully loaded incident, that is: after triggering closed on fully loaded incident S221, the baseboard management controller of computer installation then carried out platform events and filters (Platform Event Filter; PEF) action; That is: platform events is filtered S222, and uses the caution signal that produces the platform events filtration, that is: send platform events and filter caution signal S223.
Note that this platform events filtration caution signal can be transferred into the outer remote storage device of computer installation through Network transmission line.And obtain the action after this platform events is filtered caution signal about the remote storage device, please with reference to Fig. 2 B.At first; Remote storage device receiving platform event filtering caution signal S271; Then; The remote storage device can confirm whether received platform events filtration caution signal sends closing on fully loaded incident, confirms that it is that correspondence is closed on fully loaded incident S272 that platform events is filtered caution signal that is:.If the remote storage device confirms that it is to send closing on fully loaded incident that platform events is filtered caution signal; Then procotol (the Internet Protocol that platform events is filtered the computer installation of caution signal is sent out in inspection; IP) address why, that is: the internet protocol address S273 of the computer installation of inspection delivery platform event filtering caution signal.And the computer installation of this internet protocol address transmitted the order S274 that obtains System Event Log information.Corresponding, computer installation then responds the shared existing amount of capacity (for example equaling N) of existing content that the order of obtaining System Event Log information that the remote storage device transmitted returns System Event Log.The remote storage device then writes down this existing capacity N, that is: the quantity on hand S275 of the existing content of register system event log.
Then, the remote storage device transmits and obtains the System Event Log contents command to computer installation, and computer installation then is sent to the existing content in the System Event Log in the remote storage device through Network transmission line.Certainly, the remote storage device can store to received existing content, that is: obtain the System Event Log order and read existing content S276.Note that when computer installation transmits existing content at this, only can transmit to the pairing existing content of aforementioned existing capacity N.That is to say that the system event of up-to-date generation (system event beyond the existing capacity N) can not be sent in the remote storage device and store.
After the unloading action of accomplishing existing content; The remote storage device then redispatch the deletion System Event Log order to computer installation; Then corresponding this order of computer installation; Delete the pairing existing content of existing capacity N, that is: transmit the order of deletion System Event Log, and make computer installation delete existing content S277 according to quantity on hand.And vacate and be used for the storage space of storage system incident.
Note that at this therefore, the step S240 among Fig. 2 A is impossible in fact because in this embodiment, the storage space of storage system incident is filled with never.Yet, because in the enforcement action of reality, the deviser still can judge that the institute that is produced might design, and therefore still proposes step S230 to keep the integrality of design in this embodiment to step S230.
Then more please with reference to Fig. 3, Fig. 3 is the synoptic diagram of the computer system 300 of another embodiment of the present invention.Computer system 300 comprises computer installation 310 and remote storage device 320.310 of computer installations have baseboard management controller 311, and 311 of the baseboard management controllers of computer installation 310 come to be connected with remote storage device 320 through Network transmission line NL and also carry out the transmission of data by this.
Wherein, Baseboard management controller 311 has System Event Log; Wherein whether the shared capacity of a plurality of existing content of baseboard management controller 311 detecting system event logs detects the result greater than preset capacity and acquisition, and triggers the fully loaded incident of closing on according to the detecting result.320 in remote storage device receives the fully loaded incident of closing on through Network transmission line NL, and fully loaded incident receives and existing content to the remote storage device 320 of unloading System Event Log according to closing on.
How to store the action details of the existing data of the System Event Log in the computer installation 310 about remote storage device 320, detailed introduction is all arranged, seldom give unnecessary details with next at aforesaid embodiment and embodiment.
In sum, after the present invention is utilized in the fully loaded incident of closing on of triggering system event log, in the other storage device of the existing content in the unloading System Event Log.And the existing content that will accomplish unloading is by deleting in the System Event Log.Thus, System Event Log can effectively obtain backup, and, can not take place because offer the leakage phenomena of the system event that memory space inadequate produced of System Event Log.
Though the present invention discloses as above with embodiment, so it is not in order to limiting the present invention, any under those of ordinary skill in the technical field, when can doing a little change and retouching, and do not break away from the spirit and scope of the present invention.

Claims (9)

1. the recording method of a System Event Log is applicable to a computer installation, comprising:
By the shared total volume of a plurality of existing content of this System Event Log of this computer installation detecting whether greater than a preset capacity and obtain a detecting result;
The result closes on fully loaded incident according to this detecting;
Closing on fully loaded incident according to this comes in those existing content to storage devices of this System Event Log of unloading; And
Delete those the existing contents in this System Event Log.
2. recording method according to claim 1, wherein this storage device is a hard drives.
3. recording method according to claim 1, the step of wherein " closing on those existing contents that fully loaded incident comes this System Event Log of unloading to this storage device according to this " comprising:
When this closes on fully loaded incident when being triggered, transmit through a Network transmission line by this computer installation and to send a platform events and filter caution signal to remote storage device;
Transmit the internet protocol address that this platform events is filtered this computer installation of caution signal by this remote storage device inspection; And
Obtain those existing contents of this System Event Log of this computer installation according to this internet protocol address, and store those existing contents to this remote storage device.
4. recording method according to claim 3, the step of wherein " obtaining those existing contents of this System Event Log of this computer installation detecting according to this internet protocol address, and storing those existing contents to this remote storage device " comprises:
Obtain the System Event Log message command by this remote storage device according to this internet protocol address;
Write down a quantity on hand of those existing contents of this System Event Log by this remote storage device;
Obtain the System Event Log contents command by this remote storage device according to this internet protocol address, and use according to this quantity on hand and read those existing contents; And
Come to transmit a deletion System Event Log order by this remote storage device, and make this computer installation delete those existing contents according to this quantity on hand according to this internet protocol address.
5. computer system comprises:
One computer installation comprises:
One baseboard management controller; Has a System Event Log; Wherein whether the shared capacity of a plurality of existing content of this System Event Log of this baseboard management controller detecting greater than a preset capacity and obtain a detecting result, and closes on fully loaded incident according to this detecting result; And
One remote storage device receives this through a Network transmission line and closes on fully loaded incident, according to this close on that fully loaded incident receives and those existing contents of this System Event Log of unloading to this remote storage device.
6. computer system according to claim 5; Wherein close on fully loaded incident when being triggered when this; This baseboard management controller transmits through this Network transmission line and sends platform events filtration caution signal to this remote storage device; This remote storage device inspection transmits the internet protocol address that this platform events is filtered this computer installation of caution signal; This remote storage device also obtains those existing contents of this System Event Log of this computer installation, and store those existing contents according to this internet protocol address.
7. computer system according to claim 5; Wherein this remote storage device obtains the System Event Log message command to this computer installation according to this internet protocol address, and obtains and write down a quantity on hand of those existing contents of this System Event Log by this computer installation.
8. computer system according to claim 7; Wherein this remote storage device more obtains the System Event Log contents command to this computer installation according to this internet protocol address, and uses by this computer installation and read those existing contents according to this quantity on hand.
9. computer system according to claim 8; Wherein this remote storage device more transmits a deletion System Event Log order to this computer installation according to this internet protocol address, and makes this computer installation delete those existing contents according to this quantity on hand.
CN2010105580109A 2010-11-22 2010-11-22 Computer system and method for recording system event log Pending CN102479162A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010105580109A CN102479162A (en) 2010-11-22 2010-11-22 Computer system and method for recording system event log

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010105580109A CN102479162A (en) 2010-11-22 2010-11-22 Computer system and method for recording system event log

Publications (1)

Publication Number Publication Date
CN102479162A true CN102479162A (en) 2012-05-30

Family

ID=46091813

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010105580109A Pending CN102479162A (en) 2010-11-22 2010-11-22 Computer system and method for recording system event log

Country Status (1)

Country Link
CN (1) CN102479162A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103645984A (en) * 2013-12-24 2014-03-19 山东中创软件工程股份有限公司 Method and device for optimizing logs
CN103760876A (en) * 2014-01-29 2014-04-30 北京七星华创电子股份有限公司 Alarm information storing method and device
CN103870359A (en) * 2014-02-21 2014-06-18 上海华力微电子有限公司 Method for efficiently storing test log
CN108170577A (en) * 2013-10-31 2018-06-15 深圳迈辽技术转移中心有限公司 Server
CN109996089A (en) * 2019-02-20 2019-07-09 视联动力信息技术股份有限公司 A kind of method of processing operation log, system and a kind of streaming media server

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108170577A (en) * 2013-10-31 2018-06-15 深圳迈辽技术转移中心有限公司 Server
CN108170577B (en) * 2013-10-31 2021-11-26 乾元云硕科技(深圳)有限公司 Server
CN103645984A (en) * 2013-12-24 2014-03-19 山东中创软件工程股份有限公司 Method and device for optimizing logs
CN103645984B (en) * 2013-12-24 2016-05-18 山东中创软件工程股份有限公司 log processing method and device
CN103760876A (en) * 2014-01-29 2014-04-30 北京七星华创电子股份有限公司 Alarm information storing method and device
CN103870359A (en) * 2014-02-21 2014-06-18 上海华力微电子有限公司 Method for efficiently storing test log
CN109996089A (en) * 2019-02-20 2019-07-09 视联动力信息技术股份有限公司 A kind of method of processing operation log, system and a kind of streaming media server
CN109996089B (en) * 2019-02-20 2021-09-28 视联动力信息技术股份有限公司 Method and system for processing operation log and streaming media server

Similar Documents

Publication Publication Date Title
CN102479162A (en) Computer system and method for recording system event log
CN103631934B (en) Garbage files detection method and device
US20160087926A1 (en) Data storage method and mail relay method of storage system in mail system
CN111107123A (en) Method and device for continuous transmission in broken network
CN104951395A (en) Debugging information processing method and device for embedded system
CN105657519A (en) Method for managing television prompt message and television
CN103188622A (en) File transmit-receive system, file transmit-receive method and file transmit-receive device
CN103812840A (en) Method and system for identifying malicious web sites
CN101827120A (en) Cluster storage method and system
CN103605620A (en) Cluster storage data protective method and device
CN104049574A (en) Fire pump room system and execution method thereof
CN202713533U (en) TV diagnosis and maintenance system and TV
CN110322657A (en) A kind of express delivery cabinet fire monitoring method, apparatus, server and storage medium
CN102710774A (en) Method and system for data transmission
CN108459821A (en) A kind of method and device of data buffer storage
CN102073578A (en) Method for recording system event log
CN103455391A (en) Dynamic adjustment data protection device and method
CN103605600B (en) A kind of method and system of mobile terminal storage card memory element read-write number of times record
CN104506939A (en) Information reporting method and television terminal
US8498622B2 (en) Data processing system with synchronization policy
CN103685669A (en) Short message processing method and terminal
CN103905642B (en) A kind of method for terminal storing information and device
CN106326094B (en) Check the method and system of pointer exception
CN109508256A (en) The metadata management method and device of a kind of meta data server during restarting
CN100507456C (en) Method and device for recording data and instrument capable of recording data

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20120530